/* Clean Light Medical Theme Variables */
:root {
    --bg-light: #f8fafc;
    --bg-alt: #f1f5f9;
    --bg-card: #ffffff;
    --border-card: #e2e8f0;
    
    --text-primary: #1e293b;
    --text-gray: #475569;
    
    /* Primary Lime Branding */
    --primary-lime: #569e34;
    --primary-lime-hover: #569e34;
    --primary-lime-light: #f2faf1; 
    
    /* Modern Navy Slate Accent (Contrast Layer) */
    --brand-accent: #0f172a;
    --brand-accent-hover: #1e293b;
    --brand-accent-light: #f1f5f9; 
    
    --white: #ffffff;
    --dark: #0f172a;
    
    --gradient-lime: linear-gradient(135deg, #7dcc23 0%, #45721c 100%);
    --gradient-accent: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    
    --border-radius-sm: 16px;
    --border-radius-md: 24px;
    --border-radius-lg: 32px;
    
    --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.05), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
    
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Apple-style Easing */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-expo: cubic-bezier(0.87, 0, 0.13, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: auto !important; /* Managed by Lenis */
}

/* Lenis Recommended CSS */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* Typography Utils */
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; }
.text-lime { color: var(--primary-lime); }
.text-accent { color: var(--brand-accent); }
.text-white { color: var(--white); }
.text-dark { color: var(--dark); font-weight: 700; }
.text-gray { color: var(--text-gray); }
.text-primary { color: var(--text-primary); }
.font-medium { font-weight: 600; }
.hover-accent:hover { color: var(--brand-accent); }

.highlight-accent { 
    position: relative; z-index: 1; display: inline-block; padding: 0 4px;
}
.highlight-accent::after {
    content: ''; position: absolute; bottom: 6px; left: 0;
    width: 100%; height: 14px; background-color: rgba(15, 23, 42, 0.08);
    z-index: -1; border-radius: 4px; transform: skewX(-10deg);
}

.highlight-lime { 
    position: relative; z-index: 1; display: inline-block; padding: 0 4px;
}
.highlight-lime::after {
    content: ''; position: absolute; bottom: 8px; left: 0;
    width: 100%; height: 12px; background-color: var(--primary-lime-light);
    z-index: -1; border-radius: 4px; transform: skewX(-12deg);
}

.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.pb-8 { padding-bottom: 5rem; }
.mx-5 { margin-left: 5%; margin-right: 5%; }
.bg-alt { background-color: var(--bg-alt); }
.border-radius-lg { border-radius: var(--border-radius-lg) !important; }

/* Clean Cards */
.clean-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--border-radius-md);
}
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.lime-gradient-bg { background: var(--gradient-lime); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 14px 30px;
    border-radius: 50px; font-weight: 600; font-size: 1rem;
    transition: var(--transition-fast); cursor: pointer; border: none;
    will-change: transform;
}
.btn-lime { background: var(--gradient-lime); color: var(--white); }
.btn-lime:hover { box-shadow: 0 10px 20px rgba(123, 205, 27, 0.25); opacity: 0.9; }

.btn-accent { background: var(--gradient-accent); color: var(--white); }
.btn-accent:hover { box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15); opacity: 0.9; }

.btn-outline { background: var(--white); border: 2px solid var(--border-card); color: var(--dark); }
.btn-outline:hover { border-color: var(--dark); box-shadow: var(--shadow-sm); background: var(--slate-50); }

.btn-accent-outline { background: var(--brand-accent-light); color: var(--brand-accent); }
.btn-accent-outline:hover { background: var(--brand-accent); color: var(--white); }

.btn-icon { width: 50px; height: 50px; padding: 0; border-radius: 50%; }

.shadow-glow { box-shadow: 0 5px 15px rgba(123, 205, 27, 0.2); }
.shadow-glow-accent { box-shadow: 0 5px 15px rgba(15, 23, 42, 0.1); }

.services-cta {
    margin-top: 60px;
    padding-bottom: 40px;
    position: relative;
    z-index: 5;
}
.btn-lg {
    padding: 18px 45px !important;
    font-size: 1.1rem !important;
}
@media (max-width: 768px) {
    .services-cta { margin-top: 40px; padding-bottom: 20px; }
    .btn-lg { padding: 15px 35px !important; font-size: 1rem !important; }
}

