/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* ---------- Lenis Smooth Scroll Configuration ---------- */
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;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0B0B0B;
    color: #FFFFFF;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ---------- Typography ---------- */
.font-heading {
    font-family: 'Cormorant Garamond', serif;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0B0B0B;
}

::-webkit-scrollbar-thumb {
    background: #C8C8C8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}

/* ---------- Glass Navbar ---------- */
.navbar-glass {
    background: rgba(11, 11, 11, 0.6);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.navbar-glass.scrolled {
    background: rgba(11, 11, 11, 0.85);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

/* ---------- Glassmorphism Cards ---------- */
.glass-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.glass-card-silver:hover {
    border-color: #C8C8C8;
    box-shadow: 0 0 40px rgba(200, 200, 200, 0.06);
}

/* ---------- Buttons ---------- */
.btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: #C8C8C8;
    color: #0B0B0B;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.btn-primary:hover {
    background: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(200, 200, 200, 0.25);
}

.btn-outline {
    display: inline-block;
    padding: 14px 36px;
    background: transparent;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #C8C8C8;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(200, 200, 200, 0.08);
}

.btn-silver-glow {
    box-shadow: 0 0 30px rgba(200, 200, 200, 0.08);
}

.btn-silver-glow:hover {
    box-shadow: 0 0 60px rgba(200, 200, 200, 0.18);
}

/* ---------- Section Dividers ---------- */
.section-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #C8C8C8, transparent);
    margin: 12px 0 24px 0;
}

.section-divider-center {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #C8C8C8, transparent);
    margin: 12px auto 28px auto;
}

/* ---------- Hero Particles ---------- */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(200, 200, 200, 0.20);
    border-radius: 50%;
    animation: floatParticle 18s infinite ease-in-out alternate;
    filter: blur(2px);
}

.particle:nth-child(1) {
    top: 12%;
    left: 8%;
    animation-duration: 22s;
    width: 10px;
    height: 10px;
    background: rgba(200, 200, 200, 0.12);
}

.particle:nth-child(2) {
    top: 28%;
    right: 15%;
    animation-duration: 26s;
    animation-delay: 1s;
    width: 14px;
    height: 14px;
    background: rgba(200, 200, 200, 0.08);
}

.particle:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-duration: 20s;
    animation-delay: 2s;
    width: 8px;
    height: 8px;
}

.particle:nth-child(4) {
    top: 45%;
    right: 30%;
    animation-duration: 24s;
    animation-delay: 0.5s;
    width: 12px;
    height: 12px;
    background: rgba(200, 200, 200, 0.06);
}

.particle:nth-child(5) {
    bottom: 15%;
    right: 8%;
    animation-duration: 28s;
    animation-delay: 3s;
    width: 16px;
    height: 16px;
    background: rgba(200, 200, 200, 0.05);
}

.particle:nth-child(6) {
    top: 60%;
    left: 5%;
    animation-duration: 20s;
    animation-delay: 1.5s;
    width: 9px;
    height: 9px;
}

.particle:nth-child(7) {
    top: 10%;
    left: 45%;
    animation-duration: 30s;
    animation-delay: 0.8s;
    width: 11px;
    height: 11px;
    background: rgba(200, 200, 200, 0.07);
}

.particle:nth-child(8) {
    bottom: 40%;
    right: 5%;
    animation-duration: 23s;
    animation-delay: 2.2s;
    width: 13px;
    height: 13px;
    background: rgba(200, 200, 200, 0.06);
}

@keyframes floatParticle {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.3;
    }

    33% {
        transform: translate(40px, -60px) scale(1.4) rotate(120deg);
        opacity: 0.7;
    }

    66% {
        transform: translate(-30px, 40px) scale(0.8) rotate(240deg);
        opacity: 0.4;
    }

    100% {
        transform: translate(20px, -20px) scale(1.1) rotate(360deg);
        opacity: 0.6;
    }
}

/* ---------- Hero Glow ---------- */
.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 200, 200, 0.06), transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    animation: glowPulse 8s infinite ease-in-out alternate;
}

@keyframes glowPulse {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }

    100% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* ---------- Animations ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-delay-1 {
    transition-delay: 0.1s;
}

.fade-up-delay-2 {
    transition-delay: 0.2s;
}

.fade-up-delay-3 {
    transition-delay: 0.3s;
}

.fade-up-delay-4 {
    transition-delay: 0.4s;
}

.fade-up-delay-5 {
    transition-delay: 0.5s;
}

.fade-up-delay-6 {
    transition-delay: 0.6s;
}

