/* =======================================================
   MOBILE & TABLET RESPONSIVENESS (Max Width: 991px)
   ======================================================= */
   @media (max-width: 991px) {
    /* 1. Kill Horizontal Scroll */
    html, body {
        overflow-x: hidden !important;
        width: 100vw !important;
        max-width: 100% !important;
        position: relative;
    }
    
    .container { padding: 0 20px !important; overflow: hidden !important; }
    .section { padding: 60px 0 !important; }
    .section-tittle { font-size: 32px !important; line-height: 1.3 !important; }

    /* Hide conflicting desktop elements */
    .fixed-socials, header nav, .organic-fluid-img, .wcu-hover-img-wrap, .wcu-left-brand-pane { 
        display: none !important; 
    }

    /* 2. Header Layout */
    header { padding: 15px 20px !important; flex-direction: column !important; gap: 15px !important; }
    .nav-right { width: 100%; justify-content: center !important; }

    /* 3. Hero Section */
    .hero-canvas { padding-top: 150px !important; padding-bottom: 40px !important; }
    .scroll-block { transform: none !important; } 
    .title-line { font-size: 11vw !important; text-align: center !important; padding: 0 !important; margin: 0 !important; white-space: normal !important; }
    .line-2-row { flex-direction: column !important; gap: 15px !important; margin: 15px 0 !important; }
    .hero-editorial-footer { padding: 0 !important; margin-top: 30px !important; flex-direction: column !important; text-align: center !important; gap: 20px !important; }
    .stamped-badge { margin: 0 auto !important; }

    /* 4. Sliders (Fixing animations & overflow) */
    .slider-viewport, .specialist-viewport { width: 100% !important; overflow: hidden !important; }
    .service-slider-wrapper { width: 200% !important; }
    .specialist-slider-track { width: 250% !important; }
    .slide-group { flex-direction: column !important; width: 50% !important; padding: 0 10px !important; gap: 20px !important; }
    .specialist-slide-group { flex-direction: column !important; width: 40% !important; padding: 0 10px !important; gap: 20px !important; }
    .single-service-wrapper { border-radius: 40px !important; height: auto !important; min-height: 380px !important; }
    .single-service-content-wrap { width: 100% !important; padding: 30px !important; background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.75) 100%) !important; }

    /* 5. Meet Our Specialists Fix (Centered & Arrows Removed) */
    .section-tittle-wrapper.left-flex { flex-direction: column !important; align-items: center !important; text-align: center !important; gap: 15px !important; margin-bottom: 30px !important; }
    .section-tittle-heading-wrapper.specialist { max-width: 100% !important; text-align: center !important; }
    #specPrev, #specNext { display: none !important; } /* Hides the side buttons */
    .service-slide-nav-wrapper { margin-top: 20px !important; }

    /* 6. Comfortable Treatment (Restoring Images & Tab Layout) */
    .comfortable-treatment-header { flex-direction: column !important; text-align: center !important; gap: 20px !important; }
    .comfortable-treatment-header .title-block, .right-header-meta { max-width: 100% !important; text-align: center !important; align-items: center !important; }
    .comfortable-treatment-heading-details { text-align: center !important; }
    .comfortable-treatment-tabs-wrapper { display: flex !important; flex-direction: column !important; gap: 20px !important; }
    
    /* Forces the image block to be visible on mobile */
    .comfortable-treatment-tabs-content { position: relative !important; width: 100% !important; height: 350px !important; min-height: 350px !important; display: block !important; margin-bottom: 20px !important; }
    .comfortable-treatment-img-wrap { border-radius: 30px !important; width: 100% !important; height: 100% !important; }
    
    /* Styles tabs into clean white cards */
    .comfortable-treatment-tabs-menu { display: flex !important; flex-direction: column !important; gap: 15px !important; width: 100% !important; }
    .comfortable-treatment-single-tab-link { 
        background-color: #ffffff !important; 
        border-radius: 20px !important; 
        box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important; 
        padding: 25px 20px !important;
        flex-direction: column !important; 
        align-items: center !important; 
        text-align: center !important;
        width: 100% !important;
    }

    /* 7. Why Choose Us */
    .section-tittle.wcu { padding-left: 0 !important; margin-left: 0 !important; text-align: center !important; width: 100% !important; }
    .wcu-main-layout, .wcu-content-list { display: flex !important; flex-direction: column !important; width: 100% !important; padding: 0 !important; }
    .single-choose-wrapper { flex-direction: column !important; align-items: center !important; justify-content: center !important; text-align: center !important; padding: 30px 0 !important; gap: 15px !important; }
    .chose-us-title-group { justify-content: center !important; flex-direction: column !important; gap: 10px !important; }
    .chose-us-details-wrap { padding-left: 0 !important; text-align: center !important; max-width: 100% !important; }

    /* 8. Health Data Counters */
    .healthy-smile-flex { flex-direction: column !important; text-align: center !important; gap: 40px !important; }
    .healthy-counter-up-wrap { flex-direction: row !important; flex-wrap: wrap !important; justify-content: center !important; gap: 30px !important; max-width: 100% !important; }
    .single-happy-counter-wrap { align-items: center !important; }
    .healthy-smile-content-wrap { text-align: center !important; }

    /* 9. Articles Grid & Feedback & CTA */
    .article-grid-wrap { grid-template-columns: 1fr !important; gap: 30px !important; }
    .single-article-img-wrap { height: 260px !important; border-radius: 40px !important; }
    .section-tittle-wrapper.feedback { margin-bottom: 40px !important; }
    .feedback-slider-content-wrapper { padding: 40px 20px !important; border-radius: 40px !important; }
    .cta-img-wrap, .cta-img { height: 250px !important; border-radius: 40px 40px 0 0 !important; }

    /* 10. Footer Fixes (Un-squishing the Newsletter) */
    .footer-flex-wrap { grid-template-columns: 1fr !important; text-align: center !important; gap: 50px !important; }
    .footer-details-wrap, .single-footer-links-wrap, .footer-contact-wrap, .contact-flex-wrap { align-items: center !important; width: 100% !important; }
    
    /* Stacks the input and button instead of cramming them into a pill */
    .subs-input-wrapper { 
        flex-direction: column !important; 
        background: transparent !important; 
        border: none !important; 
        padding: 0 !important; 
        gap: 15px !important; 
        width: 100% !important; 
    }
    .footer-subscribe-input { 
        width: 100% !important; 
        background: #fff !important; 
        padding: 16px 20px !important; 
        border-radius: 30px !important; 
        border: 1px solid rgba(0,0,0,0.1) !important; 
        text-align: center !important;
    }
    .subs-input-wrapper input[type="submit"] { 
        width: 100% !important; 
        padding: 16px !important; 
    }
    
    .single-footer-links-wrapper { align-items: center !important; gap: 15px !important; }
    .footer-bottom { flex-direction: column !important; gap: 20px !important; text-align: center !important; }

  /* Hide the spinning circle in the comfortable treatment section on mobile */
  .comfortable-treatment-header .dental-circle-wrapper {
    display: none !important;
}
}

