.w-webflow-badge { display: none !important; }

/* Prevent nav link text from wrapping */
.link-text { white-space: nowrap; }

/* Replace Unbounded with Boldonse */
.heading, .heading.h1, .heading.h2, .heading.h3, .heading.h4, .heading.h5,
h1, h2, h3, h4, h5 {
    font-family: 'Boldonse', sans-serif !important;
    line-height: 1.45 !important;
}

/* Fond global noir — scoped to index2.html only */
body.dark-theme {
    background-color: #140c1e !important;
    color: #ffffff !important;
}

/* Force dark on ALL sections — scoped */
.dark-theme .section {
    background-color: #140c1e !important;
}

/* Ensure all text is white on dark background — scoped */
.dark-theme .section:not(.features):not(.services):not(.testimonials):not(.contact),
.dark-theme .container,
.dark-theme .heading,
.dark-theme .heading.h1,
.dark-theme .heading.h2,
.dark-theme .heading.h3,
.dark-theme .heading.h4,
.dark-theme .heading.h5,
.dark-theme .paragraph,
.dark-theme .paragraph.large,
.dark-theme .paragraph.small,
.dark-theme .eyebrow-text,
.dark-theme .link-text {
    color: #ffffff !important;
}

/* Override for yellow sections — scoped */
.dark-theme .section.features,
.dark-theme .section.services,
.dark-theme .section.testimonials,
.dark-theme .section.contact {
    color: #000000 !important;
}
.dark-theme .section.features .heading,
.dark-theme .section.features .heading.h1,
.dark-theme .section.features .heading.h2,
.dark-theme .section.features .heading.h3,
.dark-theme .section.features .heading.h4,
.dark-theme .section.features .heading.h5,
.dark-theme .section.features .paragraph,
.dark-theme .section.features .paragraph.large,
.dark-theme .section.features .paragraph.small,
.dark-theme .section.features .eyebrow-text,
.dark-theme .section.services .heading,
.dark-theme .section.services .heading.h1,
.dark-theme .section.services .heading.h2,
.dark-theme .section.services .heading.h3,
.dark-theme .section.services .heading.h4,
.dark-theme .section.services .heading.h5,
.dark-theme .section.services .paragraph,
.dark-theme .section.services .paragraph.large,
.dark-theme .section.services .paragraph.small,
.dark-theme .section.services .eyebrow-text,
.dark-theme .section.testimonials .heading,
.dark-theme .section.testimonials .heading.h1,
.dark-theme .section.testimonials .heading.h2,
.dark-theme .section.testimonials .heading.h3,
.dark-theme .section.testimonials .heading.h4,
.dark-theme .section.testimonials .heading.h5,
.dark-theme .section.testimonials .paragraph,
.dark-theme .section.testimonials .paragraph.large,
.dark-theme .section.testimonials .paragraph.small,
.dark-theme .section.testimonials .eyebrow-text,
.dark-theme .section.contact .heading,
.dark-theme .section.contact .heading.h1,
.dark-theme .section.contact .heading.h2,
.dark-theme .section.contact .heading.h3,
.dark-theme .section.contact .heading.h4,
.dark-theme .section.contact .heading.h5,
.dark-theme .section.contact .paragraph,
.dark-theme .section.contact .paragraph.large,
.dark-theme .section.contact .paragraph.small,
.dark-theme .section.contact .eyebrow-text {
    color: #000000 !important;
}