/* Navbar */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 5%; position: fixed; top: 15px; left: 5%; right: 5%; z-index: 1000; 
    border-radius: 50px; transition: var(--transition-smooth);
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.navbar.scrolled {
    top: 0; left: 0; right: 0; width: 100%;
    padding: 10px 5%; border-radius: 0 0 24px 24px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-img { height: 52px; width: auto; transition: var(--transition-smooth); object-fit: contain; filter: drop-shadow(0 4px 6px rgba(123, 205, 27, 0.1)); }
.logo:hover .logo-img { filter: drop-shadow(0 6px 12px rgba(123, 205, 27, 0.2)); }
.logo-text { line-height: 1.0; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.logo-bold { font-size: 1.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: -0.5px; color: var(--primary-lime) !important; margin-bottom: 0px;}
.logo-light { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--primary-lime); }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-weight: 600; color: var(--text-gray); font-size: 0.95rem; transition: var(--transition-fast); position: relative; padding: 5px 0; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-lime); }
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--primary-lime); transition: var(--transition-smooth); border-radius: 2px;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Dropdown Menu */
.nav-links li { position: relative; list-style: none; }
.dropdown-menu {
    position: absolute; top: 100%; left: 0; background: var(--white);
    min-width: 220px; padding: 15px 0; border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden;
    transform: translateY(10px); transition: 0.3s; z-index: 100;
    border: 1px solid var(--border-card);
}
.nav-links li:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li { width: 100%; }
.dropdown-menu a {
    display: block; padding: 10px 25px; color: var(--text-gray);
    font-size: 0.9rem; font-weight: 500; transition: 0.2s;
}
.dropdown-menu a:hover { background: var(--slate-50); color: var(--brand-accent); padding-left: 30px; }

.nav-actions { display: flex; gap: 15px; align-items: center; }
.mobile-menu-btn { display: none; font-size: 1.5rem; cursor: pointer; color: var(--dark); border: none; background: transparent; }
.mobile-only-btn { display: none; }

/* Hero Section */
.hero-section {
    display: flex; justify-content: space-between; align-items: stretch;
    padding: 160px 8% 100px; gap: 80px; min-height: 80vh;
}
.hero-content { 
    flex: 1.2; max-width: 650px; 
    display: flex; flex-direction: column; justify-content: space-between;
}
.hero-title { font-size: 4rem; font-weight: 800; line-height: 1.1; margin-bottom: 5px; color: var(--dark); }
.hero-subtitle { color: var(--text-gray); font-size: 1.15rem; margin-bottom: 10px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 15px; margin-bottom: 15px; flex-wrap: wrap; }
.hero-features { display: inline-flex; flex-direction: column; gap: 15px; text-align: left; }
.hero-features li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--text-primary); font-size: 1rem;}
.hero-features li i { padding-top: 5px; }

.hero-image-wrapper {
    flex: 1; position: relative; border-radius: var(--border-radius-lg);
    max-width: 650px; width: 100%; display: flex;
}
.main-hero-img { 
    width: 100%; height: auto;
    aspect-ratio: 4 / 3.2; /* Slightly taller for more content space */
    object-fit: cover; 
    border-radius: var(--border-radius-lg); 
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-card);
    transition: var(--transition-smooth);
}
.main-hero-img:hover { box-shadow: var(--shadow-2xl); }

.badge-experience {
    position: absolute; top: -20px; left: -30px; border-radius: 50%;
    width: 140px; height: 140px; display: flex; align-items: center; justify-content: center;
    z-index: 10; will-change: transform; background: var(--primary-lime);
    box-shadow: var(--shadow-lg); padding: 5px; border: 4px solid var(--white);
}
.spin-text { position: absolute; animation: spin 15s linear infinite; transform-origin: center; }
.badge-icon { display: flex; align-items: center; justify-content: center; margin-top: 5px; }
.badge-icon img { height: 45px; width: auto; filter: brightness(0) invert(1); }
@keyframes spin { 100% { transform: rotate(360deg); } }