/* =======================================================
   MOBILE VIEW (Max Width: 991px) - BULLETPROOF DROPDOWN
   ======================================================= */
   @media (max-width: 991px) {
    /* 1. Lock the Header to the top */
    header {
        position: fixed !important;
        top: 0 !important; 
        left: 0 !important; 
        width: 100% !important;
        padding: 15px 20px !important;
        background-color: #ffffff !important; /* White header */
        display: flex !important;
        flex-direction: row !important; /* Keeps logo and button on same line */
        justify-content: space-between !important;
        align-items: center !important;
        z-index: 9999 !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.03) !important;
    }

    /* 2. Hamburger Button */
    .hamburger-btn {
        display: block !important;
        font-size: 32px !important;
        background: none !important;
        border: none !important;
        color: var(--dark-charcoal) !important;
        cursor: pointer;
        z-index: 10000 !important;
    }

    /* 3. CRAZY SIDE DRAWER — slides from right */
    header nav {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        height: 100vh !important;
        width: min(86vw, 420px) !important;
        background: #ffffff !important;
        color: #111111 !important;
        z-index: 9998 !important;
        padding: 90px 32px 40px !important;
        overflow-y: auto !important;
        transform: translateX(105%) !important;
        transition: transform 0.55s cubic-bezier(.77,0,.18,1) !important;
        box-shadow: -30px 0 60px rgba(0,0,0,0.15) !important;
        border-radius: 40px 0 0 40px !important;
    }
    header nav::before {
        content: "MENU";
        position: absolute;
        top: 55px; left: 36px;
        font-family: var(--font-body, sans-serif);
        letter-spacing: 0.4em;
        font-size: 11px;
        color: rgba(0,0,0,0.25);
    }
    header nav::after {
        content: "HAIRSENSE";
        position: absolute;
        bottom: -10px; right: -20px;
        font-family: var(--font-headings, serif);
        font-size: 90px;
        font-weight: 700;
        letter-spacing: -0.04em;
        color: rgba(0,0,0,0.03);
        pointer-events: none;
        line-height: 1;
    }

    /* 4. Active State */
    header nav.active {
        transform: translateX(0) !important;
    }
    /* Backdrop */
    body.nav-open::before {
        content: "";
        position: fixed; inset: 0;
        background: rgba(17,18,18,0.55);
        backdrop-filter: blur(4px);
        z-index: 9997;
        animation: navFade .35s ease;
    }
    @keyframes navFade { from { opacity: 0; } to { opacity: 1; } }

    header nav ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        text-align: left !important;
        margin: 0 !important;
        list-style: none !important;
        padding: 0 !important;
    }
    header nav ul li {
        opacity: 0;
        transform: translateX(40px);
        border-bottom: 1px solid rgba(0,0,0,0.08);
        padding: 10px 0 !important;
    }
    header nav.active ul li {
        animation: navItemIn .6s cubic-bezier(.2,.8,.2,1) forwards;
    }
    header nav.active ul li:nth-child(1){ animation-delay:.10s; }
    header nav.active ul li:nth-child(2){ animation-delay:.16s; }
    header nav.active ul li:nth-child(3){ animation-delay:.22s; }
    header nav.active ul li:nth-child(4){ animation-delay:.28s; }
    header nav.active ul li:nth-child(5){ animation-delay:.34s; }
    header nav.active ul li:nth-child(6){ animation-delay:.40s; }
    header nav.active ul li:nth-child(7){ animation-delay:.46s; }
    header nav.active ul li:nth-child(n+8){ animation-delay:.52s; }
    @keyframes navItemIn {
        to { opacity: 1; transform: translateX(0); }
    }
    header nav ul li a {
        font-family: var(--font-headings, serif) !important;
        font-size: 22px !important;
        font-weight: 600 !important;
        color: #111111 !important;
        text-decoration: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        transition: color .3s, padding-left .3s !important;
    }
    header nav ul li a::after {
        content: "→";
        font-size: 22px;
        opacity: 0;
        transform: translateX(-10px);
        transition: opacity .3s, transform .3s, color .3s;
        color: #111111;
    }
    header nav ul li a:hover {
        color: var(--teal-brand, #00594c) !important;
        padding-left: 8px !important;
    }
    header nav ul li a:hover::after {
        opacity: 1;
        transform: translateX(0);
    }

    /* Hamburger sits above drawer + becomes X */
    .hamburger-btn {
        position: relative !important;
        z-index: 10000 !important;
    }

    /* Hide unused elements */
    .nav-right, .fixed-socials, .organic-fluid-img, .wcu-hover-img-wrap, .wcu-left-brand-pane { 
        display: none !important; 
    }
    
    /* Ensure Body doesn't hide our menu */
    html, body { overflow-x: hidden !important; }
}






