/* ==========================================================================
   BEHCARE — Monochrome Logo Palette Polish
   Palette monochrome issue du logo BEHCARE :
   - #022179 (BEH Navy)
   - #5271FF (CARE Royal Blue)
   - #DCE6FF (Soft Ice Blue tint)
   - #FFFFFF & #F5F7FC (Clean neutral grounds)
   Strictly NO shadows, NO gradients, compact sticky navbar.
   ========================================================================== */

*,
*::before,
*::after {
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Global Comfortable Typography Scale */
body {
    font-size: 16px !important;
    line-height: 1.7 !important;
}

p {
    font-size: 16px;
    line-height: 1.75;
}

.button {
    font-size: 14px;
}

.beh-stat-card__label {
    font-size: 13px !important;
}

.beh-stat-card__value {
    font-size: 32px !important;
}

.beh-dash-table {
    font-size: 15px !important;
}

.beh-dash-table th {
    font-size: 13px !important;
}

.beh-lms-module__title {
    font-size: 18px !important;
}

.beh-lms-lesson-title {
    font-size: 16px !important;
}

.beh-lms-lesson-meta,
.beh-progress-head {
    font-size: 14px !important;
}

.beh-banner-meta {
    font-size: 15.5px !important;
}

.beh-event-meta li {
    font-size: 15.5px !important;
}

.beh-contact-form label {
    font-size: 14.5px !important;
}

.beh-contact-form input,
.beh-contact-form select,
.beh-contact-form textarea {
    font-size: 15.5px !important;
}

.beh-formation-card .causes-item__title {
    font-size: 20px !important;
}

.beh-formation-card .causes-item__top p {
    font-size: 15px !important;
}

/* 1. Compact Sticky Navbar (Pixel-Perfect Alignment) */
.header.header--front_3 {
    position: sticky !important;
    top: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
    height: 70px !important;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid #e6ebf5;
    z-index: 1000;
}

.header.header--front_3 .container-fluid {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 32px;
}

.header.header--front_3 .row {
    align-items: center;
}

.header.header--front_3 .header-logo {
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
}

.header-logo__link {
    display: inline-flex;
    align-items: center;
}

.header-logo__img {
    max-height: 36px !important;
    width: auto;
    object-fit: contain;
}

.header.header--front_3 .main-menu {
    margin: 0;
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .header.header--front_3 .main-menu {
        display: none !important;
    }
}

.header.header--front_3 .main-menu__link {
    padding: 23px 0 !important;
    line-height: 24px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.header.header--front_3 .main-menu__link::before {
    top: 0 !important;
    height: 3px;
    background: #5271FF !important;
}

.header.header--front_3 .button--squared {
    width: auto !important;
    min-width: 0 !important;
    height: 38px !important;
    line-height: 36px !important;
    padding: 0 18px !important;
    font-size: 12.5px !important;
    font-weight: 600;
    border-radius: 4px !important;
    background-color: #022179;
    border-color: #022179;
    color: #ffffff;
}

.header.header--front_3 .button--squared:hover {
    transform: none !important;
    background-color: #5271FF;
    border-color: #5271FF;
    color: #ffffff;
}

.header.header--front_3 .button--squared:hover span {
    transform: none !important;
}

.header.header--front_3 .dropdown-trigger {
    margin-left: 14px;
    cursor: pointer;
}

/* Mobile / Aside Drawer above sticky header */
.aside-dropdown {
    z-index: 2000 !important;
}

.aside-dropdown__inner {
    padding: 72px 0 40px 0 !important;
}

.aside-dropdown__close {
    right: 20px !important;
    left: auto !important;
    top: 18px !important;
    z-index: 10;
}

.aside-dropdown__item:first-of-type,
.aside-dropdown__item:nth-of-type(2) {
    padding: 0 32px !important;
}

.aside-dropdown__item:nth-of-type(2) {
    margin-top: 28px !important;
}

.aside-dropdown__item:nth-of-type(3) {
    padding: 0 32px !important;
    margin-top: 28px !important;
}

.aside-dropdown .button--squared {
    width: 100% !important;
    height: 46px !important;
    line-height: 44px !important;
    padding: 0 20px !important;
    border-radius: 4px !important;
    background-color: #5271FF !important;
    border-color: #5271FF !important;
    color: #ffffff !important;
}

.aside-dropdown .button--squared:hover {
    transform: none !important;
    background-color: #DCE6FF !important;
    color: #022179 !important;
}

.aside-dropdown .button--squared:hover span {
    transform: none !important;
}

@media (max-width: 991px) {
    .header.header--front_3 .container-fluid {
        padding: 0 16px;
    }

    .header.header--front_3 .button--squared {
        height: 38px !important;
        line-height: 36px !important;
        padding: 0 14px !important;
        font-size: 12px !important;
    }
}

.footer-logo__img {
    max-height: 36px;
    width: auto;
    object-fit: contain;
}

/* 2. Balanced Hero & Inner Banner Heights + Clean Mobile Layout */
.promo--front_3 .promo-slider .align-container {
    height: 650px !important;
    padding: 60px 0 90px !important;
}

.promo--front_3 .slider__nav--promo {
    bottom: 24px !important;
    z-index: 5;
}

.promo-slider__button {
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    line-height: 1.2 !important;
    padding: 15px 30px !important;
    white-space: nowrap !important;
    margin-top: 28px !important;
}

.promo-primary .align-container {
    height: 420px !important;
    padding: 50px 0 !important;
}

.promo-slider__item .img--bg {
    object-position: center 22%;
}

@media (max-width: 767px) {
    .promo--front_3 .promo-slider .align-container {
        height: 540px !important;
        padding: 40px 0 96px !important;
    }

    .promo--front_3 .slider__nav--promo {
        left: 16px !important;
        right: 16px !important;
        bottom: 20px !important;
        justify-content: space-between !important;
    }

    .promo-primary .align-container {
        height: 300px !important;
    }
}

/* 3. Flat Dark Navy Scrim Over Photos (Zero Gradient) */
.promo-slider__item,
.info-box,
.action-block__inner,
.promo-primary {
    position: relative;
}

.promo-slider__item::before,
.info-box::before,
.action-block__inner::before,
.promo-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(2, 33, 121, 0.50);
    z-index: 1;
    pointer-events: none;
}

.promo-slider__item > .container,
.info-box > *:not(.img--bg),
.action-block__inner > *:not(.img--bg),
.promo-primary > .container {
    position: relative;
    z-index: 2;
}

.promo-pannel__link {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.promo-pannel__link:hover {
    color: #DCE6FF;
}

/* 3. Contact Form */
.beh-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.beh-contact-form .form-group {
    margin-bottom: 20px;
}

.beh-contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #022179;
}

.beh-contact-form input,
.beh-contact-form select,
.beh-contact-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #d9e1f2;
    background: #ffffff;
    color: #022179;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.beh-contact-form input:focus,
.beh-contact-form select:focus,
.beh-contact-form textarea:focus {
    border-color: #5271FF;
}

.beh-contact-form .error-message {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #b91c1c;
}

.beh-contact-form .alert-success {
    padding: 14px 18px;
    margin-bottom: 22px;
    background: #DCE6FF;
    color: #022179;
    font-size: 14px;
    font-weight: 600;
}

.beh-contact-form .alert-danger {
    padding: 14px 18px;
    margin-bottom: 22px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 14px;
}

.beh-contact-form .alert-warning {
    padding: 14px 18px;
    margin-bottom: 22px;
    background: #fef3c7;
    color: #92400e;
    font-size: 14px;
}

/* Event detail box & info list */
.beh-event-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 32px;
}