.floating-review {
    position: absolute; bottom: 20px; left: 0; right: 0; margin: 0 auto;
    width: 90%; max-width: 480px; justify-content: space-between;
    border-radius: 50px;
    padding: 12px 20px 12px 25px; display: flex; align-items: center; z-index: 10;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.7);
}
.review-left { display: flex; align-items: center; gap: 18px; }
.review-avatars { display: flex; align-items: center; }
.review-avatars img { width: 45px; height: 45px; border-radius: 50%; border: 3px solid var(--white); margin-left: -15px; object-fit: cover; }
.review-avatars img:first-child { margin-left: 0; }
.review-text { display: flex; flex-direction: column; }
.stars { font-size: 0.85rem; letter-spacing: 2px; }
.review-text span { font-size: 0.9rem; color: var(--text-gray); margin-top: 4px; }
.review-arrow a {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; background: var(--bg-alt);
    border-radius: 50%; color: var(--dark); transition: var(--transition-fast);
}
.review-arrow a:hover { background: var(--primary-lime); color: var(--white); opacity: 0.8; }

/* Dedicated section */
.dedicated-section {
    padding: 80px 5%; display: flex; gap: 80px; align-items: stretch; margin-top: 20px; margin-bottom: 20px;
}
.dedicated-left { flex: 1; display: flex; flex-direction: column; width: 100%; max-width: 550px;}
.doctor-image-wrapper { flex: 1; position: relative; border-radius: var(--border-radius-lg); width: 100%; margin-bottom: 20px; overflow: hidden; min-height: 400px; display: block; }
.doctor-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--border-radius-lg); border: 1px solid var(--border-card); }
.doctor-name-card {
    position: absolute; bottom: 20px; left: 0; right: 0; margin: 0 auto;
    width: 90%; max-width: 450px;
    padding: 20px 25px; border-radius: var(--border-radius-md); background: var(--white);
    display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--border-card);
}
.doc-info h3 { font-size: 1.3rem; margin-bottom: 5px; font-weight: 800; }
.doc-info p { font-size: 0.95rem; font-weight: 500; color: var(--text-gray); }
.doc-arrow i { font-size: 1.4rem; }

.relationship-text { margin-top: 50px; padding: 25px; border-radius: var(--border-radius-md); border: 1px solid var(--border-card); }
.relationship-text p { margin-bottom: 15px; font-size: 1.1rem; color: var(--text-primary); line-height: 1.7; font-weight: 500; }

.dedicated-right { flex: 1.2; display: flex; flex-direction: column; justify-content: space-between; width: 100%;}
.section-title { font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.section-desc { font-size: 1.1rem; line-height: 1.8; margin-bottom: 20px; color: var(--text-gray); }

.stats-grid { display: flex; gap: 20px; margin-top: 10px; }
.stat-card {
    flex: 1; padding: 40px 30px; border-radius: var(--border-radius-md);
    position: relative; display: flex; flex-direction: column; justify-content: center;
}
.stat-number { font-size: 4rem; font-weight: 800; margin-bottom: 10px; line-height: 1; letter-spacing: -2px;}
.stat-text { font-size: 1rem; font-weight: 600; line-height: 1.5; }
.stat-arrow { position: absolute; bottom: 25px; right: 25px; font-size: 1.3rem; }

.stat-images { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.stat-img { width: 100%; height: 140px; object-fit: cover; border-radius: var(--border-radius-md); border: 1px solid var(--border-card); }

.doctor-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 35px; }
.badge {
    padding: 10px 20px; border-radius: 50px; font-size: 0.95rem; font-weight: 600; 
}
.badge-lime { background: var(--primary-lime-light); color: var(--primary-lime-hover); border: 1px solid rgba(123, 205, 27, 0.2); }
.badge-accent { background: var(--brand-accent-light); color: var(--brand-accent); border: 1px solid rgba(15, 23, 42, 0.2); }
.badge-outline { background: var(--white); color: var(--text-gray); border: 1px solid var(--border-card); }

/* Services section */
.services-section { padding: 100px 5%; margin-top: 0; }
.services-header { text-align: center; margin-bottom: 60px; max-width: 800px; margin-inline: auto; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card {
    padding: 45px 35px; border-radius: var(--border-radius-md);
    position: relative; transition: var(--transition-smooth);
    will-change: transform, box-shadow; border: 1px solid var(--border-card);
    background: var(--white);
}
/* Service card hover state handled by hover-premium utility */
.service-card:hover .service-icon {
    background: var(--primary-lime);
    color: var(--white);
}
.service-icon {
    width: 70px; height: 70px; border-radius: var(--border-radius-md);
    display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 30px; position: relative;
    transition: var(--transition-smooth);
}
.icon-lime { background: var(--primary-lime-light); color: var(--primary-lime-hover); border: 1px solid rgba(123, 205, 27, 0.1); }
.icon-accent { background: var(--brand-accent-light); color: var(--brand-accent); border: 1px solid rgba(15, 23, 42, 0.1); }
.icon-lime i, .icon-accent i { animation: pulse-subtle 3s ease-in-out infinite; }

@keyframes pulse-subtle {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.9; }
}

.service-card h3 { font-size: 1.4rem; margin-bottom: 15px; font-weight: 800; color: var(--dark); }
.service-card p { color: var(--text-gray); font-size: 1rem; line-height: 1.7; margin-bottom: 20px; }
.service-link {
    display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
    color: var(--brand-accent); font-size: 0.95rem; border-bottom: 2px solid transparent;
    transition: var(--transition-smooth); width: fit-content;
}
.service-link i { font-size: 0.8rem; transition: transform 0.3s ease; }
.service-link:hover { color: var(--brand-accent-hover); border-color: var(--brand-accent-light); }
.service-link:hover i { opacity: 0.8; }

/* Contact Section Redesign */
.contact-section { padding: 80px 0 60px; }
.contact-header { padding: 0 5%; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-bottom: 40px; }
.contact-method-card {
    padding: 40px 30px; border-radius: var(--border-radius-md); border: 1px solid var(--border-card);
    display: flex; flex-direction: column; align-items: flex-start;
}
.contact-method-card h3 { font-size: 1.3rem; font-weight: 800; }
.contact-method-card p { line-height: 1.6; font-size: 0.95rem; }
.accent-gradient-bg { background: linear-gradient(135deg, var(--primary-lime), var(--primary-lime-hover)); }
.icon-circle {
    width: 55px; height: 55px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0;
}
.flex-grow-1 { flex-grow: 1; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

.contact-map-wrapper { position: relative; height: 500px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border-card); }
.map-overlay-box {
    position: absolute; top: 30px; left: 30px; background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px); padding: 30px; border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg); z-index: 10; border: 1px solid rgba(255,255,255,0.5);
    min-width: 300px; max-width: 350px;
}
.map-overlay-box h3 { font-size: 1.3rem; font-weight: 800; }
.contact-map { flex-grow: 1; width: 100%; height: 100%; }
.contact-map iframe { width: 100%; height: 100%; border: none; }