.blur-reveal {
    opacity: 0;
    filter: blur(12px);
    transition: opacity 1s ease, filter 1s ease;
}

.blur-reveal.visible {
    opacity: 1;
    filter: blur(0);
}

/* ---------- Service Card ---------- */
.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 24px 20px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(200, 200, 200, 0), rgba(200, 200, 200, 0.08), rgba(200, 200, 200, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.icon-wrap {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    transition: all 0.4s ease;
}

.service-card:hover .icon-wrap,
.glass-card:hover .icon-wrap {
    transform: scale(1.1);
}

.icon-wrap svg {
    width: 22px;
    height: 22px;
    stroke: #C8C8C8;
    fill: none;
    stroke-width: 1.5;
}

.icon-wrap img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.service-card .learn-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #C8C8C8;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 12px;
}

.service-card .learn-arrow svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.service-card:hover .learn-arrow svg {
    transform: translateX(4px);
}

.service-card .learn-arrow:hover {
    color: #FFFFFF;
}

/* ---------- Doctor Card ---------- */
.doctor-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 32px 28px 28px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.doctor-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(200, 200, 200, 0.2);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.doctor-card .avatar-wrap {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 18px;
    overflow: hidden;
    border: 2px solid rgba(200, 200, 200, 0.15);
    transition: all 0.5s ease;
    position: relative;
}

.doctor-card:hover .avatar-wrap {
    border-color: #C8C8C8;
    transform: scale(1.04);
    box-shadow: 0 0 50px rgba(200, 200, 200, 0.08);
}

.doctor-card .avatar-wrap .placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    font-weight: 300;
    color: #C8C8C8;
    font-family: 'Cormorant Garamond', serif;
}

/* ---------- Timeline ---------- */
.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
}

.timeline-step .step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(200, 200, 200, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #C8C8C8;
    background: rgba(11, 11, 11, 0.6);
    backdrop-filter: blur(4px);
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.timeline-step .step-circle.active {
    border-color: #C8C8C8;
    background: rgba(200, 200, 200, 0.12);
    box-shadow: 0 0 40px rgba(200, 200, 200, 0.08);
}

.timeline-step .step-line {
    position: absolute;
    top: 24px;
    left: calc(50% + 24px);
    width: calc(100% - 48px);
    height: 1.5px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 1;
}

.timeline-step:last-child .step-line {
    display: none;
}

.timeline-step .step-label {
    margin-top: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #C8C8C8;
    letter-spacing: 0.04em;
    text-align: center;
}

/* ---------- Testimonial Carousel ---------- */
.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeSlide 0.6s ease forwards;
}

@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 0;
}

.carousel-dot.active {
    background: #C8C8C8;
    transform: scale(1.25);
    box-shadow: 0 0 20px rgba(200, 200, 200, 0.2);
}

.carousel-dot:hover {
    background: rgba(200, 200, 200, 0.5);
}

/* ---------- Gallery Masonry ---------- */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    aspect-ratio: 1/1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    outline: none;
}

.gallery-item:focus-visible {
    border-color: #C8C8C8;
    box-shadow: 0 0 0 3px rgba(200, 200, 200, 0.3);
}

.gallery-item img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img,
.gallery-item:focus img {
    transform: scale(1.06);
}

.gallery-item:hover,
.gallery-item:focus {
    transform: translateY(-6px);
    border-color: rgba(200, 200, 200, 0.25);
    box-shadow: 0 15px 40px rgba(200, 200, 200, 0.08);
}

.gallery-item .gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
    letter-spacing: 0.06em;
    background: linear-gradient(135deg, #141414, #1a1a1a);
    transition: all 0.5s ease;
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.04);
}

.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease;
    border-radius: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item .gallery-overlay svg {
    width: 40px;
    height: 40px;
    stroke: #C8C8C8;
    stroke-width: 1.2;
    fill: none;
    transform: scale(0.8);
    transition: all 0.5s ease;
}

.gallery-item:hover .gallery-overlay svg {
    transform: scale(1);
}