.beh-event-meta {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    border-top: 1px solid #e2e8f0;
}

.beh-event-meta li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.beh-event-meta .meta-label {
    font-weight: 700;
    color: #022179;
}

.beh-event-meta .meta-value {
    color: #475569;
    text-align: right;
}

/* Appointment form sections & radio pills */
.beh-form-section {
    padding-bottom: 24px;
    margin-bottom: 28px;
    border-bottom: 1px solid #e2e8f0;
}

.beh-form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 12px;
    padding-bottom: 0;
}

.beh-form-section__title {
    font-size: 16px;
    font-weight: 700;
    color: #022179;
    margin-bottom: 18px;
}

.beh-radio-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.beh-radio-option {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid #d9e1f2;
    background: #ffffff;
    cursor: pointer;
    font-weight: 600 !important;
    margin-bottom: 0 !important;
}

.beh-radio-option input[type="radio"] {
    width: auto !important;
    margin: 0;
    accent-color: #022179;
}

/* Event Banner Info Chips & Flat Registration Modal */
.beh-banner-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 22px;
    color: #ffffff !important;
    font-size: 15.5px;
    font-weight: 600;
}

.beh-banner-meta__item,
.beh-banner-meta__item strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff !important;
}

.beh-banner-meta__item i {
    color: #DCE6FF !important;
}

