/*
=================================================================
home.css — Homepage-Specific Styles
=================================================================
All inline <style> blocks that were scattered across Homepage.txt
have been extracted here. This file is loaded ONLY on index.php
(not on all 500 pages), keeping the global style.css lean.

WHY A SEPARATE FILE OVER INLINE STYLES?
  - Browser caches this file; subsequent visits load zero bytes
  - One place to edit = change applies immediately across the page
  - style.css is already ~10k lines; keeping homepage CSS separate
    prevents it from growing unmanageably
  - DevTools source mapping works cleanly
=================================================================
*/


/* ================================================================
   1. HERO SECTION
================================================================ */
.heroo-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 400px; /* safety floor for very short viewports */
    background: url('../images/slide.webp') center center / cover no-repeat;
    color: #fff;
}

.heroo-section .hero-overlay {
    position: absolute;
    inset: 0; /* shorthand for top/right/bottom/left: 0 */
    background: rgba(0, 0, 0, 0.4);
}

.heroo-section .hero-content {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    padding: 0 15px; /* prevent edge bleed on mobile */
}

.heroo-section .hero-title {
    font-size: 60px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #fff !important;
    line-height: 1.15;
}

.heroo-section .hero-sub {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.heroo-section .btn-custom {
    padding: 12px 30px;
    font-size: 14px;
    letter-spacing: 1px;
    margin: 5px;
}

.heroo-section .btn-consult {
    background: #104b47;
    color: #fff;
    border: none;
}

.heroo-section .btn-procedure {
    background: #fff;
    color: #333;
}

/* Responsive — Tablet */
@media (max-width: 991px) {
    .heroo-section .hero-title { font-size: 44px; }
}

/* Responsive — Mobile */
@media (max-width: 767px) {
    .heroo-section { height: 90vh; }
    .heroo-section .hero-title { font-size: 32px; letter-spacing: 1px; }
    .heroo-section .hero-sub   { font-size: 15px; }
    .heroo-section .btn-custom {
        display: block;
        width: 80%;
        margin: 8px auto;
    }
}

/* Responsive — Small mobile (425px and below) */
@media (max-width: 425px) {
    .heroo-section .hero-title { font-size: 26px; }
}


/* ================================================================
   2. ABOUT SECTION
================================================================ */
.about-section {
    padding: 100px 0;
    background: #f8f8f8;
    font-family: 'Poppins', sans-serif;
}

.about-section .about-images { position: relative; }

.about-section .main-img { width: 80%; }

.about-section .small-img {
    width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Video box — floated over main image on desktop */
.about-section .video-box {
    position: absolute;
    bottom: -60px;
    right: 40px;
}

.about-section .tag {
    background: #104b47;
    color: #fff;
    padding: 6px 15px;
    font-size: 12px;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.about-section .about-content h2 {
    font-size: 42px;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 25px;
}

.about-section .about-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-section .btn-about {
    border: 1px solid #104b47;
    padding: 12px 30px;
    color: #104b47;
    background: transparent;
}

.about-section .btn-about:hover {
    background: #104b47;
    color: #fff;
}

/* Responsive — Mobile */
@media (max-width: 767px) {
    .about-section { padding: 50px 0; }

    .about-section .main-img   { width: 100%; }
    .about-section .small-img  { width: 100%; margin-top: 15px; }

    /* Reset absolute position — floated box would overflow on mobile */
    .about-section .video-box {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
    }

    .about-section .about-content { margin-top: 82px; }
    .about-section .about-content h2 { font-size: 19px; }
}


/* ================================================================
   3. VIDEO MODAL
================================================================ */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

.video-content {
    position: relative;
    margin: 10% auto;
    width: 80%;
    max-width: 700px;
}

.video-modal .close {
    position: absolute;
    top: -30px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    opacity: 1;
}

/* Play button overlay */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #004b52;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fancy-imagess { position: relative; }

.fancy-imagess .play-btn {
    left: 50px;
    top: -50px;
}

@media (max-width: 767px) {
    .video-content { width: 95%; margin: 30% auto; }
    .fancy-imagess .play-btn { left: 50%; top: 50%; transform: translate(-50%, -50%); }
}


/* ================================================================
   4. LOGO / CREDENTIALS CAROUSEL
================================================================ */
.logo-section {
    padding: 60px 0;
    background: #f5f5f5;
}

.logo-section .logo-title {
    letter-spacing: 3px;
    color: #999;
    margin-bottom: 40px;
    font-size: 14px;
}

.logo-section .logo-slider img {
    opacity: 0.5;
    max-height: 60px;
    transition: opacity 0.3s;
    width: auto !important; /* owl sets width:100%; override for logos */
    max-width: 100%;
}

.logo-section .logo-slider img:hover { opacity: 1; }


/* ================================================================
   5. SERVICES SECTION (Face / Body / Non-Surgical)
================================================================ */
.services-section .service-box {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.services-section .service-box h2 {
    font-size: 33px;
    color: #fff;
}

.services-section img {
    width: 100%;
    transition: transform 0.4s;
    display: block;
}

.services-section .overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
}

/* Hover button — hidden by default, revealed on hover */
.services-section .hover-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s, transform 0.4s;
    border: 1px solid #fff;
    color: #fff;
    padding: 11px 29px;
    text-decoration: none;
    margin-top: 13px;
}

.services-section .service-box:hover img     { transform: scale(1.1); }
.services-section .service-box:hover .hover-btn {
    opacity: 1;
    transform: translateY(0);
}

.services-section .hover-btn:hover {
    background-color: #104b47;
    color: #fff;
}

/* On touch devices the hover state is never triggered —
   make the CTA always visible */
@media (hover: none) {
    .services-section .hover-btn { opacity: 1; transform: none; }
}

/* Stack to single column on mobile */
@media (max-width: 767px) {
    .services-section .service-box { margin-bottom: 2px; }
    .services-section .service-box h2 { font-size: 22px; }
    /* Always show button on mobile (no hover) */
    .services-section .hover-btn { opacity: 1; transform: none; }
}


/* ================================================================
   6. SURGERY / BEFORE–AFTER SECTION
================================================================ */
.surgery-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.surgery-section .tag {
    background: #104b47;
    color: #fff;
    padding: 6px 14px;
    font-size: 12px;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.surgery-section .content-area h2 {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 25px;
}

.surgery-section .content-area p {
    color: #777;
    line-height: 1.7;
    margin-bottom: 25px;
}

.surgery-section .btn-procedure {
    border: 1px solid #104b47;
    padding: 12px 28px;
    color: #104b47;
    text-decoration: none;
    display: inline-block;
}

.surgery-section .btn-procedure:hover {
    background: #104b47;
    color: #fff;
}

/* Flexbox alignment for desktop two-column layout */
.row.newwrapper {
    display: flex;
    align-items: center;
}

/* Comparison Slider */
.comparison-slider {
    position: relative;
    overflow: hidden;
    cursor: ew-resize;
}

.comparison-slider img { display: block; width: 100%; }

.comparison-slider .resize {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
}

.comparison-slider .divider {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #fff;
    cursor: ew-resize;
}

.comparison-slider .divider::before {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/* Mobile — stack columns */
@media (max-width: 767px) {
    .surgery-section     { padding: 40px 0; }
    .row.newwrapper      { display: block; }
    .comparison-slider   { margin-bottom: 30px; }
}


/* ================================================================
   7. SHAPE / BODY PLASTIC SURGERY SECTION
================================================================ */
.shape-section {
    background: #0f1b26;
    color: #fff;
}

.shape-section .hero-img {
    background: url('../images/shape1.webp') center center / cover no-repeat;
    min-height: 600px;
}

.shape-section .hero-content { padding: 80px 60px; }

.shape-section .tag {
    background: #104b47;
    color: #fff;
    padding: 6px 14px;
    font-size: 12px;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.shape-section .hero-content h2 {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #fff;
}

.shape-section .hero-content p {
    color: #c7d0d9;
    font-size: 16px;
    line-height: 1.7;
}

.shape-section .btn-outline {
    border: 1px solid #fff;
    padding: 12px 25px;
    color: #fff;
    display: inline-block;
    margin-top: 25px;
    text-decoration: none;
}

.shape-section .btn-outline:hover {
    background: #104b47;
    border-color: #104b47;
    color: #fff;
    text-decoration: none;
}

/* Mobile — hide the background image column, let content be full-width */
@media (max-width: 767px) {
    .shape-section .hero-img     { min-height: 200px; }
    .shape-section .hero-content { padding: 40px 20px; }
}


/* ================================================================
   8. POPULAR PROCEDURES
================================================================ */
.procedures-section {
    padding: 80px 0;
    background: #f8f8f8;
}

.procedures-section .section-title {
    font-size: 36px;
    letter-spacing: 3px;
    margin-bottom: 60px;
}

.procedures-section .procedure-box { position: relative; }

.procedures-section .procedure-img { width: 100%; }

/* Content card overlaps image on desktop */
.procedures-section .procedure-content {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: #fff;
    padding: 67px;
    max-width: 542px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.procedures-section .procedure-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.procedures-section .procedure-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}

.procedures-section .btn-outline {
    border: 1px solid #104b47;
    padding: 14px 34px;
    background: transparent;
    border-radius: 0;
}

.procedures-section .btn-outline:hover {
    background-color: #104b47;
    color: #fff;
}

/* Mobile — card goes static below the image */
@media (max-width: 767px) {
    .procedures-section .section-title { font-size: 24px; margin-bottom: 30px; }

    .procedures-section .procedure-content {
        position: static;
        transform: none;
        max-width: 100%;
        padding: 30px 20px;
        box-shadow: none;
        border-top: 3px solid #104b47;
    }
}

/* Extra-small — avoid cramped letter-spacing */
@media (max-width: 425px) {
    .procedures-section .section-title {
        font-size: 22px;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }
}


/* ================================================================
   9. TESTIMONIALS
================================================================ */
.testimonial-section {
    background: #f5f2ed;
    padding: 100px 0;
}

.testimonial-section .title {
    font-size: 36px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.testimonial-section .subtitle {
    color: #777;
    margin-bottom: 40px;
}

.testimonial-section .stars {
    color: #c99b6b;
    font-size: 22px;
    margin-bottom: 20px;
}

.testimonial-section .testimonial-text {
    max-width: 750px;
    margin: 0 auto 30px;
    font-size: 16px;
    color: #666;
    line-height: 28px;
}

.testimonial-section .client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: block;
    object-fit: cover;
}

.testimonial-section .client-role {
    color: #999;
    font-size: 13px;
}

/* Bootstrap carousel controls — remove gradient backgrounds */
.testimonial-section .carousel-control { background: none; color: #999; }

@media (max-width: 767px) {
    .testimonial-section          { padding: 50px 0; }
    .testimonial-section .title   { font-size: 26px; }
    .testimonial-section .testimonial-text { font-size: 14px; }
}


/* ================================================================
   10. AESTHETIC / NON-SURGICAL SECTION
================================================================ */
.aesthetic-section {
    padding: 80px 0;
    background: #f5f5f5;
}

.aesthetic-section .image-wrapper { position: relative; }

.aesthetic-section .main-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.aesthetic-section .small-img {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 200px;
    border: 8px solid #fff;
}

.aesthetic-section .tag {
    background: #104b47;
    color: #fff;
    padding: 6px 12px;
    font-size: 12px;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.aesthetic-section .content-side h2 {
    font-size: 36px;
    font-weight: 300;
    line-height: 48px;
    margin-bottom: 20px;
}

.aesthetic-section .desc {
    color: #777;
    margin-bottom: 25px;
}

.aesthetic-section .list-area ul { list-style: none; padding: 0; }
.aesthetic-section .list-area li { margin-bottom: 10px; color: #444; }

.aesthetic-section .btn-outline {
    border: 2px solid #104b47;
    padding: 10px 25px;
    color: #104b47;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.aesthetic-section .btn-outline:hover {
    background: #104b47;
    color: #fff;
}

/* Flex alignment for desktop */
.aesthetic-section .row.surgical-center {
    display: flex;
    align-items: center;
}

/* Mobile */
@media (max-width: 767px) {
    .aesthetic-section .row.surgical-center { display: block; }
    .aesthetic-section .image-wrapper       { margin-bottom: 60px; } /* room for absolute small-img */
    .aesthetic-section .main-img            { height: 280px; }
    .aesthetic-section .small-img           { width: 120px; left: -10px; bottom: -30px; }
    .aesthetic-section .tag                 { margin-top: 54px; }
    .aesthetic-section .content-side h2     { font-size: 24px; line-height: 1.3; }
}


/* ================================================================
   11. DOCTOR SECTION
================================================================ */
.doctor-section {
    background: #104b47;
    padding: 100px 0 60px;
    color: #fff;
}

.doctor-section .tag {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 6px 14px;
    font-size: 12px;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 25px;
}

.doctor-section .doctor-content h2 {
    font-size: 46px;
    line-height: 58px;
    font-weight: 300;
    margin-bottom: 25px;
    color: #fff;
}

.doctor-section .doctor-content p { color: #c9d1d9; margin-bottom: 30px; }

.doctor-section .btn-custom {
    border: 1px solid #fff;
    padding: 12px 25px;
    color: #fff;
    text-decoration: none;
}

.doctor-section .btn-custom:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.doctor-section .img-box { position: relative; text-align: center; }

/* Counters row */
.doctor-section .counters    { margin-top: 80px; }
.doctor-section .counters h3 { font-size: 40px; margin-bottom: 10px; color: #fff; }
.doctor-section .counters p  { color: #c9d1d9; }

@media (max-width: 767px) {
    .doctor-section              { padding: 50px 0 40px; }
    .doctor-section .doctor-content h2 { font-size: 24px; line-height: 1.3; }
    .doctor-section .doctor-image      { margin-top: 30px; }
    .doctor-section .counters          { margin-top: 40px; }
    .doctor-section .counters h3       { font-size: 28px; }
    /* Stack counters 2×2 on mobile (col-xs-6 handles this) */
    .doctor-section .counters [class*="col-"] { margin-bottom: 20px; }
}


/* ================================================================
   12. NEWS / BLOG SECTION
================================================================ */
.news-section {
    padding: 90px 0;
    background: #f5f5f5;
}

.news-section .section-title {
    font-size: 40px;
    letter-spacing: 2px;
    margin-bottom: 60px;
}

.news-section .news-card        { margin-bottom: 30px; }
.news-section .news-card img    { margin-bottom: 20px; width: 100%; }

.news-section .news-tag {
    background: #104b47;
    color: #fff;
    padding: 6px 12px;
    font-size: 11px;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}

.news-section .news-card h3 {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 25px;
}

.news-section .read-more {
    font-size: 12px;
    letter-spacing: 2px;
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.news-section .view-posts {
    margin-top: 40px;
    border: 1px solid #104b47;
    padding: 12px 28px;
    color: #104b47;
    background: transparent;
}

.news-section .view-posts:hover {
    background: #104b47;
    color: #fff;
}

@media (max-width: 767px) {
    .news-section             { padding: 50px 0; }
    .news-section .section-title { font-size: 26px; letter-spacing: 1px; margin-bottom: 30px; }
    .news-section .news-card  { margin-bottom: 25px; }
}

/* ============================================================
       CSS VARIABLES — brand tokens, change here for whole header
    ============================================================ */
    :root {
        --green:        #104b47;
        --green-dark:   #0c3b38;
        --gold:         #c9a227;
        --white:        #ffffff;
        --text-dark:    #222222;
        --text-mid:     #555555;
        --border:       #e0e0e0;
        --font-main:    'Georgia', serif;
        --font-ui:      'Arial', sans-serif;
        --topbar-h:     44px;
        --midbar-h:     80px;
        --navbar-h:     48px;
    }

    /* ============================================================
       RESET
    ============================================================ */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: var(--font-ui); color: var(--text-dark); }
    a { text-decoration: none; color: inherit; }
    ul { list-style: none; }
    img { display: block; max-width: 100%; }

    /* ============================================================
       OVERALL HEADER WRAPPER
    ============================================================ */
    .site-header {
        width: 100%;
        position: sticky;
        top: 0;
        z-index: 1000;
        box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    }

    /* ============================================================
       ROW 1 — TOP UTILITY BAR (dark green)
       Desktop: phones left | nav centre-right | language right
       Tablet (≤1049px): same but "Select Language" truncates
       Mobile (≤870px): phones left | hamburger right (nav hidden)
    ============================================================ */
    .topbar {
        background: var(--green);
        height: var(--topbar-h);
        display: flex;
        align-items: center;
        padding: 0 24px;
        gap: 0;
    }

    /* --- Phone numbers --- */
    .topbar-phones {
        display: flex;
        align-items: center;
        gap: 28px;
        flex-shrink: 0;
    }

    .topbar-phones a {
        color: var(--white);
        font-size: 13px;
        font-family: var(--font-ui);
        display: flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
        letter-spacing: 0.3px;
    }

    .topbar-phones a:hover { color: var(--gold); }

    .topbar-phones .fa { font-size: 12px; }

    /* Gold divider line between phones and nav (the horizontal rule
       seen in all screenshots) */
    
    /* .topbar-divider {
        flex: 1;
        height: 1px;
        background: linear-gradient(to right, var(--gold), transparent);
        margin: 0 24px;
        min-width: 20px;
    } */

    /* --- Quick nav (Home, About Us, Gallery, Blog, Contact Us) --- */
    .topbar-nav {
        display: flex;
        align-items: center;
        gap: 0;
        flex-shrink: 0;
        justify-content: flex-end;
        margin-left: auto;
    }

    .topbar-nav a {
        color: var(--white);
        font-size: 13px;
        padding: 0 14px;
        height: var(--topbar-h);
        display: flex;
        align-items: center;
        position: relative;
        transition: color 0.2s;
    }

    .topbar-nav a:hover,
    .topbar-nav a.active { color: var(--gold); }

    /* --- Language selector --- */
    .topbar-lang {
        margin-left: 16px;
        flex-shrink: 0;
    }

    .topbar-lang select {
        background: transparent;
        border: 1px solid rgba(255,255,255,0.45);
        color: var(--white);
        font-size: 12px;
        padding: 4px 8px;
        border-radius: 2px;
        cursor: pointer;
        outline: none;
    }

    .topbar-lang select option { background: var(--green); color: var(--white); }

    /* --- Mobile hamburger (hidden on desktop) --- */
    .topbar-hamburger {
        display: none;
        background: none;
        border: 1px solid rgba(255,255,255,0.5);
        color: var(--white);
        width: 34px;
        height: 30px;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        border-radius: 2px;
        margin-left: auto;
        flex-shrink: 0;
    }

    .topbar-hamburger .fa { font-size: 16px; }

    /* ============================================================
       ROW 2 — MID BAR (white) — logo | search | CTA | divider | social
    ============================================================ */
    .midbar {
        background: var(--white);
        height: var(--midbar-h);
        display: flex;
        align-items: center;
        padding: 0 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
    }

    /* --- Logo --- */
    .midbar-logo {
        flex-shrink: 0;
    }

    .midbar-logo img {
        height: 52px;
        width: auto;
        object-fit: contain;
    }

    /* Logo text fallback (shown when real image isn't available) */
    .logo-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-text .logo-main {
        font-size: 22px;
        font-weight: 700;
        letter-spacing: 3px;
        color: var(--green);
        font-family: var(--font-main);
    }

    .logo-text .logo-sub {
        font-size: 8px;
        letter-spacing: 2px;
        color: var(--text-mid);
        text-transform: uppercase;
        margin-top: 2px;
    }

    /* --- Search box (centre) --- */
    .midbar-search {
        flex: 1;
        max-width: 600px;
        position: relative;
        margin-left: auto;
    }

    .midbar-search input {
        width: 100%;
        padding: 9px 38px 9px 16px;
        border: 1px solid var(--border);
        border-radius: 22px;
        font-size: 13px;
        color: var(--text-dark);
        outline: none;
        transition: border-color 0.2s;
        background: #fafafa;
    }

    .midbar-search input:focus { border-color: var(--green); background: var(--white); }

    .midbar-search .fa {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
        font-size: 14px;
        pointer-events: none;
    }

    /* --- Book appointment CTA --- */
    .midbar-cta {
        flex-shrink: 0;
        border: 1.5px solid var(--text-dark);
        color: var(--text-dark);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 1.2px;
        padding: 10px 18px;
        white-space: nowrap;
        transition: background 0.2s, color 0.2s;
        text-transform: uppercase;
    }

    .midbar-cta:hover {
        background: var(--green);
        border-color: var(--green);
        color: var(--white);
    }

    /* --- Vertical divider --- */
    .midbar-vdivider {
        width: 1px;
        height: 46px;
        background: var(--border);
        flex-shrink: 0;
    }

    /* --- Social icons --- */
    .midbar-social {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
    }

    .midbar-social a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: 1px solid var(--border);
        color: var(--text-dark);
        font-size: 14px;
        transition: background 0.2s, border-color 0.2s, color 0.2s;
    }

    .midbar-social a:hover {
        background: var(--green);
        border-color: var(--green);
        color: var(--white);
    }

    /* ============================================================
       ROW 3 — MAIN NAV BAR (white, below midbar)
       Mega-menu dropdowns
    ============================================================ */
    .navbar {
        background: var(--white);
        border-bottom: 2px solid var(--green);
        height: var(--navbar-h);
        display: flex;
        justify-content: center;
        align-items: stretch;
        padding: 0 24px;
        position: relative;
        margin-bottom: 0px;
    }

    .navbar-inner {
        display: flex;
        align-items: stretch;
    }

    /* --- Nav items --- */
    .navbar-item {
        position: relative;
        display: flex;
        align-items: center;
    }

    .navbar-item > a {
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 0 10px;
        height: 100%;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.8px;
        text-transform: uppercase;
        color: var(--text-dark);
        white-space: nowrap;
        transition: color 0.2s;
        position: relative;
    }

    .navbar-item > a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 16px;
        right: 16px;
        height: 2px;
        background: var(--green);
        transform: scaleX(0);
        transition: transform 0.2s;
    }

    .navbar-item:hover > a,
    .navbar-item.active > a { color: var(--green); }

    .navbar-item:hover > a::after,
    .navbar-item.active > a::after { transform: scaleX(1); }
    
    

    /* Dropdown caret */
    .navbar-item.has-drop > a .caret {
        font-size: 9px;
        color: #999;
        margin-left: 2px;
    }

       /* Mega-menu panel — full width, anchored to navbar */
    .navbar-dropdown {
        display: none;
        position: fixed;
        top: calc(var(--topbar-h) + var(--midbar-h) + var(--navbar-h));
        left: 0;
        width: 100%;
        background: var(--green);
        z-index: 500;
        padding: 32px 48px;
        animation: dropIn 0.18s ease;
        box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    }
    
    .navbar-item.has-drop:hover .navbar-dropdown { display: block; }
    
    /* 4-column grid */
    .navbar-dropdown .mega-cols {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 4px 32px;
    }
    
    .navbar-dropdown a {
        display: block;
        padding: 8px 0;
        font-size: 13px;
        color: rgba(255,255,255,0.85);
        border-bottom: 1px solid rgba(255,255,255,0.08);
        transition: color 0.15s, padding-left 0.15s;
        white-space: nowrap;
    }
    
    .navbar-dropdown a:hover {
        color: var(--white);
        padding-left: 8px;
    }

    @keyframes dropIn {
        from { opacity: 0; transform: translateY(-6px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    .navbar-item.has-drop:hover .navbar-dropdown { display: block; }

    .navbar-dropdown a {
        display: block;
        padding: 9px 20px;
        font-size: 12.5px;
        color: var(--text-dark);
        transition: background 0.15s, color 0.15s;
        white-space: nowrap;
    }

    .navbar-dropdown a:hover {
        background: #f5f9f9;
        color: var(--green);
        padding-left: 26px;
    }

    /* ============================================================
       MOBILE DRAWER (slides in from left on ≤870px)
    ============================================================ */
    .mobile-drawer {
        display: none; /* shown by JS */
        position: fixed;
        inset: 0;
        z-index: 2000;
    }

    .drawer-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.45);
    }

    .drawer-panel {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 290px;
        background: var(--white);
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.28s ease;
        display: flex;
        flex-direction: column;
    }

    .mobile-drawer.open .drawer-panel { transform: translateX(0); }

    .drawer-head {
        background: var(--green);
        padding: 18px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .drawer-head .logo-main { color: var(--white); font-size: 18px; letter-spacing: 3px; }

    .drawer-close {
        background: none;
        border: none;
        color: var(--white);
        font-size: 22px;
        cursor: pointer;
        line-height: 1;
    }

    /* Mobile search inside drawer */
    .drawer-search {
        padding: 14px 16px 10px;
        border-bottom: 1px solid var(--border);
    }

    .drawer-search input {
        width: 100%;
        padding: 9px 14px;
        border: 1px solid var(--border);
        border-radius: 20px;
        font-size: 13px;
        outline: none;
    }

    /* Mobile nav list */
    .drawer-nav { flex: 1; }

    .drawer-nav-item { border-bottom: 1px solid #f0f0f0; }

    .drawer-nav-item > .drawer-nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 20px;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.6px;
        text-transform: uppercase;
        color: var(--text-dark);
        cursor: pointer;
    }

    .drawer-nav-item > .drawer-nav-link:hover { color: var(--green); }
    .drawer-nav-item > .drawer-nav-link .fa { font-size: 11px; color: #aaa; }

    /* Drawer sub-menu */
    .drawer-submenu {
        display: none;
        background: #f9f9f9;
        padding: 4px 0 8px;
    }

    .drawer-submenu a {
        display: block;
        padding: 9px 30px;
        font-size: 12.5px;
        color: var(--text-mid);
        border-bottom: 1px solid #f0f0f0;
    }

    .drawer-submenu a:last-child { border-bottom: none; }
    .drawer-submenu a:hover { color: var(--green); background: #f0f5f5; }

    /* Drawer footer (phones + social) */
    .drawer-footer {
        padding: 20px;
        border-top: 1px solid var(--border);
        background: #fafafa;
    }

    .drawer-footer a {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        color: var(--text-dark);
        margin-bottom: 10px;
    }

    .drawer-footer a:hover { color: var(--green); }
    .drawer-footer .fa { color: var(--green); }

    .drawer-social {
        display: flex;
        gap: 10px;
        margin-top: 16px;
    }

    .drawer-social a {
        width: 34px;
        height: 34px;
        border: 1px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        color: var(--text-dark);
        margin-bottom: 0;
    }

    .drawer-social a:hover { background: var(--green); border-color: var(--green); color: var(--white); }

    /* Book appointment in drawer */
    .drawer-cta {
        display: block;
        text-align: center;
        margin: 12px 20px;
        padding: 12px;
        border: 1.5px solid var(--green);
        color: var(--green);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .drawer-cta:hover { background: var(--green); color: var(--white); }

    /* ============================================================
       RESPONSIVE BREAKPOINTS
    ============================================================ */

    @media (max-width: 1149px) {
        /* Topbar: phones left | hamburger right | nav links hidden */
        .topbar-nav  { display: none; }
        .topbar-lang { display: none; }
        .topbar-divider { flex: 1; }

        .topbar-hamburger {
            display: flex;
            margin-left: 16px;
        }

        /* Midbar: logo | vertical divider | social only */
        .midbar {
            height: 64px;
            padding: 0 16px;
            gap: 12px;
        }

        .midbar-logo img { height: 42px; }
        .logo-text .logo-main { font-size: 17px; }

        /* Hide main navbar row entirely */
        .navbar { display: none; }
        
        .midbar-search {
            max-width: 350px;
        }
        
        .midbar-cta {
            margin-left: 0px;
        }
    }

    /* ---- ≤1049px (Image 2 range): hide search + CTA in midbar,
            compress spacing ---- */
    @media (max-width: 1049px) {
        .midbar-search { display: none; }
        .midbar-cta    { display: none; }
        .midbar-vdivider { display: none; }
        .midbar-social { margin-left: auto; }

        .topbar-lang select { font-size: 11px; padding: 3px 6px; }
    }

    /* ---- ≤870px (Images 1 & 3): collapse to mobile layout ---- */
    @media (max-width: 870px) {
        
    }

    /* ---- ≤480px: narrow phones, tighten topbar ---- */
    @media (max-width: 480px) {
        .topbar { padding: 0 12px; gap: 0; }
        .topbar-phones { gap: 12px; }
        .topbar-phones a { font-size: 11px; }
        .topbar-divider { margin: 0 10px; }

        .midbar { padding: 0 12px; }

        .midbar-social a { width: 30px; height: 30px; font-size: 12px; }
    }

    /* ---- ≤360px: single phone visible ---- */
    @media (max-width: 360px) {
        .topbar-phones a:last-child { display: none; }
    }

    /* ============================================================
       DEMO SPACER (so you can see the header sticky behaviour)
    ============================================================ */
    .demo-body {
        padding: 40px 24px;
        background: #f5f2ed;
        min-height: 1200px;
        font-family: var(--font-ui);
        color: #555;
        font-size: 14px;
    }
