:root {
    --bg-light: #f8fafc;
    --bg-alt: #f1f5f9;
    --bg-card: #ffffff;
    --border-card: #e2e8f0;

    /* Deep Navy for Text - Premium replacement for standard dark colors */
    --text-primary: #2f100a;
    --text-gray: #694c47;

    /* Primary Medical Blue - Trust & Authority (Updated to Deep Maroon-Red) */
    --primary-blue: #921a11;
    --primary-blue-hover: #7a150e;
    --primary-blue-light: #EBF4FB;

    /* Deep Navy Accents */
    --primary-navy: #2f0c0a;
    --primary-navy-hover: #1b0805;
    --primary-navy-light: #f0e4e2;

    /* Premium Gold/Yellow Highlight - Quality & Excellence */
    --brand-gold: #ff3c00;
    --brand-gold-hover: #E6B800;
    --brand-gold-light: #FFF9E6;

    /* Aliases for Legacy Compatibility (Mapping all Blue to Blue/Navy) */
    --brand-accent: var(--primary-blue);
    --brand-accent-hover: var(--primary-blue-hover);
    --brand-accent-light: var(--primary-blue-light);

    --white: #ffffff;
    --dark: #2f100a;

    --gradient-blue: linear-gradient(135deg, #921a11 0%, #7a150e 100%);
    --gradient-navy: linear-gradient(135deg, #2f100a 0%, #cb4101 100%);
    --gradient-gold: linear-gradient(135deg, #FCC900 0%, #D4A800 100%);

    --border-radius-sm: 16px;
    --border-radius-md: 24px;
    --border-radius-lg: 32px;

    --shadow-sm: 0 4px 6px -1px rgba(47, 19, 10, 0.05), 0 2px 4px -2px rgba(47, 16, 10, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(47, 14, 10, 0.05), 0 4px 6px -4px rgba(47, 16, 10, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(47, 17, 10, 0.05), 0 8px 10px -6px rgba(47, 16, 10, 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-blue {
    color: var(--primary-blue);
}

.text-navy {
    color: var(--dark);
}

.text-blue {
    color: var(--primary-blue);
    /* Map to blue */
}

.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(42, 19, 15, 0.08);
    z-index: -1;
    border-radius: 4px;
    transform: skewX(-10deg);
}

.highlight-accent::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: var(--primary-blue-light);
    z-index: -1;
    border-radius: 4px;
    transform: skewX(-12deg);
}

.text-gold {
    color: var(--brand-gold);
}

.highlight-gold {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 0 4px;
}

.highlight-gold::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: var(--brand-gold-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);
}

.blue-gradient-bg {
    background: var(--gradient-blue);
}

.blue-gradient-bg {
    background: var(--gradient-blue);
}

/* 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-blue {
    background: var(--gradient-blue);
    color: var(--white);
}

.btn-blue:hover {
    box-shadow: 0 10px 20px rgba(203, 14, 1, 0.25);
    opacity: 0.9;
}

.btn-blue {
    background: var(--gradient-blue);
    color: var(--white);
}

.btn-blue:hover {
    box-shadow: 0 10px 20px rgba(203, 25, 1, 0.25);
    opacity: 0.9;
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--dark);
}

.btn-gold:hover {
    box-shadow: 0 10px 20px rgba(252, 201, 0, 0.25);
    opacity: 0.9;
}

.btn-accent {
    background: var(--gradient-blue);
    color: var(--white);
}

.btn-accent:hover {
    box-shadow: 0 10px 20px rgba(203, 58, 1, 0.15);
    opacity: 0.9;
}

.btn-outline,
.btn-white-outline {
    background: var(--white);
    border: 2px solid rgba(203, 48, 1, 0.25);
    color: var(--primary-blue);
}

.btn-outline:hover,
.btn-white-outline:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
    background: var(--white);
    transform: translateY(-2px);
}



.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;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border-radius: 50%;
}

.shadow-glow-blue {
    box-shadow: 0 5px 15px rgba(203, 41, 1, 0.2);
}


.shadow-glow-gold {
    box-shadow: 0 5px 15px rgba(252, 201, 0, 0.2);
}

.shadow-glow-accent {
    box-shadow: 0 5px 15px rgba(203, 48, 1, 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;
    background: var(--white);
    border: 1px solid rgba(47, 19, 10, 0.05);
    box-shadow: 0 10px 30px rgba(47, 20, 10, 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(47, 19, 10, 0.12);
    border: none;
    border-bottom: 1px solid rgba(47, 14, 10, 0.05);
    z-index: 1000;
}

.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(203, 41, 1, 0.1));
}

.logo:hover .logo-img {
    filter: drop-shadow(0 6px 12px rgba(203, 48, 1, 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-blue) !important;
    margin-bottom: 0px;
}

.logo-light {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-blue);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.mobile-nav-actions {
    display: none;
}

.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-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    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 {
    scroll-padding-top: 80px;
}

body.no-scroll {
    overflow: hidden;
    height: 100vh;
    width: 100%;
    position: fixed;
}

.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-blue);
    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(10, 25, 47, 0.1);
    background: rgba(255, 255, 255, 0.98);
    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-blue);
    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);
}

.reels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.reel-card {
    display: block;
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 2 / 1;
    border: 1px solid var(--border-card);
    transition: var(--transition-smooth);
}

.reel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.reel-card:hover .reel-img {
    transform: scale(1.05);
}

.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-blue {
    background: var(--primary-blue-light);
    color: var(--primary-blue-hover);
    border: 1px solid rgba(203, 31, 1, 0.2);
}

.badge-accent {
    background: var(--brand-accent-light);
    color: var(--brand-accent);
    border: 1px solid rgba(42, 21, 15, 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-blue);
    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);
}

/* Illustrated SVG icons for home page service cards */
.home-service-icon {
    width: 90px;
    height: 90px;
    background: transparent;
    border-radius: 0;
    border: none;
}

.home-service-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(203, 41, 1, 0.25));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.service-card:hover .home-service-icon img {
    transform: scale(1.12) translateY(-4px);
    filter: drop-shadow(0 10px 22px rgba(203, 41, 1, 0.4));
}

.icon-blue {
    background: var(--primary-blue-light);
    color: var(--primary-blue-hover);
    border: 1px solid rgba(203, 48, 1, 0.1);
}

.icon-accent {
    background: var(--brand-accent-light);
    color: var(--brand-accent);
    border: 1px solid rgba(42, 21, 15, 0.1);
}

.icon-blue 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-blue), var(--primary-blue-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.98);
    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-blue);
}

