/* 
   Harvex Sdn Bhd - Style Sheet
   Fresh Green Theme, Modern HORECA feel
*/

/* -------------------------------------------------------------
   1. DESIGN SYSTEM VARIABLES & RESET
------------------------------------------------------------- */
:root {
    /* Color Palette */
    --primary: hsl(136, 47%, 24%);          /* Deep Forest Green */
    --primary-light: hsl(136, 47%, 32%);    /* Lighter Forest Green */
    --primary-dark: hsl(136, 47%, 16%);     /* Darker Forest Green */
    --secondary: hsl(102, 53%, 42%);        /* Fresh Leaf Green */
    --secondary-light: hsl(102, 53%, 52%);  /* Bright Leaf Green */
    --accent: hsl(74, 58%, 76%);            /* Soft Lime Accent */
    --accent-dark: hsl(74, 45%, 55%);
    --bg-light: hsl(120, 15%, 97%);         /* Soft Minty White */
    --bg-dark: hsl(136, 45%, 12%);          /* Very Dark Green Charcoal */
    --surface: #ffffff;
    --text-main: hsl(136, 40%, 12%);        /* Deep Green Charcoal */
    --text-muted: hsl(136, 12%, 42%);       /* Slate Gray Green */
    --border: hsl(136, 15%, 88%);
    --white: #ffffff;
    
    /* Support Colors */
    --whatsapp-green: #25D366;
    --whatsapp-dark: #128C7E;
    --error-red: #d93838;
    --success-green: #2ecc71;
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Spacing & Borders */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Shadow System */
    --shadow-sm: 0 4px 12px rgba(30, 81, 40, 0.04);
    --shadow-md: 0 12px 32px rgba(30, 81, 40, 0.08);
    --shadow-lg: 0 20px 48px rgba(30, 81, 40, 0.14);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* -------------------------------------------------------------
   2. REUSABLE UTILITIES & LAYOUT
------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
}

.text-white {
    color: var(--white) !important;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary) !important;
}

.w-100 {
    width: 100%;
}

.rounded-lg {
    border-radius: var(--radius-md);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

/* Grids */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid-2-equal {
    grid-template-columns: 1fr;
}

@media (min-width: 992px) {
    .grid-2-equal {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr 1.1fr;
        gap: 60px;
    }
}

.split-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

/* Section Header */
.section-header {
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-subtitle {
    display: inline-block;
    color: var(--secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(30, 81, 40, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 81, 40, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.btn-white:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 15px 36px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
}

/* Checkmark List */
.checkmark-list {
    list-style: none;
    margin: 24px 0;
}

.checkmark-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.checkmark-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary);
    font-size: 1.1rem;
}

/* -------------------------------------------------------------
   3. HEADER & STICKY NAVIGATION
------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 4px 10px rgba(78, 159, 61, 0.3);
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(15deg) scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
    color: var(--primary-dark);
}

.logo-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--secondary);
    margin-top: 2px;
}

/* Desktop Nav */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-main);
    font-size: 1rem;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--secondary);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-nav-toggle .bar {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--primary-dark);
    margin: 5px 0;
    border-radius: 3px;
    transition: var(--transition);
}

/* Hamburger transition when active */
.mobile-nav-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
}
.mobile-nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Responsive Header */
@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }
    #desktop-nav,
    .btn-nav-cta {
        display: none;
    }
}

/* -------------------------------------------------------------
   4. MOBILE SLIDE-OUT MENU OVERLAY
------------------------------------------------------------- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 81, 40, 0.4);
    backdrop-filter: blur(8px);
    z-index: 2000;
    transition: all 0.4s ease-in-out;
}

.mobile-menu-overlay.open {
    right: 0;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 380px;
    height: 100%;
    background-color: var(--white);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 2.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 50px;
}

.mobile-logo svg {
    width: 36px;
    height: 36px;
    color: var(--secondary);
}

.mobile-logo span {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: auto;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.mobile-nav-link.active {
    color: var(--secondary);
}

.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid var(--border);
    padding-top: 30px;
    text-align: center;
}

.mobile-menu-footer p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* -------------------------------------------------------------
   5. SPA PAGE ROUTING TRANSITIONS
------------------------------------------------------------- */
.page-section {
    display: none;
    opacity: 0;
    padding-top: 80px; /* Offset for sticky header */
}