/* Global Button Contrast & Hover Fix (All Pages — Zero Invisible Text) */
.button.button--primary {
    background-color: #022179 !important;
    border: 2px solid #022179 !important;
    color: #ffffff !important;
}

.button.button--primary:hover,
.button.button--primary:focus,
.button.button--primary:active {
    background-color: #5271FF !important;
    border-color: #5271FF !important;
    color: #ffffff !important;
}

/* Primary buttons on dark/navy banners or hero sliders */
.promo-primary .button.button--primary,
.promo-slider .button.button--primary,
.about-us--blue .button.button--primary,
.action-block .button.button--primary,
.beh-live-stage .button.button--primary,
.causes-item--primary .button.button--primary {
    background-color: #5271FF !important;
    border: 2px solid #5271FF !important;
    color: #ffffff !important;
}

.promo-primary .button.button--primary:hover,
.promo-primary .button.button--primary:focus,
.promo-slider .button.button--primary:hover,
.promo-slider .button.button--primary:focus,
.about-us--blue .button.button--primary:hover,
.about-us--blue .button.button--primary:focus,
.action-block .button.button--primary:hover,
.action-block .button.button--primary:focus,
.beh-live-stage .button.button--primary:hover,
.causes-item--primary .button.button--primary:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #022179 !important;
}

/* Secondary / Outline Blue Buttons */
.button.button--blue {
    background-color: #ffffff !important;
    border: 2px solid #022179 !important;
    color: #022179 !important;
}

.button.button--blue:hover,
.button.button--blue:focus,
.button.button--blue:active {
    background-color: #022179 !important;
    border-color: #022179 !important;
    color: #DCE6FF !important;
}

/* Clean White Formation Listing Page & Cards (Flat Monochrome, Zero Split Background) */
.beh-page-hero {
    background: #022179;
    color: #ffffff;
    padding: 56px 0 48px;
}

.beh-page-hero__eyebrow {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #DCE6FF;
    margin-bottom: 10px;
}

.beh-page-hero__title {
    margin: 0 0 12px;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
}

.beh-page-hero__lead {
    margin: 0;
    max-width: 620px;
    font-size: 16.5px;
    line-height: 1.6;
    color: #DCE6FF;
}

.beh-page-hero .button.button--primary {
    background-color: #5271FF !important;
    border-color: #5271FF !important;
    color: #ffffff !important;
}

.beh-page-hero .button.button--primary:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #022179 !important;
}

.beh-catalog-section {
    background: #F5F7FC !important;
    padding: 56px 0 64px !important;
}

.beh-catalog-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid #d9e2f3;
}

.beh-catalog-title {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 700;
    color: #022179;
    line-height: 1.25;
}

.beh-catalog-sub {
    margin: 0;
    font-size: 15.5px;
    color: #334155;
}

@media (max-width: 767px) {
    .beh-page-hero {
        padding: 36px 0 32px;
    }

    .beh-page-hero__title {
        font-size: 28px;
    }

    .beh-page-hero__lead {
        font-size: 15px;
    }

    .beh-catalog-section {
        padding: 36px 0 44px !important;
    }

    .beh-catalog-title {
        font-size: 23px;
    }
}

.beh-course-card {
    background: #ffffff;
    border: 1px solid #d9e2f3;
    border-top: 3px solid #022179;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: border-color 0.2s ease;
}

.beh-course-card:hover {
    border-color: #5271FF;
    border-top-color: #5271FF;
}

.beh-course-card__media {
    position: relative;
    display: block;
    height: 170px;
    overflow: hidden;
    background: #F5F7FC;
}

.beh-course-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    display: block;
}

.beh-course-card__price {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    background: #022179;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
}

.beh-course-card__body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.beh-course-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: #5271FF;
}

.beh-course-card__title {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.32;
    color: #022179;
}

.beh-course-card__title a {
    color: #022179 !important;
    text-decoration: none;
}

.beh-course-card__title a:hover {
    color: #5271FF !important;
}