/* =========================================
   ABOUT PAGE MOBILE ONLY
========================================= */

@media (max-width:768px){

    /* ================= BANNER ================= */

    .inner-banner{
        padding:130px 0 70px !important;
    }

    .inner-banner-tittle{
        font-size:38px !important;
        line-height:1.1 !important;
        margin-bottom:10px !important;
    }

    .breadcrumb-wrapper{
        gap:6px !important;
        font-size:13px !important;
        flex-wrap:wrap !important;
    }

    /* ================= ABOUT SECTION ================= */

    .section.after-banner{
        padding:70px 0 40px !important;
    }

    .section-tittle-wrapper.about-us-2{
        width:100% !important;
    }

    .section-tittle.about-us{
        font-size:32px !important;
        line-height:1.3 !important;
        margin-bottom:18px !important;
    }

    .section-details.about-us-2{
        font-size:15px !important;
        line-height:1.8 !important;
        margin-bottom:28px !important;
    }

    /* ================= IMAGE SECTION ================= */

    .about-hero-images-grid{
        display:flex !important;
        flex-direction:column !important;
        gap:28px !important;
        padding-bottom:20px !important;
    }

    .about-img-frame-wrapper{
        width:100% !important;
        height:320px !important;
        flex:none !important;
    }

    .about-hero-portrait-asset{
        border-radius:28px !important;
    }

    .orange-accent-underlay-shape{
        border-radius:28px !important;
    }

    .about-img-frame-wrapper.left-side .orange-accent-underlay-shape{
        border-left-width:12px !important;
        border-bottom-width:12px !important;
        left:-8px !important;
        bottom:-8px !important;
    }

    .about-img-frame-wrapper.right-side .orange-accent-underlay-shape{
        border-right-width:12px !important;
        border-top-width:12px !important;
        right:-8px !important;
        top:-8px !important;
    }

    /* ================= CORE VALUES ================= */

    .section.core-values{
        padding:80px 0 !important;
    }

    .core-values-grid-wrapper{
        display:grid !important;
        grid-template-columns:1fr 1fr !important;
        gap:16px !important;
    }

    .single-value-wrap{
        border-radius:28px !important;
    }

    .single-value-content-wrap{
        padding:28px 18px !important;
    }

    .single-value-icon-wrap{
        width:36px !important;
        height:36px !important;
        margin-bottom:18px !important;
    }

    .core-value-name{
        font-size:18px !important;
        line-height:1.3 !important;
        margin-bottom:10px !important;
    }

    .core-value-details{
        font-size:13px !important;
        line-height:1.6 !important;
    }

}

/* ================= SMALL MOBILE ================= */

@media (max-width:480px){

    .inner-banner-tittle{
        font-size:30px !important;
    }

    .section-tittle.about-us{
        font-size:28px !important;
    }

    .about-img-frame-wrapper{
        height:260px !important;
    }

    .core-values-grid-wrapper{
        grid-template-columns:1fr !important;
    }

    .single-value-content-wrap{
        padding:30px 22px !important;
    }

}



/* =======================================================
   MOBILE FIXES - SERVICE DETAILS BODY SECTION
   ======================================================= */
   @media (max-width: 991px) {
    .section.service-details {
        padding: 50px 0 !important;
    }

    .service-details-grid-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
    }

    /* Pushes the text content to the TOP */
    .service-details-grid-right {
        order: 1 !important;
    }

    /* Pushes the teal services menu to the BOTTOM */
    .service-details-grid-left {
        order: 2 !important; 
        position: relative !important;
        top: auto !important;
        width: 100% !important;
    }

    .service-details-collection-wrap {
        padding: 30px 20px !important;
        border-radius: 30px !important;
    }

    .single-service-details-tittle {
        font-size: 32px !important;
        line-height: 1.3 !important;
        margin-bottom: 20px !important;
    }

    .single-service-details-tittle-two {
        font-size: 26px !important;
        margin-top: 35px !important;
        margin-bottom: 15px !important;
        line-height: 1.3 !important;
    }

    .single-service-details-img-wrap {
        height: 250px !important;
        border-radius: 30px !important;
        margin-bottom: 30px !important;
    }
}









