/* =======================================================
   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: #f3f5f1 !important; /* Matches your body bg */
        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. The Dropdown Menu (Hangs exactly below the header) */
    header nav {
        display: block !important;
        position: absolute !important;
        top: 100% !important; /* Starts exactly at the bottom edge of the header */
        left: 0 !important;
        width: 100% !important;
        background: #ffffff !important;
        border-radius: 0 0 25px 25px !important; /* Rounds bottom corners */
        box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
        z-index: 9998 !important;
        
        /* Slide Down Animation */
        max-height: 0;
        overflow: hidden !important; /* Hides links when closed */
        padding: 0 20px !important;
        transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out !important;
    }

    /* 4. Active State (When JS adds the class) */
    header nav.active {
        max-height: 500px !important; /* Drops down */
        padding: 25px 20px !important;
        border-top: 1px solid rgba(0,0,0,0.05) !important;
    }

    header nav ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        text-align: center !important;
        margin: 0 !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;
    filter: grayscale(100%);
    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;
}
