/* ==========================================================================
   Design System & Base Styles
   ========================================================================== */
:root {
    /* Color Palette */
    --primary-teal: #0891b2;
    --primary-teal-light: #ecfeff;
    --primary-teal-glow: rgba(8, 145, 178, 0.15);
    
    --primary-blue: #1e3a8a;
    --primary-blue-hover: #1e40af;
    --primary-blue-glow: rgba(30, 58, 138, 0.1);
    
    --accent-orange: #f97316;
    --accent-orange-hover: #ea580c;
    --accent-orange-glow: rgba(249, 115, 22, 0.35);
    
    --text-dark: #0f172a;
    --text-muted: #475569;
    --text-light: #94a3b8;
    
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    
    /* Layout Tokens */
    --max-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 16px -6px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
    --shadow-glow-teal: 0 0 25px rgba(6, 182, 212, 0.5);
    --shadow-glow-orange: 0 0 20px rgba(249, 115, 22, 0.4);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.25;
}

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

button, input, select, textarea {
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 800px;
}

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

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

/* Common Components: Badges, Buttons */
.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.hero-badge {
    background-color: var(--primary-teal-light);
    color: var(--primary-teal);
    border: 1px solid rgba(8, 145, 178, 0.25);
}

.section-badge {
    background-color: var(--primary-blue-glow);
    color: var(--primary-blue);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.05rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-cta {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-hover));
    color: #ffffff;
    box-shadow: 0 4px 14px var(--accent-orange-glow);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-orange-glow), var(--shadow-glow-orange);
}

.btn-primary {
    background-color: var(--primary-blue);
    color: #ffffff;
}

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

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

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

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

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

.text-white {
    color: #ffffff;
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-normal);
}

.site-header.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-svg, .logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(8, 145, 178, 0.2));
}

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

.brand-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: 0.05em;
    line-height: 1.1;
}

.brand-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-teal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.brand-slogan {
    font-size: 0.58rem;
    font-weight: 600;
    color: var(--text-muted);
    font-style: italic;
    letter-spacing: 0.03em;
    margin-top: 1px;
    line-height: 1.1;
}

.text-white .brand-slogan, .site-footer .brand-slogan {
    color: var(--text-light);
}

.primary-navigation {
    display: flex;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.25rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-teal);
    transition: var(--transition-fast);
}

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

.header-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.phone-link-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.phone-link-header:hover {
    color: var(--primary-teal);
}