/* Footer */
.footer { background-color: var(--dark); color: var(--white); padding: 80px 5% 30px; }
.footer-content { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 25px; margin-bottom: 60px; }
.footer-logo { font-size: 2rem; }
.footer-logo .logo-bold { color: var(--primary-lime); }
.footer-logos-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}
.footer-logo-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 18px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.footer-logo-item img {
    height: 45px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}
.footer-logo-item:hover {
    background: var(--white);
    box-shadow: 0 8px 25px rgba(123, 205, 27, 0.2);
}
.footer p { color: #94a3b8; font-size: 1.1rem; max-width: 500px; }
.social-links { display: flex; gap: 20px; margin-top: 15px; }
.social-links a {
    width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center; transition: var(--transition-fast); font-size: 1.3rem;
    color: var(--white);
}
.social-links a:hover { background: var(--gradient-lime); color: var(--white); border-color: transparent; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); color: #64748b; font-size: 0.95rem;
}
.footer-dev-link { color: var(--white); font-weight: 600; text-decoration: none; transition: var(--transition-fast); }
.footer-dev-link:hover { color: var(--primary-lime); text-shadow: 0 0 8px rgba(123, 205, 27, 0.3); }

/* Hover Animations and Utilities */
/* Unified Hover Utility (No Movement) */
.hover-premium { 
    transition: var(--transition-smooth); 
    will-change: box-shadow, border-color;
}
.hover-premium:hover { 
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12); 
    border-color: var(--primary-lime);
}

.floating { animation: floating 4s ease-in-out infinite; will-change: transform; }
@keyframes floating { 0% { transform: translate3d(0, 0px, 0); } 50% { transform: translate3d(0, -12px, 0); } 100% { transform: translate3d(0, 0px, 0); } }
.floating-delayed { animation: floating 4s ease-in-out infinite 2s; will-change: transform; }