.beh-course-card__desc {
    margin: 0 0 18px;
    font-size: 15.5px;
    line-height: 1.55;
    color: #243b6b;
    flex: 1;
}

.beh-course-card__foot {
    margin-top: auto;
}

.beh-course-card__btn {
    width: 100%;
    justify-content: center;
    padding: 12px 18px !important;
    font-size: 14.5px !important;
}

.beh-banner-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

/* Guarantee banners NEVER clip content on mobile or desktop */
.promo-primary {
    overflow: visible !important;
}

.promo-primary .img--bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-primary--event .align-container {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 64px 0 56px !important;
}

.promo-primary--event .align-container__item {
    display: block !important;
}

.promo-primary--event .promo-primary__title::before,
.promo-primary--event .promo-primary__title::after {
    display: none !important;
}

.promo-primary--event .promo-primary__description {
    display: none !important;
}

.beh-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 33, 121, 0.65);
    z-index: 2500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.beh-modal-backdrop.is-open {
    display: flex;
}

.beh-modal {
    background: #ffffff;
    width: 100%;
    max-width: 560px;
    border: 1px solid #d9e1f2;
    max-height: 92vh;
    overflow-y: auto;
}

.beh-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 26px;
    background: #022179;
    color: #ffffff;
}

.beh-modal__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.beh-modal__close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
}

.beh-modal__body {
    padding: 26px;
}

/* Payment Method Selector (MonCash / NatCash / Carte) */
.beh-pay-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #F5F7FC;
    border: 1px solid #d9e1f2;
    margin-bottom: 18px;
    font-size: 14px;
}

.beh-pay-summary strong {
    color: #022179;
    font-size: 16px;
}

.beh-pay-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.beh-pay-option {
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1.5px solid #d9e1f2;
    background: #ffffff;
    cursor: pointer;
    margin: 0 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    color: #022179 !important;
    transition: border-color 0.2s, background-color 0.2s;
}

.beh-pay-option:has(input:checked) {
    border-color: #5271FF;
    background: #F5F7FC;
}

.beh-pay-option input[type="radio"] {
    width: auto !important;
    margin: 0;
    accent-color: #5271FF;
}

@media (max-width: 575px) {
    .beh-pay-methods {
        grid-template-columns: 1fr;
    }
}

/* Student Dashboard Stats & Course Cards */
.beh-dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.beh-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 20px 22px;
}

.beh-stat-card__label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 6px;
}

.beh-stat-card__value {
    font-size: 28px;
    font-weight: 700;
    color: #022179;
    line-height: 1.1;
}

.beh-dash-course {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    margin-bottom: 16px;
    align-items: center;
}

.beh-dash-course__img {
    width: 150px;
    height: 105px;
    object-fit: cover;
    flex-shrink: 0;
}

.beh-dash-course__body {
    flex: 1;
    min-width: 0;
}

.beh-dash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.beh-dash-table th,
.beh-dash-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.beh-dash-table th {
    font-size: 12px;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
}

@media (max-width: 991px) {
    .beh-dash-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile-First Student Dashboard */
.beh-dash-section {
    padding-top: 32px !important;
    padding-bottom: 56px !important;
}

.beh-dash-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e2e8f0;
}

.beh-dash-greeting {
    font-size: 26px;
    font-weight: 700;
    color: #022179;
    margin: 0 0 4px;
    line-height: 1.2;
}

.beh-dash-sub {
    margin: 0;
    font-size: 15px;
    color: #475569;
}

.beh-logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #022179;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.beh-logout-btn:hover {
    background: #F5F7FC;
    border-color: #022179;
}

.beh-dash-heading {
    font-size: 19px;
    font-weight: 700;
    color: #022179;
    margin: 0 0 14px;
}

.beh-dash-stats--two {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 14px;
}

.beh-stat-card--link {
    display: block;
    text-decoration: none !important;
    border-color: #022179;
    transition: background-color 0.15s ease;
}

.beh-stat-card--link:hover {
    background: #F5F7FC;
}

.beh-stat-card__hint {
    display: inline-block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 700;
    color: #5271FF;
}

.beh-quick-bar {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 22px;
}

@media (max-width: 991px) {
    .beh-quick-bar {
        display: grid;
    }

    .beh-dash-sidebar-quick {
        display: none !important;
    }
}