.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(47, 20, 10, 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(203, 41, 1, 0.2);
}

.footer p {
    color: #b89694;
    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-blue);
    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: #b89494;
    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-blue);
    text-shadow: 0 0 8px rgba(203, 48, 1, 0.3);
}

/* Hover Animations and Utilities */
/* Unified Hover Utility (No Movement) */
.hover-premium {
    transition: var(--transition-smooth);
}

.hover-premium:hover {
    box-shadow: 0 30px 60px rgba(47, 16, 10, 0.12);
    border-color: var(--primary-blue);
}

.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;
}

/* Intersection Observer Animations */
.fade-in-up,
.fade-in-left,
.pop-in,
.stagger-fade-in>* {
    backface-visibility: hidden;
}

.fade-in-up {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 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;
    }

    .doctor-image-wrapper {
        margin-bottom: 0;
    }

    .relationship-text {
        margin-top: 15px;
    }

    .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: 1100px) {
    .navbar {
        padding: 15px 5%;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid var(--border-card);
        background: var(--white);
        z-index: 1100;
    }

    .nav-links,
    .nav-actions .btn-blue {
        display: none;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .btn-icon {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .navbar.nav-open .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        /* Align to top for better structure */
        gap: 0;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        padding: 30px 20px 80px;
        /* More padding at bottom for safe area */
        z-index: 999;
        overflow-y: auto;
        animation: mobileMenuFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(47, 12, 10, 0.04);
        /* Subtle structural divider */
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links li a {
        padding: 22px 20px;
        display: block;
        font-size: 1rem;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        font-weight: 700;
        color: #2a110f;
        transition: all 0.3s ease;
    }

    .nav-links li a.active:not(.btn) {
        color: var(--primary-blue);
        background: rgba(203, 41, 1, 0.03);
    }

    @keyframes mobileMenuFade {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mobile-nav-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(47, 16, 10, 0.05);
    }

    .btn-call-mobile {
        background: var(--primary-blue);
        color: white !important;
        padding: 14px;
        border-radius: 12px;
        font-weight: 700;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-size: 1rem;
        text-transform: none;
        letter-spacing: 0;
    }

    .btn-book-mobile {
        background: var(--primary-blue);
        color: white !important;
        padding: 14px;
        border-radius: 12px;
        font-weight: 700;
        text-align: center;
        font-size: 1rem;
        text-transform: none;
        letter-spacing: 0;
    }

    .navbar.nav-open .nav-links li {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    .navbar.nav-open .nav-links a {
        font-size: 1.3rem;
        font-weight: 700;
        padding: 12px 0;
        color: var(--dark);
        display: block;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .navbar.nav-open .nav-links a.active {
        color: var(--primary-blue);
    }

    .navbar.nav-open .nav-links a::after {
        display: none;
        /* Hide desktop underline on mobile */
    }

    .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;
    }

    .reels-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .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: wrap;
        gap: 15px;
        justify-content: center;
    }

    .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 & Blue Palette) */
/* Using global variables defined at top of file */

.service-hero {
    background-color: #280b0a;
    background-image: radial-gradient(circle at 15% 50%, rgba(203, 41, 1, 0.15) 0%, transparent 50%), radial-gradient(circle at 85% 50%, rgba(42, 17, 15, 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);
    color: #FCC900;
    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: rgba(255, 255, 255, 0.9);
    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(--primary-blue);
    border-color: var(--primary-blue);
}

.treatment-section {
    padding: 80px 5%;
    background: #fcf8f8;
}

.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: 90px;
    height: 90px;
    border-radius: 20px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.treatment-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(203, 8, 1, 0.25));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.treatment-card:hover .treatment-icon img {
    transform: scale(1.12) translateY(-4px);
    filter: drop-shadow(0 10px 22px rgba(203, 1, 1, 0.4));
}

.treatment-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #0a1628;
}

.treatment-card p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Floating FAB Buttons */
.fab-container {
    position: fixed;
    bottom: clamp(15px, 3vw, 30px);
    right: clamp(15px, 3vw, 30px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    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(47, 22, 10, 0.2);
    transition: 0.3s;
}

.fab-whatsapp {
    background: #25D366;
    /* Official WhatsApp Green */
}

.fab-facebook {
    background: #1877F2;
    /* Official Facebook Blue */
}

.fab-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    /* Official Instagram Gradient */
}

.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: 44px;
        height: 44px;
        font-size: 1.1rem;
        box-shadow: 0 6px 15px rgba(47, 14, 10, 0.15);
    }

    .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-blue);
}