.page-section.active {
    display: block;
    animation: fadeInUpTransition 0.6s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInUpTransition {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -------------------------------------------------------------
   6. HOMEPAGE HERO & KEY BENEFITS
------------------------------------------------------------- */
/* Hero Banner */
.hero-banner {
    position: relative;
    height: 80vh;
    min-height: 550px;
    max-height: 750px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    to {
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(30, 81, 40, 0.85) 40%, rgba(30, 81, 40, 0.3) 100%);
}

.hero-container {
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(216, 233, 168, 0.2);
    border: 1px solid rgba(216, 233, 168, 0.3);
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Benefit Cards */
.benefit-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--secondary);
    opacity: 0;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    width: 64px;
    height: 64px;
    background-color: var(--bg-light);
    color: var(--secondary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
    background-color: var(--primary);
    color: var(--white);
}

.benefit-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.benefit-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.benefit-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--secondary);
}

.benefit-card:hover .benefit-link {
    color: var(--primary);
}

/* -------------------------------------------------------------
   7. PRODUCTS & SERVICES
------------------------------------------------------------- */
/* Page Header Banner */
.section-header-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-title {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.page-subtitle {
    color: var(--accent);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Tabs */
.tab-container {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.tabs {
    background-color: var(--bg-light);
    border-radius: var(--radius-full);
    padding: 6px;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
}

.tab-btn {
    border: none;
    background: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(30, 81, 40, 0.15);
}

/* Product Categories Layout */
.product-category-group {
    display: none;
    margin-bottom: 60px;
}

.product-category-group.active {
    display: block;
    animation: fadeIn 0.4s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.category-heading {
    font-size: 1.8rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 12px;
}

.category-subtext {
    color: var(--text-muted);
    margin-bottom: 36px;
}

/* Product Cards */
.product-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.product-img-holder {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.product-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img-holder img {
    transform: scale(1.08);
}

.product-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: rgba(255,255,255,0.9);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border);
}

.service-tag {
    background-color: var(--secondary);
    color: var(--white);
}

.product-body {
    padding: 24px;
}

.product-name {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    min-height: 54px;
}

.product-specs {
    list-style: none;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.product-specs li {
    font-size: 0.85rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.product-specs li i {
    color: var(--secondary);
}

/* Service Card modifications */
.service-card {
    border-top: 3px solid var(--secondary);
}

/* CTA Green Banner */
.cta-banner-green {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: var(--radius-md);
    padding: 40px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    margin-top: 60px;
    box-shadow: var(--shadow-md);
}

.cta-banner-content h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.cta-banner-content p {
    font-size: 1.05rem;
    opacity: 0.9;
}

.cta-banner-action {
    align-self: flex-start;
}

@media (min-width: 768px) {
    .cta-banner-green {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .cta-banner-action {
        align-self: center;
    }
}

/* -------------------------------------------------------------
   8. WHY CHOOSE US
------------------------------------------------------------- */
.lead-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.reasons-left {
    margin-bottom: 40px;
}

.reason-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.reason-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--bg-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.reason-info h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.reason-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Process Timeline (Roadmap) */
.roadmap-box {
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
}

.roadmap-title {
    font-size: 1.4rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.roadmap-timeline {
    position: relative;
    padding-left: 30px;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 5px;
    width: 2px;
    height: calc(100% - 40px);
    background-color: var(--border);
}

.roadmap-step {
    position: relative;
    margin-bottom: 30px;
}

.roadmap-step:last-child {
    margin-bottom: 0;
}

.step-num {
    position: absolute;
    left: -40px;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 0 0 6px var(--white);
}

.step-details h5 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.step-details p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Stats dashboard */
.stats-section {
    position: relative;
}

.stat-card {
    padding: 20px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
}

/* Testimonials Slider */
.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slider {
    position: relative;
    min-height: 260px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateX(40px);
    pointer-events: none;
    transition: all 0.5s ease;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    pointer-events: auto;
}

.testimonial-stars {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-quote {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 24px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background-color: var(--bg-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-details h5 {
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.author-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background-color: var(--surface);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.slider-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* -------------------------------------------------------------
   9. CONTACT PAGE
------------------------------------------------------------- */
.contact-intro-text {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* WhatsApp Card */
.whatsapp-card {
    background: linear-gradient(135deg, var(--whatsapp-green), var(--whatsapp-dark));
    border-radius: var(--radius-md);
    padding: 30px;
    color: var(--white);
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.wa-icon-large {
    font-size: 3rem;
    line-height: 1;
    align-self: flex-start;
}

.wa-info h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.wa-info p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 18px;
}

.btn-whatsapp-card {
    background-color: var(--white);
    color: var(--whatsapp-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp-card:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

/* Details List */
.details-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-item {
    display: flex;
    gap: 16px;
}

.detail-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background-color: var(--bg-light);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.detail-text h5 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.detail-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Contact Form Container */
.form-container {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 40px;
}

.form-container h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.form-container p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

/* Form Styles */
.form-group {
    margin-bottom: 22px;
    position: relative;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.required {
    color: var(--error-red);
}

.input-wrapper {
    position: relative;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 1px solid var(--border);
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition);
}

.input-wrapper textarea {
    padding-top: 12px;
    resize: vertical;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(78, 159, 61, 0.15);
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.text-area-icon {
    top: 22px;
}

/* Error validation states */
.form-group.invalid .input-wrapper input,
.form-group.invalid .input-wrapper textarea {
    border-color: var(--error-red);
    background-color: rgba(217, 56, 56, 0.02);
}

.form-group.invalid .input-icon {
    color: var(--error-red);
}

.error-msg {
    display: none;
    color: var(--error-red);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 6px;
}

.form-group.invalid .error-msg {
    display: block;
}

/* Form Success Overlay */
.form-success-state {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    font-size: 4rem;
    color: var(--success-green);
    margin-bottom: 20px;
    animation: scaleUpBounce 0.5s ease-out;
}

@keyframes scaleUpBounce {
    0% { transform: scale(0.5); opacity: 0; }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.form-success-state h3 {
    margin-bottom: 12px;
}

.form-success-state p {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.6;
}

.form-success-state button {
    margin-top: 15px;
}

/* -------------------------------------------------------------
   10. FOOTER & FLOATING WHATSAPP
------------------------------------------------------------- */
.site-footer {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 80px 0 30px 0;
    border-top: 4px solid var(--secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.footer-logo svg {
    width: 38px;
    height: 38px;
    color: var(--accent);
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.06);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.social-links a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 6px;
}

.footer-contact-info {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
}

.footer-contact-info i {
    color: var(--secondary);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-operation-time {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal-links a:hover {
    color: var(--accent);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* Floating WhatsApp Button */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    z-index: 999;
    cursor: pointer;
    animation: pulseWhatsapp 2s infinite;
}

.whatsapp-floating-btn .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: var(--primary-dark);
    color: #fff;
    text-align: center;
    border-radius: var(--radius-sm);
    padding: 6px 0;
    position: absolute;
    z-index: 1;
    right: 75px;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: var(--shadow-sm);
}

.whatsapp-floating-btn .tooltip-text::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary-dark);
}

.whatsapp-floating-btn:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

@keyframes pulseWhatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 767px) {
    .whatsapp-floating-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}