/* ---------- Mobile Menu ---------- */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(11, 11, 11, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 40px;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu a {
    color: #FFFFFF;
    font-size: 1.4rem;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: 0.06em;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.mobile-menu a:hover {
    color: #C8C8C8;
    transform: scale(1.04);
}

.mobile-menu .btn-primary {
    font-size: 1rem;
    padding: 16px 44px;
    margin-top: 12px;
}

.mobile-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-close:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: rotate(90deg);
}

/* ---------- Responsive Tweaks ---------- */
@media (max-width: 768px) {
    .hero-glow {
        width: 300px;
        height: 300px;
    }

    .timeline-step .step-line {
        display: none !important;
    }

    .timeline-steps {
        flex-direction: column;
        gap: 28px;
    }

    .timeline-step {
        flex-direction: row;
        gap: 20px;
        width: 100%;
    }

    .timeline-step .step-label {
        margin-top: 0;
        text-align: left;
    }

    .timeline-step .step-circle {
        width: 40px;
        height: 40px;
        font-size: 0.7rem;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {

    .btn-primary,
    .btn-outline {
        padding: 12px 28px;
        font-size: 0.85rem;
    }

    .service-card {
        padding: 28px 20px 24px;
    }

    .doctor-card .avatar-wrap {
        width: 96px;
        height: 96px;
    }
}

/* ---------- Utility ---------- */
.text-balance {
    text-wrap: balance;
}

.border-glow {
    border: 1px solid rgba(200, 200, 200, 0.1);
}

.bg-secondary {
    background-color: #151515;
}

.text-silver {
    color: #C8C8C8;
}

.border-silver {
    border-color: rgba(200, 200, 200, 0.12);
}

/* ---------- Nav link active ---------- */
.nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.nav-link:hover {
    color: #FFFFFF;
}

.nav-link.active {
    color: #FFFFFF;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: #C8C8C8;
    border-radius: 2px;
}

/* ---------- Stats counter ---------- */
.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 3.6rem;
    }
}

/* ---------- CTA Gradient ---------- */
.cta-gradient {
    background: radial-gradient(ellipse at 30% 40%, rgba(200, 200, 200, 0.06), transparent 70%),
        radial-gradient(ellipse at 70% 60%, rgba(200, 200, 200, 0.04), transparent 60%),
        #0B0B0B;
}

/* ---------- Section title accent ---------- */
.section-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #C8C8C8;
    opacity: 0.6;
}

/* ---------- Footer links ---------- */
.footer-link {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: #C8C8C8;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    border-color: #C8C8C8;
    color: #C8C8C8;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(200, 200, 200, 0.05);
}