/* =======================================================
   MOBILE FIXES - CONTACT MAIN SECTION
   ======================================================= */
   @media (max-width: 991px) {
    /* 1. Reduce overall section padding */
    .section.contact-main {
        padding: 50px 0 !important;
    }

    /* 2. Stack the layout vertically */
    .contact-content-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
    }

    /* 3. Form Container */
    .contact-form-wrapper {
        width: 100% !important;
        order: 1 !important; /* Ensures the form stays on top */
    }

    /* Make sure all inputs fill the screen */
    .single-fields-wrapper {
        width: 100% !important;
        margin-bottom: 20px !important;
    }

    /* Optional: Make the button full width for easier tapping on mobile */
    .btn-wrap {
        width: 100% !important;
        margin-top: 10px !important;
    }
    .btn-wrap .primary-button {
        width: 100% !important;
        text-align: center !important;
    }

    /* 4. Image Container */
    .contact-img-wrapper {
        width: 100% !important;
        height: 350px !important; /* Clean, readable height */
        order: 2 !important; /* Puts the image below the form */
        position: relative !important;
    }

    .contact-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 30px !important; /* Smooth mobile corners */
    }

    /* Hide the offset decorative shape behind the image to prevent horizontal scroll bugs */
    .contact-img-shape {
        display: none !important;
    }
}









/* --- DESIGN BRAND SYSTEM SETUP & RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #f3f5f1;       /* Main light textured layout background */
    --bg-banner: #f9f4ee;     /* Warm pink accent tint for the upper breadcrumb layer */
    --teal-brand: #00594c;     /* Dark editorial template green */
    --dark-charcoal: #111212;  /* Headers text default color */
    --text-muted: #757c77;     /* Descriptive paragraphs */
    --font-headings: 'El Messiri', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

body {
    background-color: var(--bg-color);
    font-family: var(--font-body);
    color: var(--dark-charcoal);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* =======================================================
   MODULE 1: UPPER BREADCRUMB HEADER BANNER
   ======================================================= */
.inner-banner {
    width: 100%;
    padding: 100px 0;
    background-color: var(--bg-banner);
    /* Simulates the crisp tooth vector tile texture repeat seamlessly using CSS grids mask */
    background-image: radial-gradient(rgba(0,0,0,0.012) 1.5px, transparent 0);
    background-size: 32px 32px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
    text-align: center;
}

.inner-banner-tittle {
    font-family: var(--font-headings);
    font-size: 52px;
    font-weight: 700;
    color: var(--dark-charcoal);
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.breadcrumb-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
}

.breadcrumb-single-link {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.breadcrumb-single-link:hover, 
.breadcrumb-single-link.w--current {
    color: var(--teal-brand);
}

.breadcrumb-link-divider {
    color: #b8beb9;
    user-select: none;
}

/* =======================================================
   MODULE 2: ABOUT EDITORIAL HEADER CONTENT
   ======================================================= */
.section.after-banner {
    padding: 120px 0 60px 0; /* Keeps layout spacing balanced at base levels */
    width: 100%;
}

.section-tittle-wrapper.about-us-2 {
    max-width: 860px;
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-tittle-tag {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--teal-brand);
    font-weight: 700;
    margin-bottom: 20px;
}

.section-tittle.about-us {
    font-family: var(--font-headings);
    font-size: 46px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--dark-charcoal);
    margin-bottom: 24px;
    letter-spacing: -0.3px;
}

.section-details.about-us-2 {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 780px;
    margin-bottom: 35px;
}

/* Exact layout button style token matching blueprint templates */
.primary-button {
    background-color: var(--teal-brand);
    color: white;
    padding: 16px 38px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: inline-block;
    transition: background-color 0.25s ease, transform 0.2s ease;
    box-shadow: 0 10px 25px rgba(0, 89, 76, 0.1);
}

.primary-button:hover {
    background-color: #004037;
    transform: translateY(-2px);
}


/* =======================================================
   MODULE 2: TWIN IMAGES SIDE-BY-SIDE WITH OVERLAPS
   ======================================================= */
   .about-hero-images-grid {
    display: flex;
    gap: 40px;
    width: 100%;
    padding-bottom: 60px;
}

.about-img-frame-wrapper {
    flex: 1;
    height: 460px;
    position: relative;
}

.about-hero-portrait-asset {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* color image */
    border-radius: 45px; /* Symmetrical smooth rounding container */
    display: block;
    position: relative;
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

/* Orange underlay custom accent tracks perfectly matching screenshots */
.orange-accent-underlay-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 45px;
    z-index: 1;
    pointer-events: none;
}

/* Left Card: Underlay offsets left and bottom borders */
.about-img-frame-wrapper.left-side .orange-accent-underlay-shape {
    border-left: 20px solid var(--orange-offset);
    border-bottom: 20px solid var(--orange-offset);
    bottom: -15px;
    left: -15px;
}

/* Right Card: Underlay offsets top and right borders */
.about-img-frame-wrapper.right-side .orange-accent-underlay-shape {
    border-top: 20px solid var(--orange-offset);
    border-right: 20px solid var(--orange-offset);
    top: -15px;
    right: -15px;
}



/* --- CORE BASE LAYOUT CONFIG --- */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

:root {
--bg-color: #f3f5f1;       
--teal-brand: #00594c;     
--dark-charcoal: #111212;  
--text-muted: #757c77;     
--font-headings: 'El Messiri', sans-serif;
--font-body: 'DM Sans', sans-serif;
}

body {
background-color: var(--bg-color);
font-family: var(--font-body);
color: var(--dark-charcoal);
}

/* --- UNIFORM GAP SPACE FOR HOME SECTIONS --- */
.section.core-values {
padding: 140px 0;
width: 100%;
position: relative;
text-align: center;
}

.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

/* --- HEADER BLOCK LAYOUT --- */
.section-tittle-wrapper.core-values {
text-align: center;
max-width: 650px;
margin: 0 auto 65px auto;
}

.section-tittle-tag {
font-size: 13px;
text-transform: uppercase;
letter-spacing: 2px;
color: var(--teal-brand);
font-weight: 700;
margin-bottom: 16px;
}

.section-tittle {
font-family: var(--font-headings);
font-size: 46px;
font-weight: 700;
line-height: 1.25;
color: var(--dark-charcoal);
}

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

/* --- 4-COLUMN CARDS GRID SYSTEM --- */
.core-values-grid-wrapper {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 24px;
width: 100%;
}

.single-value-wrap {
background-color: #ffffff;
border-radius: 45px; /* Symmetrical capsule rounding profile matching screenshots */
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.015);
/* Smooth Webflow style animation easing physics curves */
transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
cursor: pointer;
}