/* Navbar background back to white (high specificity) */
html body .navbar,
html body .navbar.w-nav,
html body .navigation {
    background-color: #ffffff !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

/* Header background to white (high specificity) */
html body .header {
    background-color: #ffffff !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}
html body .navigation-wrapper {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
html body .navigation {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Features section on white — scoped */
.dark-theme .section.features {
    background-color: #ffffff !important;
    background-image: none !important;
    color: #000000 !important;
}
.dark-theme .section.features .heading,
.dark-theme .section.features .heading.h2,
.dark-theme .section.features .heading.h3,
.dark-theme .section.features .heading.h4,
.dark-theme .section.features .paragraph,
.dark-theme .section.features .paragraph.large,
.dark-theme .section.features .paragraph.small,
.dark-theme .section.features .eyebrow-text {
    color: #000000 !important;
}
.dark-theme .section.features .feature-card,
.dark-theme .section.features .feature-card *,
.dark-theme .section.features .overlay-hidden .feature-card,
.dark-theme .section.features .overlay-hidden .feature-card * {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
.dark-theme .section.features .eyebrow {
    background-color: rgba(2, 0, 39, 0.1) !important;
    border-color: rgba(2, 0, 39, 0.2) !important;
}
/* Prosplay beige for How it Works process cards — scoped */
.dark-theme .process-card {
    background-color: #faf5ef !important;
    border: 2px solid #e0d4f5 !important;
}
.dark-theme .process-card .heading,
.dark-theme .process-card .paragraph,
.dark-theme .process-card .button {
    color: #000000 !important;
}

/* About section on white with dark text — scoped */
.dark-theme #about {
    background-color: #ffffff !important;
}
.dark-theme #about .heading,
.dark-theme #about .heading.h2,
.dark-theme #about .paragraph,
.dark-theme #about .paragraph.large,
.dark-theme #about .eyebrow-text {
    color: #000000 !important;
}
.dark-theme .about-card-wrap {
    background-color: #e0d4f5 !important;
    color: #000000 !important;
}

/* Statistics numbers visibility — scoped */
.dark-theme .about-card-wrap .heading.h2.no-margin {
    color: #000000 !important;
    font-weight: 700 !important;
}

.dark-theme .about-card-wrap .heading.h5 {
    color: #000000 !important;
}

.dark-theme .about-card-wrap .paragraph.large {
    color: #000000 !important;
}

/* Services section on white — scoped */
.dark-theme .section.services {
    background-color: #ffffff !important;
    color: #000000 !important;
}
.dark-theme .section.services .heading,
.dark-theme .section.services .heading.h2,
.dark-theme .section.services .heading.h3,
.dark-theme .section.services .heading.h4,
.dark-theme .section.services .paragraph,
.dark-theme .section.services .paragraph.large,
.dark-theme .section.services .paragraph.small,
.dark-theme .section.services .eyebrow-text {
    color: #000000 !important;
}
.dark-theme .section.services .heading.h4.white {
    color: #fff !important;
}
.dark-theme .section.services .faq-item,
.dark-theme #benefits .faq-item {
    background-color: #140c1e !important;
}

/* Prosplay yellow for Benefits/Avantages section */
/* .section.services {
    background-color: #e6c45a !important;
}
.section.services .faq-item {
    background-color: #140c1e !important;
}
.section.services .heading,
.section.services .heading.h2,
.section.services .paragraph,
.section.services .paragraph.large,
.section.services .eyebrow-text {
    color: #000000 !important;
}
.section.services .heading.h4.white {
    color: #fff !important;
} */

/* Prosplay pink for Testimonials section background — scoped */
.dark-theme .section.testimonials {
    background-color: #f5a0d0 !important;
}
.dark-theme .section.testimonials .heading,
.dark-theme .section.testimonials .heading.h2,
.dark-theme .section.testimonials .paragraph,
.dark-theme .section.testimonials .paragraph.large,
.dark-theme .section.testimonials .eyebrow-text {
    color: #000000 !important;
}

/* Prosplay lavender for middle (Business) pricing card — scoped */
.dark-theme .pricing-card.dark {
    background-color: #e0d4f5 !important;
    color: #000000 !important;
}
.dark-theme .pricing-card.dark .heading,
.dark-theme .pricing-card.dark .heading.h3,
.dark-theme .pricing-card.dark .heading.h4,
.dark-theme .pricing-card.dark .paragraph,
.dark-theme .pricing-card.dark .paragraph.large,
.dark-theme .pricing-card.dark .paragraph.small {
    color: #000000 !important;
}
.dark-theme .pricing-card.dark .checkmark-wrap.beige {
    background-color: rgba(2, 0, 39, 0.1) !important;
}

/* Prosplay yellow for text highlight/underline decorations — scoped */
.dark-theme .text-span,
.dark-theme .heading .text-span {
    background-image: linear-gradient(to bottom, transparent 60%, #f5e642 60%) !important;
    -webkit-text-decoration-color: #f5e642 !important;
    text-decoration-color: #f5e642 !important;
}

/* CTA section: white background, lavender card — scoped */
.dark-theme .section.cta {
    background-color: #ffffff !important;
}
.dark-theme .cta-card {
    background-image: none !important;
    background-color: #e0d4f5 !important;
}
.dark-theme .cta-card::before,
.dark-theme .cta-card::after,
.dark-theme .cta-card .heading::before,
.dark-theme .cta-card .heading::after,
.dark-theme .cta-card .heading.h2::before,
.dark-theme .cta-card .heading.h2::after,
.dark-theme .cta-card .overlay-hidden::before,
.dark-theme .cta-card .overlay-hidden::after,
.dark-theme .cta-card *::before,
.dark-theme .cta-card *::after {
    background-color: #f5e642 !important;
    background: #f5e642 !important;
}

/* Prosplay lavender for pricing card titles — scoped */
.dark-theme .position-card .heading.h3.beige {
    color: #e0d4f5 !important;
}

/* Grid lines visibility - removed */

/* Hero buttons visibility on dark background — scoped */
.dark-theme .hero-section .button {
    background-color: #f5e642 !important;
    color: #000000 !important;
    border: 2px solid #f5e642 !important;
}
.dark-theme .hero-section .button.w-variant-d80a3883-cf9c-384e-8e6c-215f88585437 {
    background-color: transparent !important;
    color: #f5a0d0 !important;
    border: 2px solid #f5a0d0 !important;
}

/* Wider text-box for features section title — scoped */
.dark-theme .section.features .text-box.m {
    max-width: 52% !important;
    width: 52% !important;
}
@media (max-width: 768px) {
    .dark-theme .section.features .text-box.m {
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* Hero section bigger — scoped */
.dark-theme .section.hero-section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
    min-height: 65vh !important;
    background-color: #140c1e !important;
}

/* Desktop: move hero buttons down — scoped */
.dark-theme .hero-buttons-wrap {
    margin-top: 10% !important;
}

/* Navigation menu links visibility — scoped */
.dark-theme .navigation-link,
.dark-theme .navigation-link .link-text,
.dark-theme .navigation-link .link-text.cc-1 {
    color: #0f172a !important;
}
.dark-theme .navigation-link:hover .link-text {
    color: #000000 !important;
    opacity: 0.7;
}

/* Mobile: reduce hero section padding — scoped */
@media (max-width: 768px) {
    .dark-theme .section.hero-section {
        padding-top: 48px !important;
        padding-bottom: 60px !important;
        min-height: auto !important;
        margin-top: -30px !important;
    }
    .dark-theme .section.hero-section .heading.h1 {
        font-size: calc(1em + 9px) !important;
    }
    .heading.h2,
    #features-title-box h2,
    .success-stories-section h2,
    .showcase-title h2 {
        font-size: calc(1em + 9px) !important;
    }
    .services-heading-wrap .heading.h3 {
        font-size: calc(1em + 9px) !important;
    }
    .dark-theme .hero-buttons-wrap {
        margin-top: 10% !important;
    }
    .dark-theme .hero-image {
        max-width: 85% !important;
        transform: none !important;
        float: none !important;
        width: 85% !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center !important;
        margin: 0 auto !important;
        display: block !important;
    }
    .dark-theme .hero-image-wrap {
        width: 100% !important;
        justify-content: center !important;
    }
    .dark-theme .showcase-card-outer {
        top: 15vh !important;
    }
}

/* Process images border radius — scoped */
.process-image {
    border-radius: 23px !important;
}

/* Force hero image size increase — scoped */
.dark-theme .hero-image {
    max-width: 110% !important;
    transform: scale(1.1) !important;
    transform-origin: right center !important;
}

/* Responsive: about section grid stacks on mobile — scoped */
@media (max-width: 768px) {
    .dark-theme #about .container.centered > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

/* Prosplay pink for Contact section — scoped */
.dark-theme .section.contact {
    background-color: #f5a0d0 !important;
}
.dark-theme .section.contact .heading,
.dark-theme .section.contact .heading.h2,
.dark-theme .section.contact .paragraph,
.dark-theme .section.contact .paragraph.large,
.dark-theme .section.contact .eyebrow-text,
.dark-theme .section.contact .field-label {
    color: #000000 !important;
}

/* Testimonial quotes: Work Sans instead of Boldonse — scoped */
.dark-theme .section.testimonials .paragraph.large.testimonials,
.dark-theme .section.testimonials .paragraph.large,
.dark-theme .section.testimonials .paragraph,
.dark-theme .team-block .paragraph.large.testimonials,
.dark-theme .team-block .paragraph {
    font-family: 'Work Sans', sans-serif !important;
    font-weight: 400 !important;
    font-size: calc(1em + 9px) !important;
}

/* FAQ question headings: reduce by 2px — scoped */
.dark-theme #faq .faq-item .heading.h4,
.dark-theme #faq .faq-item h1.heading.h4 {
    font-size: calc(1em + 1px) !important;
}

/* Footer links and text white on dark background — scoped */
.dark-theme .footer,
.dark-theme .footer .link-text,
.dark-theme .footer .navigation-link,
.dark-theme .footer .navigation-link .link-text,
.dark-theme .footer .footer-col-heading,
.dark-theme .footer .paragraph,
.dark-theme .footer .text-wrapper,
.dark-theme .footer a,
.dark-theme .footer h4,
.dark-theme .footer p,
.dark-theme .footer div {
    color: #ffffff !important;
}
.dark-theme .footer .paragraph.w-variant-ef62f92a-f4e6-d821-302b-08ccc979bd72 {
    color: #ffffff !important;
}
.dark-theme .footer .navigation-link:hover,
.dark-theme .footer .navigation-link:hover .link-text {
    color: #f5a0d0 !important;
    opacity: 1;
}
.dark-theme .footer .button {
    background-color: #f5e642 !important;
    color: #000000 !important;
    border: 2px solid #f5e642 !important;
}

/* Heading harmonization (desktop) — scoped */
.dark-theme .content-title,
.dark-theme .section-title,
.dark-theme .heading-text {
    font-size: clamp(26px, 3vw, 34px) !important;
    line-height: 1.18 !important;
    margin: 0 0 16px !important;
}

/* PME cards titles — scoped */
.dark-theme .pme-cards-grid .section-title {
    font-size: clamp(20px, 2.4vw, 26px) !important;
    line-height: 1.2 !important;
}

/* Stats layout overrides — scoped */
.dark-theme .stats-stat-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: wrap !important;
}

@media (min-width: 992px) {
    /* Shift hero media column 20% left on desktop — scoped */
    .dark-theme .hero-section .hero-media {
        transform: none;
        margin-left: -20%;
    }

    .dark-theme .stats-section .stats-stat-wrapper {
        flex-wrap: nowrap !important;
        justify-content: space-between;
        align-items: flex-start !important;
        white-space: nowrap !important;
    }
    .dark-theme .stats-section .stats-stat-block {
        min-width: 180px;
        width: auto !important;
        flex: 0 0 auto;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .dark-theme .hero-section .hero-wrapper {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        align-items: start !important;
    }
    .dark-theme .hero-section .hero-content-wrapper {
        order: 1;
        text-align: left !important;
    }
    .dark-theme .hero-section .hero-media {
        order: 2;
    }
    .dark-theme .hero-section .hero-media img {
        max-width: 360px;
        width: 100%;
        height: auto;
    }
    .dark-theme .hero-title span {
        white-space: normal !important;
    }
    .dark-theme .content-title span {
        white-space: normal !important;
    }
    .dark-theme .content-title {
        font-size: clamp(24px, 6vw, 40px) !important;
        line-height: 1.26 !important;
    }
    .dark-theme .pme-cards-grid {
        grid-template-columns: 1fr !important;
    }
    .dark-theme .heading-text {
        font-size: clamp(24px, 6vw, 40px) !important;
        word-wrap: break-word !important;
    }
    .dark-theme .programs-tabs-menu {
        gap: 8px !important;
    }
    .dark-theme .programs-tabs-menu .tab-title {
        font-size: 12px !important;
        padding: 8px 12px !important;
    }
    .dark-theme .programs-tabs-1, .dark-theme .programs-tabs-2, .dark-theme .programs-tabs-3 {
        padding: 0 !important;
    }
    .dark-theme .testimonial-bottom {
        flex-direction: column !important;
    }
    .dark-theme .rating-card {
        width: 100% !important;
        margin-bottom: 20px !important;
    }
    .dark-theme .testimonial-slider-wrapper {
        width: 100% !important;
    }
    .dark-theme .logomag-block {
        margin: 0 !important;
        padding: 0 !important;
    }
    .dark-theme .logomag-block img {
        height: 110px !important;
    }
}

/* ── Mobile navbar fix for index.html custom nav ── */
@media (max-width: 767px) {
    /* Hide desktop nav links, show burger */
    .navigation-left,
    .navigation-menu,
    .button-wrap { display: none !important; }

    .mobile-menu-toggle { display: flex !important; align-items: center; }

    /* Mobile menu hidden by default */
    .mobile-menu {
        display: none;
        background: #ffffff;
        padding: 20px 24px 28px;
        border-top: 1px solid #f0f0f0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }
    .mobile-menu.is-open { display: block !important; }

    /* Stack mobile links vertically */
    .mobile-menu-navigation {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin-bottom: 20px;
    }
    .mobile-menu-link {
        display: block;
        padding: 12px 0;
        font-family: 'Inter', sans-serif;
        font-size: 16px;
        font-weight: 500;
        color: #020027;
        text-decoration: none;
        border-bottom: 1px solid #f3f4f6;
    }
    .mobile-menu-link:last-child { border-bottom: none; }
    .mobile-menu .button {
        display: block;
        text-align: center;
        width: 100%;
        margin-top: 8px;
    }
    /* Burger animation */
    .burger-menu { cursor: pointer; padding: 8px; }
    .burger-menu.is-open .bar-1 { transform: rotate(45deg) translate(5px, 5px); }
    .burger-menu.is-open .bar-3 { transform: rotate(-45deg) translate(5px, -5px); }
    .burger-menu.is-open .bar-2 { opacity: 0; }
    .bar-1, .bar-2, .bar-3 {
        width: 24px; height: 2px;
        background: #020027;
        margin: 5px 0;
        transition: all 0.25s ease;
        border-radius: 2px;
    }
    .bar-1-middle { display: none; }
}

@media (min-width: 768px) {
    /* Ensure mobile menu never shows on desktop */
    .mobile-menu { display: none !important; }
    .mobile-menu-toggle { display: none !important; }
}

/* Mobile nav improvements — global (applies to all pages) */
@media (max-width: 767px) {
    .navbar.w-nav {
        position: sticky;
        top: 0;
        z-index: 999;
        background: #ffffff;
    }

    .navbar .w-nav-overlay {
        position: fixed !important;
        top: 64px !important;
        left: 0 !important;
        right: 0 !important;
        height: calc(100vh - 64px) !important;
        background: #ffffff;
        overflow-y: auto;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }

    .navbar .w-nav-menu {
        position: relative;
        width: 100%;
        background: #ffffff;
        padding: 16px 20px 28px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        box-shadow: none;
    }

    .nav-main-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        width: 100%;
    }

    .nav-menu-item {
        width: 100%;
    }

    .nav-menu-link {
        display: block;
        width: 100%;
        padding: 10px 0;
        font-size: 15px;
    }

    .nav-toggle-wrapper {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .nav-toggle.w-nav-button {
        width: 44px;
        height: 44px;
        border-radius: 8px;
        border: 1px solid #e5e7eb;
        background: #ffffff;
        display: grid;
        place-items: center;
    }
}

/* ── Language Selector ── */
.lang-selector {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 12px;
}
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    padding: 6px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff !important;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1;
}
.lang-toggle:hover {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.08);
}
.lang-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 150px;
    background: #1e1630;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.2s ease;
    z-index: 1000;
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-option {
    display: block;
    padding: 8px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: all 0.15s ease;
}
.lang-option:hover {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
}
.lang-option.active {
    color: #f5e642;
    font-weight: 600;
}

/* Mobile language selector */
.lang-selector-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 0;
}
.mobile-lang-link {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}
.mobile-lang-link:hover { color: #ffffff; }
.mobile-lang-link.active { color: #f5e642; }

/* Light theme overrides for lang selector */
.lang-toggle-light,
body:not(.dark-theme) .lang-toggle {
    color: #000000;
    border-color: rgba(0,0,0,0.15);
}
body:not(.dark-theme) .lang-toggle:hover {
    border-color: rgba(0,0,0,0.35);
    background: rgba(0,0,0,0.04);
}
body:not(.dark-theme) .lang-dropdown {
    background: #ffffff;
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
body:not(.dark-theme) .lang-option {
    color: rgba(0,0,0,0.6);
}
body:not(.dark-theme) .lang-option:hover {
    background: rgba(0,0,0,0.04);
    color: #000000;
}
body:not(.dark-theme) .lang-option.active {
    color: #f5a0d0;
}

@media (max-width: 991px) {
    .lang-selector { display: none; }
}