.phone-icon-svg {
    width: 18px;
    height: 18px;
}

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 7rem;
    min-height: 95vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 253, 250, 0.92) 100%), url('assets/hero_bg.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: scroll;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero-section {
        background-attachment: fixed;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 80%, rgba(6, 182, 212, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 2; /* Ensure overlay lies above animated shapes */
}

/* ==========================================================================
   Hero Animated Background
   ========================================================================== */
.hero-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

/* Glowing Blurry Blobs */
.bg-blob {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    mix-blend-mode: multiply;
    animation: blobFloat 20s infinite alternate ease-in-out;
}

.blob-1 {
    background: radial-gradient(circle, #22d3ee 0%, transparent 70%);
    top: -10%;
    right: 15%;
    animation-delay: 0s;
}

.blob-2 {
    background: radial-gradient(circle, #0ea5e9 0%, transparent 70%);
    bottom: -15%;
    left: 5%;
    animation-delay: 4s;
    width: 500px;
    height: 500px;
}

.blob-3 {
    background: radial-gradient(circle, #a855f7 0%, transparent 70%);
    top: 40%;
    left: 45%;
    animation-delay: 8s;
    width: 350px;
    height: 350px;
    opacity: 0.15;
}

/* Grid lines background style */
.bg-grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(8, 145, 178, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 145, 178, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center;
    mask-image: radial-gradient(circle at 70% 30%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at 70% 30%, black 30%, transparent 80%);
    opacity: 0.8;
}

/* Floating Shapes Animations */
.floating-shape {
    position: absolute;
    color: var(--primary-teal);
    opacity: 0.15;
    animation: driftAndSpin 15s infinite linear;
}

.shape-1 {
    top: 15%;
    left: 10%;
    width: 40px;
    height: 40px;
    animation-duration: 18s;
}

.shape-2 {
    bottom: 25%;
    right: 10%;
    width: 30px;
    height: 30px;
    color: var(--primary-blue);
    animation-duration: 22s;
    animation-delay: 2s;
}

.shape-3 {
    top: 50%;
    left: 8%;
    width: 20px;
    height: 20px;
    animation-duration: 14s;
    animation-delay: 4s;
}

.shape-4 {
    top: 25%;
    right: 45%;
    width: 50px;
    height: 50px;
    color: var(--accent-orange);
    animation-duration: 25s;
    animation-delay: 1s;
    opacity: 0.1;
}

/* Keyframes */
@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes driftAndSpin {
    0% {
        transform: translateY(100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.15;
    }
    90% {
        opacity: 0.15;
    }
    100% {
        transform: translateY(-200px) rotate(360deg);
        opacity: 0;
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-title .highlight {
    background: linear-gradient(120deg, var(--primary-teal), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.hero-stats {
    display: flex;
    gap: 3.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    max-width: 600px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-teal);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Glowing 3D Caduceus Illustration */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scene-3d-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero-3d-canvas {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    cursor: grab;
}

#hero-3d-canvas:active {
    cursor: grabbing;
}

.floating-caduceus {
    width: 100%;
    height: 100%;
    animation: floatAnimation 6s ease-in-out infinite;
    z-index: 2;
}

.pulse-ring {
    position: absolute;
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    border: 2px solid rgba(34, 211, 238, 0.3);
    animation: pulseRing 4s cubic-bezier(0.215, 0.610, 0.355, 1) infinite;
    pointer-events: none;
}

.pulse-ring-slow {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    border: 1px dashed rgba(6, 182, 212, 0.2);
    animation: pulseRing 6s cubic-bezier(0.215, 0.610, 0.355, 1) infinite;
    animation-delay: 1.5s;
    pointer-events: none;
}

/* Animations */
@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        filter: drop-shadow(0 15px 15px rgba(6, 182, 212, 0.15));
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
        filter: drop-shadow(0 30px 25px rgba(6, 182, 212, 0.3)) drop-shadow(0 0 10px rgba(34, 211, 238, 0.2));
    }
}

@keyframes pulseRing {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-choose-section {
    background-color: #ffffff;
    position: relative;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.why-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-teal), var(--primary-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(8, 145, 178, 0.2);
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    background-color: var(--primary-teal-light);
    color: var(--primary-teal);
    transition: var(--transition-normal);
}

.why-card:hover .why-icon-box {
    background-color: var(--primary-teal);
    color: #ffffff;
    transform: rotate(5deg) scale(1.05);
}

.why-icon-svg {
    width: 28px;
    height: 28px;
}

.why-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.why-card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive adjustments for Why Choose Us */
@media (max-width: 992px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .why-card {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.section-header {
    max-width: 650px;
    margin: 0 auto 5rem auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-family: var(--font-sans);
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
}

/* Span cards logically */
.services-grid .service-card:nth-child(1) { grid-column: span 3; }
.services-grid .service-card:nth-child(2) { grid-column: span 3; }
.services-grid .service-card:nth-child(3) { grid-column: span 2; }
.services-grid .service-card:nth-child(4) { grid-column: span 2; }
.services-grid .service-card:nth-child(5) { grid-column: span 2; }

.service-card {
    height: 100%;
}

.card-inner {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: var(--transition-slow);
    pointer-events: none;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1);
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(30, 58, 138, 0.6) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--primary-teal-light);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    color: var(--primary-teal);
    transition: var(--transition-normal);
    z-index: 2;
}

.service-icon {
    width: 30px;
    height: 30px;
}

/* Service Card Color Variants */
.service-icon-box.bg-blue { background-color: #eff6ff; }
.service-icon-box.bg-purple { background-color: #faf5ff; }
.service-icon-box.bg-orange { background-color: #fff7ed; }
.service-icon-box.bg-green { background-color: #f0fdf4; }

.service-icon.text-blue { color: #2563eb; }
.service-icon.text-purple { color: #9333ea; }
.service-icon.text-orange { color: #ea580c; }
.service-icon.text-green { color: #16a34a; }

.service-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    z-index: 2;
    transition: var(--transition-normal);
}

.service-card .service-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.85rem;
    transition: var(--transition-normal);
}

.service-card .service-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    transition: var(--transition-normal);
}

.learn-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin-top: auto;
}

.arrow-icon {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

/* Card Hover and Mobile Scroll Reveal Animations */
.service-card:hover .card-inner,
.service-card.in-view .card-inner {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(6, 182, 212, 0.3);
}

.service-card:hover .service-icon-box,
.service-card.in-view .service-icon-box {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--primary-teal);
    color: #ffffff;
}

.service-card:hover .arrow-icon,
.service-card.in-view .arrow-icon {
    transform: translateX(4px);
}

/* Card hover / scroll-in-view reveal background image for all service cards */
.service-card:hover .service-img-wrapper,
.service-card.in-view .service-img-wrapper {
    opacity: 1;
}

.service-card:hover .service-card-content .service-title,
.service-card:hover .service-card-content .service-text,
.service-card:hover .learn-more-link,
.service-card.in-view .service-card-content .service-title,
.service-card.in-view .service-card-content .service-text,
.service-card.in-view .learn-more-link {
    color: #ffffff;
}

.service-card:hover .service-card-content .service-text,
.service-card.in-view .service-card-content .service-text {
    opacity: 0.85;
}

.service-card:hover .service-icon-box,
.service-card.in-view .service-icon-box {
    background-color: #ffffff;
    color: var(--primary-teal);
}

/* ==========================================================================
   Doctors Profiles Section
   ========================================================================== */
.doctors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.doctor-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}

.doctor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.doc-img-container {
    position: relative;
    height: 340px;
    overflow: hidden;
    background-color: #e2e8f0;
}

.doc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    transition: var(--transition-slow);
}

.doctor-card:hover .doc-img {
    transform: scale(1.05);
}

.doc-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background-color: var(--primary-teal);
    color: #ffffff;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
}

.doc-info {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.doc-name {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 0.35rem;
}

.doc-specialty {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-teal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    display: block;
}

.doc-position {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    line-height: 1.4;
    border-left: 3px solid var(--primary-teal);
    padding-left: 0.75rem;
}

.doc-bio {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.doc-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin-bottom: 2rem;
}

.doc-skills li {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.85rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.doc-card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    display: flex;
    justify-content: flex-start;
}

/* ==========================================================================
   Clinic Infrastructure Gallery Section
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.gallery-item {
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
    height: 400px;
    transition: var(--transition-normal);
}

.gallery-img-box {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(30, 58, 138, 0.4) 50%, rgba(15, 23, 42, 0.1) 100%);
    opacity: 0.85;
    transition: var(--transition-normal);
    display: flex;
    align-items: flex-end;
    padding: 2.5rem;
}

.gallery-info {
    transform: translateY(15px);
    transition: var(--transition-normal);
    color: #ffffff;
}

.gallery-info h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.gallery-info p {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.5;
}

/* Hover transitions for gallery items */
.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(30, 58, 138, 0.5) 60%, rgba(15, 23, 42, 0.2) 100%);
    opacity: 1;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

/* ==========================================================================
   Symptom Search & AI Assistant Widget
   ========================================================================== */
.assistant-section {
    position: relative;
    overflow: hidden;
}

#assistant-3d-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.75;
}

.assistant-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 253, 250, 0.95) 100%);
    border: 1px solid rgba(8, 145, 178, 0.2);
    border-radius: var(--border-radius-xl);
    padding: 3.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    z-index: 2;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.assistant-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: rgba(34, 211, 238, 0.08);
    pointer-events: none;
}

.assistant-header {
    margin-bottom: 2.5rem;
}

.assistant-icon-glowing {
    width: 64px;
    height: 64px;
    background-color: var(--primary-teal);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    box-shadow: var(--shadow-glow-teal);
    animation: slowPulse 3s infinite;
}

@keyframes slowPulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
    }
    50% {
        box-shadow: 0 0 25px rgba(6, 182, 212, 0.7);
    }
}

.helper-svg {
    width: 32px;
    height: 32px;
}

.assistant-title {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.assistant-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.search-box-wrapper {
    margin-bottom: 1.5rem;
}

.input-group {
    display: flex;
    gap: 0.75rem;
    background-color: #ffffff;
    padding: 0.5rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.input-group:focus-within {
    border-color: var(--primary-teal);
    box-shadow: 0 0 15px rgba(8, 145, 178, 0.15);
}

.input-group input {
    flex-grow: 1;
    border: none;
    padding: 0.75rem 1.25rem;
    font-size: 1.05rem;
    outline: none;
    color: var(--text-dark);
}

.symptom-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
    justify-content: center;
}

.suggestion-tag {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
    cursor: pointer;
    transition: var(--transition-fast);
}

.suggestion-tag:hover {
    background-color: var(--primary-teal);
    border-color: var(--primary-teal);
    color: #ffffff;
}

.search-result-container {
    background-color: #ffffff;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: var(--shadow-sm);
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-card-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.result-match-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-teal);
    margin-bottom: 0.5rem;
}

.result-treatment-name {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.result-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.result-footer {
    display: flex;
    gap: 1rem;
    width: 100%;
}

/* ==========================================================================
   Banner Section
   ========================================================================== */
.banner-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0f172a 100%);
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 80%, rgba(34, 211, 238, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.banner-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.banner-title {
    font-size: 2.6rem;
    margin-bottom: 1.25rem;
    font-family: var(--font-sans);
}

.banner-text {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.banner-benefits {
    list-style: none;
    margin-bottom: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.banner-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    color: #cbd5e1;
}

.check-svg {
    width: 20px;
    height: 20px;
    color: var(--primary-teal);
    flex-shrink: 0;
}

.banner-image-box {
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid rgba(255, 255, 255, 0.1);
    height: 380px;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Footer Section & Maps Mockup
   ========================================================================== */
.site-footer {
    background-color: #0b1329;
    color: #94a3b8;
    padding-top: 6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 1fr;
    gap: 4rem;
    padding-bottom: 5rem;
}

.footer-col-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-teal);
    border-radius: 5px;
}

.brand-col .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.brand-col .footer-logo .logo-svg {
    width: 42px;
    height: 42px;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #cbd5e1;
}

.emergency-alert {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--border-radius-sm);
    padding: 1rem 1.25rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.alert-icon {
    font-size: 1.25rem;
}

.alert-text strong {
    color: #ef4444;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.25rem;
}

.alert-text p {
    font-size: 0.85rem;
    color: #cbd5e1;
}

/* Timing list */
.timing-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timing-list li {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.timing-list .days {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.timing-list .time-block {
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.timing-list .closed {
    color: #ef4444;
    font-weight: 600;
}

.contact-links-box {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.contact-link:hover {
    color: var(--primary-teal);
}

.contact-link .icon {
    font-size: 1rem;
}

/* Map Mockup Container */
.map-wrapper {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-placeholder {
    height: 180px;
    background-color: #1e293b;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 0),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 0),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 0);
    background-size: 20px 20px, 40px 40px, 40px 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.map-pin {
    width: 14px;
    height: 14px;
    background-color: #ef4444;
    border-radius: 50%;
    border: 3px solid #ffffff;
    z-index: 3;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.8);
}

.map-pulse {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(239, 68, 68, 0.4);
    animation: mapPulse 2.5s infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes mapPulse {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.map-info-popup {
    position: absolute;
    background-color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 4;
    box-shadow: var(--shadow-md);
}

.map-info-popup strong {
    color: #ffffff;
    display: block;
    margin-bottom: 0.15rem;
}

.map-info-popup p {
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.map-btn {
    display: inline-block;
    background-color: var(--primary-teal);
    color: #ffffff;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.map-btn:hover {
    background-color: var(--primary-blue);
}

.address-text {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.25rem 0;
    font-size: 0.85rem;
}

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

.footer-policy-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.footer-policy-links a:hover {
    color: #ffffff;
}

/* ==========================================================================
   Appointment Booking Modal
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-xl);
    width: 90%;
    max-width: 600px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 0.5;
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-body {
    padding: 3.5rem;
}

.modal-header-glowing {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.25rem;
}

.modal-header-glowing h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.35rem;
}

.modal-header-glowing p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Form controls */
.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}

input[type="text"],
input[type="tel"],
input[type="date"],
select {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    color: var(--text-dark);
    outline: none;
    transition: var(--transition-fast);
    width: 100%;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
select:focus {
    border-color: var(--primary-teal);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

/* Success display */
.booking-success-container {
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: scaleUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleUp {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.checkmark {
    width: 40px;
    height: 20px;
    border-left: 4px solid var(--primary-teal);
    border-bottom: 4px solid var(--primary-teal);
    transform: rotate(-45deg);
    margin-top: -5px;
}

.booking-success-container h3 {
    font-size: 1.75rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.success-message-text {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.success-message-text strong {
    color: var(--text-dark);
}

.follow-up-note {
    font-size: 0.9rem;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* ==========================================================================
   Responsive & Mobile-First Adjustments
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .services-grid .service-card:nth-child(1) { grid-column: span 2; }
    .services-grid .service-card:nth-child(2) { grid-column: span 2; }
    .services-grid .service-card:nth-child(3) { grid-column: span 1; }
    .services-grid .service-card:nth-child(4) { grid-column: span 1; }
    .services-grid .service-card:nth-child(5) { grid-column: span 2; }
    
    .banner-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1.2fr;
    }
    
    .map-col {
        grid-column: span 2;
    }

    .gallery-grid {
        gap: 1.5rem;
    }

    .gallery-item {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 0.25rem 0;
    }
    
    .header-cta {
        display: flex;
        align-items: center;
        margin-right: 1.25rem;
    }
    
    .header-cta .btn {
        display: none; /* Hide Book Now button on mobile header */
    }
    
    .phone-link-header {
        background-color: var(--primary-teal-light);
        border: 1px solid rgba(8, 145, 178, 0.2);
        color: var(--primary-teal);
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: var(--shadow-sm);
        transition: var(--transition-fast);
    }
    
    .phone-link-header:hover {
        background-color: var(--primary-teal);
        color: #ffffff;
        box-shadow: 0 0 12px rgba(8, 145, 178, 0.4);
    }
    
    .phone-link-header span {
        display: none; /* Hide phone text, keep icon */
    }
    
    .phone-icon-svg {
        width: 20px;
        height: 20px;
        margin: 0;
    }
    
    .mobile-nav-toggle {
        display: block;
        z-index: 1001;
    }
    
    /* Hamburger styling */
    .hamburger {
        display: block;
        position: relative;
        width: 24px;
        height: 2px;
        background-color: var(--primary-blue);
        transition: background var(--transition-fast);
    }
    
    .hamburger::before, .hamburger::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background-color: var(--primary-blue);
        transition: var(--transition-fast);
    }
    
    .hamburger::before { top: -6px; }
    .hamburger::after { bottom: -6px; }
    
    /* Expanded Nav Toggle state */
    .mobile-nav-toggle[aria-expanded="true"] .hamburger {
        background-color: transparent;
    }
    
    .mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
    
    .primary-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        padding: 6rem 2rem 2rem 2rem;
        transition: var(--transition-normal);
    }
    
    .primary-navigation.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 1.15rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid .service-card:nth-child(n) { grid-column: span 1; }
    
    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .map-col {
        grid-column: span 1;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-policy-links {
        justify-content: center;
        width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .modal-body {
        padding: 2.25rem;
    }
    
    .assistant-card {
        padding: 2.25rem 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-item {
        height: 280px;
    }
}

/* ==========================================================================
   Scroll entrance animations
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.service-card.reveal {
    /* Stagger dynamic delay loaded via JS */
    transition-delay: calc(var(--card-index) * 0.1s);
}

/* Slider styles removed */

/* ==========================================================================
   Testimonials Styling
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(8, 145, 178, 0.25);
}

.stars {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.test-text {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    flex-grow: 1;
}

.patient-info {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

.avatar-initials {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.avatar-initials.bg-teal { background-color: var(--primary-teal); }
.avatar-initials.bg-blue { background-color: var(--primary-blue); }
.avatar-initials.bg-orange { background-color: var(--accent-orange); }

.patient-info .details {
    display: flex;
    flex-direction: column;
}

.p-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.p-location {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ==========================================================================
   FAQ Accordions
   ========================================================================== */
.faq-accordion-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(8, 145, 178, 0.2);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    outline: none;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary-teal);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0 2rem;
    background-color: #fafbfc;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.open {
    border-color: var(--primary-teal);
    box-shadow: var(--shadow-sm);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-orange);
}

/* ==========================================================================
   WhatsApp Floating Widget
   ========================================================================== */
.whatsapp-sticky {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25d366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-normal);
    text-decoration: none;
}

.whatsapp-sticky:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: #20ba5a;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-svg {
    width: 32px;
    height: 32px;
}

.whatsapp-badge-pulse {
    position: absolute;
    top: 0;
    right: 0;
    width: 14px;
    height: 14px;
    background-color: #ef4444;
    border-radius: 50%;
    border: 2px solid #ffffff;
    animation: pulseHeart 1.5s infinite;
}

@keyframes pulseHeart {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

/* Additional Responsive Breakpoints for Added Features */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .whatsapp-sticky {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-svg {
        width: 26px;
        height: 26px;
    }
}

/* ==========================================================================
   More Services List Grid and Drawer Panel
   ========================================================================== */
.additional-services-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease-out, margin-top 0.4s ease-out;
    opacity: 0;
    margin-top: 0;
}

.additional-services-container.expanded {
    max-height: 2500px;
    opacity: 1;
    margin-top: 3.5rem;
}

.additional-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    letter-spacing: -0.02em;
}

.additional-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3.5px;
    background-color: var(--primary-teal);
    margin: 0.6rem auto 0 auto;
    border-radius: 4px;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.facility-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background-color: var(--bg-card);
    padding: 1.1rem 1.4rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.015);
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.facility-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary-teal);
    box-shadow: 0 10px 20px -8px rgba(8, 145, 178, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.02);
}

.facility-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background-color: #ecfeff;
    color: var(--primary-teal);
    border-radius: 50%;
    flex-shrink: 0;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.facility-item:hover .facility-icon-wrapper {
    background-color: var(--primary-teal);
    color: #ffffff;
}

.facility-icon {
    width: 17px;
    height: 17px;
}

.facility-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.services-more-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3.5rem;
}

#more-services-btn {
    min-width: 220px;
    box-shadow: var(--shadow-sm);
}

#more-services-btn:hover {
    box-shadow: 0 10px 20px -5px rgba(30, 58, 138, 0.25);
}

/* Responsive facilities grid */
@media (max-width: 992px) {
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .facility-item {
        padding: 1rem 1.25rem;
    }
    
    .additional-title {
        font-size: 1.4rem;
    }
}

/* ==========================================================================
   Instagram Reels / Video Reviews Styling
   ========================================================================== */
.video-reviews-wrapper {
    margin-top: 5rem;
    padding-top: 4.5rem;
    border-top: 1px solid var(--border-color);
}

.video-reviews-title {
    font-size: 2.25rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.video-reviews-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.reels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.reel-card {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: var(--shadow-sm);
}

.reel-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-teal);
    box-shadow: 0 20px 40px -15px rgba(8, 145, 178, 0.15), 0 8px 16px -8px rgba(15, 23, 42, 0.05);
}

.reel-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background-color: #000;
}

.reel-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.reel-card:hover .reel-thumbnail {
    transform: scale(1.05);
}

.reel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.reel-card:hover .reel-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.5) 100%);
}