/* ---------- Premium Lightbox Styles ---------- */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(6, 6, 6, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content-wrap {
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lightbox-modal.active .lightbox-content-wrap {
    transform: scale(1);
    opacity: 1;
}

.lightbox-btn {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    outline: none;
}

.lightbox-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(200, 200, 200, 0.3);
    color: #FFFFFF;
}

.lightbox-btn:focus-visible {
    outline: 2px solid #C8C8C8;
    outline-offset: 2px;
}

/* ---------- FAQ Accordion Styles ---------- */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-trigger {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-trigger:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

/* ---------- Responsive Dark Google Map filter ---------- */
.dark-map iframe {
    filter: invert(90%) hue-rotate(180deg) grayscale(100%) brightness(90%) contrast(120%);
    transition: filter 0.5s ease;
}

.dark-map:hover iframe {
    filter: invert(90%) hue-rotate(180deg) grayscale(80%) brightness(95%) contrast(110%);
}

/* ---------- Timeline Layout Custom Styles ---------- */
.timeline-wrapper {
    position: relative;
    padding: 30px 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    /* Matches left-6 on mobile */
    width: 1.5px;
    background: linear-gradient(to bottom, rgba(200, 200, 200, 0) 0%, rgba(200, 200, 200, 0.25) 10%, rgba(200, 200, 200, 0.25) 90%, rgba(200, 200, 200, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .timeline-line {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Timeline Node */
.timeline-node {
    position: absolute;
    left: 24px;
    /* Matches left-6 on mobile */
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0B0B0B;
    border: 2px solid #C8C8C8;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (min-width: 768px) {
    .timeline-node {
        left: 50%;
    }
}

.timeline-node::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #C8C8C8;
    transition: all 0.4s ease;
}

/* Pulsing effect when node enters viewport */
.timeline-node-pulse {
    box-shadow: 0 0 0 4px rgba(200, 200, 200, 0.15);
    animation: timelinePulse 2.5s infinite ease-in-out;
}

@keyframes timelinePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(200, 200, 200, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(200, 200, 200, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(200, 200, 200, 0);
    }
}

.timeline-item:hover .timeline-node {
    border-color: #FFFFFF;
    box-shadow: 0 0 15px rgba(200, 200, 200, 0.6);
}

.timeline-item:hover .timeline-node::after {
    background: #FFFFFF;
    transform: scale(1.2);
}

/* Timeline Content Block */
.timeline-content-block {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-item:hover .timeline-content-block h4 {
    color: #FFFFFF;
}

/* Image Visual Card Frame */
.timeline-visual-frame {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    padding: 8px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.timeline-visual-inner {
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 16/10;
    position: relative;
    width: 100%;
    height: 100%;
}

.timeline-visual-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-item:hover .timeline-visual-frame {
    border-color: rgba(200, 200, 200, 0.2);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(200, 200, 200, 0.08);
}

.timeline-item:hover .timeline-visual-inner img {
    transform: scale(1.04);
}

/* Icon Wrap Sizing */
.timeline-icon-wrap {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.4s ease;
}

.timeline-icon-wrap img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.timeline-item:hover .timeline-icon-wrap img {
    transform: scale(1.1) rotate(2deg);
}

/* Link Style */
.timeline-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(200, 200, 200, 0.5);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 12px;
}

.timeline-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-link {
    color: #FFFFFF;
}

.timeline-item:hover .timeline-link svg {
    transform: translateX(4px);
}

/* ---------- Brand Logo Typography Styles ---------- */
.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.logo-subtext {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 10px;
    color: #C8C8C8;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 3px;
    white-space: nowrap;
}

/* ---------- Sliding Doctor Profile Panel ---------- */
.doctor-panel-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.doctor-panel-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.doctor-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100%;
    background-color: #121212;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    outline: none;
}

@media (min-width: 768px) {
    .doctor-panel {
        width: 85%;
    }
}

@media (min-width: 1024px) {
    .doctor-panel {
        width: 70%;
    }
}

.doctor-panel.active {
    transform: translateX(0);
}

/* Header */
.doctor-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background-color: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.doctor-panel-close-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    background: transparent;
    transition: all 0.3s ease;
}

.doctor-panel-close-btn:hover {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Body */
.doctor-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    -webkit-overflow-scrolling: touch;
}

/* Scrollbar */
.doctor-panel-body::-webkit-scrollbar {
    width: 6px;
}

.doctor-panel-body::-webkit-scrollbar-track {
    background: transparent;
}

.doctor-panel-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}

.doctor-panel-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Hero Section */
.panel-hero-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 28px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.05s, transform 0.5s ease 0.05s;
}

.doctor-panel.active .panel-hero-section {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 640px) {
    .panel-hero-section {
        grid-template-columns: 200px 1fr;
        gap: 32px;
    }
}

.panel-hero-image-wrap {
    width: 160px;
    height: 190px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.02);
}

@media (min-width: 640px) {
    .panel-hero-image-wrap {
        width: 200px;
        height: 240px;
        margin: 0;
    }
}

.panel-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(10%) brightness(95%);
    transition: transform 0.6s ease;
}

.doctor-panel.active .panel-hero-image {
    transform: scale(1.02);
}

.panel-hero-details {
    text-align: center;
}

@media (min-width: 640px) {
    .panel-hero-details {
        text-align: left;
    }
}

/* Content Sections */
.panel-section {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.doctor-panel.active .panel-section:nth-child(1) {
    transition-delay: 0.1s;
}

.doctor-panel.active .panel-section:nth-child(2) {
    transition-delay: 0.18s;
}

.doctor-panel.active .panel-section:nth-child(3) {
    transition-delay: 0.26s;
}

.doctor-panel.active .panel-section:nth-child(4) {
    transition-delay: 0.34s;
}

.doctor-panel.active .panel-section {
    opacity: 1;
    transform: translateY(0);
}

/* Info Cards */
.info-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.info-card:hover {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.info-card-label {
    font-size: 10px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.08em;
    font-weight: 500;
}

.info-card-value {
    font-size: 13.5px;
    color: #FFFFFF;
    font-weight: 400;
    line-height: 1.4;
}

/* Expertise Badge */
.expertise-badge {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    font-weight: 400;
    padding: 6px 14px;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.expertise-badge:hover {
    background-color: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

/* Philosophy */
.philosophy-highlight::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 15px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 100px;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
}

/* Footer CTA */
.doctor-panel-footer {
    display: flex;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background-color: #121212;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

@media (max-width: 640px) {
    .doctor-panel-footer {
        flex-direction: column;
        padding: 12px 16px;
    }
}

/* ---------- Floating Consultation Menu ---------- */
.consultation-menu-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                bottom 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.consultation-menu-container.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transform: translateY(0);
}

/* ── Toggle Button ── */
.consultation-toggle-btn {
    pointer-events: auto;
    position: relative;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
    flex-shrink: 0;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.3s ease,
                background 0.3s ease,
                box-shadow 0.3s ease;
    animation: consultPulse 3.5s ease-in-out infinite;
}

.consultation-toggle-btn:hover {
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(255, 255, 255, 0.12);
    animation-play-state: paused;
}

.consultation-toggle-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.4);
    outline-offset: 3px;
}

/* Open state toggle button */
.consultation-menu-container.open .consultation-toggle-btn {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4),
                0 0 18px rgba(255, 255, 255, 0.15);
    animation-play-state: paused;
}

