/* 
  Nafsiati Center for Mental Health - Premium Theme
  Focus: Advanced Layout, Strong Branding, Premium Interactions.
*/

:root {
    /* Richer Color Palette */
    --bg-primary: #FDFDFC;         /* Crisp Soft Off-White */
    --bg-secondary: #F2F7F5;       /* Very Soft Sage/Grey background */
    --bg-accent: #E8F0ED;          /* Accent tone */
    
    --brand-primary: #1F4E5B;      /* Deep Professional Teal/Blue */
    --brand-hover: #163A44;        /* Deeper primary */
    --brand-glow: rgba(31, 78, 91, 0.2); /* Soft Glow */
    
    --brand-secondary: #EADCD0;    /* Warm beige/sand tone */
    --white: #FFFFFF;
    
    /* Typography Colors */
    --text-main: #24332F;          /* Deep warm slate */
    --text-muted: #5C756F;         /* Soft muted text */
    
    /* Premium Box Shadows */
    --shadow-sm: 0 4px 15px rgba(36, 51, 47, 0.04);
    --shadow-md: 0 12px 30px rgba(36, 51, 47, 0.06);
    --shadow-lg: 0 24px 50px -12px rgba(36, 51, 47, 0.1);
    --shadow-glow: 0 15px 35px var(--brand-glow);
    
    /* Radii */
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --radius-round: 50px;
    
    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========================================
   RESET & BASE 
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-main);
}

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

ul {
    list-style: none;
}

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

/* Layout System */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 7.5rem 0;
}

/* Background Utilities */
.bg-soft { background-color: var(--bg-secondary); }
.bg-accent { background-color: var(--bg-accent); }
.bg-brand { 
    background-color: var(--brand-primary); 
    color: var(--white);
}

/* Spacing Utilities */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Section Headers */
.section-header {
    margin-bottom: 4.5rem;
}
.section-title {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}
.section-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   BUTTONS & MICRO-INTERACTIONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius-round);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    gap: 0.6rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--brand-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(51, 122, 106, 0.25);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--brand-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(51, 122, 106, 0.4);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--text-main);
    box-shadow: var(--shadow-md);
}
.btn-secondary:hover, .btn-secondary:focus {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    color: var(--brand-primary);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--brand-primary);
    border: 1.5px solid var(--brand-primary);
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--brand-primary);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.btn-white-outline {
    background-color: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}
.btn-white-outline:hover, .btn-white-outline:focus {
    background-color: var(--white);
    color: var(--brand-primary);
    border-color: var(--white);
}

.btn-sm { padding: 0.7rem 1.8rem; font-size: 0.95rem; }
.btn-large { padding: 1.15rem 2.8rem; font-size: 1.1rem; }
.btn-full { width: 100%; }

/* ========================================
   CARDS & INTERACTIVE ELEMENTS
   ======================================== */
.interactive-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.02);
}

.interactive-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(51, 122, 106, 0.15);
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.8rem 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(253, 253, 252, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    z-index: 1001; 
}

.logo-img {
    height: 70px;
    transition: var(--transition-smooth);
}
.navbar.scrolled .logo-img {
    height: 55px;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--brand-primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-primary);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--brand-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 1001;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.mobile-menu-btn .bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.mobile-menu-btn .bar:nth-child(1) { top: 0; }
.mobile-menu-btn .bar:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-menu-btn .bar:nth-child(3) { bottom: 0; }

.mobile-menu-btn.active .bar:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active .bar:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Mobile Nav Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(36, 51, 47, 0.5);
    backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   HERO SECTION (Advanced Side-by-Side Layout)
   ======================================== */
.hero {
    position: relative;
    padding: 13rem 0 8rem;
    min-height: 95vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 70% -20%, #F4F9F7 0%, var(--bg-primary) 80%);
}

.hero-bg-shapes {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.6;
}

.shape-1 {
    top: -150px; right: 5%;
    width: 600px; height: 600px;
    background: rgba(51, 122, 106, 0.12);
}

.shape-2 {
    bottom: -150px; left: 5%;
    width: 500px; height: 500px;
    background: rgba(234, 220, 208, 0.2); 
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
}

.hero-content h1 {
    font-size: 4.2rem;
    line-height: 1.12;
    margin-bottom: 1.8rem;
    letter-spacing: -0.03em;
}
.hero-content h1 span {
    color: var(--brand-primary);
}

.hero-content .subheadline {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background-color: var(--white);
    color: var(--brand-primary);
    border-radius: var(--radius-round);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(51, 122, 106, 0.15);
}

/* Hero Logo Animation */
.hero-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-logo {
    width: 100%;
    max-width: 480px; /* Significantly increased size */
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(51, 122, 106, 0.15));
}