.play-icon-pulse {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.play-icon-pulse svg {
    width: 32px;
    height: 32px;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.reel-card:hover .play-icon-pulse {
    background-color: var(--primary-teal);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 0 0 15px rgba(8, 145, 178, 0);
    animation: playPulse 1.8s infinite;
}

@keyframes playPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(8, 145, 178, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(8, 145, 178, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(8, 145, 178, 0);
    }
}

.reel-action-hint {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    opacity: 0.9;
}

.reel-card:hover .reel-action-hint {
    opacity: 1;
    background-color: var(--primary-teal);
    border-color: var(--primary-teal);
}

.reel-info {
    padding: 1.75rem;
    border-top: 1px solid var(--border-color);
}

.insta-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #e1306c;
    margin-bottom: 0.75rem;
    background-color: rgba(225, 48, 108, 0.06);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
}

.insta-icon {
    width: 14px;
    height: 14px;
}

.reel-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.reel-card:hover .reel-card-title {
    color: var(--primary-teal);
}

.reel-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Stagger animation class helper */
.video-reviews-wrapper.reveal.active .reel-card {
    opacity: 1;
    transform: translateY(0);
}

.reel-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.reel-card:nth-child(1) { transition-delay: 0.15s; }
.reel-card:nth-child(2) { transition-delay: 0.3s; }
.reel-card:nth-child(3) { transition-delay: 0.45s; }

/* Responsive layouts for Reels Grid */
@media (max-width: 992px) {
    .reels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .reel-card:nth-child(3) {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .video-reviews-wrapper {
        margin-top: 4rem;
        padding-top: 3rem;
    }
    
    .video-reviews-title {
        font-size: 1.8rem;
    }
    
    .reels-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .reel-card:nth-child(3) {
        grid-column: auto;
        max-width: 100%;
    }
    
    .play-icon-pulse {
        width: 60px;
        height: 60px;
    }
    
    .play-icon-pulse svg {
        width: 26px;
        height: 26px;
    }
}