@keyframes consultPulse {
    0%, 60%, 100% {
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4),
                    0 0 0 0 rgba(255, 255, 255, 0),
                    inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }
    30% {
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4),
                    0 0 0 10px rgba(255, 255, 255, 0.08),
                    inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }
}

/* ── Icon Crossfade ── */
.menu-icon-wrap {
    width: 22px;
    height: 22px;
    position: relative;
    pointer-events: none; /* Crucial: prevent SVG from intercepting click events */
}

.menu-icon-wrap svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    stroke: #E2E2E2;
    stroke-width: 1.8;
    fill: none;
    pointer-events: none; /* Crucial: prevent SVG from intercepting click events */
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.menu-icon-wrap .close-icon {
    opacity: 0;
    transform: scale(0.5) rotate(-90deg);
}

/* Open icon state */
.consultation-menu-container.open .menu-icon-wrap .chat-icon {
    opacity: 0;
    transform: scale(0.5) rotate(90deg);
}

.consultation-menu-container.open .menu-icon-wrap .close-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    stroke: #FFFFFF;
}

/* ── Menu Card ── */
.consultation-menu-card {
    pointer-events: auto;
    width: 272px;
    background: rgba(0, 0, 0, 0.35); /* Fully transparent glass styling - no heavy solid background */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.02),
                0 0 40px rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(28px) saturate(1.4);
    -webkit-backdrop-filter: blur(28px) saturate(1.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Card header label */
.consultation-menu-card::before {
    content: 'Quick Connect';
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    padding: 10px 14px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 4px;
}

.consultation-menu-container.open .consultation-menu-card {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* ── Menu Items ── */
.consultation-menu-card .menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    gap: 12px;
    padding: 10px 14px;
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid transparent;
    text-decoration: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0;
    transform: translateY(8px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.2s ease,
                border-color 0.2s ease,
                color 0.2s ease;
}

.consultation-menu-container.open .menu-item {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered open delays */
.consultation-menu-container.open .menu-item:nth-child(1) { transition-delay: 0.05s; }
.consultation-menu-container.open .menu-item:nth-child(2) { transition-delay: 0.09s; }
.consultation-menu-container.open .menu-item:nth-child(3) { transition-delay: 0.13s; }
.consultation-menu-container.open .menu-item:nth-child(4) { transition-delay: 0.17s; }

/* Hover state for items */
.consultation-menu-card .menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    transform: translateX(-4px) !important;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.18s ease,
                border-color 0.18s ease,
                color 0.18s ease !important;
    transition-delay: 0s !important;
}

.menu-item-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.menu-item-label {
    font-size: 0.83rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
}

.menu-item-sub {
    font-size: 0.68rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.35);
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.01em;
}

.consultation-menu-card .menu-item:hover .menu-item-sub {
    color: rgba(255, 255, 255, 0.5);
}

/* ── Icon Bubbles ── */
.menu-item-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.25s ease;
}

.menu-item-icon svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    pointer-events: none;
}

/* Per-item accent glass colors */
.menu-item--book .menu-item-icon {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.menu-item--call .menu-item-icon {
    background: rgba(74, 222, 128, 0.05);
    border: 1px solid rgba(74, 222, 128, 0.15);
    color: #4ade80;
}

.menu-item--whatsapp .menu-item-icon {
    background: rgba(37, 211, 102, 0.05);
    border: 1px solid rgba(37, 211, 102, 0.15);
    color: #25D366;
}

.menu-item--directions .menu-item-icon {
    background: rgba(96, 165, 250, 0.05);
    border: 1px solid rgba(96, 165, 250, 0.15);
    color: #60a5fa;
}

/* Hover – scale icon */
.consultation-menu-card .menu-item:hover .menu-item-icon {
    transform: scale(1.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition-delay: 0s !important;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .consultation-menu-container {
        bottom: 20px;
        right: 16px;
        gap: 12px;
    }

    .consultation-toggle-btn {
        width: 56px;
        height: 56px;
    }

    .consultation-menu-card {
        width: 248px;
        border-radius: 18px;
    }

    .consultation-menu-card .menu-item {
        min-height: 50px;
        padding: 9px 12px;
        border-radius: 12px;
    }
}