.beh-quick-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #022179 !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    text-align: center;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.beh-quick-item i {
    color: #5271FF;
    font-size: 15px;
    flex-shrink: 0;
}

.beh-quick-item:hover {
    background: #F5F7FC;
    border-color: #022179;
}

.beh-dash-stats--compact {
    grid-template-columns: repeat(3, 1fr);
}

.beh-dash-course--pending {
    border-left: 4px solid #5271FF;
}

.beh-dash-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.beh-dash-course__title {
    font-size: 17.5px;
    font-weight: 700;
    color: #022179;
    margin: 0 0 8px;
    line-height: 1.35;
}

.beh-dash-course__notice {
    margin: 0 0 14px;
    font-size: 14px;
    color: #334155;
    line-height: 1.5;
}

.beh-dash-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.beh-dash-actions .button {
    padding: 11px 18px;
    font-size: 14px;
}

.beh-dash-history {
    display: flex;
    flex-direction: column;
}

.beh-dash-history__item {
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
}

.beh-dash-history__item:first-child {
    padding-top: 0;
}

.beh-dash-history__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.beh-dash-history__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 4px;
}

.beh-dash-history__title {
    font-size: 15px;
    color: #022179;
    line-height: 1.35;
}

.beh-dash-history__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13.5px;
    color: #64748b;
}

@media (max-width: 767px) {
    .beh-dash-section {
        padding-top: 16px !important;
        padding-bottom: 36px !important;
    }

    .beh-dash-top {
        margin-bottom: 14px;
        padding-bottom: 10px;
        gap: 6px;
    }

    .beh-dash-greeting {
        font-size: 22px;
        margin-bottom: 4px;
    }

    .beh-dash-sub {
        font-size: 15px;
    }

    .beh-dash-cta-top {
        display: none;
    }

    .beh-dash-stats--two {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-bottom: 12px;
    }

    .beh-dash-stats--two .beh-stat-card {
        padding: 12px 12px;
    }

    .beh-dash-stats--two .beh-stat-card__label {
        font-size: 12px !important;
        margin-bottom: 2px;
    }

    .beh-dash-stats--two .beh-stat-card__value {
        font-size: 22px !important;
    }

    .beh-stat-card__hint {
        font-size: 12.5px !important;
    }

    .beh-quick-bar {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        margin-bottom: 16px;
    }

    .beh-quick-item {
        padding: 9px 6px;
        font-size: 13px;
        gap: 5px;
    }

    .beh-dash-stats--compact {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-bottom: 16px;
    }

    .beh-dash-stats--compact .beh-stat-card {
        padding: 10px 8px;
        text-align: center;
    }

    .beh-dash-stats--compact .beh-stat-card__label {
        font-size: 12px !important;
        margin-bottom: 4px;
    }

    .beh-dash-stats--compact .beh-stat-card__value {
        font-size: 20px !important;
    }

    .beh-dash-heading {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .beh-dash-course {
        flex-direction: row !important;
        align-items: flex-start !important;
        padding: 12px !important;
        gap: 12px !important;
        margin-bottom: 12px !important;
    }

    .beh-dash-course__img {
        width: 76px !important;
        height: 76px !important;
        flex-shrink: 0;
    }

    .beh-dash-course__body {
        min-width: 0;
        overflow-wrap: break-word;
    }

    .beh-dash-badges {
        gap: 6px;
        margin-bottom: 6px;
    }

    .beh-dash-badges .beh-badge-video,
    .beh-dash-badges .beh-badge-locked,
    .beh-dash-badges .beh-badge-available {
        font-size: 12px !important;
        padding: 3px 8px !important;
    }

    .beh-dash-course__title {
        font-size: 16px !important;
        margin-bottom: 6px !important;
        line-height: 1.35 !important;
    }

    .beh-dash-course__notice {
        font-size: 14.5px !important;
        margin-bottom: 10px !important;
        line-height: 1.45 !important;
    }

    .beh-dash-course .beh-progress-head {
        font-size: 13.5px !important;
        margin-bottom: 5px !important;
    }

    .beh-dash-course .beh-progress-track {
        height: 7px !important;
        margin-bottom: 10px !important;
    }

    .beh-dash-actions {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 8px !important;
    }

    .beh-dash-actions .button {
        width: auto !important;
        justify-content: center;
        padding: 8px 14px !important;
        font-size: 13.5px !important;
        line-height: 1.25 !important;
    }
}

/* Google Auth Button & Divider (Flat Monochrome, Zero Shadow) */
.beh-google-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 13px 18px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #022179 !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.beh-google-btn:hover,
.beh-google-btn:focus {
    background: #F5F7FC;
    border-color: #022179;
    color: #022179 !important;
}

.beh-auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.beh-auth-divider::before,
.beh-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

/* Floating WhatsApp Button (Flat Monochrome, Zero Shadow, Zero Gradient) */
.beh-whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: #022179;
    border: 2px solid #5271FF;
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.beh-whatsapp-float i {
    font-size: 20px;
    line-height: 1;
}

.beh-whatsapp-float:hover,
.beh-whatsapp-float:focus {
    background: #5271FF;
    border-color: #022179;
    color: #ffffff !important;
}

@media (max-width: 575px) {
    .beh-whatsapp-float {
        right: 14px;
        bottom: 14px;
        padding: 11px 14px;
        font-size: 13.5px;
    }
}

/* Quick Donation Amount Selector (Flat Monochrome) */
.beh-amount-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.beh-amount-btn {
    padding: 12px 10px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: #022179;
    font-size: 14.5px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.beh-amount-btn:hover {
    background: #F5F7FC;
    border-color: #022179;
}

.beh-amount-btn.is-active {
    background: #022179;
    border-color: #022179;
    color: #ffffff;
}

@media (max-width: 575px) {
    .beh-amount-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* LMS Tabs (Flat Monochrome) */
.beh-tabs {
    display: flex;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 6px;
    margin-bottom: 24px;
}

.beh-tab-btn {
    flex: 1;
    padding: 13px 18px;
    border: none;
    background: transparent;
    color: #475569;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.beh-tab-btn:hover {
    background: #F5F7FC;
    color: #022179;
}

.beh-tab-btn.is-active {
    background: #022179;
    color: #ffffff;
}

.beh-tab-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    background: #DCE6FF;
    color: #022179;
}

.beh-tab-btn.is-active .beh-tab-badge {
    background: #5271FF;
    color: #ffffff;
}

.beh-tab-panel {
    display: none;
}

.beh-tab-panel.is-active {
    display: block;
}

/* LMS Modules, Lessons, Video & Live Progress (Flat Monochrome) */
.beh-lms-progress-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 24px 28px;
    margin-bottom: 24px;
}

.beh-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #022179;
}

