/* =========================================
   1. FONT DECLARATIONS
   ========================================= */

/* --- Cormorant Garamond --- */
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/CormorantGaramond-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/CormorantGaramond-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; }

/* --- Urbanist --- */
@font-face { font-family: 'Urbanist'; src: url('../fonts/Urbanist-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Urbanist'; src: url('../fonts/Urbanist-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'Urbanist'; src: url('../fonts/Urbanist-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; }
@font-face { font-family: 'Urbanist'; src: url('../fonts/Urbanist-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; }

/* --- Manrope --- */
@font-face { font-family: 'Manrope'; src: url('../fonts/Manrope-ExtraLight.ttf') format('truetype'); font-weight: 200; font-style: normal; }
@font-face { font-family: 'Manrope'; src: url('../fonts/Manrope-Light.ttf') format('truetype'); font-weight: 300; font-style: normal; }
@font-face { font-family: 'Manrope'; src: url('../fonts/Manrope-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Manrope'; src: url('../fonts/Manrope-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'Manrope'; src: url('../fonts/Manrope-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; }
@font-face { font-family: 'Manrope'; src: url('../fonts/Manrope-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; }
@font-face { font-family: 'Manrope'; src: url('../fonts/Manrope-ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal; }

/* =========================================
   2. BASE STYLES & COLOR VARIABLES
   ========================================= */
:root {
    --sage: #6F8B7A;
    --ivory: #F7F3EB;
    --sand: #D8C7B0;
    --olive: #8E9B74;
    --gold: #C7A46A;
    --ink: #354237;
    --body-text: #50594F;
    --font-heading: "Cormorant Garamond", Georgia, serif;
    --font-body: "Urbanist", "Manrope", Arial, sans-serif;
    --card-gap: 30px;
    --card-radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ivory); font-family: var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

/* =========================================
   3. HERO IMAGE SECTION & NAVIGATION
   ========================================= */
.hero {
    position: sticky;
    top: 0;
    height: 100dvh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
    /* Fallback background while video loads / if it fails */
    background: var(--ink) url('images/hero.webp') center/cover no-repeat;
}

..hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: -1;
    pointer-events: none;
    background: transparent;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-video { display: none; }
}

/* ---------- Navbar (unchanged, now correctly anchored to .hero) ---------- */
.navbar {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1000;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 60%;
    padding: 8px 8px 8px 24px;
    border-radius: 100px;
    background: #F7F3EB;
    border: 1px solid rgba(111, 139, 122, 0.15);
    box-shadow: 0 10px 30px rgba(10, 10, 10, 0.89),
                inset 0 2px 4px rgba(255, 255, 255, 0.9);
}
.logo-link { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 26px; width: auto; }
.nav-links { display: flex; list-style: none; gap: 28px; margin: 0; padding: 0; }
.nav-links li a {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: #C7A46A;
    transition: color 0.3s ease;
}
.nav-links li a:hover { color: #0f0e0e; }
.book-now {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #C7A46A;
    padding: 14px 28px;
    border-radius: 100px;
    transition: all 0.3s ease;
}

/* ---------- Decorative scroll-down cue (bottom right) ---------- */
.scroll-cue {
    position: absolute;
    right: 40px;
    bottom: 40px;
    top: auto;   /* explicitly forces it to the bottom */
    left: auto;  /* explicitly forces it to the right */
    z-index: 2;  

    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;

    color: #F7F3EB;
    pointer-events: none;
    user-select: none;

    border-radius: 50%;
    background: rgba(10, 10, 10, 0.35);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);

    animation: scrollCueBounce 2s ease-in-out infinite;
}

@keyframes scrollCueBounce {
    0%, 100% { transform: translateY(0);   opacity: 0.75; }
    50%      { transform: translateY(6px); opacity: 1;    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-cue { animation: none; }
}

/* Mobile */
@media (max-width: 768px) {
    .scroll-cue {
        right: 20px;
        bottom: calc(20px + env(safe-area-inset-bottom));
        width: 40px;
        height: 40px;
    }
}

.book-now:hover {
    background-color: #C7A46A;
    transform: translateY(-1px);
}

/* =========================================
   4. UNIFIED STACKING SYSTEM
   ========================================= */
.main-content { position: relative; z-index: 10; margin-top: 100dvh; width: 100%; padding: var(--card-gap); padding-bottom: 30vh; }
.stack-section { position: sticky; top: var(--card-gap); width: 100%; margin-bottom: var(--card-gap); }
.stack-card { height: calc(100dvh - (var(--card-gap) * 2)); border-radius: var(--card-radius); background: var(--ivory); box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.15); overflow: hidden; position: relative; display: flex; flex-direction: column; }

/* =========================================
   5. PHILOSOPHY SECTION
   ========================================= */
.philosophy-card { flex-direction: row; align-items: center; }
.philosophy__content { position: relative; z-index: 2; width: min(610px, 50%); margin-left: clamp(30px, 5.4vw, 86px); padding: 40px 0; }
.eyebrow { display: flex; align-items: center; gap: 18px; margin: 0 0 24px; color: #526B59; font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: .23em; line-height: 1.6; text-transform: uppercase; }
.eyebrow::after { content: ""; display: block; width: 80px; height: 1px; flex: 0 0 auto; background: var(--gold); }
.philosophy__title { max-width: 680px; margin: 0 0 24px; color: var(--ink); font-family: var(--font-heading); font-size: clamp(48px, 5vw, 72px); font-weight: 500; letter-spacing: -.035em; line-height: .97; }
.title-line { display: block; }
.title-accent { color: var(--gold); font-weight: 400; }
.philosophy__copy { max-width: 600px; }
.philosophy__copy p { margin: 0 0 20px; color: var(--body-text); font-family: var(--font-body); font-size: 16px; font-weight: 400; line-height: 1.55; }
.philosophy__button { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 60px; margin-top: 15px; padding: 8px 12px 8px 25px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; background: var(--sage); color: #fff; box-shadow: 0 12px 30px rgba(53, 66, 55, .16); font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: .19em; text-align: center; text-transform: uppercase; transition: all .3s ease; }
.button__arrow { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255, 255, 255, .62); border-radius: 50%; transition: transform .3s ease; }
.button__arrow svg { width: 20px; height: 20px; }
.philosophy__button:hover { background: #586F5D; transform: translateY(-2px); box-shadow: 0 16px 35px rgba(53, 66, 55, .2); }
.philosophy__button:hover .button__arrow { transform: translateX(3px); }
.philosophy__media { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 50%; height: 100%; overflow: hidden; pointer-events: none; }
.philosophy__media img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: right center; transform: scale(1.015); transition: transform 1.2s ease; }
.philosophy__media:hover img { transform: scale(1.045); }
.decorative-orbit { position: absolute; z-index: 2; pointer-events: none; width: 300px; height: 430px; border: 1px solid rgba(199, 164, 106, .42); border-radius: 50%; }
.decorative-orbit--top { top: -175px; right: 31%; transform: rotate(24deg); }
.decorative-orbit--bottom { bottom: -310px; right: 47%; transform: rotate(24deg); }

/* =========================================
   6. GALLERY SECTION
   ========================================= */
.gallery-card { padding: 40px; display: flex; flex-direction: column; }
.gallery-content { text-align: center; margin-bottom: 20px; z-index: 2; flex: 0 0 auto; }
.gallery-title { font-family: var(--font-heading); font-size: clamp(36px, 4vw, 54px); color: var(--ink); margin: 0 0 10px 0; font-weight: 500; }
.gallery-subtitle { font-family: var(--font-body); color: var(--body-text); font-size: 16px; font-weight: 400; margin: 0; }
.gallery-slider { position: relative; flex: 1; min-height: 0; width: 100%; border-radius: 12px; overflow: hidden; background-color: var(--sage); z-index: 1; }
.gallery-images { position: relative; width: 100%; height: 100%; }
.gallery-images img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 0.6s ease-in-out; pointer-events: none; z-index: 0; }
.gallery-images img.active { opacity: 1; pointer-events: auto; z-index: 1; }
.gallery-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; padding: 0; border-radius: 50%; background: rgba(247, 243, 235, 0.9); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.4); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; transition: background 0.3s ease, transform 0.3s ease; touch-action: manipulation; }
.gallery-btn:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.gallery-btn svg { width: 24px; height: 24px; pointer-events: none; }
.gallery-btn.prev { left: 20px; }
.gallery-btn.next { right: 20px; }
.gallery-action { text-align: center; margin-top: 24px; z-index: 2; flex: 0 0 auto; }
.gallery-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 60px; padding: 8px 12px 8px 25px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; background: var(--sage); color: #fff; box-shadow: 0 12px 30px rgba(53, 66, 55, .16); font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: .19em; text-align: center; text-transform: uppercase; transition: all .3s ease; }
.gallery-cta:hover { background: #586F5D; transform: translateY(-2px); box-shadow: 0 16px 35px rgba(53, 66, 55, .2); }
.gallery-cta:hover .button__arrow { transform: translateX(3px); }


/* =========================================
   7. SERVICES SECTION
   ========================================= */
.services-card { padding: 30px 40px; }
.services-header { text-align: center; margin-bottom: 24px; flex: 0 0 auto; }
.eyebrow-center { display: flex; align-items: center; justify-content: center; gap: 26px; margin-bottom: 24px; color: #526B59; font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: .23em; text-transform: uppercase; }
.section-eyebrow__line { display: block; width: clamp(34px, 4.6vw, 78px); height: 1px; background: var(--gold); }
.services-title { font-family: var(--font-heading); font-size: clamp(36px, 5vh, 54px); color: var(--ink); font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; margin: 0 0 10px 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(15px, 2vw, 24px); width: 100%; flex: 1; min-height: 0; }
.service-card { background: var(--ivory); border: 1px solid rgba(199, 164, 106, 0.4); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.service-card__media { position: relative; width: 100%; height: clamp(140px, 25vh, 240px); overflow: hidden; flex: 0 0 auto; }
.service-card__media>img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.service-card__curve { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.service-card__curve path { fill: var(--ivory); }
.service-card__icon { position: absolute; z-index: 2; left: 30px; bottom: 17px; display: grid; width: clamp(70px, 10vh, 90px); aspect-ratio: 1; place-items: center; border: 1px solid var(--gold); border-radius: 50%; background: var(--ivory); color: var(--gold); }
.service-card__icon svg { width: 60%; height: 60%; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.service-card__content { position: relative; z-index: 2; display: flex; flex: 1; flex-direction: column; padding: clamp(10px, 2vh, 20px) clamp(20px, 2vw, 30px) clamp(20px, 3vh, 30px); min-height: 0; }
.service-card__content h3 { margin: 0 0 10px; color: var(--ink); font-family: var(--font-heading); font-size: clamp(20px, 3vh, 28px); font-weight: 500; line-height: 1.1; }
.service-card__content p { margin: 0 0 18px; color: var(--body-text); font-family: var(--font-body); font-size: clamp(13px, 1.6vh, 15px); font-weight: 400; line-height: 1.5; flex: 1; }
.service-card__link { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 50px; margin-top: auto; padding: 6px 8px 6px 20px; border-radius: 100px; background: var(--sage); color: #fff; transition: background 0.3s ease; }
.service-card__link>span:first-child { font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: .19em; text-transform: uppercase; }
.service-card__arrow { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 50%; }
.service-card__arrow svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.5; transition: transform 0.3s ease; }
.service-card__link:hover { background: #586F5D; }
.service-card__link:hover .service-card__arrow svg { transform: translateX(3px); }

/* =========================================
   8. DOCTORS SECTION (70/30 SPLIT)
   ========================================= */
.doctors-card { 
    padding: 30px 40px; /* Restored original section padding */
}
.doctors-header { 
    text-align: center; 
    margin-bottom: 24px; /* Restored header spacing */
    flex: 0 0 auto; 
}
.eyebrow-center { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 26px; 
    margin-bottom: 24px; 
    color: #526B59; 
    font-family: var(--font-body); 
    font-size: 11px; 
    font-weight: 500; 
    letter-spacing: .23em; 
    text-transform: uppercase; 
}
.section-eyebrow__line { 
    display: block; 
    width: clamp(34px, 4.6vw, 78px); 
    height: 1px; 
    background: var(--gold); 
}
.doctors-title { 
    font-family: var(--font-heading); 
    font-size: clamp(36px, 5vh, 54px); 
    color: var(--ink); 
    font-weight: 500; 
    letter-spacing: -0.035em; 
    line-height: 1.1; 
    margin: 0 0 10px 0; 
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(15px, 2vw, 24px);
    width: 100%;
    flex: 1;
    min-height: 0;
}

.doctor-card {
    background: var(--ivory);
    border: 1px solid rgba(199, 164, 106, 0.4);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(53, 66, 55, 0.1);
}

/* 70% Height for Photo */
.doctor-card__media {
    flex: 0 0 70%;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: var(--sand);
}

.doctor-card__media > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
}

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

/* 30% Height for Content */
.doctor-card__content {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    text-align: center;
    background: #fff;
    border-top: 1px solid rgba(199, 164, 106, 0.2);
    position: relative;
    z-index: 2;
}

.doctor-name {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2.5vh, 24px);
    color: var(--ink);
    font-weight: 500;
    margin: 0 0 4px;
    line-height: 1.2;
}

.doctor-specialty {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    margin: 0 0 12px;
}

.doctor-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    padding: 6px 14px;
    border: 1px solid var(--gold);
    border-radius: 50px;
    background: transparent;
    transition: all 0.3s ease;
}

.doctor-link span:first-child {
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--gold);
    transition: color 0.3s ease;
}

.doctor-link-arrow {
    display: grid;
    place-items: center;
    color: var(--gold);
    transition: all 0.3s ease;
}

.doctor-link-arrow svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    stroke-width: 2;
}

.doctor-link:hover {
    background: var(--gold);
}

.doctor-link:hover span:first-child,
.doctor-link:hover .doctor-link-arrow {
    color: #fff;
}

/* =========================================
   9. CONTACT SECTION
   ========================================= */
.contact-card { padding: 40px 60px; }
.contact-header { text-align: center; margin-bottom: 30px; flex: 0 0 auto; }
.contact-title { font-family: var(--font-heading); font-size: clamp(32px, 5vh, 54px); color: var(--ink); font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; margin: 0 0 10px 0; }
.contact-subtitle { font-family: var(--font-body); color: var(--body-text); font-size: clamp(14px, 2vh, 18px); font-weight: 400; margin: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; width: 100%; flex: 1; min-height: 0; }
.contact-info-container { position: relative; background: #E9EDE3; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 40px; }
.info-content { position: relative; z-index: 2; }
.info-content h3 { font-family: var(--font-heading); font-size: clamp(28px, 4vh, 40px); color: var(--ink); font-weight: 500; margin: 0 0 15px 0; line-height: 1.1; }
.info-divider { border: none; border-top: 1px solid var(--gold); width: 60px; margin: 0 0 25px 0; opacity: 0.5; }
.info-item { display: flex; gap: 20px; margin-bottom: 30px; }
.info-icon { width: 45px; height: 45px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); }
.info-icon svg { width: 20px; height: 20px; stroke-width: 1.5; }
.info-text { flex: 1; }
.info-label { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 600; color: var(--gold); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 5px; }
.info-text p { font-family: var(--font-body); color: var(--ink); font-size: 16px; line-height: 1.5; margin: 0; }
.phone-wrapper { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 5px; }
.phone-wrapper p { font-size: 20px; font-weight: 500; margin: 0; }
.contact-action-buttons { display: flex; flex-direction: row; align-items: center; gap: 12px; flex-wrap: wrap; }
.contact-action-buttons .call-us-btn, .contact-action-buttons .whatsapp-btn { white-space: nowrap; margin: 0; }
.call-us-btn { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--gold); border-radius: 50px; color: var(--gold); font-family: var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; transition: all 0.3s ease; }
.call-us-btn svg { width: 14px; height: 14px; stroke: currentColor; }
.call-us-btn:hover { background: var(--gold); color: #fff; }
.whatsapp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; border: 1px solid #25D366; border-radius: 50px; background: transparent; color: #128C4A; font-family: var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; transition: all 0.3s ease; }
.whatsapp-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.whatsapp-btn:hover { background: #25D366; border-color: #25D366; color: #ffffff; }
.contact-map-wrapper { position: relative; border-radius: 20px; overflow: hidden; background: var(--sand); }
.contact-map-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; filter: grayscale(20%) sepia(10%); }

/* =========================================
   10. TESTIMONIALS SECTION (RESTORED ASPECT RATIO)
   ========================================= */
.testimonials-card {
    padding: 40px 60px;
    position: relative;
    background-color: #F7F3EB;
    display: flex;
    flex-direction: column;
}

.testimonial-decor { position: absolute; width: 200px; height: 200px; pointer-events: none; z-index: 0; }
.testimonial-decor--tl { top: 0; left: 0; }
.testimonial-decor--tr { top: 0; right: 0; transform: scaleX(-1); }
.testimonial-decor--bl { bottom: 0; left: 0; transform: scaleY(-1); }
.testimonial-decor--br { bottom: 0; right: 0; transform: scale(-1, -1); }

.testimonials-header { text-align: center; margin-bottom: 30px; flex: 0 0 auto; position: relative; z-index: 1; }
.testimonials-title { font-family: var(--font-heading); font-size: clamp(38px, 5.5vh, 56px); color: var(--ink); font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; margin: 0 0 10px; }
.testimonials-subtitle { font-family: var(--font-body); font-size: clamp(14px, 1.8vh, 16px); color: var(--body-text); font-weight: 400; margin: 0; }

.testimonials-carousel-wrapper { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 20px; 
    width: 100%; 
    flex: 1; 
    min-height: 0; 
    position: relative; 
    z-index: 1; 
}

.testimonials-viewport {
    flex: 1;
    height: 100%;
    overflow: hidden;
    min-width: 0;
}

.testimonials-track {
    display: flex;
    gap: 20px;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}
.testimonials-track::-webkit-scrollbar { display: none; }

/* RESTORED ORIGINAL CARD SHAPE */
.testimonial-card {
    flex: 0 0 calc((100% - 60px) / 4);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    aspect-ratio: 3 / 4; 
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: #F7F3EB;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-card__media { width: 100%; height: 100%; position: relative; }
.testimonial-card__media video, .testimonial-card__media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

.testimonial-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; display: grid; place-items: center; width: 64px; height: 64px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: rgba(45, 30, 18, 0.85); color: #fff; cursor: pointer; transition: all 0.3s ease; }
.testimonial-play:hover { background: rgba(45, 30, 18, 1); transform: translate(-50%, -50%) scale(1.05); }
.testimonial-play svg { width: 24px; height: 24px; margin-left: 3px; fill: currentColor; }
.testimonial-play .icon-pause { display: none; margin-left: 0; }
.testimonial-card.is-playing .testimonial-play .icon-play { display: none; }
.testimonial-card.is-playing .testimonial-play .icon-pause { display: block; }

.testimonials-btn { display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 1px solid var(--gold); border-radius: 50%; background: transparent; color: var(--gold); cursor: pointer; transition: all 0.3s ease; -webkit-tap-highlight-color: transparent; flex: 0 0 auto; z-index: 2; }
.testimonials-btn:hover:not(:disabled) { background: var(--gold); color: #fff; }
.testimonials-btn:disabled { opacity: 0.3; cursor: default; }
.testimonials-btn svg { width: 20px; height: 20px; }

.testimonials-dots { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 25px; flex: 0 0 auto; position: relative; z-index: 1; }
.testimonial-dot { width: 10px; height: 10px; padding: 0; border: none; border-radius: 50%; background: #E5D9C5; cursor: pointer; transition: all 0.3s ease; }
.testimonial-dot.is-active { background: var(--sage); transform: scale(1.1); }

/* Responsive Fixes (Add these to your media queries at the bottom of the file) */
@media (max-width: 1024px) {
    .doctors-grid { grid-template-columns: repeat(2, 1fr); }
    .doctor-card { height: 400px; }
    .testimonial-card { flex: 0 0 calc((100% - 20px) / 2); }
}

@media (max-width: 600px) {
    .doctors-grid { grid-template-columns: 1fr; }
    .doctor-card { height: 450px; max-width: 380px; margin: 0 auto; }
    .testimonial-card { flex: 0 0 100%; }
}
/* =========================================
   11. FOOTER SECTION
   ========================================= */
.site-footer { background-color: #8E9B74; color: #ffff; margin: 0 var(--card-gap) var(--card-gap) var(--card-gap); border-radius: var(--card-radius); padding: 60px 40px 30px; position: relative; z-index: 10; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1); }
.footer-container { max-width: 1400px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr 1fr 1.5fr; gap: 40px; margin-bottom: 50px; }
.footer-logo-link { display: inline-block; margin-bottom: 10px; }
.footer-logo-img { height: 60px; width: auto; object-fit: contain; }
.footer-brand-tagline { font-family: var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: 0.2em; color: #eacfa5; text-transform: uppercase; margin: 0 0 15px 0; }
.footer-desc { font-family: var(--font-body); font-size: 14px; line-height: 1.6; color: rgba(250, 249, 248, 0.984); margin-bottom: 25px; max-width: 320px; }
.footer-heading { font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--ivory); margin: 0 0 20px 0; letter-spacing: 0.15em; text-transform: uppercase; border-bottom: 1px solid rgb(255, 254, 254); padding-bottom: 10px; display: inline-block; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-links li a { font-family: var(--font-body); font-size: 14px; color: rgb(248, 248, 248); transition: color 0.3s ease; }
.footer-links li a:hover { color: #ffff; }
.footer-contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.footer-contact-list li { display: flex; gap: 15px; align-items: flex-start; }
.footer-icon-circle { width: 36px; height: 36px; flex: 0 0 auto; border: 1px solid #ffff; border-radius: 50%; display: grid; place-items: center; color: #ffff; }
.footer-icon-circle svg { width: 16px; height: 16px; stroke-width: 1.5; }
.footer-contact-text { flex: 1; }
.footer-label { display: block; font-family: var(--font-body); font-size: 10px; font-weight: 600; color: #ffff; letter-spacing: 0.15em; margin-bottom: 4px; }
.footer-contact-text p { font-family: var(--font-body); font-size: 14px; color: rgb(255, 254, 253); line-height: 1.5; margin: 0; }
.footer-contact-text a { transition: color 0.3s ease; }
.footer-contact-text a:hover { color: var(--gold); }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid rgb(255, 252, 252); border-radius: 50%; color: var(--gold); transition: all 0.3s ease; }
.footer-socials a:hover { background: var(--gold); color: var(--sage); }
.footer-socials svg { width: 16px; height: 16px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 25px; border-top: 1px solid rgb(247, 246, 244); }
.copyright, .footer-tagline { font-family: var(--font-body); font-size: 13px; color: rgb(247, 246, 245); margin: 0; }
.footer-center-text { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; margin: 0; }
.footer-tagline .heart { color: var(--gold); }

/* =========================================
   12. SCROLL REVEAL ANIMATIONS
   ========================================= */
html.js-enabled .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s cubic-bezier(.22, 1, .36, 1); transition-delay: var(--delay, 0ms); }
html.js-enabled .reveal.is-visible { opacity: 1; transform: translateY(0); }
html.js-enabled [data-reveal-image] { opacity: 0; transition: opacity 1s ease; }
html.js-enabled [data-reveal-image].is-visible { opacity: 1; }

/* =========================================
   13. RESPONSIVE LAYOUTS
   ========================================= */
.nav-toggle { display: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px; width: 44px; height: 44px; flex: 0 0 auto; padding: 0; border: 1px solid rgba(53, 66, 55, 0.18); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle:focus-visible, .nav-links a:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

@media (max-width: 1024px) {
    :root { --card-gap: 22px; --card-radius: 18px; }
    .navbar { top: 18px; padding-inline: 12px; }
    .nav-container { position: relative; width: min(100%, 900px); padding: 8px 10px 8px 20px; gap: 14px; }
    .nav-links { display: none; position: absolute; top: calc(100% + 12px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 8px; border: 1px solid rgba(111, 139, 122, 0.2); border-radius: 18px; background: var(--ivory); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14); z-index: 1100; }
    .navbar.nav-open .nav-links { display: flex; }
    .nav-links li a { display: block; padding: 13px 15px; border-radius: 11px; font-size: 1rem; line-height: 1.3; }
    .nav-links li a:hover, .nav-links li a:focus-visible { background: rgba(111, 139, 122, 0.1); }
    .nav-toggle { display: flex; }
    .navbar.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .navbar.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .navbar.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .book-now { margin-left: auto; padding: 12px 18px; font-size: 0.88rem; white-space: nowrap; }
    .stack-section { position: relative; top: auto; margin-bottom: var(--card-gap); }
    .stack-card { height: auto; min-height: calc(100dvh - (var(--card-gap) * 2)); }
    .main-content { padding: var(--card-gap); padding-bottom: clamp(48px, 8vh, 100px); }
    .services-grid, .doctors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); flex: initial; min-height: auto; gap: clamp(16px, 2.5vw, 24px); }
    .service-card, .doctor-card { height: auto; min-height: 0; }
    .service-card__media { height: clamp(160px, 23vw, 230px); }
    .doctor-card__media { height: clamp(190px, 26vw, 260px); }
    .testimonials-card { padding: 30px 20px; }
    .testimonials-carousel-wrapper { gap: 15px; }
    .testimonial-card { flex: 0 0 calc((100% - 20px) / 2); }
    .testimonials-btn { width: 40px; height: 40px; }
    .contact-card { padding: 36px clamp(24px, 4vw, 40px); }
    .contact-grid { min-height: 0; align-items: stretch; gap: 24px; }
    .contact-info-container { padding: clamp(24px, 3vw, 34px); }
    .contact-map-wrapper { min-height: 360px; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    :root { --card-gap: 16px; --card-radius: 16px; }
    .philosophy-card { flex-direction: column; align-items: stretch; }
    .philosophy__content { width: auto; max-width: none; margin: 0; padding: clamp(28px, 5vw, 42px); }
    .philosophy__media { position: relative; inset: auto; width: 100%; height: clamp(250px, 43vw, 400px); flex: 0 0 auto; }
    .decorative-orbit { display: none; }
    .gallery-card { padding: clamp(20px, 3vw, 30px); }
    .gallery-slider { height: clamp(300px, 48vw, 440px); min-height: 0; flex: 0 0 auto; }
    .gallery-cta { max-width: 100%; gap: 12px; min-height: 55px; padding-left: 18px; font-size: 10px; letter-spacing: 0.12em; }
    .services-card, .doctors-card { padding: 30px clamp(20px, 3vw, 30px); }
    .services-header, .doctors-header { margin-bottom: 26px; }
    .services-title, .doctors-title { font-size: clamp(34px, 5.4vw, 48px); }
    .service-card__content { padding: 18px; }
    .service-card__content h3 { font-size: clamp(22px, 3.2vw, 28px); }
    .service-card__content p { font-size: 14px; }
    .service-card__link>span:first-child, .doctor-link span:first-child { letter-spacing: 0.1em; }
    .doctor-card__content { padding: 20px; }
    .doctor-name { font-size: clamp(23px, 3.4vw, 30px); }
    .contact-card { padding: 30px clamp(20px, 3vw, 30px); }
    .contact-header { margin-bottom: 26px; }
    .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .contact-info-container { padding: clamp(24px, 4vw, 34px); }
    .contact-map-wrapper { min-height: clamp(300px, 52vw, 390px); }
    .info-item { align-items: flex-start; gap: 16px; margin-bottom: 24px; }
    .info-item:last-child { margin-bottom: 0; }
    .site-footer { margin: 0 var(--card-gap) var(--card-gap); border-radius: var(--card-radius); padding: 42px clamp(20px, 4vw, 32px) 24px; }
    .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
}

@media (max-width: 600px) {
    :root { --card-gap: 10px; --card-radius: 14px; }
    .hero { height: 100svh; height: 100dvh; }
    .main-content { margin-top: 100svh; margin-top: 100dvh; padding: var(--card-gap); padding-bottom: 34px; }
    .stack-section { margin-bottom: var(--card-gap); }
    .stack-card { min-height: 0; border-radius: var(--card-radius); }
    .navbar { top: max(10px, env(safe-area-inset-top)); padding-inline: 12px; }
    .nav-container { width: 100%; padding: 7px 8px 7px 14px; gap: 8px; }
    .logo-link { min-width: 0; flex: 0 1 auto; }
    .logo-img { display: block; height: 24px; max-width: min(34vw, 140px); object-fit: contain; }
    .book-now { padding: 10px 13px; font-size: 0.76rem; }
    .nav-toggle { width: 40px; height: 40px; }
    .philosophy__content { padding: 28px 18px 24px; }
    .eyebrow { gap: 10px; margin-bottom: 18px; font-size: 10px; letter-spacing: 0.15em; }
    .eyebrow::after { width: 36px; }
    .philosophy__title { margin-bottom: 18px; font-size: clamp(38px, 10.5vw, 54px); line-height: 1; }
    .title-line { display: inline; }
    .title-line::after { content: " "; }
    .philosophy__copy p { font-size: 15px; line-height: 1.6; margin-bottom: 15px; }
    .philosophy__button { width: 100%; justify-content: space-between; gap: 10px; min-height: 55px; margin-top: 10px; padding: 7px 9px 7px 16px; font-size: 10px; letter-spacing: 0.1em; }
    .button__arrow { width: 35px; height: 35px; }
    .philosophy__media { height: clamp(220px, 68vw, 300px); }
    .gallery-card { padding: 22px 14px; }
    .gallery-content { margin-bottom: 18px; }
    .gallery-title { font-size: clamp(33px, 8.5vw, 44px); line-height: 1.05; }
    .gallery-subtitle { font-size: 14px; }
    .gallery-slider { height: clamp(235px, 72vw, 340px); border-radius: 10px; }
    .gallery-btn { width: 42px; height: 42px; }
    .gallery-btn.prev { left: 10px; }
    .gallery-btn.next { right: 10px; }
    .gallery-btn svg { width: 20px; height: 20px; }
    .gallery-action { margin-top: 18px; }
    .gallery-cta { width: 100%; min-height: 52px; font-size: 9px; letter-spacing: 0.1em; }
    .services-card, .doctors-card { padding: 28px 14px; }
    .eyebrow-center { gap: 12px; margin-bottom: 18px; font-size: 9px; letter-spacing: 0.14em; }
    .section-eyebrow__line { width: 28px; }
    .services-title, .doctors-title { font-size: clamp(31px, 8vw, 40px); line-height: 1.08; }
    .services-grid, .doctors-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .service-card, .doctor-card { width: 100%; max-width: 480px; margin-inline: auto; }
    .service-card__media { height: clamp(180px, 54vw, 230px); }
    .service-card__icon { width: 62px; left: 16px; bottom: 10px; }
    .service-card__content { padding: 18px 16px 20px; }
    .service-card__content h3 { font-size: 25px; }
    .service-card__content p { font-size: 14px; line-height: 1.55; }
    .service-card__link { min-height: 48px; padding-left: 15px; }
    .service-card__link>span:first-child { font-size: 9px; letter-spacing: 0.08em; }
    .doctor-card__media { height: clamp(230px, 72vw, 320px); }
    .doctor-card__content { padding: 20px 18px; }
    .doctor-name { font-size: 27px; }
    .doctor-specialty { font-size: 10px; letter-spacing: 0.12em; }
    .doctor-desc { font-size: 14px; }
    .testimonials-card { padding: 24px 14px; }
    .testimonials-carousel-wrapper { gap: 10px; }
    .testimonial-card { flex: 0 0 100%; aspect-ratio: 3 / 4; }
    .testimonial-play { width: 54px; height: 54px; }
    .testimonials-btn { width: 36px; height: 36px; }
    .testimonials-dots { margin-top: 18px; }
    .contact-card { padding: 28px 14px; }
    .contact-header { margin-bottom: 22px; }
    .contact-title { font-size: clamp(31px, 8vw, 42px); }
    .contact-subtitle { font-size: 14px; line-height: 1.5; }
    .contact-grid { gap: 18px; }
    .contact-info-container { padding: 24px 16px; border-radius: 16px; }
    .info-content h3 { font-size: clamp(27px, 7vw, 34px); }
    .info-divider { margin-bottom: 20px; }
    .info-item { gap: 12px; margin-bottom: 22px; }
    .info-icon { width: 38px; height: 38px; }
    .info-icon svg { width: 18px; height: 18px; }
    .info-label { font-size: 10px; letter-spacing: 0.12em; }
    .info-text p { font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
    .phone-wrapper { gap: 10px; }
    .phone-wrapper p { font-size: clamp(18px, 5.2vw, 22px); }
    .contact-action-buttons { gap: 8px; flex-wrap: wrap; }
    .contact-action-buttons .call-us-btn, .contact-action-buttons .whatsapp-btn { gap: 6px; padding: 9px 11px; font-size: 9px; letter-spacing: 0.06em; }
    .contact-map-wrapper { min-height: clamp(260px, 75vw, 340px); border-radius: 16px; }
    .site-footer { margin: 0 var(--card-gap) var(--card-gap); padding: 32px 18px 22px; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: 32px; }
    .footer-brand { grid-column: auto; }
    .footer-logo-img { max-width: 100%; height: 52px; }
    .footer-desc { max-width: 100%; }
    .footer-heading { margin-bottom: 15px; }
    .footer-bottom { padding-top: 20px; overflow-wrap: anywhere; }
    .copyright, .footer-tagline { font-size: 12px; line-height: 1.5; }
}

@media (max-width: 360px) {
    .nav-container { padding-left: 10px; gap: 6px; }
    .logo-img { max-width: 29vw; height: 22px; }
    .book-now { padding: 9px 10px; font-size: 0.7rem; }
    .nav-toggle { width: 36px; height: 36px; }
    .contact-action-buttons { align-items: flex-start; }
    .contact-action-buttons .call-us-btn, .contact-action-buttons .whatsapp-btn { padding-inline: 9px; font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    html.js-enabled .reveal, html.js-enabled [data-reveal-image] { opacity: 1; transform: none; }
}

/* =================================
   HERBS & HARMONY PRELOADER
   ================================= */
body.is-preloading { overflow: hidden; }
.site-preloader { position: fixed; inset: 0; z-index: 999999; background-color: var(--ivory); background-image: url("../images/preload-back.svg"); background-position: center center; background-size: cover; background-repeat: no-repeat; opacity: 1; visibility: visible; transition: opacity 900ms ease, visibility 900ms ease; }
.preloader-logo { position: absolute; top: 22%; left: 50%; width: clamp(200px, 24vw, 360px); max-width: 70vw; height: auto; transform: translateX(-50%); opacity: 0; animation: preloader-logo-in 900ms ease-out forwards; }
@keyframes preloader-logo-in { from { opacity: 0; transform: translate(-50%, 12px) scale(0.97); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
.site-preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1024px) { .preloader-logo { top: 24%; width: clamp(180px, 34vw, 280px); } }
@media (max-width: 600px) { .site-preloader { background-image: url("../images/preload-mobile.png"); } .preloader-logo { top: 25%; width: 50vw; max-width: 220px; } }
@media (max-width: 380px) { .preloader-logo { width: 66vw; top: 28%; } }
@media (prefers-reduced-motion: reduce) { .preloader-logo { animation: none; opacity: 1; transform: translateX(-50%); } }