/* Hover animation target: lifts container card and darkens ambient depth drop-shadows */
.single-value-wrap:hover {
transform: translateY(-12px);
box-shadow: 0 20px 45px rgba(0, 59, 76, 0.05);
}

.single-value-content-wrap {
padding: 55px 35px;
display: flex;
flex-direction: column;
align-items: flex-start;
position: relative;
height: 100%;
}

/* --- INTERACTIVE ANIMATED ICON WRAPPER --- */
.single-value-icon-wrap {
width: 44px;
height: 44px;
margin-bottom: 24px;
position: relative;
}

.single-value-icon, 
.single-value-hover-icon {
width: 100%;
height: auto;
position: absolute;
top: 0;
left: 0;
transition: opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1), transform 0.35s ease;
}

.single-value-hover-icon {
opacity: 0;
}

/* Hover interaction: toggles visibility profiles seamlessly over stacked elements */
.single-value-wrap:hover .single-value-icon {
opacity: 0;
}

.single-value-wrap:hover .single-value-hover-icon {
opacity: 1;
}

/* --- TYPOGRAPHY DETAILS --- */
.core-value-name {
font-family: var(--font-body);
font-size: 22px;
font-weight: 700;
color: var(--dark-charcoal);
margin-bottom: 14px;
}

.core-value-details {
font-size: 14px;
color: var(--text-muted);
line-height: 1.65;
text-align: left;
}

/* --- ANIMATED BASE LINE DECORATION --- */
.value-bottom-border {
position: absolute;
bottom: 0;
left: 35px;
width: 0px; /* Starts completely collapsed at center */
height: 2px;
background-color: var(--teal-brand);
transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hover interaction: stretches lines outwards to clear card anchor widths */
.single-value-wrap:hover .value-bottom-border {
width: 45px;
}





/* =======================================================
MODULE 2: SITE WIDE MAIN FOOTER
======================================================= */
.footer {
background-color: var(--bg-color);
padding: 80px 0 40px 0;
border-top: 1px solid rgba(0, 0, 0, 0.05);
width: 100%;
}

.footer-top {
width: 100%;
margin-bottom: 60px;
}

.footer-flex-wrap {
display: grid;
grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
gap: 50px;
align-items: flex-start;
}

/* Column 1 Content: Branding and Newsletter */
.footer-details-wrap {
display: flex;
flex-direction: column;
align-items: flex-start;
}

.footer-logo-wrap {
display: flex;
align-items: center;
gap: 8px;
font-size: 22px;
font-weight: 700;
text-decoration: none;
color: var(--dark-charcoal);
margin-bottom: 16px;
}

.footer-logo-icon {
width: 22px;
height: 22px;
background-color: var(--dark-charcoal);
clip-path: polygon(0% 0%, 100% 0%, 85% 85%, 50% 100%, 15% 85%);
}

.footer-details {
font-size: 14px;
color: var(--text-muted);
line-height: 1.6;
margin-bottom: 30px;
text-align: left;
}

.footer-subscribe-form-wrapper {
width: 100%;
}

.subscribe-form-tittle {
font-size: 16px;
font-weight: 700;
color: var(--dark-charcoal);
margin-bottom: 14px;
text-align: left;
}

/* Inline capsule shape form handler mapping */
.subs-input-wrapper {
display: flex;
align-items: center;
background-color: rgba(255, 255, 255, 0.6);
border: 1px solid rgba(0,0,0,0.06);
padding: 6px;
border-radius: 30px;
width: 100%;
max-width: 360px;
}

.footer-subscribe-input {
flex: 1;
background: none;
border: none;
outline: none;
padding: 0 16px;
font-size: 14px;
font-family: var(--font-body);
color: var(--dark-charcoal);
}

.footer-subscribe-input::placeholder {
color: #a0a6a1;
}

/* Columns 2 & 3 Content: Navigation Links Track */
.single-footer-links-wrap {
display: flex;
flex-direction: column;
align-items: flex-start;
}

.single-footer-links-tittle {
font-size: 18px;
font-weight: 700;
color: var(--dark-charcoal);
margin-bottom: 24px;
}

.single-footer-links-wrapper {
display: flex;
flex-direction: column;
gap: 12px;
align-items: flex-start;
}

.single-footer-link {
text-decoration: none;
color: var(--text-muted);
font-size: 15px;
transition: color 0.2s ease, transform 0.2s ease;
}

.single-footer-link:hover {
color: var(--teal-brand);
transform: translateX(4px);
}

/* Column 4 Content: Communication coordinates */
.footer-contact-wrap {
display: flex;
flex-direction: column;
align-items: flex-start;
}

.contact-flex-wrap {
display: flex;
flex-direction: column;
gap: 16px;
align-items: flex-start;
}

.footer-single-contact {
display: flex;
align-items: center;
gap: 10px;
color: var(--dark-charcoal);
font-weight: 500;
font-size: 15px;
}

.footer-contact-info-text {
font-size: 15px;
color: var(--text-muted);
}

/* Base Metadata layout row */
.footer-bottom {
border-top: 1px solid rgba(0, 0, 0, 0.05);
padding-top: 30px;
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
}

.footer-copyright {
font-size: 14px;
color: var(--text-muted);
}

.copyright-link {
text-decoration: none;
color: var(--dark-charcoal);
font-weight: 500;
}

.copyright-link:hover {
color: var(--teal-brand);
}

/* Circular social icon anchors */
.footer-bottom-social-link-wrapper {
display: flex;
gap: 10px;
}

.footer-single-social-link-wrap {
width: 32px;
height: 32px;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.5);
border: 1px solid rgba(0,0,0,0.05);
display: flex;
justify-content: center;
align-items: center;
text-decoration: none;
color: var(--text-muted);
font-size: 12px;
transition: all 0.25s ease;
}