.beh-progress-track {
    width: 100%;
    height: 10px;
    background: #DCE6FF;
    overflow: hidden;
}

.beh-progress-fill {
    height: 100%;
    background: #022179;
    transition: width 0.25s ease;
}

.beh-lms-module {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.beh-lms-module__head {
    padding: 18px 24px;
    background: #F5F7FC;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    border-left: none;
    border-right: none;
    border-top: none;
    text-align: left;
    cursor: pointer;
}

.beh-lms-module__head:hover {
    background: #ebf0fa;
}

.beh-lms-module__right {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.beh-lms-module__chevron {
    color: #022179;
    font-size: 13px;
    transition: transform 0.2s ease;
}

.beh-lms-module.is-collapsed .beh-lms-module__head {
    border-bottom: none;
}

.beh-lms-module.is-collapsed .beh-lms-module__body {
    display: none;
}

.beh-lms-module.is-collapsed .beh-lms-module__chevron {
    transform: rotate(-90deg);
}

.beh-lms-sidebar__mod-btn {
    width: 100%;
    padding: 12px 18px;
    background: #F5F7FC;
    border: none;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13px;
    font-weight: 700;
    color: #022179;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
    cursor: pointer;
}

.beh-lms-sidebar__group.is-collapsed .beh-lms-sidebar__lessons {
    display: none;
}

.beh-lms-sidebar__group.is-collapsed .beh-lms-module__chevron {
    transform: rotate(-90deg);
}

.beh-lms-module__title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #022179;
}

.beh-lms-module__count {
    font-size: 12px;
    font-weight: 700;
    color: #5271FF;
    white-space: nowrap;
}

.beh-lms-lesson-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid #eef2f7;
    text-decoration: none;
    color: #022179;
    transition: background-color 0.15s ease;
}

.beh-lms-lesson-row:last-child {
    border-bottom: none;
}

.beh-lms-lesson-row:hover,
.beh-lms-lesson-row.is-active {
    background: #F5F7FC;
}