/* Intersection Observer Animations */
.fade-in-up, .fade-in-left, .pop-in, .stagger-fade-in > * { will-change: opacity, transform; }
.fade-in-up { opacity: 0; transform: translate3d(0, 20px, 0); transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.fade-in-up.visible { opacity: 1; transform: translate3d(0, 0, 0); }
.fade-in { opacity: 0; transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.fade-in.visible { opacity: 1; }
.fade-in-left { opacity: 0; transform: translate3d(20px, 0, 0); transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.fade-in-left.visible { opacity: 1; transform: translate3d(0, 0, 0); }
.pop-in { opacity: 0; transform: scale3d(0.85, 0.85, 1); transition: opacity 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.2), transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.2); }
.pop-in.visible { opacity: 1; transform: scale3d(1, 1, 1); }
.stagger-fade-in > * { opacity: 0; transform: translate3d(0, 20px, 0); transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.stagger-fade-in.visible > * { opacity: 1; transform: translate3d(0, 0, 0); }
.stagger-fade-in.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-fade-in.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-fade-in.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-fade-in.visible > *:nth-child(4) { transition-delay: 0.4s; }

.overflow-hidden { overflow: hidden; }

/* Responsive adjustments */
@media (max-width: 1200px) {
    .dedicated-section { gap: 40px; margin-left: 0; margin-right: 0; }
    .hero-title { font-size: 3.2rem; }
    .contact-grid { margin-left: 5%; margin-right: 5%; }
}

@media (max-width: 1024px) {
    .hero-section { flex-direction: column; text-align: left; padding-top: 130px; align-items: flex-start; }
    .hero-content { max-width: 100%; }
    .hero-buttons { justify-content: flex-start; }
    .hero-features { margin: 0; }
    .hero-features li { justify-content: flex-start; }
    .hero-image-wrapper { margin-top: 60px; margin-right: 0; margin-bottom: 20px; overflow: visible; }
    .badge-experience { left: -15px; top: -25px; transform: scale(0.9); }
    /* Review remains centered */
    
    .dedicated-section { flex-direction: column; padding: 60px 5%; }
    .doctor-image-wrapper { width: 100%; max-width: 600px; margin: 0 auto 30px; flex: none; display: block; position: relative; }
    .doctor-img { height: 450px; position: relative; }
    .dedicated-left { align-items: center; text-align: center; }
    .dedicated-right { text-align: center; align-items: center; justify-content: center; gap: 20px; }
    
    .map-overlay-box { position: relative; top: 0; left: 0; transform: none; box-shadow: none; border-radius: 0; border: none; border-bottom: 1px solid var(--border-card); max-width: 100%; width: 100%; padding: 40px 20px; }
    
    .navbar { border-radius: 20px; }
}

@media (max-width: 768px) {
    .navbar { padding: 15px; position: fixed; top: 0; left: 0; right: 0; border-radius: 0; border: none; border-bottom: 1px solid var(--border-card); }
    .nav-links, .nav-actions .btn-lime { display: none; }
    .mobile-menu-btn { display: block; }
    
    .navbar.nav-open .nav-links {
        display: flex; flex-direction: column; align-items: center;
        position: absolute; top: 100%; left: 0; width: 100%;
        background: var(--white); padding: 30px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-bottom: 1px solid var(--border-card);
        max-height: calc(100vh - 70px); overflow-y: auto; text-transform: uppercase; letter-spacing: 1px;
    }
    .dropdown-menu {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: none; background: transparent; padding: 0;
        text-align: center; display: none; margin-bottom: 20px;
    }
    .nav-links li:hover .dropdown-menu { display: block; }
    .dropdown-menu a { padding: 8px 0; font-size: 0.8rem; }
    
    .mobile-only-btn { display: block; width: 100%; margin-top: 20px; }
    .mobile-only-btn .btn { width: 100%; }
    .nav-actions .desktop-only-btn { display: none !important; }
    
    .hero-title { font-size: 2.6rem; margin-bottom: 20px; }
    .hero-subtitle { font-size: 1.05rem; }
    .main-hero-img { height: 400px; }
    .doctor-img { height: 400px; }
    
    .stats-grid { flex-direction: column; width: 100%; }
    .stat-card { padding: 30px; }
    .stat-images { flex-direction: row; }
    .stat-img { height: 120px; flex: 1; width: auto; }
    
    .doctor-badges { justify-content: center; }
    
    .services-section { padding: 60px 5%; }
    .contact-section { padding: 40px 5%; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    
    .logo-img { height: 42px; }
    .logo-bold { font-size: 1.4rem; }
    .logo-light { font-size: 0.75rem; letter-spacing: 1.5px; }
}

@media (max-width: 480px) {
    .badge-experience { width: 90px; height: 90px; left: 10px; top: -20px; }
    .hero-title { font-size: 2.1rem; }
    .section-title { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; width: 100%; gap: 10px; margin-bottom: 30px; align-items: flex-start; }
    .hero-buttons .btn { width: 100%; }
    .main-hero-img, .doctor-img { height: 320px; }
    .stat-images { flex-direction: column; }
    .floating-review { width: calc(100% - 20px); left: 0; right: 0; margin: 0 auto; padding: 8px 12px; border-radius: 40px; bottom: 10px; }
    .review-left { gap: 8px; }
    .review-avatars img { width: 32px; height: 32px; border-width: 2px; margin-left: -12px;}
    .review-text span { font-size: 0.75rem; white-space: nowrap; }
    .logo-img { height: 38px; }
    .logo-bold { font-size: 1.25rem; }
    .logo-light { font-size: 0.7rem; letter-spacing: 1.5px; }

    /* Footer Logos Single Row Force */
    .footer-logos-row { flex-wrap: nowrap; gap: 10px; }
    .footer-logo-item { padding: 6px 10px; flex: 1; display: flex; justify-content: center; }
    .footer-logo-item img { height: auto; max-height: 35px; max-width: 100%; object-fit: contain; }
}


/* Service Page Specific Styles (Navy & Lime Palette) */
:root {
    --navy-blue: #0a1628;
    --navy-light: #1e293b;
    --teal-mint: #7dcc23;
    --teal-bg: #f2faf1;
    --slate-50: #f8fafc;
    --slate-400: #94a3b8;
}

.service-hero {
    background-color: var(--navy-blue);
    background-image: radial-gradient(circle at 15% 50%, rgba(125, 204, 35, 0.15) 0%, transparent 50%), radial-gradient(circle at 85% 50%, rgba(15, 23, 42, 0.4) 0%, transparent 50%);
    padding: 160px 5% 80px;
    color: var(--white);
    text-align: center;
}
.service-tag { 
    display: inline-block; padding: 6px 16px; border-radius: 30px; 
    background: rgba(255,255,255,0.1); font-size: 0.85rem; 
    font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
}
.service-hero h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 20px; }
.service-hero p { color: var(--slate-400); font-size: 1.2rem; max-width: 700px; margin: 0 auto; line-height: 1.6; }

.service-subnav {
    position: sticky; top: 95px; z-index: 100;
    background: var(--white); border-bottom: 1px solid var(--border-card);
    padding: 0 5%; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}
.service-subnav::-webkit-scrollbar { display: none; } /* Hide scrollbar Chrome/Safari */
.subnav-links { display: flex; gap: 30px; white-space: nowrap; }
.subnav-links a {
    padding: 20px 0; font-weight: 600; color: var(--text-gray); font-size: 0.95rem;
    border-bottom: 3px solid transparent; transition: 0.3s;
}
.subnav-links a.active, .subnav-links a:hover { color: var(--teal-mint); border-color: var(--teal-mint); }

.treatment-section { padding: 80px 5%; background: var(--slate-50); }
.treatment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.treatment-card {
    padding: 40px; border-radius: 24px; background: var(--white);
    border: 1px solid var(--border-card); transition: var(--transition-smooth);
}
.treatment-icon {
    width: 60px; height: 60px; border-radius: 50%; 
    background: var(--gradient-lime);
    color: var(--white); display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(123, 205, 27, 0.2);
}
.treatment-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 15px; color: var(--navy-blue); }
.treatment-card p { font-size: 1rem; color: var(--text-gray); line-height: 1.7; }

/* Floating FAB Buttons */
.fab-container { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 15px; z-index: 1000; }
.fab-btn {
    width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--white); box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: 0.3s;
}
.fab-whatsapp { background: #25D366; }
.fab-call { background: var(--navy-blue); }
.fab-btn:hover { filter: contrast(1.1) brightness(1.1); }

@media (max-width: 768px) {
    .service-hero h1 { font-size: 2.5rem; }
    .treatment-grid { grid-template-columns: 1fr; }
    .treatment-card { padding: 30px; }
    .subnav-links { gap: 20px; }
    .service-hero { padding-top: 120px; }
    .treatment-section { padding: 60px 20px; }
    .fab-btn { width: 48px; height: 48px; font-size: 1.2rem; }
    .fab-container { bottom: 20px; right: 20px; gap: 10px; }
}

@media (min-width: 992px) {
    .subnav-links { justify-content: center; }
}

/* Gallery Styles */
.gallery-section { padding: 60px 0; background: var(--bg-alt); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 5%;
}
.gallery-item {
    cursor: pointer;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: var(--white);
    aspect-ratio: 4 / 3;
    border: 1px solid var(--border-card);
    transition: var(--transition-smooth);
}
.gallery-item:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-lime);
}
.gallery-img-wrapper { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.gallery-placeholder {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    color: var(--text-gray); opacity: 0.6;
}
.gallery-placeholder i { font-size: 2.5rem; }
.gallery-placeholder span { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.gallery-img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-smooth); }