.footer-single-social-link-wrap:hover {
background-color: var(--teal-brand);
color: #ffffff;
border-color: var(--teal-brand);
}




/* --- DESIGN SYSTEM SETUP & RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #f3f5f1;       
    --teal-brand: #00bb9c;     /* Updated to vibrant template green accent */
    --teal-dark: #00594c;      /* Editorial deep dark green text */
    --dark-charcoal: #111212;  
    --text-muted: #757c77;     
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-headings: 'El Messiri', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--dark-charcoal);
    font-family: var(--font-body);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
}

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

.primary-button {
    background-color: var(--teal-dark);
    color: white;
    padding: 16px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    transition: background-color 0.25s ease;
    display: inline-block;
}

.primary-button:hover {
    background-color: #004037;
}

/* --- STICKY TOP NAVIGATION NAVBAR --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 80px;
    background-color: rgba(243, 245, 241, 0.85);
    backdrop-filter: blur(15px);
    z-index: 1000;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 24px;
}

.logo-icon {
    width: 24px;
    height: 24px;
    background-color: var(--dark-charcoal);
    clip-path: polygon(0% 0%, 100% 0%, 85% 85%, 50% 100%, 15% 85%);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-charcoal);
    font-weight: 500;
    font-size: 15px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-btn {
    position: relative;
    background: none;
    border: 1px solid rgba(0,0,0,0.1);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: #d97453;
    color: white;
    font-size: 10px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-nav-appointment {
    border: 1px solid rgba(0,0,0,0.3);
    color: var(--dark-charcoal);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

/* --- FIXED SIDEBAR PANEL SOCIAL LINKS --- */
.fixed-socials {
    position: fixed;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.fixed-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--dark-charcoal);
    font-size: 13px;
}

/* =========================================================
   GLOBAL — Hide hamburger on desktop, show on mobile only
========================================================= */
.hamburger-btn { display: none; }
@media (max-width: 1024px) {
    .hamburger-btn { display: inline-flex !important; }
}