.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(42, 18, 15, 0.98);
    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-blue);
}

.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-blue);
    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-blue-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-blue);
    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: translate3d(0, 15px, 0);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    backface-visibility: hidden;
}

.reveal-up.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.reveal-scale {
    opacity: 0;
    transform: scale3d(0.98, 0.98, 1);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    backface-visibility: hidden;
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale3d(1, 1, 1);
}

.reveal-blur {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    backface-visibility: hidden;
}

.reveal-blur.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* 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-blue);
    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: translate3d(0, 15px, 0);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-parent.visible>* {
    opacity: 1;
    transform: translate3d(0, 0, 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.95);
    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;
}

/* Associate Doctors Section */
.associates-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.associates-box {
    padding: 60px 40px;
}

.associates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.doctor-card {
    background: var(--white);
    border: 1px solid var(--border-card);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.doctor-card-img {
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--bg-alt);
    overflow: hidden;
    position: relative;
}

.doctor-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-card-content {
    padding: 30px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.doctor-card-content h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.doctor-qualification {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
    line-height: 1.4;
    max-width: 90%;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .associates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .associates-grid {
        grid-template-columns: 1fr;
    }

    .associates-section {
        padding: 40px 0;
    }

    .associates-box {
        padding: 40px 20px;
        margin-left: 15px !important;
        margin-right: 15px !important;
    }
}

/* VIP Visit Section Styles - Enhanced Balanced Layout */
.vip-visit-section {
    padding: 120px 0;
    background-color: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

.vip-visit-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(146, 26, 17, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.vip-wrapper {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 40px;
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
    border: 1px solid var(--border-card);
    position: relative;
    z-index: 1;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.vip-video-container {
    flex: 0 0 45%;
    padding: 40px;
    background: #fdfdfd;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Glass Phone Frame */
.phone-frame {
    width: 280px;
    height: 580px;
    background: #111;
    border: 12px solid #222;
    border-radius: 45px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3), inset 0 0 2px rgba(255,255,255,0.2);
}

.phone-frame::before { /* Speaker/Notch */
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #222;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.vip-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 33px;
}

.vip-badge-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-blue);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
    box-shadow: 0 8px 20px rgba(146, 26, 17, 0.2);
    letter-spacing: 0.5px;
}

.vip-content {
    flex: 1;
    padding: 60px 80px 60px 20px;
}

.vip-content h2 {
    font-size: 2.5rem;
    margin-top: 15px;
    line-height: 1.2;
}

.vip-content p {
    font-size: 1.1rem;
    margin: 20px 0 30px;
    line-height: 1.7;
}

.vip-quote {
    padding: 30px;
    background: #f8fafc;
    border-left: 5px solid var(--primary-blue);
    border-radius: 0 20px 20px 0;
    position: relative;
}

.vip-quote i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    opacity: 0.1;
    position: absolute;
    top: 10px;
    right: 20px;
}

.vip-quote p {
    font-style: italic;
    color: var(--text-gray);
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.6;
}

.vip-name-tag {
    display: block;
    margin-top: 15px;
    font-weight: 800;
    color: var(--primary-blue);
    font-size: 1rem;
}

@media (max-width: 1024px) {
    .vip-content {
        padding: 40px 40px 40px 0;
    }
    .vip-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 991px) {
    .vip-visit-section {
        padding: 80px 0;
    }
    .vip-wrapper {
        flex-direction: column;
        max-width: 500px;
        border-radius: 30px;
    }
    .vip-video-container {
        width: 100%;
        padding: 40px 20px;
    }
    .vip-content {
        padding: 40px 30px;
        text-align: center;
    }
    .vip-quote {
        border-left: none;
        border-top: 5px solid var(--primary-blue);
        border-radius: 0 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .phone-frame {
        width: 100%;
        max-width: 260px;
        height: 520px;
    }
    .vip-content h2 {
        font-size: 1.8rem;
    }
}