@media (min-width: 992px) {
    .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 30px; }
}

/* Lightbox Overlay */
.lightbox-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000; display: none;
    align-items: center; justify-content: center;
    padding: 40px;
}
.lightbox-overlay.active { display: flex; animation: fadeIn 0.3s ease; }
.close-lightbox {
    position: absolute; top: 30px; right: 40px;
    font-size: 3rem; color: var(--white); cursor: pointer;
    transition: 0.3s;
}
.close-lightbox:hover { color: var(--primary-lime); }
.lightbox-content-wrapper { max-width: 900px; width: 100%; text-align: center; }
.lightbox-placeholder-target {
    width: 100%; aspect-ratio: 16 / 9;
    background: rgba(255,255,255,0.1);
    border-radius: var(--border-radius-lg);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: var(--white); border: 2px dashed rgba(255,255,255,0.2);
}
.lightbox-placeholder-target i { font-size: 5rem; color: var(--primary-lime); margin-bottom: 20px; }
.lightbox-main-img { 
    max-width: 100%; max-height: 70vh; object-fit: contain; 
    border-radius: var(--border-radius-md); box-shadow: var(--shadow-xl);
    display: none; /* Controlled by JS */
    margin: 0 auto;
}
#lightbox-caption { font-size: 1.5rem; font-weight: 700; margin-top: 20px; color: var(--white); }

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


