/* Hide the white strip with cross at the bottom */
.navigation-close-wrap {
    display: none !important;
}

/* Revert the circle color to the original Tacao for the practitioner section */
.best-life-inner-img {
    background-color: #C59D5F !important;
}

/* =========================================
   SESSION CARDS EXPANSION
   ========================================= */

/* Force 16:9 Aspect Ratio for Session Images */
.sessions-cart-icon-inner,
.sessions-cart-icon {
    width: 100%;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    height: auto !important;
}

.session-hidden-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 1.5rem;
}

/* Slider Navigation Adjustments */

.slider-left-button.testimonials,
.slider-right-button.testimonials {
    display: flex !important;
}

/* Ensure arrows are on top */
.slider-left-button, .slider-right-button {
    z-index: 100 !important;
    cursor: pointer !important;
}

@media screen and (max-width: 767px) {
    .slider-left-button.testimonials,
    .slider-right-button.testimonials {
        display: none !important;
    }
}

.session-hidden-content.open {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.toggle-session-btn {
    cursor: pointer;
    margin-top: 1rem;
    color: var(--elf-green);
    /* Primary Green */
    font-weight: bold;
    background: none;
    border: none;
    text-decoration: underline;
    display: inline-block;
    padding-bottom: 10px;
    font-family: inherit;
    font-size: 1rem;
}


.toggle-session-btn:hover {
    color: var(--blue-chill);
}

/* Override Fixed Height and Overflow for Sessions Page */
/* Override Fixed Height and Overflow for Sessions Page */
.focused-sessions .sessions-single {
    height: auto !important;
    min-height: 450px;
    align-items: flex-start;
    /* Align content to top so it expands downwards naturally */
}

.focused-sessions .sessions-single-inner {
    overflow: visible !important;
    height: auto !important;
    justify-content: flex-start;
    gap: 20px;
    /* Add some spacing between elements */
}

.focused-sessions .sessions-cart-title-wrapper {
    margin-bottom: 0;
    /* Remove default huge margins if any */
}

.focused-sessions .sessions-cart-details {
    margin-bottom: 1rem;
}

/* Fix for Sessions Hover Effect on sessions.html */
.sessions-single:hover .sessions-single-img-wrap {
    opacity: 1 !important;
    transition: opacity 0.3s ease;
}

.sessions-single-img-wrap {
    transition: opacity 0.3s ease;
}

/* =========================================
   INTERACTIVE SESSIONS CARDS
   ========================================= */

.sessions-single {
    cursor: pointer;
    transition: all 0.4s ease;
    height: auto !important;
    /* Allow expansion */
    min-height: 400px;
    /* maintain base height */
    display: flex;
    flex-direction: column;
}

.sessions-single-inner {
    z-index: 2;
    position: relative;
    width: 100%;
}

.session-hidden-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, margin-top 0.4s ease;
    margin-top: 0;
    /* Ensure text is readable */
    color: var(--charcoal-grey);
    /* Darker text for readability if needed, or inherit */
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================
   BACKGROUND FOR FOCUSED SESSIONS
   ========================================= */
.section.focused-sessions {
    background-color: var(--elf-green) !important;
    background-image: none !important;
    padding-bottom: 0 !important; /* Remove bottom padding from main section */
}

.section.focused-sessions .sessions-wrapper {
    background-image: url('../images/Hero-Bg.webp') !important;
    background-color: var(--spring-wood) !important;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    padding-top: 40px;
    padding-bottom: 0 !important; /* Remove padding bottom here too */
    margin-bottom: 0 !important;
}

.section.focused-sessions .sub-title,
.section.focused-sessions .section-title,
.section.focused-sessions .section-discriptions {
    color: var(--white) !important;
}

.section.focused-sessions .sessions-single,
.section.focused-sessions .sessions-single-inner {
    background-color: transparent !important;
}

.section.focused-sessions .focused-sessions-title-wrapper {
    padding-bottom: 24px !important;
    margin-bottom: 0 !important;
    min-height: 0 !important;
    height: auto !important;
}

.section.focused-sessions .section-flexbox {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.section.focused-sessions .section-details-inner {
    display: none !important;
}

.section.focused-sessions h2.section-title,
.section.focused-sessions .section-title-inner {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Make "Personnalisés." visible and gold */
.section.focused-sessions .green-title {
    color: var(--tacao) !important;
    display: inline-block !important; /* Ensure it renders */
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure the next section starts cleanly */
.section.our-achievements {
    margin-top: 0 !important;
    padding-top: 80px; /* Give some space to the next section content */
}

/* =========================================
   HEADER BACKGROUNDS (MATCH HERO)
   ========================================= */
.all-inner-pages-section {
    background-image: url('../images/Hero-Bg.webp') !important;
    background-color: var(--spring-wood) !important;
    background-position: 50% !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.sessions-single.active .session-hidden-content {
    max-height: 600px;
    /* Sufficient height for content */
    opacity: 1;
    margin-top: 1.5rem;
}

/* Optional: Slight lift or shadow enhancement on active */
.sessions-single.active {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* =========================================
   ABOUT US PAGE SCROLL IMAGE FIXES
   ========================================= */

/* Fix 1: Image Size */
.section.about-us {
    overflow: visible !important;
}

.about-us-img-tecker-img {
    height: 300px !important;
    /* Reduced height as requested */
    width: auto !important;
    object-fit: cover !important;
    max-width: none !important;
    /* Prevent squashing */
}

/* Fix 2: Animation Speed */
/* Define the keyframes for the scrolling animation */
@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Slow down the scrolling animation and apply keyframes */
.about-us-img-tecker-inner {
    animation-name: ticker-scroll !important;
    animation-duration: 120s !important;
    animation-timing-function: linear !important;
    animation-iteration-count: infinite !important;
}

/* =========================================
   FULL WIDTH SESSIONS SECTION
   ========================================= */

/* Ensure the section wrapper takes full width */
.section.focused-sessions .sessions-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Configure the grid as a flex container */
.section.focused-sessions .sessions-grid {
    display: flex !important;
    width: 100% !important;
    flex-wrap: nowrap !important; /* Force single line on desktop */
    justify-content: center;
    gap: 0 !important;
    align-items: stretch; /* Make sure they have same height */
}

/* Style individual cards to share width */
.section.focused-sessions .sessions-single {
    flex: 1 1 0% !important;
    /* Grow to fill space, shrink if needed, start from 0 */
    max-width: none !important;
    width: auto !important;
    /* Allow flex to control width */
    min-width: 250px;
    /* Minimum width before wrapping */
    border-radius: 0 !important;
    /* Optional: squared edges for full width look */
    margin: 0 !important;
    /* Remove margins to fill gap */
    background-color: transparent !important;
}

/* Disable hover overlay for these specific cards to keep gold background (HOMEPAGE ONLY) */
.homepage .section.focused-sessions .sessions-single:hover .sessions-single-img-wrap {
    opacity: 0 !important;
}

/* Disable hover overlay for Sessions Page as well */
.focused-sessions .sessions-single:hover .sessions-single-img-wrap {
    opacity: 0 !important;
    display: none !important;
}

.section.focused-sessions .sessions-single:last-child {
    border-right: none;
}

/* Responsive adjustments */
/* =========================================
   TABLET RESPONSIVENESS (768px - 991px)
   ========================================= */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .herro-flex {
        display: flex !important;
        flex-direction: column !important; /* Stack vertically */
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 40px !important;
    }

    .hero-title-wrapper {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-title {
        text-align: center !important;
        margin-bottom: 20px;
    }

    .best-life-wrapper {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        margin-left: 0 !important;
        transform: none !important; /* Reset any scaling */
    }
    
    .best-life-flex {
        margin-bottom: 20px;
    }
    
    .clients-support-wrap {
        position: static !important; /* Reset absolute/relative mess */
        margin: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    
    .counter-title {
        text-align: center !important;
        color: var(--charcoal-grey) !important;
    }
}

@media screen and (max-width: 991px) {
    .section.focused-sessions .sessions-grid {
        flex-wrap: wrap !important; /* Allow stacking on smaller screens */
    }
    
    .section.focused-sessions .sessions-single {
        width: 100% !important;
        flex: 0 0 100% !important;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

/* =========================================
   ABOUT US STATIC IMAGE
   ========================================= */

.about-us-static-inner {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.static-approach-image {
    width: 100vw;
    /* Force full viewport width */
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    /* Center and pull to edges */
    height: auto;
    border-radius: 0;
    /* Remove rounded corners for full width */
    box-shadow: none;
    object-fit: cover;
    display: block;
}

/* =========================================
   MOBILE LOGO FIX
   ========================================= */

@media screen and (max-width: 767px) {
    .header-logo {
        height: auto;
        /* Let height adapt */
        max-height: 60px;
        /* Limit height to fit navbar */
        width: auto;
        /* Keep proportions */
        object-fit: contain;
        /* Ensure image isn't cropped */
    }

    /* Optional container adjustment */
    .w-nav-brand {
        padding-top: 5px;
        padding-bottom: 5px;
        display: flex;
        align-items: center;
    }
}

.legal-content {
    max-width: 900px;
    margin: 150px auto 60px;
    padding: 40px;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-radius: 10px;
    position: relative;
    z-index: 5;
}

.legal-content h1 {
    font-family: 'Prata', serif;
    font-size: 2.5rem;
    color: var(--elf-green);
    margin-bottom: 2rem;
    text-align: center;
}

.legal-content h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    color: var(--charcoal-grey);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.legal-content p, .legal-content li {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--charcoal-grey);
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content a {
    color: var(--elf-green);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--charcoal-grey);
}

@media (max-width: 991px) {
    .legal-content {
        margin-top: 120px;
    }
}

@media (max-width: 768px) {
    .legal-content {
        margin: 100px 15px 30px;
        padding: 20px;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
}

/* =========================================
   FAQ SECTION CUSTOMIZATION
   ========================================= */

/* Force all FAQ links to look like the active one (white background) */
.section.faq .faq-main .faq-link,
.section.faq .faq-main .faq-link.aboutbg,
.section.faq .faq-main .faq-link.w--current,
.section.faq .faq-main .faq-link.aboutbg.w--current {
    background-color: var(--white) !important;
    color: var(--charcoal-grey) !important;
}

/* =========================================
   COLOR OVERRIDES
   ========================================= */

:root {
    --elf-green: #1A6B6E; /* Lighter teal - less intensely green per client feedback */
    --tacao: #C6A55A; /* Deeper gold tone - "Or Lumineux" */
}

/* Footer insert color change */
.footer-left-content {
    background-color: var(--elf-green) !important;
}

/* Force white text in the dark footer insert */
.footer-left-content,
.footer-left-content p,
.footer-left-content a,
.footer-left-content .footer-logo-discriptions,
.footer-left-content .contact-icon-text {
    color: var(--white) !important;
}

/* Make icons white */
.footer-left-content .contact-icon {
    filter: brightness(0) invert(1);
}

/* Make footer logo gold like navbar */
.footer-left-content .footer-logo {
    filter: brightness(0) saturate(100%) invert(65%) sepia(50%) saturate(600%) hue-rotate(10deg) brightness(95%) contrast(85%);
}

/* Ensure icons are also white if they are SVGs controlled by color, otherwise text next to them */
.footer-left-content a:hover {
    opacity: 0.8;
}

/* Override Webflow defaults to use the dark teal */
.w-button {
    background-color: var(--elf-green) !important;
}

.w-input:focus,
.w-select:focus {
    border-color: var(--elf-green) !important;
}

/* =========================================
   CONTACT PAGE OVERRIDES
   ========================================= */
/* Remove background from the contact form in "Une rencontre essentielle" section */
.get-in-touch .contact-us-form-wrapper,
.get-in-touch .contact-us-form-wrap {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* =========================================
   FAQ MOBILE FIXES
   ========================================= */
@media screen and (max-width: 479px) {
    /* Hide the original desktop tab content pane */
    .faq-tab-content {
        display: none !important;
    }
    
    /* Style the new mobile accordion answers */
.mobile-faq-answer {
    display: none; /* Hidden by default */
    padding: 10px 20px 20px 20px; /* Reduced top padding */
    background-color: var(--spring-wood); /* Match site bg or white */
    border-bottom: 1px solid rgba(0, 69, 74, 0.1);
    margin-bottom: 10px;
    color: var(--charcoal-grey);
}

/* Force opacity to 1 for children of mobile answer */
.mobile-faq-answer * {
    opacity: 1 !important;
}

/* Specific fix to reduce space for inner titles if needed */
.mobile-faq-answer .faq-tab-pane-single-title {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.mobile-faq-answer.open {
    display: block;
    animation: fadeIn 0.3s ease;
}
    
    /* Adjust links to look like accordion headers */
    .faq-link {
        width: 100%;
        margin-bottom: 0 !important; /* Remove gap so answer sits tight */
        border-bottom: 1px solid rgba(0, 69, 74, 0.1);
    }
    
    /* Rotate icon when active */
    .faq-link.mobile-active .circle {
        transform: rotate(45deg);
        transition: transform 0.3s ease;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   REDUCE FOCUSED SESSIONS HEIGHT
   ========================================= */
.section.focused-sessions {
    padding-top: 40px !important;
    padding-bottom: 0px !important; /* NO bottom padding */
    min-height: auto !important;
    height: auto !important;
    overflow: hidden !important; /* Ensure nothing sticks out */
}

.section.focused-sessions .sessions-wrapper {
    background-image: url('../images/Hero-Bg.webp') !important;
    background-color: var(--spring-wood) !important;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    padding-top: 40px;
    padding-bottom: 0px !important; /* NO bottom padding inside wrapper */
    margin-bottom: 0px !important; /* NO bottom margin */
}

/* Ensure the container of the cards doesn't add extra space */
.focused-sessions .w-container,
.focused-sessions .container {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Add a little negative margin if necessary to pull the next section up, 
   or just ensure no gap exists */
.section.our-achievements {
    margin-top: 0 !important;
    padding-top: 80px; 
}

/* =========================================
   HOMEPAGE SESSION CARD OVERRIDES
   ========================================= */
/* Completely disable hover effects for session cards on homepage */
.homepage .sessions-single:hover {
    transform: none !important;
    box-shadow: none !important;
    cursor: default !important;
    background-color: transparent !important; /* Ensure background doesn't change */
}

.homepage .sessions-single:hover .sessions-single-img-wrap {
    opacity: 0 !important;
    display: none !important;
}

.homepage .sessions-single:hover .sessions-cart-title {
    color: inherit !important;
}

/* Ensure card background stays transparent/consistent */
.homepage .sessions-single {
    background-color: transparent !important;
}

/* =========================================
   HERO LOGO INSERT
   ========================================= */
/* Ensure wrapper acts as a flex container to push logo to right */
.best-life-wrapper {
    display: flex !important;
    align-items: center;
    position: relative;
    width: 100%;
}

.hero-logo-insert {
    margin-left: auto !important; /* Push to the right */
    margin-right: 0;
    margin-top: -30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-img {
    max-width: 600px;
    height: auto;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(65%) sepia(50%) saturate(600%) hue-rotate(10deg) brightness(95%) contrast(85%);
}

/* =========================================
   DESKTOP HERO OVERRIDES (Double Size & Centering)
   ========================================= */
@media screen and (min-width: 992px) {
    /* Center the Hero Section Vertically */
    .hero-section {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 85vh; /* Take up most of the screen */
        position: relative; /* Ensure absolute children stay inside */
    }

    .hero-main {
        width: 100%;
    }

    /* Flex container for Title + Profile */
    .herro-flex {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 100px !important; /* Space between the two blocks */
        margin-bottom: 60px; /* Space for the logo below */
        padding-left: 5%;
        padding-right: 5%;
    }

    /* 1. Title Section */
    .hero-title-wrapper {
        flex: 1;
        max-width: 50%;
        text-align: left;
    }

    /* 2. Profile Section - ADJUSTED SIZE */
    .best-life-wrapper {
        flex: 1;
        display: flex !important;
        flex-direction: column !important; /* Stack vertically */
        align-items: center !important;
        justify-content: center !important;
        
        /* Adjusted size - Increased scale as requested */
        transform: scale(1.5); 
        transform-origin: center center; 
        
        margin-left: 100px; /* Push more to the right */
    }

    /* Adjust the text container inside profile wrapper */
    .clients-support-wrap {
        width: auto !important;
        max-width: 400px !important; 
        margin-left: 0px !important; /* Reset margin since it's centered/below now */
        margin-top: 30px !important; /* Space between image and text */
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        text-align: center; /* Center the text */
    }
    
    .counter-title-wrap {
        background: transparent !important;
        box-shadow: none !important;
        display: flex;
        justify-content: center;
    }
    
    .counter-title {
        text-align: center !important;
    }

    /* Logo at the bottom */
    .hero-details-wrapper {
        display: flex;
        justify-content: center; /* Center the logo */
        width: 100%;
        margin-top: 0;
        position: absolute;
        bottom: 50px;
        left: 0;
    }
    
    .hero-logo-img {
        max-width: 400px;
        height: auto;
    }
}
@media screen and (max-width: 991px) {
    /* Fix sessions cards disappearance */
    .sessions-single {
        opacity: 1 !important;
        display: flex !important;
        visibility: visible !important;
        transform: none !important;
    }
    
    .sessions-single-inner {
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Ensure testimonial slider is visible */
    .real-voices-slider-single {
        opacity: 1 !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .w-slide {
        display: block !important; /* Force display for slides */
    }
    
    /* Ensure content inside slides is visible */
    .real-voices-slider-flex,
    .testemonial-content-inner, 
    .testimonoal-details-wrapper,
    .author-wrapper {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
}

@media screen and (max-width: 767px) {
    /* Mobile Layout for Hero Section */
    .hero-section {
        padding-top: 40px;
        padding-bottom: 40px;
        height: auto !important;
        min-height: auto !important;
    }

    .hero-main {
        padding-left: 15px;
        padding-right: 15px;
    }

    .herro-flex {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    /* Reset Desktop/Tablet specific margins/transforms */
    /* .best-life-wrapper removed from here as it's redefined below with order */

    /* 1. Title - Order 1 */
    .hero-title-wrapper {
        order: 1;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem !important; /* Smaller title for mobile */
        text-align: center !important;
        margin-bottom: 20px;
        background-color: transparent !important; /* Ensure no background color */
        display: block; /* Ensure block display to stack correctly */
    }
    
    .hero-title span {
        background-color: transparent !important; /* Remove background from span */
    }

    /* 2. Image - Order 2 */
    .best-life-wrapper {
        order: 2; /* Explicitly order the wrapper, not just inner content */
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
        transform: none !important;
        display: flex !important; /* Ensure flex display */
    }

    .best-life-flex {
        margin-bottom: 20px;
        opacity: 1 !important;
        display: flex !important;
        visibility: visible !important;
        width: 100%;
        justify-content: center;
    }
    
    .best-life-inner-img {
        width: 200px !important; /* Ensure image isn't too huge */
        height: 200px !important;
    }

    /* 3. Text - Order 3 */
    .clients-support-wrap {
        order: 3;
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        margin-left: 0 !important; /* Remove negative margin */
        margin-bottom: 0px;
        position: relative !important;
        z-index: 10;
        background: transparent !important;
        width: 100%;
        justify-content: center;
        box-shadow: none !important;
        padding: 0 !important;
    }

    /* Ensure inner text is visible */
    .clients-support-flex {
        background: transparent !important;
        box-shadow: none !important;
    }

    .counter-title-wrap {
        background: transparent !important;
        box-shadow: none !important;
    }

    .counter-title {
        opacity: 1 !important;
        visibility: visible !important;
        color: var(--charcoal-grey) !important; /* Ensure contrast */
        text-align: center !important;
        font-size: 1rem !important;
    }

    /* Fix for Sessions Ciblées Images on Mobile */
    .sessions-cart-icon-wrapper {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        padding-top: 56.25% !important; /* 16:9 Aspect Ratio hack (9/16 = 0.5625) */
        position: relative !important;
        overflow: hidden !important;
    }

    .sessions-cart-icon-inner {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important; /* Reset conflicting min-height */
        display: block !important;
    }
    
    .sessions-cart-icon {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        max-width: none !important; /* Ensure image isn't constrained */
    }
}

/* =========================================
   HEADER OVERRIDES
   ========================================= */
.header {
    background-color: var(--elf-green) !important;
}

/* Make nav links white so they are visible on dark background */
.nav-main-link {
    color: var(--white) !important;
}

/* FIX: Make nav links dark on mobile/tablet when menu is open (white background) */
@media screen and (max-width: 991px) {
    .nav-menu {
        background-color: var(--white) !important;
    }

    .nav-main-link {
        color: var(--elf-green) !important;
        margin-bottom: 15px; /* Add spacing for better touch targets */
        display: block; /* Ensure they take up space */
        font-size: 1.2rem; /* Make them readable */
    }
}

/* =========================================
   HERO TEXT OVERRIDES
   ========================================= */
.counter-title-wrap p.counter-title {
    /* Ensure the new address text is styled correctly */
    font-size: 1.1rem !important;
    line-height: 1.5 !important;
    font-weight: 500 !important; /* Make it a bit bolder than normal text but less than title */
    color: var(--charcoal-grey) !important;
}

/* =========================================
   NAVBAR BUTTON OVERRIDE
   ========================================= */
/* Change "Prendre RDV" button to white background with dark text */
.secondary-button {
    background-color: var(--white) !important;
    color: var(--elf-green) !important;
}

/* Specific override for Navbar CTA to be Gold */
.header .secondary-button {
    background-color: #B8943F !important;
    color: var(--white) !important;
    border-color: #B8943F !important;
}

.secondary-button .button-text {
    color: var(--elf-green) !important;
}

/* Invert arrow icon color for white background */
.secondary-button .dutton-playgon {
    filter: invert(1) brightness(0);
}

/* =========================================
   NAVBAR LOGO GOLD FILTER
   ========================================= */
/* Apply gold-like filter to the original logo in navbar */
.header-logo {
    filter: brightness(0) saturate(100%) invert(65%) sepia(50%) saturate(600%) hue-rotate(10deg) brightness(95%) contrast(85%);
}

/* =========================================
   WHY CHOOSE US (ENGAGEMENTS) OVERRIDES
   ========================================= */

/* Ensure the grid is 3 columns */
.why-choose-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 20px !important;
    margin-top: 40px;
}

/* Make each item a rectangular column */
.why-choose-single {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 450px !important; /* Rectangular height */
    overflow: hidden !important;
    border-radius: 4px !important;
    background-color: transparent !important; /* Reset background */
    padding: 0 !important;
}

/* The image box should fill the background */
.why-choose-img-box {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    margin-bottom: 0 !important;
}

.why-choose-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Add an overlay to improve text readability */
.why-choose-img-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); /* Dark overlay */
    z-index: 2;
    transition: background 0.3s ease;
}

/* Optional: Darker overlay on hover */
.why-choose-single:hover .why-choose-img-box::after {
    background: rgba(0, 0, 0, 0.6);
}

/* The title box (text + icon) should be on top */
.why-choose-title-box {
    position: relative !important;
    z-index: 3 !important;
    text-align: center !important;
    padding: 30px !important;
    color: white !important;
    background-color: transparent !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    width: 100% !important;
    transition: transform 0.3s ease;
}

.why-choose-single:hover .why-choose-title-box {
    transform: translateY(-5px);
}

/* Style the icon */
.why-choose-icon {
    filter: brightness(0) invert(1) !important; /* Make icon white */
    width: 60px !important;
    height: auto !important;
    margin-bottom: 25px !important;
    opacity: 0.95;
}

/* Style the title */
.why-choose-inner-title {
    color: white !important;
    font-weight: 700 !important; /* Thick text */
    font-size: 1.8rem !important;
    margin-bottom: 15px !important;
    line-height: 1.3 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Style the description details */
.why-choose-inner-details {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500 !important; /* Slightly thicker */
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    max-width: 90%;
}

/* Responsive adjustments */
@media screen and (max-width: 991px) {
    .why-choose-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .why-choose-single {
        min-height: 350px !important;
    }
}

/* =========================================
   NEW DARK MODE REVIEWS (INTEGRATION)
   ========================================= */

/* The Main Section Wrapper */
.section.real-voices {
    background-color: #050505 !important;
    padding-top: 80px;
    padding-bottom: 80px;
}

.section.real-voices .real-voices-fullbleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-left: clamp(16px, 3vw, 56px);
    padding-right: clamp(16px, 3vw, 56px);
    max-width: none !important;
}

.section.real-voices .real-voices-fullbleed .real-voices-slider-wrapper,
.section.real-voices .real-voices-fullbleed .real-voices-slider {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Reset the slider mask behavior if it was modified before */
.real-voices .w-slider-mask {
    --reviews-gap: 24px;
    display: flex !important;
    gap: var(--reviews-gap);
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    transform: none !important; /* Kill Webflow JS transform */
    white-space: normal !important;
    touch-action: pan-x !important; /* Allow native horizontal scrolling */
    
    /* Centering logic */
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 0 16px !important;
}

/* The Card Style */
.review-card {
    background-color: var(--elf-green);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 32px;
    width: 100%; /* Adapts to slide width */
    color: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
    height: 100%; /* Fill slide height */
    min-height: 250px; /* REDUCED: Make cards less tall */
    margin: 0; /* Remove margin that might cause wrap */
}
/* Wrapper to add gap without breaking slider width calc */
.real-voices .w-slide > div {
   margin: 0 !important;
   height: 100%;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.stars {
    color: #FFD700;
    font-size: 14px;
    display: flex;
    gap: 4px;
}

.quote-icon {
    color: rgba(255, 255, 255, 0.25);
    font-size: 24px;
}

.review-text {
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-align: left !important; /* Override previous center alignment */
    overflow-wrap: anywhere;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.user-name {
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    margin-bottom: 2px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.user-role {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Ensure container inside real-voices section allows full width usage */
/* MOVED TO BOTTOM TO OVERRIDE */
.real-voices .w-container, 
.section.real-voices .container {
    max-width: 1600px !important; /* Huge width for 3 large cards */
    width: 98% !important; /* Use full width */
    margin: 0 auto !important; /* Centered */
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.section.real-voices .w-layout-blockcontainer {
    max-width: 1600px !important;
    width: 98% !important;
}

/* Force slides to have a minimum width to ensure landscape/rectangular shape */
.real-voices .w-slide {
    flex: 0 0 clamp(280px, 82vw, 520px);
    width: auto !important;
    min-width: 0 !important;
    max-width: 520px !important;
    scroll-snap-align: start;
    transform: none !important; /* Kill Webflow JS transform */
    
    /* Reset layout properties */
    display: flex !important; 
    flex-direction: column !important;
    height: auto !important;
    background: transparent !important;
    margin: 0 !important; /* Grid handles spacing */
    box-sizing: border-box !important;
}

@media screen and (max-width: 991px) {
    .review-card {
        padding: 22px;
        border-radius: 14px;
        min-height: 0;
    }

    .review-text {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .user-avatar {
        width: 42px;
        height: 42px;
    }

    .user-name {
        font-size: 14px;
        margin-bottom: 2px;
    }

    .real-voices .w-slide {
        max-width: 460px !important;
    }
}

@media screen and (min-width: 992px) {
    .real-voices .w-slider-mask {
        padding: 0 !important;
        overflow-x: hidden !important;
        scroll-snap-type: none;
    }

    .real-voices .w-slide {
        flex: 1 1 0;
        max-width: none !important;
    }
}

.real-voices .w-slider-mask::-webkit-scrollbar {
    height: 0;
    width: 0;
}

.real-voices .real-voices-slider-flex {
    background-color: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    width: 100% !important;
    display: block !important;
}

.real-voices .real-voices-slider-flex::before {
    display: none !important;
}

/* Navigation Arrows - Make White */
.real-voices .w-slider-arrow-left,
.real-voices .w-slider-arrow-right {
    filter: invert(1) brightness(200%);
    display: flex !important; /* Ensure they are visible */
}

.real-voices .w-slider-nav-invert > div {
    background-color: rgba(255, 255, 255, 0.4);
}

.real-voices .w-slider-nav-invert > div.w-active {
    background-color: #fff;
}

/* =========================================
   GET STARTED SECTION - WHITE BACKGROUND OVERRIDE
   ========================================= */

.section.get-started {
    background-color: var(--white) !important;
    color: var(--charcoal-grey) !important;
}

.section.get-started .sub-title {
    color: var(--elf-green) !important;
}

.section.get-started .section-title {
    color: var(--elf-green) !important;
}

.section.get-started .section-discriptions {
    color: var(--charcoal-grey) !important;
}

.section.get-started .ticker-text {
    color: var(--charcoal-grey) !important;
}

.section.get-started .ticker-dot {
    background-color: var(--elf-green) !important;
}

/* Button adjustments for white background */

/* Primary button (Prendre RDV): Keep it dark (Green) */
.section.get-started .primary-button {
    background-color: var(--elf-green) !important;
    color: var(--white) !important;
}

/* Secondary button (Discover): Outline Green */
.section.get-started .secondary-button {
    background-color: transparent !important;
    color: var(--elf-green) !important;
    border: 1px solid var(--elf-green) !important;
}

.section.get-started .secondary-button .button-text {
    color: var(--elf-green) !important;
}

.section.get-started .secondary-button .dutton-playgon {
    filter: invert(1) brightness(0) !important; /* Black/Dark icon */
}

/* =========================================
   FIX HERO TEXT BACKGROUND (GLOBAL OVERRIDE)
   ========================================= */
.clients-support-wrap,
.clients-support-flex,
.counter-title-wrap,
.counter-title {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}