.beh-lms-lesson-row__left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.beh-lms-status-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #cbd5e1;
    color: #64748b;
    font-size: 13px;
}

.beh-lms-status-icon.is-done {
    background: #022179;
    border-color: #022179;
    color: #ffffff;
}

.beh-lms-lesson-title {
    font-size: 14.5px;
    font-weight: 600;
    color: #022179;
    display: block;
}

.beh-lms-lesson-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 3px;
    font-size: 12px;
    color: #64748b;
}

.beh-badge-video {
    display: inline-block;
    padding: 2px 8px;
    background: #DCE6FF;
    color: #022179;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.beh-badge-live {
    display: inline-block;
    padding: 2px 8px;
    background: #022179;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.beh-badge-available {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    background: #DCE6FF;
    color: #022179;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}

.beh-badge-locked {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    background: #eef2f7;
    color: #475569;
    border: 1px solid #cbd5e1;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}

.beh-mod-notice {
    padding: 12px 24px;
    background: #F5F7FC;
    border-bottom: 1px solid #e2e8f0;
    color: #022179;
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.beh-lms-lesson-row.is-locked {
    cursor: default;
    opacity: 0.82;
}

.beh-lms-lesson-row.is-locked:hover {
    background: #ffffff;
}

.beh-video-stage {
    background: #010F33;
    border: 1px solid #022179;
    margin-bottom: 20px;
}

.beh-video-stage video {
    width: 100%;
    max-height: 460px;
    display: block;
    background: #000000;
}

.beh-live-stage {
    background: #022179;
    color: #ffffff;
    padding: 44px 32px;
    text-align: center;
    margin-bottom: 20px;
}

.beh-live-stage h3 {
    color: #ffffff;
    margin: 14px 0 10px;
    font-size: 24px;
}

.beh-live-stage p {
    color: #DCE6FF;
    max-width: 560px;
    margin: 0 auto 24px;
    font-size: 14.5px;
}

.beh-lms-sidebar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.beh-lms-sidebar__head {
    padding: 18px 20px;
    background: #022179;
    color: #ffffff;
}

.beh-lms-sidebar__head h5 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 15px;
}

.beh-lms-sidebar__mod {
    padding: 12px 18px;
    background: #F5F7FC;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 12.5px;
    font-weight: 700;
    color: #022179;
}

.beh-lms-sidebar .beh-lms-lesson-row {
    padding: 12px 18px;
}

/* Compact Formation Cards */
.beh-formation-card .causes-item__body {
    padding: 20px !important;
}

.beh-formation-card__img {
    height: 175px !important;
    margin-bottom: 18px !important;
}

.beh-formation-card .causes-item__title {
    font-size: 18px !important;
    margin-bottom: 10px !important;
}

.beh-formation-card .causes-item__top p {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
}

/* Service icon & pill header when cards have no image */
.beh-service-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.beh-service-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 230, 255, 0.14);
    border: 1px solid rgba(220, 230, 255, 0.28);
    color: #DCE6FF;
    font-size: 20px;
}