/* Testimonials Section */
.testimonials-section { padding: 100px 5% 60px; background-color: var(--bg-alt); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card {
    padding: 35px; border-radius: var(--border-radius-md);
    background: var(--white); border: 1px solid var(--border-card);
    display: flex; flex-direction: column; justify-content: center;
    transition: var(--transition-smooth);
}
.testimonial-card:hover { box-shadow: var(--shadow-xl); border-color: var(--primary-lime-light); }
.testimonial-card p { font-style: italic; font-size: 1.05rem; line-height: 1.6; color: var(--text-gray); margin-bottom: 15px; }
.testimonial-card h4 { font-weight: 800; color: var(--primary-lime); font-size: 1rem; }
.testimonial-card .stars { margin-bottom: 15px; }

@media (max-width: 768px) {
    .testimonials-section { padding: 60px 20px; }
}

/* --- Premium Reveal Animations --- */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.reveal-blur {
    opacity: 0;
    filter: blur(10px);
    transform: scale(1.05);
    transition: opacity 1.2s var(--ease-out-expo), filter 1.2s var(--ease-out-expo), transform 1.2s var(--ease-out-expo);
}
.reveal-blur.visible {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

/* Mask Reveal Effect */
.mask-reveal {
    position: relative;
    overflow: hidden;
}
.mask-reveal::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--primary-lime);
    transform: translateX(-101%);
    transition: transform 0.6s var(--ease-in-out-expo);
    z-index: 2;
}
.mask-reveal.visible::after {
    transform: translateX(101%);
}

/* Stagger Children within a parent */
.stagger-parent > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.stagger-parent.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Delays (CSS way) */
.stagger-parent.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-parent.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-parent.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-parent.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-parent.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-parent.visible > *:nth-child(6) { transition-delay: 0.6s; }

/* Enhanced Hover Effects */

/* Glass Enhancement */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Magnetic Button Base (Handled by JS, but styles here) */
.magnetic-wrap {
    display: inline-block;
}

/* Smooth Image Parallax Effect */
.parallax-bg {
    transition: transform 0.1s linear;
    will-change: transform;
}