.hero-main-logo-fallback {
    width: 300px; height: 300px;
    background: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 6rem; color: var(--brand-primary);
    box-shadow: var(--shadow-lg);
}

.floating-logo {
    animation: floatingLogo 6s ease-in-out infinite;
}

@keyframes floatingLogo {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7rem;
    align-items: center;
}

.about-text .section-title { margin-bottom: 1.5rem; }
.about-text .section-desc { margin-left: 0; }

.about-features {
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.about-features li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon {
    width: 60px; height: 60px;
    background-color: var(--bg-accent);
    color: var(--brand-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}
.about-features li:hover .feature-icon {
    background-color: var(--brand-primary);
    color: var(--white);
    transform: scale(1.05) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

.feature-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}
.feature-content p {
    color: var(--text-muted);
    font-size: 1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-card {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-number {
    font-size: 3.2rem;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}
.stat-label {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1.05rem;
}
.stat-card.bg-brand {
    border: none;
}
.stat-card.bg-brand .stat-title {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    padding: 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 70px; height: 70px;
    background-color: var(--bg-accent);
    color: var(--brand-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}
.service-card:hover .service-icon {
    background-color: var(--brand-primary);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.service-card h3 {
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    flex: 1;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--bg-accent);
    padding-top: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}
.service-meta span { display: flex; align-items: center; gap: 0.5rem; }

/* ========================================
   SPECIALISTS SECTION 
   ======================================== */
.specialists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.specialist-card {
    overflow: hidden;
}

.placeholder-img {
    height: 300px;
    background: var(--bg-primary); 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.placeholder-img img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}
.specialist-card:hover .placeholder-img img {
    transform: scale(1.1) translateY(-8px);
}

.specialist-info {
    padding: 2.5rem;
    text-align: center;
}
.specialist-info h3 { margin-bottom: 0.6rem; font-size: 1.5rem; }
.specialty { color: var(--brand-primary); font-weight: 600; margin-bottom: 1rem; }
.experience { color: var(--text-muted); font-size: 0.95rem; }

/* ========================================
   PROGRAMS SECTION
   ======================================== */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.program-card {
    display: flex;
    flex-direction: column;
}

.program-content { padding: 3rem; flex: 1; }
.program-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: var(--brand-secondary);
    color: #8C7154;
    border-radius: var(--radius-round);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.online-badge {
    background: var(--bg-accent);
    color: var(--brand-primary);
}

.program-card h3 { margin-bottom: 1.2rem; font-size: 1.6rem; }
.program-card p { color: var(--text-muted); margin-bottom: 2rem; }

.program-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}
.program-footer { padding: 2rem 3rem; background: var(--bg-primary); border-top: 1px solid rgba(0,0,0,0.03); }

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.testimonial-card {
    padding: 3.5rem 3rem;
    text-align: left;
    display: flex;
    flex-direction: column;
}
.stars { color: #F5A623; margin-bottom: 1.8rem; font-size: 1.15rem; }
.review-text { 
    font-style: italic; 
    color: var(--text-muted); 
    margin-bottom: 2rem; 
    font-size: 1.1rem;
    line-height: 1.8;
    flex: 1;
}
.reviewer-name { font-weight: 600; color: var(--text-main); font-size: 1rem;}

/* ========================================
   BOOKING & TRUST SECTION
   ======================================== */
.booking-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 6rem;
    align-items: center;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3.5rem;
}

.trust-badge {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--white);
}

.trust-icon {
    width: 55px; height: 55px;
    background: var(--bg-accent);
    color: var(--brand-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.trust-badge h4 { margin-bottom: 0.5rem; font-size: 1.15rem;}
.trust-badge p { color: var(--text-muted); font-size: 1rem; margin: 0; }

.booking-form-wrapper {
    background: var(--white);
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.02);
}

.form-title { margin-bottom: 3rem; font-size: 1.8rem; text-align: center;}
.form-group { margin-bottom: 2rem; }
.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: var(--text-main);
    font-size: 1rem;
}
.form-group input, 
.form-group select {
    width: 100%;
    padding: 1.2rem 1.4rem;
    border: 1.5px solid #E2E8F0;
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-main);
    background: var(--bg-primary);
    transition: var(--transition-smooth);
}
.form-group input:focus, 
.form-group select:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(51, 122, 106, 0.15);
    background: var(--white);
}

.custom-select-wrapper { position: relative; }
.custom-select-wrapper select { appearance: none; cursor: pointer; }
.select-icon {
    position: absolute;
    right: 1.4rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}
.form-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7rem;
    align-items: center;
}
.contact-details { margin-top: 3.5rem; display: flex; flex-direction: column; gap: 2.5rem;}
.contact-item { display: flex; gap: 1.5rem; align-items: flex-start;}
.contact-icon {
    width: 55px; height: 55px;
    background: var(--bg-accent);
    color: var(--brand-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.contact-item h4 { margin-bottom: 0.4rem; font-size: 1.1rem;}
.contact-item p { color: var(--text-muted); font-size: 1.05rem; }

.map-placeholder {
    width: 100%; height: 100%; min-height: 480px;
    background: #E8EDE9;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}
.map-overlay {
    text-align: center;
    color: var(--brand-primary);
    padding: 3.5rem;
    background: rgba(255,255,255,0.95);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}
.map-overlay i { margin-bottom: 1rem;}
.map-overlay p { font-weight: 600; font-size: 1.3rem;}
.map-overlay span { color: var(--text-muted); font-size: 1rem; }

/* ========================================
   MULTI-COLUMN FOOTER
   ======================================== */
.footer {
    background: #1C2B27; /* Very deep tone of brand primary */
    color: var(--white);
    padding: 7rem 0 0;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.brand-col .footer-logo { 
    height: 110px; 
    margin-bottom: 1.8rem; 
    filter: brightness(0) invert(1); 
}
.brand-col p { 
    color: rgba(255,255,255,0.65); 
    margin-bottom: 2.5rem; 
    max-width: 320px; 
    line-height: 1.8;
}
.social-links { display: flex; gap: 1rem;}
.social-links a {
    width: 45px; height: 45px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}
.social-links a:hover { background: var(--brand-primary); transform: translateY(-4px);}

.footer-col h4 { 
    margin-bottom: 2rem; 
    color: var(--white); 
    font-size: 1.25rem;
    position: relative;
    padding-bottom: 1rem;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 2px;
    background: var(--brand-primary);
}

.footer-col ul li { margin-bottom: 1.2rem;}
.footer-col ul a { 
    color: rgba(255,255,255,0.65); 
    transition: var(--transition-fast); 
    display: inline-block;
}
.footer-col ul a:hover { 
    color: var(--white); 
    transform: translateX(6px);
}

.footer-bottom {
    background: rgba(0,0,0,0.25);
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
}
.footer-legal {
    display: flex;
    gap: 2rem;
}
.footer-legal a {
    color: rgba(255,255,255,0.5);
}
.footer-legal a:hover {
    color: var(--white);
}

/* ========================================
   STICKY WHATSAPP CTA
   ======================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-smooth);
    animation: pulseWhatsApp 2.5s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #1EBE5C;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
    animation: none;
}

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

/* ========================================
   ADVANCED SCROLL ANIMATIONS
   ======================================== */
.fade-up { opacity: 0; transform: translateY(40px); transition: 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-in-scale { opacity: 0; transform: scale(0.9); transition: 1.5s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-in-scale.visible { opacity: 1; transform: scale(1); }

.scroll-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   MOBILE & RESPONSIVE UX
   ======================================== */
@media (max-width: 1100px) {
    .footer-container { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

@media (max-width: 992px) {
    .container { padding: 0 1.5rem; }
    
    /* Stack Hero on smaller screens */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-logo-wrapper {
        order: -1; /* Puts logo above text on mobile/tablet */
    }
    
    .hero-main-logo { max-width: 350px; }

    .about-container, .booking-container, .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .hero { padding: 11rem 0 6rem; }
    .hero-content .subheadline { margin: 0 auto 3rem; }
    .hero-buttons { justify-content: center; }
    
    .about-stats { gap: 1.5rem; }
}

@media (max-width: 768px) {
    /* Mobile Navigation Drawer */
    .nav-links-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: var(--white);
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
        z-index: 999;
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 6rem 2rem 2rem;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }
    
    .nav-links-wrapper.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        width: 100%;
    }
    
    .nav-links a {
        font-size: 1.3rem;
        width: 100%;
        display: block;
        padding: 0.8rem 0;
    }
    
    .desktop-btn { display: none; }
    .mobile-menu-btn { display: block; }
    
    /* Typography Adjustments */
    .hero-content h1 { font-size: 2.8rem; }
    .section-title { font-size: 2.3rem; }
    .hero-content .subheadline { font-size: 1.1rem; }
    
    /* Layout Adjustments */
    .section-padding { padding: 5rem 0; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; }
    
    .programs-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr; }
    
    .footer-container { grid-template-columns: 1fr; gap: 3rem; }
    .footer-bottom-inner { flex-direction: column; gap: 1.5rem; text-align: center; }
    
    .booking-form-wrapper { padding: 2.5rem 1.5rem; }
    
    /* Sticky WhatsApp scale for mobile */
    .floating-whatsapp {
        width: 55px; height: 55px;
        bottom: 20px; right: 20px;
        font-size: 1.8rem;
    }
}