.beh-service-pill {
    display: inline-block;
    padding: 4px 12px;
    background: #DCE6FF;
    color: #022179;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

/* 5. Gallery Grid & Filters (Flat Monochrome) */
.beh-gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.beh-filter-btn {
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 1.5px solid #d9e1f2;
    background: #ffffff;
    color: #022179;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.beh-filter-btn:hover,
.beh-filter-btn.is-active {
    background: #022179;
    border-color: #022179;
    color: #ffffff;
}

.beh-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.beh-gallery-card {
    display: block;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    text-decoration: none;
}

.beh-gallery-card__img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    object-position: center 22%;
    display: block;
    transition: transform 0.3s ease;
}

.beh-gallery-card:hover .beh-gallery-card__img {
    transform: scale(1.03);
}

.beh-gallery-card__cap {
    padding: 14px 16px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.beh-gallery-card__title {
    font-size: 14px;
    font-weight: 700;
    color: #022179;
    margin: 0;
}

.beh-gallery-card__tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    background: #DCE6FF;
    color: #022179;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .beh-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .beh-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* 4. Partners Row */
.beh-partners-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 16px 0 56px;
}

.beh-partners-row img {
    max-height: 64px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 767px) {
    html,
    body,
    .page-wrapper {
        overflow-x: hidden;
    }

    .section {
        padding: 48px 0 !important;
    }

    .header.header--front_3 {
        height: 62px !important;
    }

    .header-logo__img {
        max-height: 28px !important;
    }

    .header.header--front_3 .button--squared {
        height: 34px !important;
        line-height: 32px !important;
        padding: 0 12px !important;
        font-size: 11.5px !important;
    }

    .header.header--front_3 .dropdown-trigger {
        margin-left: 10px;
    }

    /* Hero & Inner Banners — 100% visible, zero clipping */
    .promo-primary .align-container {
        display: block !important;
        height: auto !important;
        padding: 40px 0 !important;
    }

    .promo-primary .align-container__item {
        display: block !important;
    }

    .promo-primary__description {
        display: none !important;
    }

    .promo-primary--event .align-container {
        height: auto !important;
        min-height: 0 !important;
        padding: 36px 0 40px !important;
    }

    .promo-primary__pre-title {
        font-size: 16px !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
    }

    .promo-primary__title {
        font-size: 26px !important;
        line-height: 1.22 !important;
        word-wrap: break-word;
    }

    .promo--front_3 .promo-slider .align-container {
        height: auto !important;
        min-height: 480px !important;
        padding: 44px 0 96px !important;
    }

    .promo-slider__title {
        font-size: 30px !important;
        line-height: 1.18 !important;
    }

    .promo-slider__subtitle {
        font-size: 15px !important;
        line-height: 1.55 !important;
    }

    .beh-banner-meta {
        gap: 10px 16px;
        font-size: 14px !important;
        margin-top: 16px;
    }

    .beh-banner-actions {
        margin-top: 22px;
    }

    .beh-banner-actions .button {
        padding: 13px 20px !important;
        font-size: 13.5px !important;
    }

    /* Ensure all lesson rows, text, and badges wrap cleanly with zero cutoff */
    .beh-lms-lesson-row {
        flex-wrap: wrap;
        padding: 14px 16px;
        gap: 10px;
    }

    .beh-lms-lesson-row__left {
        flex: 1 1 220px;
    }

    .beh-lms-lesson-title {
        font-size: 15px !important;
        word-break: break-word;
    }

    /* Mobile drawer always full-height scrollable */
    .aside-dropdown__inner {
        width: 100% !important;
        max-width: 320px !important;
        padding: 64px 0 36px !important;
    }

    /* Cards & Boxes */
    .beh-event-box,
    .beh-lms-progress-card {
        padding: 20px 18px !important;
    }

    .beh-contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .row.align-items-end.margin-bottom .col-sm-4 {
        margin-top: 18px;
    }

    /* Dashboard */
    .beh-dash-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .beh-stat-card {
        padding: 14px 16px;
    }

    .beh-stat-card__label {
        font-size: 11.5px !important;
    }

    .beh-stat-card__value {
        font-size: 24px !important;
    }

    .beh-dash-table th,
    .beh-dash-table td {
        white-space: nowrap;
        font-size: 13.5px !important;
        padding: 10px 8px;
    }

    /* LMS Modules & Lessons */
    .beh-lms-module__head {
        padding: 14px 16px;
        flex-wrap: wrap;
        gap: 6px;
    }

    .beh-lms-module__title {
        font-size: 16px !important;
    }

    .beh-lms-lesson-row {
        padding: 14px 16px;
        gap: 10px;
    }

    .beh-lms-lesson-title {
        font-size: 14.5px !important;
    }

    .beh-video-stage video {
        max-height: 250px;
    }

    .beh-live-stage {
        padding: 28px 18px;
    }

    .beh-live-stage h3 {
        font-size: 20px;
    }

    /* Modals */
    .beh-modal-backdrop {
        padding: 12px;
        align-items: flex-start;
    }

    .beh-modal__header {
        padding: 16px 18px;
    }

    .beh-modal__title {
        font-size: 16px;
    }

    .beh-modal__body {
        padding: 18px;
    }
}

@media (max-width: 575px) {
    .beh-event-meta li {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .beh-event-meta .meta-value {
        text-align: left;
    }

    .beh-banner-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .beh-banner-actions .button {
        width: 100%;
        justify-content: center;
    }

    .beh-tabs {
        flex-direction: column;
    }

    .beh-tab-btn {
        width: 100%;
        padding: 12px 14px;
        font-size: 14.5px;
    }
}
