/* =============================================
   CARTANTS — bootcamp.css
   Bootcamp page styles — Figma exact match
   ============================================= */

/* ── HERO ── */
.bc-hero {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 140px 100px 100px;
    gap: 64px;
    min-height: 700px;
    background: linear-gradient(107.49deg, #3A4278 7.25%, #515DA9 61.84%, #7661B4 95.34%);
    border-bottom: 4px solid #222747;
    position: relative;
    overflow: hidden;
}
.bc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(118,97,180,0.3) 0%, transparent 70%);
    pointer-events: none;
}
.bc-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    max-width: 606px;
    flex: 1;
    z-index: 1;
}
.bc-hero__eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    letter-spacing: .08em;
    text-transform: uppercase;
}
.bc-hero__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 52px;
    line-height: 1.1;
    color: #fff;
    margin: 0;
}
.bc-hero__title span { color: #C4B5FD; }
.bc-hero__desc {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: rgba(255,255,255,0.8);
    margin: 0;
    max-width: 500px;
}
.bc-hero__counters {
    display: flex;
    flex-direction: row;
    gap: 12px;
    flex-wrap: wrap;
}
.bc-counter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 12px 8px;
    width: 130px;
    background: rgba(254,254,254,0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    gap: 4px;
}
.bc-counter__num {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1;
    color: #fff;
}
.bc-counter__num span {
    font-size: 18px;
    font-weight: 600;
    color: #C4B5FD;
}
.bc-counter__label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.bc-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.bc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 100px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all .18s;
    white-space: nowrap;
}
.bc-btn--white { background: #fff; color: #3A4278; }
.bc-btn--white:hover { background: #F0F1FA; color: #3A4278; }
.bc-btn--outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.bc-btn--outline:hover { border-color: #fff; }
.bc-btn--primary { background: linear-gradient(107deg,#7661B4,#0D23AC); color: #fff !important; }
.bc-btn--primary:hover { opacity: .9; }
.bc-hero__image {
    width: 480px;
    height: 480px;
    border-radius: 24px;
    object-fit: cover;
    flex-shrink: 0;
    z-index: 1;
}

/* ── TRUSTED LOGOS (same as homepage) ── */
.bc-logos {
    background: #fff;
    padding: 20px 100px;
    border-bottom: 1px solid #EAECF6;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 40px;
}
.bc-logos__label {
    font-family: 'Montserrat',sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #C9CDE4;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}
.bc-logos__track-wrap { flex: 1; overflow: hidden; }
.bc-logos__track {
    display: flex;
    gap: 48px;
    align-items: center;
    animation: bcScroll 20s linear infinite;
    width: max-content;
}
@keyframes bcScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.bc-logos__track img { height: 32px; opacity: .55; filter: grayscale(1); transition: opacity .2s; }
.bc-logos__track img:hover { opacity: 1; filter: none; }

/* ── UPCOMING SESSIONS ── */
.bc-sessions {
    padding: 80px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    background: #F8F9FF;
}
.bc-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    max-width: 700px;
}
.bc-section-header__eyebrow {
    font-family: 'Montserrat',sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #7661B4;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.bc-section-header__title {
    font-family: 'Montserrat',sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 46px;
    color: #222747;
    margin: 0;
}
.bc-section-header__desc {
    font-family: 'Montserrat',sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #6B7280;
    margin: 0;
}
/* Sessions carousel */
.bc-sessions-carousel {
    position: relative;
    width: 100%;
    max-width: 1241px;
}
.bc-sessions-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
}
.bc-sessions-track::-webkit-scrollbar { display: none; }
.bc-sessions-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid #EAECF6;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all .15s;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.bc-sessions-arrow:hover { border-color: #7661B4; background: #EEF0FB; }
.bc-sessions-arrow--prev { left: -22px; }
.bc-sessions-arrow--next { right: -22px; }
/* Session card */
.bc-scard {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 8px;
    gap: 8px;
    min-width: 398px;
    max-width: 398px;
    background: rgba(251,251,253,0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.8);
    scroll-snap-align: start;
    flex-shrink: 0;
    box-shadow: 0 4px 24px rgba(34,39,71,.06);
    transition: transform .2s, box-shadow .2s;
}
.bc-scard:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(34,39,71,.1); }
.bc-scard__img {
    width: 100%;
    height: 221px;
    object-fit: cover;
    border-radius: 16px;
    flex-shrink: 0;
    background: #C9CDE4;
}
.bc-scard__body { display: flex; flex-direction: column; gap: 8px; padding: 4px 4px 0; }
.bc-scard__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 32px;
    font-family: 'Montserrat',sans-serif;
    font-weight: 700;
    font-size: 11px;
    align-self: flex-start;
}
.bc-scard__badge--upcoming { background: #ECFEEE; color: #15803D; }
.bc-scard__badge--past     { background: #F3F4F6; color: #6B7280; }
.bc-scard__badge--open     { background: #EFF6FF; color: #1D4ED8; }
.bc-scard__name {
    font-family: 'Montserrat',sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 26px;
    color: #222747;
    margin: 0;
}
.bc-scard__desc {
    font-family: 'Montserrat',sans-serif;
    font-size: 13px;
    line-height: 20px;
    color: #6B7280;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bc-scard__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.bc-scard__meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(0,0,0,0.035);
    border-radius: 32px;
    font-family: 'Montserrat',sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #3A4278;
}
.bc-scard__meta-pill svg { opacity: .6; }
.bc-scard__footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 8px 0 0;
    border-top: 1px solid rgba(254,254,254,0.35);
    margin-top: 4px;
}
.bc-scard__footer-btn {
    flex: 1;
    padding: 9px 0;
    border-radius: 12px;
    font-family: 'Montserrat',sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all .15s;
    display: flex; align-items: center; justify-content: center;
}
.bc-scard__footer-btn--learn { background: rgba(118,97,180,.1); color: #7661B4; }
.bc-scard__footer-btn--learn:hover { background: rgba(118,97,180,.2); }
.bc-scard__footer-btn--enroll { background: linear-gradient(107deg,#7661B4,#0D23AC); color: #fff !important; }
.bc-scard__footer-btn--enroll:hover { opacity: .9; }
.bc-scard__footer-btn--disabled { background: #F3F4F6; color: #9CA3AF; cursor: default; }

/* ── WHY CARTANTS ── */
.bc-why {
    padding: 80px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}
.bc-why__boxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 1241px;
}
.bc-why__box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px;
    background: #F8F9FF;
    border-radius: 20px;
    border: 1px solid #EAECF6;
    transition: transform .2s, box-shadow .2s;
}
.bc-why__box:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(34,39,71,.07); }
.bc-why__icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: linear-gradient(107deg,rgba(118,97,180,.12),rgba(13,35,172,.12));
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.bc-why__icon img { width: 24px; height: 24px; object-fit: contain; }
.bc-why__box-title {
    font-family: 'Montserrat',sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #222747;
    margin: 0;
}
.bc-why__box-desc {
    font-family: 'Montserrat',sans-serif;
    font-size: 13px;
    line-height: 20px;
    color: #6B7280;
    margin: 0;
}

/* ── HOW IT WORKS (numbered steps) ── */
.bc-how {
    padding: 80px 100px;
    background: #F8F9FF;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}
.bc-how__steps { display: flex; flex-direction: column; gap: 64px; width: 100%; max-width: 1241px; }
.bc-how__step {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 80px;
}
.bc-how__step--reverse { flex-direction: row-reverse; }
.bc-how__step-content { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.bc-how__step-num {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px; height: 64px;
    background: linear-gradient(107deg,#7661B4,#0D23AC);
    border-radius: 12px;
    font-family: 'Montserrat',sans-serif;
    font-weight: 800;
    font-size: 26px;
    color: #fff;
    flex-shrink: 0;
}
.bc-how__step-label {
    font-family: 'Montserrat',sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #7661B4;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.bc-how__step-title {
    font-family: 'Montserrat',sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 36px;
    color: #222747;
    margin: 0;
}
.bc-how__step-desc {
    font-family: 'Montserrat',sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #6B7280;
    margin: 0;
}
.bc-how__step-img {
    width: 440px;
    height: 320px;
    object-fit: cover;
    border-radius: 24px;
    flex-shrink: 0;
}

/* ── NUMBERS ── */
.bc-numbers {
    padding: 80px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    background: linear-gradient(107deg,#3A4278 7.25%,#515DA9 61.84%,#7661B4 95.34%);
}
.bc-numbers .bc-section-header__title { color: #fff; }
.bc-numbers .bc-section-header__eyebrow { color: rgba(196,181,253,.8); }
.bc-numbers .bc-section-header__desc { color: rgba(255,255,255,.7); }
.bc-numbers__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 1241px;
}
.bc-num-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px 24px;
    gap: 8px;
    background: rgba(254,254,254,0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.15);
    text-align: center;
}
.bc-num-card__value {
    font-family: 'Montserrat',sans-serif;
    font-weight: 800;
    font-size: 44px;
    line-height: 1;
    color: #fff;
}
.bc-num-card__label {
    font-family: 'Montserrat',sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,.7);
    text-align: center;
}

/* ── GALLERY ── */
.bc-gallery {
    padding: 80px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.bc-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
    width: 100%;
    max-width: 1241px;
}
.bc-gallery__item {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #C9CDE4;
}
.bc-gallery__item--wide { grid-column: span 2; }
.bc-gallery__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}
.bc-gallery__item:hover img { transform: scale(1.04); }

/* ── CTA / REGISTRATION ── */
.bc-cta {
    padding: 80px 100px;
    background: linear-gradient(107deg,#3A4278 7.25%,#515DA9 61.84%,#7661B4 95.34%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.bc-cta .bc-section-header__title { color: #fff; }
.bc-cta .bc-section-header__desc { color: rgba(255,255,255,.75); }
.bc-form-card {
    background: linear-gradient(107deg,rgba(118,97,180,.5) 7.25%,rgba(81,93,169,.5) 40.75%,rgba(58,66,120,.5) 95.34%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    border: 1px solid rgba(255,255,255,.2);
    padding: 48px;
    width: 100%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.bc-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bc-form__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bc-form__group--full { grid-column: span 2; }
.bc-form__label {
    font-family: 'Montserrat',sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,.75);
    letter-spacing: .04em;
}
.bc-form__input,
.bc-form__select,
.bc-form__textarea {
    background: rgba(255,255,255,.1);
    border: 1.5px solid rgba(255,255,255,.2);
    border-radius: 12px;
    padding: 12px 14px;
    font-family: 'Montserrat',sans-serif;
    font-size: 14px;
    color: #fff;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    transition: border-color .15s;
}
.bc-form__input::placeholder,
.bc-form__textarea::placeholder { color: rgba(255,255,255,.4); }
.bc-form__input:focus,
.bc-form__select:focus,
.bc-form__textarea:focus { border-color: rgba(196,181,253,.7); }
.bc-form__select option { background: #3A4278; color: #fff; }
.bc-form__textarea { resize: vertical; min-height: 90px; }
/* CV upload */
.bc-form__upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    background: rgba(255,255,255,.06);
    border: 2px dashed rgba(255,255,255,.25);
    border-radius: 16px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    text-align: center;
}
.bc-form__upload:hover { border-color: rgba(196,181,253,.6); background: rgba(255,255,255,.1); }
.bc-form__upload input { display: none; }
.bc-form__upload-icon {
    width: 40px; height: 40px;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.bc-form__upload-text { font-family:'Montserrat',sans-serif; font-size:13px; font-weight:600; color:rgba(255,255,255,.8); }
.bc-form__upload-hint { font-size:11px; color:rgba(255,255,255,.45); }
.bc-form__submit {
    width: 100%;
    padding: 14px;
    background: #fff;
    color: #3A4278 !important;
    border: none;
    border-radius: 100px;
    font-family: 'Montserrat',sans-serif;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: all .15s;
    margin-top: 4px;
}
.bc-form__submit:hover { background: #EEF0FB; transform: translateY(-1px); }

/* ── PAST SESSIONS ── */
.bc-past {
    padding: 80px 100px;
    background: #F8F9FF;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* ── REGISTRATION SUCCESS POPUP ── */
.bc-popup-overlay {
    position: fixed; inset: 0;
    background: rgba(13,23,74,.6);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.bc-popup-overlay.is-open { display: flex; }
.bc-popup {
    background: #fff;
    border-radius: 28px;
    padding: 48px 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 80px rgba(13,35,172,.2);
}
.bc-popup__icon {
    width: 72px; height: 72px;
    background: linear-gradient(107deg,#7661B4,#0D23AC);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.bc-popup__title { font-family:'Montserrat',sans-serif; font-weight:800; font-size:26px; color:#222747; margin:0 0 10px; }
.bc-popup__desc  { font-family:'Montserrat',sans-serif; font-size:15px; color:#6B7280; margin:0 0 28px; line-height:24px; }
.bc-popup__btn { padding:12px 40px; border-radius:100px; }

/* ── SESSION DETAIL PAGE ── */
.bc-detail {
    max-width: 900px;
    margin: 120px auto 80px;
    padding: 0 24px;
}
.bc-detail__hero-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 24px;
    margin-bottom: 32px;
}
.bc-detail__title { font-family:'Montserrat',sans-serif; font-weight:800; font-size:40px; color:#222747; margin:0 0 16px; }
.bc-detail__meta { display:flex; flex-wrap:wrap; gap:12px; margin-bottom:28px; }
.bc-detail__enroll { margin-top:32px; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .bc-hero { padding: 120px 40px 80px; gap: 40px; }
    .bc-hero__title { font-size: 40px; }
    .bc-hero__image { width: 380px; height: 380px; }
    .bc-sessions { padding: 60px 40px; }
    .bc-why { padding: 60px 40px; }
    .bc-why__boxes { grid-template-columns: repeat(2, 1fr); }
    .bc-how { padding: 60px 40px; }
    .bc-numbers { padding: 60px 40px; }
    .bc-gallery { padding: 60px 40px; }
    .bc-cta { padding: 60px 40px; }
    .bc-past { padding: 60px 40px; }
}
@media (max-width: 900px) {
    .bc-hero { flex-direction: column; text-align: center; align-items: center; padding: 100px 24px 60px; }
    .bc-hero__content { align-items: center; max-width: 100%; }
    .bc-hero__image { width: 100%; max-width: 440px; height: 300px; }
    .bc-hero__counters { justify-content: center; }
    .bc-hero__actions { justify-content: center; }
    .bc-how__step { flex-direction: column; gap: 32px; }
    .bc-how__step--reverse { flex-direction: column; }
    .bc-how__step-img { width: 100%; height: 240px; }
    .bc-numbers__grid { grid-template-columns: repeat(2, 1fr); }
    .bc-gallery__grid { grid-template-columns: 1fr 1fr; }
    .bc-gallery__item--wide { grid-column: span 2; }
    .bc-sessions-arrow { display: none; }
    .bc-logos { padding: 16px 24px; }
}
@media (max-width: 640px) {
    .bc-hero { padding: 90px 16px 48px; }
    .bc-hero__title { font-size: 28px; }
    .bc-hero__counters { gap: 8px; }
    .bc-counter { width: 80px; padding: 10px 6px; }
    .bc-counter__num { font-size: 22px; }
    .bc-hero__actions { flex-direction: column; align-items: stretch; }
    .bc-btn { text-align: center; }
    .bc-sessions { padding: 48px 16px; }
    .bc-scard { min-width: calc(100vw - 64px); max-width: calc(100vw - 64px); }
    .bc-why { padding: 48px 16px; }
    .bc-why__boxes { grid-template-columns: 1fr; }
    .bc-how { padding: 48px 16px; }
    .bc-numbers { padding: 48px 16px; }
    .bc-numbers__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .bc-num-card__value { font-size: 32px; }
    .bc-gallery { padding: 48px 16px; }
    .bc-gallery__grid { grid-template-columns: 1fr; }
    .bc-gallery__item--wide { grid-column: span 1; }
    .bc-cta { padding: 48px 16px; }
    .bc-form-card { padding: 24px 16px; }
    .bc-form__row { grid-template-columns: 1fr; }
    .bc-form__group--full { grid-column: span 1; }
    .bc-past { padding: 48px 16px; }
}