/* =========================================================
   HERO SPLIT — left image+caption / right contact form
========================================================= */
.hero-split { padding: 130px 24px 60px; background: #faf8f5; }
.hero-split-inner {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center;
}
.hero-split-left { position: relative; }
.hero-split-img {
    width: 100%; height: auto; max-height: 560px;
    object-fit: cover; border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.hero-split-caption { margin-top: 28px; }
.hero-split-title {
    font-family: var(--font-headings, 'Playfair Display', serif);
    font-size: clamp(32px, 4.2vw, 54px); line-height: 1.1;
    color: #0d2a3a; margin: 0 0 14px; font-weight: 700;
}
.hero-split-desc { color: #4a5a66; font-size: 16px; line-height: 1.65; max-width: 560px; margin: 0; }
.hero-form-card {
    background: #ffffff; padding: 36px 32px; border-radius: 14px;
    box-shadow: 0 24px 60px rgba(13,42,58,0.12);
    border: 1px solid rgba(0,0,0,0.05);
}
.hero-form-title { font-family: var(--font-headings, serif); font-size: 26px; margin: 0 0 6px; color: #0d2a3a; }
.hero-form-sub { color: #5b6b75; margin: 0 0 22px; font-size: 14px; }
.hero-form { display: flex; flex-direction: column; gap: 12px; }
.hero-form input, .hero-form select, .hero-form textarea {
    width: 100%; padding: 13px 14px; border: 1px solid #dbe4ea;
    border-radius: 6px; font-size: 14px; font-family: inherit; outline: none;
    background: #fff; color: #0d2a3a;
}
.hero-form input:focus, .hero-form select:focus, .hero-form textarea:focus { border-color: #00594c; }
.hero-form-btn {
    margin-top: 6px; padding: 14px 22px; background: #00594c; color: #fff;
    border: none; border-radius: 6px; font-weight: 700; font-size: 15px;
    cursor: pointer; transition: background .2s, transform .2s;
}
.hero-form-btn:hover { background: #007a66; transform: translateY(-2px); }
@media (max-width: 900px) {
    .hero-split { padding: 110px 18px 50px; }
    .hero-split-inner { grid-template-columns: 1fr; gap: 30px; }
    .hero-form-card { padding: 28px 22px; }
}

/* =========================================================
   LIGHTBOX
========================================================= */
.lightbox-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.92);
    z-index: 99999; display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox-overlay.active { display: flex; }
.lightbox-image { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 80px rgba(0,0,0,0.6); }
.lightbox-close {
    position: absolute; top: 18px; right: 22px; background: rgba(255,255,255,0.1);
    color: #fff; border: none; width: 50px; height: 50px; border-radius: 50%;
    font-size: 32px; cursor: pointer; line-height: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* =========================================================
   FEEDBACK — hide images
========================================================= */
.feedback-card-meta img { display: none !important; }

/* =========================================================
   TRAINING & JOB BAND
========================================================= */
.training-band { padding: 90px 24px; background: #fff; }
.training-inner {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: start;
}
.training-left { display: flex; flex-direction: column; gap: 26px; }
.training-img { width: 100%; height: 320px; object-fit: cover; border-radius: 16px; box-shadow: 0 18px 40px rgba(0,0,0,0.12); }
.training-eyebrow { color: #00594c; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px; margin: 0 0 8px; }
.training-title { font-family: var(--font-headings, serif); font-size: clamp(28px, 3.4vw, 40px); color: #0d2a3a; margin: 0 0 14px; line-height: 1.2; }
.training-desc { color: #4a5a66; line-height: 1.7; margin: 0 0 18px; }
.training-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; color: #0d2a3a; }
.training-list li { font-size: 15px; }
.training-form-card { background: #0d2a3a; color: #fff; padding: 36px 32px; border-radius: 12px; box-shadow: 0 20px 50px rgba(13,42,58,0.25); }
.training-form-title { font-family: var(--font-headings, serif); font-size: 26px; margin: 0 0 4px; }
.training-form-sub { color: #b5c2cc; margin: 0 0 22px; font-size: 14px; }
.training-form { display: flex; flex-direction: column; gap: 12px; }
.training-form input, .training-form select, .training-form textarea {
    width: 100%; padding: 13px 14px; border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06); color: #fff; border-radius: 6px; font-size: 14px; outline: none; font-family: inherit;
}
.training-form input::placeholder, .training-form textarea::placeholder { color: #b5c2cc; }
.training-form-btn { margin-top: 4px; padding: 14px 24px; background: #00b894; color: #0d2a3a; border: none; border-radius: 6px; font-weight: 800; cursor: pointer; font-size: 15px; }
.training-form-btn:hover { background: #00d6a8; }
@media (max-width: 900px) {
    .training-inner { grid-template-columns: 1fr; gap: 32px; }
    .training-img { height: 240px; }
}

/* =========================================================
   YOUTUBE SHORTS SECTION
========================================================= */
.youtube-shorts { padding: 80px 0 90px; background: #faf8f5; }
.yt-tagline { text-align: center; color: #5b6b75; font-size: 15px; margin: 0 0 16px; }
.yt-header-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1240px; margin: 0 auto 32px; padding: 0 20px; flex-wrap: wrap; }
.yt-title { font-family: var(--font-headings, serif); font-size: clamp(26px, 3vw, 38px); color: #0d2a3a; margin: 0; }
.yt-follow-btn { display: inline-flex; align-items: center; gap: 10px; background: #ff0000; color: #fff; padding: 12px 22px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 14px; }
.yt-follow-btn:hover { background: #cc0000; }
.yt-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.yt-card { aspect-ratio: 9/16; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 12px 28px rgba(0,0,0,0.18); }
.yt-card iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 1100px) { .yt-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .yt-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* =========================================================
   FAQ BAND
========================================================= */
.faq-band { padding: 80px 24px; background: #fff; }
.faq-inner { max-width: 900px; margin: 0 auto; }
.faq-head { text-align: center; margin-bottom: 40px; }
.faq-eyebrow { color: #00594c; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px; margin: 0 0 8px; }
.faq-title { font-family: var(--font-headings, serif); font-size: clamp(30px, 3.6vw, 46px); color: #0d2a3a; margin: 0 0 12px; line-height: 1.15; }
.faq-sub { color: #5b6b75; font-size: 16px; margin: 0; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #f7f9fa; border: 1px solid rgba(0,0,0,0.06); border-radius: 10px; padding: 4px 22px; transition: box-shadow .2s, border-color .2s; }
.faq-item[open] { border-color: #00594c; box-shadow: 0 6px 20px rgba(0,89,76,0.08); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; color: #0d2a3a; font-size: 17px; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 26px; color: #00594c; font-weight: 400; transition: transform .2s; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: #4a5a66; line-height: 1.7; margin: 0 0 18px; padding-right: 30px; }

/* =========================================================
   ARTICLE — make the wrapper feel clickable
========================================================= */
a.single-article-wrap { text-decoration: none; color: inherit; display: block; }
a.single-article-wrap:hover .article-name { color: #00594c; }

/* Mobile nav drawer — bigger logo override */
@media (max-width: 991px) {
    .logo-img { height: 56px !important; max-width: 200px !important; }
}

/* ============ About page hero banner with dark overlay ============ */
.inner-banner-hero {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    padding: 160px 0 !important;
    overflow: hidden;
}
.inner-banner-hero .inner-banner-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
}
.inner-banner-hero .container { position: relative; z-index: 2; }
.inner-banner-hero .inner-banner-tittle { color: #fff !important; text-shadow: 0 2px 12px rgba(0,0,0,0.45); }
.inner-banner-hero .breadcrumb-single-link { color: rgba(255,255,255,0.85) !important; }
.inner-banner-hero .breadcrumb-link-divider { color: rgba(255,255,255,0.7); }

/* ============ Concerns dropdown — tighten so it's a proper dropdown card ============ */
header .has-dropdown:not(.has-mega) .dropdown {
    display: block !important;
    flex-direction: column;
    gap: 0;
    left: auto;
    right: auto;
    min-width: 230px;
    width: max-content;
    max-width: 280px;
}
header .has-dropdown:not(.has-mega) .dropdown li { display: block; list-style: none; }
header .has-dropdown:not(.has-mega) .dropdown li a { white-space: nowrap; }

/* ============ Blog cards — add image header ============ */
.blog-card { padding: 0 !important; overflow: hidden; }
.blog-card-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.blog-card .blog-meta,
.blog-card h3,
.blog-card p,
.blog-card .blog-link { padding-left: 22px; padding-right: 22px; }
.blog-card .blog-meta { padding-top: 18px; }
.blog-card .blog-link { padding-bottom: 22px; }

/* =========================================================
   HERO BANNER — full-width shaded image with text + form
========================================================= */
.hero-banner {
    position: relative; min-height: 720px; padding: 150px 24px 80px;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    display: flex; align-items: center; isolation: isolate;
}
.hero-banner-overlay {
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, rgba(8,20,28,0.85) 0%, rgba(8,20,28,0.65) 45%, rgba(8,20,28,0.35) 100%);
}
.hero-banner-inner {
    max-width: 1280px; margin: 0 auto; width: 100%;
    display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center;
}
.hero-banner-left { color: #fff; }
.hero-banner-eyebrow {
    display: inline-block; padding: 8px 16px; background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25); border-radius: 999px;
    font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 22px; color: #d6f5ec;
}
.hero-banner-title {
    font-family: var(--font-headings, 'Playfair Display', serif);
    font-size: clamp(34px, 4.6vw, 60px); line-height: 1.08; font-weight: 700;
    margin: 0 0 18px; color: #fff;
}
.hero-banner-title .text-green { color: #00d6a8; }
.hero-banner-desc { color: #d8e2e8; font-size: 17px; line-height: 1.65; max-width: 560px; margin: 0 0 28px; }
.hero-banner-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-banner-btn {
    display: inline-block; padding: 14px 28px; background: #00b894; color: #fff;
    border-radius: 6px; font-weight: 700; font-size: 15px; text-decoration: none;
    transition: background .2s, transform .2s; border: 2px solid #00b894;
}
.hero-banner-btn:hover { background: #00d6a8; border-color: #00d6a8; transform: translateY(-2px); color: #0d2a3a; }
.hero-banner-btn.ghost { background: transparent; border: 2px solid rgba(255,255,255,0.4); color: #fff; }
.hero-banner-btn.ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; transform: translateY(-2px); }
.hero-banner-stats { display: flex; gap: 32px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.15); }
.hero-banner-stats > div { color: #fff; }
.hero-banner-stats b { display: block; font-family: var(--font-headings, serif); font-size: 28px; color: #00d6a8; line-height: 1; margin-bottom: 4px; }
.hero-banner-stats span { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #b5c2cc; }
.hero-banner-right .hero-form-card { backdrop-filter: blur(6px); }
@media (max-width: 960px) {
    .hero-banner { padding: 120px 18px 60px; min-height: auto; }
    .hero-banner-inner { grid-template-columns: 1fr; gap: 36px; }
    .hero-banner-stats { gap: 22px; }
}

/* =========================================================
   TEAM CARD — shared across home, about, service-detail
========================================================= */
.team-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    margin-top: 36px;
}
.team-card {
    background: #faf6f0; border-radius: 24px; overflow: hidden;
    border: 1px solid rgba(13,42,58,0.08);
    transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s;
    display: flex; flex-direction: column;
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px -28px rgba(0,89,76,0.32); }
.team-card-img { aspect-ratio: 4/4.4; overflow: hidden; position: relative; background: #efe9df; }
.team-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.team-card:hover .team-card-img img { transform: scale(1.05); }
.team-card-badge {
    position: absolute; top: 16px; left: 16px; background: #fff; color: #00594c;
    padding: 6px 14px; border-radius: 999px; font-size: 10.5px;
    letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
}
.team-card-body { padding: 24px 24px 26px; }
.team-card-role { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: #b8923a; margin-bottom: 8px; font-weight: 600; }
.team-card-name { font-family: var(--font-headings, 'Playfair Display', serif); font-size: 22px; font-weight: 600; color: #0d2a3a; margin: 0 0 8px; }
.team-card-body p { font-size: 13.5px; line-height: 1.6; color: #5b6b75; margin: 0 0 16px; }
.team-card-meta { display: flex; gap: 18px; padding-top: 14px; border-top: 1px solid rgba(13,42,58,0.1); font-size: 11.5px; color: #5b6b75; }
.team-card-meta b { color: #00594c; font-family: var(--font-headings, serif); font-size: 17px; font-weight: 700; display: block; margin-bottom: 2px; }
@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* Force-show sections (reveal animation observer fails on some routes) */
.section.why-choose, .section.specialists { opacity: 1 !important; }

/* Gallery — show full images, not cropped */
.gallery-img-fit {
  background-size: contain !important;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #f7f7f5;
  height: 340px !important;
}
