/* ============================================================
   Resonance e-Learning — course-detail design system
   ============================================================ */
:root {
    --navy-900: #0a1746;
    --navy-800: #122a6e;
    --navy-700: #1c3c93;
    --navy: #16296f;
    --ink: #14224f;
    --lime: #C1E251;
    --lime-600: #93c53a;
    --yellow: #f4c53f;
    --text: #4b5563;
    --muted: #6b7280;
    --line: #e6e9f0;
    --card: #ffffff;
    --bg: #f6f8fc;
    --bg-alt: #eef2fa;
    --radius: 16px;
    --radius-lg: 22px;
    --shadow: 0 10px 30px rgba(20, 39, 110, 0.08);
    --shadow-sm: 0 4px 14px rgba(20, 39, 110, 0.06);
    --maxw: 1240px;
    --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html.rs { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: #fff;
    font-size: 16px;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img {display: block; }

.rs-container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Announcement bar ---------- */
.rs-announce { background: linear-gradient(129.95deg, #061D44 0%, #264698 100%); color: #dfe6f5; font-size: 14px; }
.rs-announce__inner { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 11px 24px; flex-wrap: wrap; }
.rs-announce .rs-sep { opacity: .4; }
.rs-announce__link { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.rs-announce__link:hover { color: #fff; }

/* ---------- Header ---------- */
.rs-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.rs-header__inner { display: flex; align-items: center; gap: 24px; height: 76px; }

.rs-logo { display: inline-flex; align-items: center; }
.rs-logo__img { height: 38px; width: 176px; display: block; }
.rs-logo--light .rs-logo__img { height: 46px; width: 212px; }

.rs-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.rs-nav__item { font-weight: 600; color: var(--ink); font-size: 15px; white-space: nowrap; }
.rs-nav__item:hover { color: var(--navy-700); }
.rs-nav__item--modal { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.rs-caret { font-size: 10px; opacity: .6; }

.rs-header__actions { display: flex; align-items: center; gap: 12px; margin-left: 8px; }
.rs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; cursor: pointer; font-family: var(--font); font-weight: 600; border-radius: 10px; transition: .15s; }
.rs-btn--login { background: var(--navy-800); color: #fff; padding: 12px 22px; font-size: 15px; }
.rs-btn--login:hover { background: var(--navy-700); }
.rs-burger { display: none; background: none; border: none; font-size: 24px; color: var(--navy); cursor: pointer; }

/* ---------- Hero ---------- */
.rs-hero {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 46px 46px,
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 46px 46px,
        linear-gradient(120deg, var(--navy-800), var(--navy-700));
    color: #fff;
}
.rs-hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 60px 24px 70px; }
.rs-hero h1 {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 36px;
    color: #FFF;
}
.rs-hero__duration { color: var(--lime);
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 14px; }
.rs-hero__desc { font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    display: flex;
    align-items: center;
    color: #FFF;
    max-width: 560px; }
.rs-hero__subhead { font-size: 22px; font-weight: 700; margin: 0 0 14px; }
.rs-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.rs-chip { box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 4px 11px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3.35544e+07px;; font-weight: 600; font-size: 15px; }
.rs-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 15px; }
.rs-stars { color: var(--lime); letter-spacing: 2px; font-size: 16px; }
.rs-rating b { font-weight: 700; }
.rs-price-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.rs-price__old { color: #aab6d8; text-decoration: line-through; font-size: 18px; }
.rs-price__now { font-family: 'Oswald';
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    line-height: 47px;
    color: #FFF; }
.rs-btn--enrol { background: var(--lime);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 14px 18px;
    gap: 8px;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #000;
    border-radius: 12px;
}
.rs-btn--enrol:hover { background: var(--lime-600); }

.rs-hero__media { position: relative; }
.rs-video {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    aspect-ratio: 13 / 11;
    background:
        radial-gradient(120% 120% at 50% 0%, #f7d15a, var(--yellow));
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
    display: flex; align-items: center; justify-content: center;
}
.rs-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.35)); }
.rs-video__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rs-video__label { position: absolute; z-index: 2; bottom: 18px; left: 24px; color: #fff; font-weight: 700; font-size: 18px; }

/* ---------- Section scaffolding ---------- */
.rs-section {  margin-top: 60px;margin-bottom: 60px; }
.rs-section--alt { background: var(--bg);padding: 60px; }
.rs-appcta-section { padding: 62px 0; margin-top: 60px; }
.rs-section__title { font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 36px;
    display: flex;
    align-items: center;
    color: #061D44;color: var(--ink); margin: 0 0 12px; letter-spacing: -.4px; }
.rs-section__intro { font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #596475;
    max-width: 1000px; margin: 0 0 34px;  }

/* ---------- Class tabs ---------- */
.rs-tabs { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.rs-tab { display: inline-block; text-align: center; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; padding: 14px 30px; border-radius: 999px; font-size: 16px; cursor: pointer; font-family: var(--font); line-height: 1.2; }
.rs-tab:hover { border-color: var(--navy-700); color: var(--navy-700); }
.rs-tab.is-active, .rs-tab.is-active:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.rs-tab[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- Key features (dark card) ---------- */
.rs-features {
    background: linear-gradient(120deg, var(--navy-800), var(--navy-700));
    border-radius: var(--radius-lg); color: #fff; padding: 44px 48px;
    box-shadow: var(--shadow);
}
.rs-features h3 { font-size: 24px; font-weight: 700; margin: 0 0 26px; }
.rs-features__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 48px; }
.rs-feature { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; color: #eef2fb; }
.rs-feature .rs-tick { color: var(--lime); flex: 0 0 auto; margin-top: 2px; }

/* ---------- Cards grid (outcomes / audience) ---------- */
.rs-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rs-cardline { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; box-shadow: var(--shadow-sm); }
.rs-cardline__text { font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: rgba(5, 17, 39, 0.9);
}


.rs-cardline___text {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    color: #000;
}
.rs-ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.rs-ic--lime { background: var(--lime); color: var(--ink); }
.rs-ic--navy { background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); color: var(--lime); }

/* ---------- Why choose ---------- */
.rs-why { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.rs-why__body p { margin: 0 0 18px; color: var(--text); }
.rs-quote {background: var(--bg-alt); border-left: 5px solid var(--lime); border-radius: 16px; padding: 34px 36px; }
.rs-quote p { font-size: 22px; font-weight: 600; font-style: italic; color: var(--ink); margin: 0; line-height: 1.4; }

/* ---------- Related courses ---------- */
.rs-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.rs-course-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.rs-course-card__img { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #24345f, #37507f); position: relative; overflow: hidden; }
.rs-course-card__img img { width: 100%; height: 100%; object-fit: cover; }
.rs-course-card__img::after { content: "\25B6"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); font-size: 26px; }
.rs-course-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.rs-course-card__title { font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.rs-course-card__foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; }
.rs-course-card__price .old { color: #98a2c0; text-decoration: line-through; font-size: 14px; }
.rs-course-card__price .now { font-size: 22px; font-weight: 800; color: var(--ink); }
.rs-knowmore { font-weight: 700; color: var(--ink); display: inline-flex; gap: 6px; align-items: center; }
.rs-knowmore:hover { color: var(--navy-700); }

/* ---------- FAQ ---------- */
.rs-section__title--center {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-size: 36px;
    line-height: 54px;
    text-align: center;
    color: #011D42;
    justify-content: center;
    align-items: center;
}
.rs-faq { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.rs-faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); overflow: hidden; }
.rs-faq__q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; font-family: var(--font); font-weight: 700; color: var(--ink); font-size: 17px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rs-faq__q .rs-chev { transition: transform .2s; color: var(--navy-700); flex: 0 0 auto; }
.rs-faq__item.is-open .rs-chev { transform: rotate(180deg); }
.rs-faq__a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.rs-faq__a-inner { padding: 0 26px 22px;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    display: flex;
    align-items: center;
    color: #5D646F;
}

/* ---------- Footer ---------- */
.rs-footer {
    background:
        linear-gradient(180deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 46px 46px,
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 46px 46px,
        linear-gradient(116.44deg, #002142 0%, #0A335C 50%, #1F4D7A 100%);
    color: #cdd6ec;
    margin-top: 10px;
}
.rs-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 56px 24px 30px; }
.rs-footer__brand p { font-size: 14px; color: #aeb9d6; margin: 18px 0 0; max-width: 380px; }
.rs-footer__col h4 { color: var(--lime); font-size: 15px; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 18px; }
.rs-footer__col a, .rs-footer__col p { display: block; color: #cdd6ec; margin: 0 0 12px; font-size: 15px; }
.rs-footer__col a:hover { color: #fff; }
.rs-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 24px 40px; text-align: center; }
.rs-footer__bottom p { margin: 4px 0; font-size: 14px; color: #9fabcc; }

/* ---------- Buttons: extra variants ---------- */
.rs-btn--ghost { background: #fff; color: var(--navy-800); border: 1px solid var(--navy-800); padding: 11px 20px; font-size: 15px; }
.rs-btn--ghost:hover { background: var(--bg-alt); }
.rs-btn--block { width: 100%; margin-top: 8px; }
.rs-logout-form { margin: 0; }

/* ---------- Auth cards ---------- */
.rs-authcard { max-width: 460px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 40px 40px 34px; }
.rs-auth__title { font-size: 26px; font-weight: 800; color: var(--ink); margin: 0 0 6px; }
.rs-auth__sub { color: var(--muted); margin: 0 0 24px; }
.rs-form { display: flex; flex-direction: column; gap: 16px; }
.rs-field { display: flex; flex-direction: column; gap: 7px; }
.rs-field > span { font-weight: 600; color: var(--ink); font-size: 14px; }
.rs-field > span em { font-style: normal; color: var(--muted); font-weight: 400; }
.rs-field input, .rs-field select {
    font-family: var(--font); font-size: 15px; color: var(--ink);
    border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff; width: 100%;
}
.rs-field input:focus, .rs-field select:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(28,60,147,.12); }
.rs-form-actions { display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.rs-form-actions .rs-btn { flex: 1 1 200px; }
.rs-check { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 14px; }
.rs-check input { width: 16px; height: 16px; }
.rs-auth__foot { text-align: center; margin: 22px 0 0; color: var(--muted); }
.rs-auth__foot a { color: var(--navy-700); font-weight: 600; }

/* ---------- Alerts ---------- */
.rs-alert { border-radius: 12px; padding: 14px 18px; margin: 0 0 18px; font-size: 14.5px; }
.rs-alert--error { background: #fdecec; color: #b42318; border: 1px solid #f6c9c4; }
.rs-alert--ok { background: #edf7e8; color: #2f6b1f; border: 1px solid #cfe8bf; }

/* ---------- My Courses ---------- */
.rs-mycourses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rs-mycourses__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.rs-mycourses__actions .rs-btn { padding: 10px 16px; font-size: 14px; }
.rs-empty { text-align: center; color: var(--muted); padding: 40px 0; }
.rs-mycourses-empty {
    max-width: 480px; margin: 24px auto 0; text-align: center; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 48px 32px; box-shadow: var(--shadow-sm);
}
.rs-mycourses-empty__icon {
    width: 64px; height: 64px; border-radius: 50%; background: var(--bg-alt); color: var(--navy-700);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.rs-mycourses-empty h2 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.rs-mycourses-empty p { color: var(--text); font-size: 15px; line-height: 1.6; margin: 0 0 26px; }

@media (max-width: 768px) {
    .rs-mycourses { grid-template-columns: 1fr; }
}

/* ============================================================
   v2 — hub / landing / listing / commerce components
   ============================================================ */

/* ---------- Mega-menu dropdowns ---------- */
.rs-nav__wrap { position: relative; }
.rs-drop {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
    min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow); padding: 12px; opacity: 0; visibility: hidden; transition: .16s;
    z-index: 60;
}
.rs-nav__wrap:hover .rs-drop,
.rs-nav__wrap:focus-within .rs-drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.rs-drop__group + .rs-drop__group { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
.rs-drop__label { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 6px 10px; }
.rs-drop a { display: block; padding: 9px 10px; border-radius: 9px; font-size: 14.5px; color: var(--ink); font-weight: 500; white-space: nowrap; }
.rs-drop a:hover { background: var(--bg); color: var(--navy-700); }
.rs-drop--wide { min-width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; }

/* ---------- Hub hero (exam landing) ---------- */
.rs-hubhero {
    background:
        linear-gradient(180deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 46px 46px,
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 46px 46px,
        linear-gradient(120deg, var(--navy-900), var(--navy-700));
    color: #fff;
}
.rs-hubhero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 56px 24px 64px; }
.rs-hubhero__eyebrow { font-size: 13px; letter-spacing: 2.4px; text-transform: uppercase; color: #cdd8f2; font-weight: 600; margin-bottom: 14px; }
.rs-hubhero__eyebrow--plain { font-size: 28px; letter-spacing: normal; text-transform: none; color: #fff; font-weight: 500; margin-bottom: 10px; }
.rs-hubhero h1 { font-size: 44px; line-height: 1.12; font-weight: 800; margin: 0 0 18px; letter-spacing: -.6px; text-transform: uppercase; }
.rs-hubhero__eyebrows{
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-size: 36px;
    line-height: 54px;
    color: #FFFFFF;
}
.rs-hl { background: var(--lime); font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    font-size: 52px;
    line-height: 65px;
    letter-spacing: -1.44px;
    text-transform: uppercase;
    color: #011D42;
    padding: 2px 12px; border-radius: 4px; }
.rs-hubhero__desc { font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: #FFF;
    max-width: 560px; margin: 0 0 26px; }
.rs-hubhero__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.rs-btn--onDark { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); padding: 15px 26px; font-size: 16px; }
.rs-btn--onDark:hover { background: rgba(255,255,255,.1); }
.rs-hubhero__media {
    border: 1px solid rgba(255,255,255,.35);
    border-radius: var(--radius-lg);
    aspect-ratio: 16 / 9;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    height: auto;
    border-radius: 20px;
}
.rs-hubhero__media img { width: 100%; height: 100%; object-fit: cover; }
.rs-hubhero__media--photo { width: 100%; min-width: 0; aspect-ratio: 1232 / 808; border: none; }

/* ---------- Hero banner slider (2 exam banners, one hero section) ---------- */
/* No padding of its own — each slide re-applies .rs-container so the scroll
   track stays full-bleed (avoids a scroll-snap + padding offset artifact). */
/* flex + align-items:flex-start (not grid) so each slide sizes to its OWN content —
   a grid places every slide in one shared row, which stretches every slide to match
   the tallest one, leaving a big blank gap under any shorter slide/slide content. */
.rs-heroslider { display: flex; align-items: flex-start; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rs-heroslider::-webkit-scrollbar { display: none; }
.rs-heroslide { flex: 0 0 100%; scroll-snap-align: start; min-width: 0; }
/* Two-line lime-highlighted headline (BITSAT hero pattern), reused for the slider banners. */
.hero-title .rs-hl { display: table; }
.hero-title .rs-hl:first-child { margin-bottom: 14px; }
.rs-heroslider__nav { display: flex; gap: 10px; justify-content: center; padding: 0 0 48px; }

/* Homepage hero: tighter than the hub-page hero (no fixed page heading above it,
   and the request/feedback was specifically to reduce the empty space here). */
.rs-home-hero .rs-hubhero__inner { padding: 36px 24px 40px; }
.rs-home-hero .rs-heroslider__nav { padding: 0 0 24px; }
@media (max-width: 768px) {
    .rs-home-hero .rs-hubhero__inner { padding: 24px 20px 24px; gap: 20px; }
}
.rs-heroslider__nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.rs-heroslider__nav button:hover { background: rgba(255,255,255,.15); }

/* ---------- Featured course cards (landing + listing) ---------- */
.rs-featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.rs-featured-grid--3 { grid-template-columns: repeat(3, 1fr); }
.rs-featured-grid.rs-is-hidden, .rs-featured-grid--3.rs-is-hidden { display: none; }
.rs-fcard {
    position: relative; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
    padding: 18px; display: flex; flex-direction: column; gap: 14px;
}
.rs-fcard__img { border-radius: 14px; overflow: hidden; aspect-ratio: 16/9; background: linear-gradient(135deg, #24345f, #37507f); position: relative; }
.rs-fcard__img img { width: 100%; height: 100%; object-fit: cover; }
.rs-fcard__batch { font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.rs-fcard__title { font-size: 19px; font-weight: 700; color: var(--ink); line-height: 1.3; margin: -6px 0 2px; }
.rs-fcard__duration { font-size: 13px; font-weight: 600; color: var(--navy-700); margin: -2px 0 4px; }
.rs-fcard__what { font-size: 11.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.rs-fcard__list { display: flex; flex-direction: column; gap: 11px; }
.rs-fcard__row { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.rs-fcard__row svg, .rs-fcard__row .rs-gl { flex: 0 0 auto; color: var(--navy-700); margin-top: 2px; }
.rs-fcard__foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 6px; gap: 12px; flex-wrap: wrap; }
.rs-badge-best {
    position: absolute; top: -1px; left: -1px; z-index: 2;
    background: #e63946; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .8px;
    padding: 7px 14px; border-radius: 14px 0 12px 0;
}

/* ---------- Feature group cards (detail page, 1-3 up) ---------- */
.rs-featgroups { display: grid; gap: 24px; }
.rs-featgroups--1 { grid-template-columns: 1fr; }
.rs-featgroups--2 { grid-template-columns: 1fr 1fr; }
.rs-featgroups--3 { grid-template-columns: repeat(3, 1fr); }
.rs-featcard { border-radius: var(--radius-lg); padding: 34px 32px; box-shadow: var(--shadow-sm); }
.rs-featcard h3 { font-size: 21px; font-weight: 700; margin: 0 0 22px; }
.rs-featcard--dark { background: linear-gradient(120deg, var(--navy-800), var(--navy-700)); color: #fff; }
.rs-featcard--dark h3 { color: #fff; }
.rs-featcard--light { background: #fff; border: 1px solid var(--line); }
.rs-featcard--light h3 { color: var(--ink); }
.rs-featcard__list { display: flex; flex-direction: column; gap: 13px; }
.rs-featcard--dark .rs-feature { color: #eef2fb; }
.rs-featcard--light .rs-feature { color: var(--ink); }
.rs-featcard--light .rs-tick { color: var(--navy-700); }
/* single dark card keeps the original 2-col tick layout */
.rs-featgroups--1 .rs-featcard__list { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 48px; }

/* ---------- Comparison table ---------- */
.rs-compare { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.rs-compare table { width: 100%; border-collapse: collapse; min-width: 720px; }
.rs-compare th, .rs-compare td { padding: 16px 18px; text-align: center; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.rs-compare thead th { background: var(--navy-800); color: #fff; font-weight: 600; font-size: 13.5px; }
.rs-compare tbody th { text-align: left; font-weight: 600; color: var(--ink); }
.rs-compare tbody tr:last-child th, .rs-compare tbody tr:last-child td { border-bottom: none; }
.rs-compare tbody tr:nth-child(even) { background: var(--bg-alt); }
.rs-compare .yes { display: inline-flex; color: var(--navy-800); }
.rs-compare .yes svg { stroke-width: 2.6; }
.rs-compare .no { color: #c3cad9; font-size: 17px; }

/* ---------- Stats band ---------- */
.rs-stats { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #fff; padding: 58px 0; }
.rs-stats h2 { font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-size: 28px;
    line-height: 48px;
    display: flex;
    align-items: center;
    color: #FAFAFA;
    margin: 0 0 14px; }
.rs-stats__body { color: #cdd8f2; max-width: 980px; font-size: 15.5px; }
.rs-stats__body p { margin: 0 0 12px; }
.rs-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 34px; }
.rs-stat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 24px 22px; transition: border-color .15s; }
.rs-stat:hover { border-color: var(--lime); }
.rs-stat__ic { width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-weight: 700; }
.rs-stat__ic img { width: 22px; height: 22px; }
.rs-stat__val { font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
    color: #FAFAFA;
    margin-bottom: 6px; }
.rs-stat__lbl { font-size: 13.5px; color: #c3cfea; line-height: 1.45; }

/* ---------- App promo ---------- */
.rs-appcta { background: var(--bg-alt); border-radius: var(--radius-lg); padding: 0 0 0 55px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.rs-appcta__phone { aspect-ratio: 4/3; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); }
.rs-appcta h2 { font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 32px;
    line-height: 48px;
    color: #000; margin: 0 0 18px; }
.rs-appcta__list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.rs-appcta__list div { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); }
.rs-appcta__list .rs-tick { color: var(--lime-600); }
.rs-badges { display: flex; gap: 14px; flex-wrap: wrap;margin-bottom: 50px; }
.rs-badges a { display: inline-flex; align-items: center; gap: 9px; background: var(--ink); color: #fff; border-radius: 10px; padding: 11px 18px; font-size: 13.5px; font-weight: 600; }
.rs-badges a:hover { background: var(--navy-700); }
.rs-badges--imgs a { background: none; padding: 0; border-radius: 0; }
.rs-badges--imgs a:hover { background: none; opacity: .8; }
.rs-badges--imgs img { height: 44px; width: auto; display: block; }

/* Phone mockup deliberately breaks out above/left of its card, matching the
   client's design — the wrapper reserves layout space via aspect-ratio (not
   a fixed px min-height, which looked fine at one column width but left a
   dead gap on narrow columns and a huge overflow on wide single-column
   tablet layouts) while the image itself is absolutely positioned and
   allowed to overflow by a fixed proportion of its own rendered width. */
.rs-appcta--photo { overflow: visible; align-items: flex-end; }
.rs-appcta__phone--img { display: block; position: relative; min-width: 0; width: 100%; aspect-ratio: 384 / 351; overflow: visible; }
.rs-appcta__phone--img img { position: absolute; left: -11%; bottom: 0; width: 100%; max-width: 100%; }

/* ---------- Testimonials ---------- */
.rs-testis__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.rs-testis__nav { display: flex; gap: 10px; }
.rs-testis__nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font-size: 15px; }
.rs-testis__nav button:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.rs-testis { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(266px, 1fr); gap: 22px; overflow-x: auto; scroll-behavior: smooth; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.rs-testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; scroll-snap-align: start; }
.rs-testi__media { aspect-ratio: 3/3; background: linear-gradient(135deg, #2b3c68, #43598a); display: flex; align-items: center; justify-content: center; position: relative; }
.rs-testi__media .rs-video__play { width: 54px; height: 54px; }
.rs-testi__media .rs-video__play span { border-left-width: 15px; border-top-width: 9px; border-bottom-width: 9px; }
/* This portrait-orientation placeholder photo gets cropped hard by the 4:3
   box — bias the crop toward the top so it keeps the hairline instead of
   cutting into it (default center-crop chopped the top of the head off). */
.rs-testi__media img[src*="bitsat-testimonial"] { object-position: center 12%; }
.rs-testi__body { padding: 18px 20px 22px; }
.rs-testi__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.rs-testi__name { font-weight: 700; color: var(--ink); font-size: 15.5px; }
.rs-testi__rank { background: var(--navy-800); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.rs-testi__quote { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.rs-testi__quote::before { content: "\201C"; }
.rs-testi__quote::after { content: "\201D"; }

/* ---------- Checkout: shell ---------- */
.rs-goback { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); margin-bottom: 20px; }
.rs-goback:hover { color: var(--navy-700); }
.rs-steps { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.rs-step { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--muted); font-weight: 600; }
.rs-step__n { width: 26px; height: 26px; border-radius: 50%; background: var(--line); color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.rs-step.is-active { color: var(--ink); }
.rs-step.is-active .rs-step__n { background: var(--navy-800); color: #fff; }
.rs-step.is-done .rs-step__n { background: var(--lime); color: var(--ink); }
.rs-step__bar { width: 34px; height: 2px; background: var(--line); }

.rs-order { display: grid; grid-template-columns: 1.75fr 1fr; gap: 26px; align-items: start; }
.rs-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.rs-panel__head { background: var(--bg-alt); padding: 18px 26px; font-size: 18px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
.rs-panel__body { padding: 26px; }
.rs-panel__body > h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 4px; }
.rs-panel__body > h3 + p { color: var(--muted); margin: 0 0 22px; font-size: 14.5px; }

/* reviewed-course card */
.rs-ordercard { background: #f2f6fd; border: 1px solid #dde6f6; border-radius: 16px; padding: 18px; display: grid; grid-template-columns: 190px 1fr; gap: 20px; }
.rs-ordercard__img { border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: linear-gradient(135deg, #24345f, #37507f); }
.rs-ordercard__img img { width: 100%; height: 100%; object-fit: cover; }
.rs-ordercard__eyebrow { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.rs-ordercard__title { font-size: 21px; font-weight: 700; color: var(--ink); line-height: 1.28; margin: 0 0 16px; }
.rs-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin-bottom: 16px; }
.rs-meta__i { display: flex; gap: 10px; align-items: flex-start; }
.rs-meta__i svg, .rs-meta__i .rs-gl { color: var(--navy-700); flex: 0 0 auto; margin-top: 2px; }
.rs-meta__lbl { font-size: 10.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.rs-meta__val { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.rs-chips--navy .rs-chip { border: none; background: var(--navy-800); color: #fff; padding: 7px 16px; font-size: 13px; }

.rs-includes { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 30px; }
.rs-includes div { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.rs-includes .rs-tick { color: var(--navy-700); flex: 0 0 auto; }
.rs-subhead { font-size: 16px; font-weight: 700; color: var(--ink); margin: 26px 0 16px; }

.rs-coupon { border: 1.5px dashed var(--lime-600); background: #f7fce9; border-radius: 14px; padding: 20px 22px; margin: 26px 0; }
.rs-coupon__top { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.rs-coupon__ic { width: 38px; height: 38px; border-radius: 10px; background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.rs-coupon h4 { margin: 0 0 2px; font-size: 16px; font-weight: 700; color: var(--ink); }
.rs-coupon p { margin: 0; font-size: 13.5px; color: var(--muted); }
.rs-coupon__form { display: flex; gap: 12px; }
.rs-coupon__form input { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 13px 16px; font-family: var(--font); font-size: 14px; text-transform: uppercase; background: #fff; }
.rs-coupon__form input:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(28,60,147,.12); }
.rs-coupon__form button { background: var(--ink); color: #fff; border: none; border-radius: 10px; padding: 13px 24px; font-family: var(--font); font-weight: 700; font-size: 14.5px; cursor: pointer; white-space: nowrap; }
.rs-coupon__form button:hover { background: var(--navy-700); }
.rs-coupon__applied { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: #2f6b1f; font-weight: 600; }
.rs-coupon__applied a { color: #b42318; font-weight: 600; }

.rs-btn--wide { width: 100%; background: var(--navy-800); color: #fff; padding: 17px 26px; font-size: 16.5px; font-weight: 700; border-radius: 12px; }
.rs-btn--wide:hover { background: var(--navy-700); }

/* order sidebar */
.rs-sidecard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; position: sticky; top: 96px; }
.rs-sidecard__head { background: linear-gradient(120deg, var(--navy-800), var(--navy-700)); color: #fff; padding: 18px 22px; }
.rs-sidecard__head span { display: block; font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: #B1B1B1; font-weight: 700; margin-bottom: 4px; }
.rs-sidecard__head strong { font-size: 18px; font-weight: 600; line-height: 27px; }
.rs-sidecard__body { padding: 18px 22px 22px; }
.rs-sidecard .rs-video { aspect-ratio: 16/10; border-radius: 12px; margin-bottom: 18px; }
.rs-sidecard .rs-video__label { font-size: 13px; bottom: 12px; left: 14px; }
.rs-sidecard .rs-video__play { width: 46px; height: 46px; }
.rs-sidecard .rs-video__play span { border-left-width: 13px; border-top-width: 8px; border-bottom-width: 8px; }
.rs-kv { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14px; }
.rs-kv span { color: var(--muted); }
.rs-kv strong { color: var(--ink); font-weight: 700; }
.rs-hr { border: none; border-top: 1px solid var(--line); margin: 14px 0; }
.rs-kv--strike strong { color: var(--muted); text-decoration: line-through; font-weight: 500; }
.rs-kv--disc strong { color: #2f6b1f; }
.rs-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0 2px; }
.rs-total span { font-size: 16px; font-weight: 700; color: var(--ink); }
.rs-total strong { font-size: 26px; font-weight: 800; color: var(--ink); }
.rs-save { margin-top: 14px; background: #edf7e8; border: 1px solid #cfe8bf; color: #2f6b1f; border-radius: 10px; padding: 11px 14px; font-size: 13.5px; font-weight: 600; display: flex; gap: 9px; align-items: center; }

.rs-guarantees { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px; margin-top: 20px; }
.rs-guarantees h4 { margin: 0 0 16px; font-size: 16px; font-weight: 700; color: var(--ink); }
.rs-guarantees div { display: flex; gap: 11px; align-items: center; font-size: 14px; color: var(--text); padding: 7px 0; }
.rs-guarantees svg, .rs-guarantees .rs-gl { color: var(--navy-700); flex: 0 0 auto; }

/* ---------- Minimal checkout header ---------- */
.rs-minihead { background: #fff; border-bottom: 1px solid var(--line); }
.rs-minihead__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

/* ---------- Login modal (mobile number + OTP) ---------- */
.rs-modal { display: none; position: fixed; inset: 0; z-index: 200; align-items: center; justify-content: center; padding: 24px; }
.rs-modal.is-open { display: flex; }
.rs-modal__backdrop { position: absolute; inset: 0; background: rgba(10, 23, 70, .55); }
.rs-modal__box { position: relative; background: #fff; width: 100%; max-width: 440px; border-radius: var(--radius-lg); box-shadow: 0 30px 70px rgba(0,0,0,.35); overflow: hidden; }
.rs-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; background: #0b1b4d; border-bottom: 1px solid var(--line); }
.rs-modal__head h2 { margin: 0; font-size: 16px; font-weight: 600; color: #fff; }
.rs-modal__close { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.rs-modal__close:hover { background: var(--bg-alt); }
.rs-modal__body { padding: 28px 26px 30px; }
.rs-modal__body .rs-field { margin-bottom: 20px; }
.rs-modal__body .rs-alert { margin-bottom: 18px; }
.rs-modal__box--sm { max-width: 460px; }
.rs-modal__body--center { display: flex; justify-content: center; padding: 32px 26px; }
.rs-app-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.rs-app-badges img { height: 44px; width: auto; }
.rs-nav-modal-links { display: flex; flex-direction: column; gap: 4px; }
.rs-nav-modal-link { padding: 13px 14px; border-radius: 10px; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.rs-nav-modal-link:hover { background: var(--bg-alt); color: var(--navy-700); }
.rs-otp-resend { margin: 14px 0 0; text-align: center; }
.rs-link-btn { border: none; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--navy-700); cursor: pointer; font-variant-numeric: tabular-nums; transition: color .15s ease; }
.rs-link-btn:hover:not(:disabled) { text-decoration: underline; }
.rs-link-btn:disabled { color: var(--muted); cursor: default; }
.rs-phone-row { display: flex; gap: 10px; }
.rs-phone-prefix { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; font-weight: 600; color: var(--ink); background: var(--bg); }
.rs-phone-row input { flex: 1; min-width: 0; }

/* ---------- Footer v2 ---------- */
.rs-footer__grid { grid-template-columns: 1.5fr repeat(4, 1fr); }
.rs-footer__contact { font-size: 14px; color: #aeb9d6; margin: 16px 0 0; }
.rs-footer__contact div { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 9px; }
.rs-social { display: flex; gap: 10px; margin-top: 18px; }
.rs-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: #fff; }
.rs-social a:hover { background: var(--lime); color: var(--ink); }
.rs-footer__apps { display: flex; gap: 12px; flex-wrap: wrap; padding: 0 24px 8px; justify-content: center; }
.rs-footer__col--stack h4 + h4 { margin-top: 24px; }

/* ---------- Success ---------- */
.rs-success { max-width: 620px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 46px 44px; }
.rs-success__ic { width: 74px; height: 74px; border-radius: 50%; background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 36px; margin: 0 auto 20px; }
.rs-success h1 { font-size: 28px; font-weight: 800; color: var(--ink); margin: 0 0 8px; }
.rs-success__sub { color: var(--muted); margin: 0 0 26px; }
.rs-success__box { background: var(--bg); border-radius: 14px; padding: 20px 22px; text-align: left; margin-bottom: 26px; }
.rs-success__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.rs-next { text-align: left; margin: 0 0 26px; }
.rs-next div { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text); padding: 5px 0; }
.rs-next .rs-tick { color: var(--lime-600); flex: 0 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1360px) {
    .rs-header__inner { gap: 14px; }
    .rs-logo__img { width: 148px; height: 32px; }
    .rs-nav { gap: 15px; }
    .rs-nav__item { font-size: 13.5px; }
    .rs-caret { font-size: 9px; }
    .rs-header__actions { gap: 8px; margin-left: 0; }
    .rs-btn--login { padding: 10px 16px; font-size: 13.5px; }
    .rs-btn--ghost { padding: 10px 14px; font-size: 13.5px; }
}
@media (max-width: 960px) {
    .rs-hero__inner { grid-template-columns: 1fr; gap: 36px; padding: 44px 24px 50px; }
    .rs-hero h1 { font-size: 32px; }
    .rs-why { grid-template-columns: 1fr; }
    .rs-related-grid { grid-template-columns: 1fr 1fr; }
    .rs-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 12px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
    .rs-nav.is-open { display: flex; }
    .rs-burger { display: block; }
    .rs-header__actions { margin-left: auto; }
    .rs-features__grid, .rs-cards { grid-template-columns: 1fr; }
    .rs-features { padding: 32px 26px; }
}
@media (max-width: 1100px) {
    .rs-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .rs-order { grid-template-columns: 1fr; }
    .rs-sidecard { position: static; }
    /* "Your Order" sidebar first, then the step's own panel (Order Summary /
       Student Details / Payment) — same two-child .rs-order markup on all
       three checkout pages, so this one rule covers all of them. */
    .rs-order > *:first-child { order: 2; }
    .rs-order > *:last-child { order: 1; }
}
@media (max-width: 960px) {
    .rs-hubhero__inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px 48px; }
    .rs-hubhero h1 { font-size: 32px; }
    .rs-hubhero__slidetitle { font-size: 27px; }
    .rs-featured-grid, .rs-featured-grid--3 { grid-template-columns: 1fr; }
    .rs-featgroups--2, .rs-featgroups--3 { grid-template-columns: 1fr; }
    .rs-featgroups--1 .rs-featcard__list { grid-template-columns: 1fr; }
    .rs-stats__grid { grid-template-columns: 1fr 1fr; }
    .rs-appcta { grid-template-columns: 1fr; padding: 28px; }
    .rs-appcta__phone { order: 2; margin-top: 24px; }
    .rs-ordercard { grid-template-columns: 1fr; }
    .rs-meta, .rs-includes { grid-template-columns: 1fr; }
    .rs-drop, .rs-drop--wide { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; min-width: 0; padding: 0 0 8px 12px; display: block; }
    .rs-nav__wrap { width: 100%; }
}
@media (max-width: 620px) {
    .rs-guarantees {
        display: none;
    }

    .rs-section__title {
        font-size: 24px;
    }

    .rs-related-grid {
        grid-template-columns: 1fr;
    }

    .rs-price__now {
        font-size: 28px;
    }

    .rs-logo__img {
        height: 30px;
        width: 139px;
    }

    .rs-logo--light .rs-logo__img {
        height: 36px;
        width: 166px;
    }

    .rs-footer__grid {
        grid-template-columns: 1fr;
    }

    .rs-stats__grid {
        grid-template-columns: 1fr;
    }

    .rs-coupon__form {
        flex-direction: column;
    }

    .rs-panel__body, .rs-panel__head {
        padding-left: 18px;
        padding-right: 18px;
    }

    .rs-success {
        padding: 32px 22px;
    }

    .rs-hubhero h1 {
        font-size: 27px;
    }

    .rs-hubhero__media img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .rs-hubhero__media {
        height: auto;
    }

    .rs-hubhero__eyebrow--plain {
        font-size: 20px;
    }

    .rs-hl {
        font-size: 30px;
        line-height: 50px;
    }

    .hero-title .rs-hl:first-child {
        margin-bottom: 14px;
    }

    .rs-section {
        margin-top: 0;
    }

    .rs-appcta-section {
        padding: 62px 0;
        margin-top: 0;
    }

    .rs-stats h2 {
        font-size: 24px;
    }

    .rs-badges--imgs img {
        height: 34px;
    }

    .rs-appcta h2 {
        font-family: 'Poppins';
        font-style: normal;
        font-weight: 500;
        font-size: 22px;
        line-height: 35px;
        color: #000;
        margin: 0 0 18px;
    }

    .rs-badges {
        display: flex;
        gap: 14px;
        flex-wrap: nowrap;
        margin-bottom: 50px;
    }

    .rs-section__title {
        font-size: 19px;
    }

    .rs-hero__inner{
        padding: 16px 22px 47px;
    }
    .rs-hero h1 {
        font-size: 25px;
    }
    .rs-section {
        padding: 45px 0;
        margin-top: 0;
    }
    .rs-appcta-section {
        padding: 45px 0;
        margin-top: 0;
    }
    .rs-quote {
        margin-top: 0;
    }

    .rs-hubhero__eyebrows{
        font-family: 'Poppins';
        font-style: normal;
        font-weight: 500;
        font-size: 22px;
        line-height: 54px;
        color: #FFFFFF;
    }

    .rs-hubhero__btns {
        display: flex;
        gap: 14px;
        flex-wrap: nowrap;
    }
}

/* ---------- Legal / static content pages (Privacy, Terms, Refund) ---------- */
.rs-legal { max-width: 880px; margin: 0 auto; }
.rs-legal__updated { color: var(--muted); font-size: 13.5px; margin: 0 0 28px; }
.rs-legal h1 { font-size: 32px; font-weight: 800; color: var(--ink); margin: 0 0 10px; letter-spacing: -.4px; }
.rs-legal h2 { font-size: 21px; font-weight: 700; color: var(--ink); margin: 34px 0 12px; }
.rs-legal h3 { font-size: 16.5px; font-weight: 700; color: var(--ink); margin: 22px 0 8px; }
.rs-legal p { margin: 0 0 14px; color: var(--text); line-height: 1.7; }
.rs-legal ul, .rs-legal ol { margin: 0 0 16px; padding-left: 22px; color: var(--text); line-height: 1.7; }
.rs-legal li { margin-bottom: 6px; }
.rs-legal li > ul, .rs-legal li > ol { margin-top: 6px; margin-bottom: 0; }
.rs-legal a { color: var(--navy-700); text-decoration: underline; }
.rs-legal strong { color: var(--ink); }
.rs-legal table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14.5px; }
.rs-legal th, .rs-legal td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.rs-legal th { background: var(--bg-alt); color: var(--ink); font-weight: 700; }
.rs-legal__table-wrap { overflow-x: auto; margin: 0 0 20px; }
.rs-legal__table-wrap table { margin-bottom: 0; }

/* ---------- About page ---------- */
.rs-abouthero {
    background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
    color: #fff;
    padding: 56px 24px 0;
    text-align: center;
}
.rs-abouthero h1 { font-size: 42px; font-weight: 800; letter-spacing: -.6px; margin: 0 0 12px; text-transform: uppercase; }
.rs-abouthero__subtitle { font-size: 19px; font-weight: 600; color: #dbe3fb; margin: 0 0 36px; }
.rs-abouthero__img { max-width: 920px; margin: 0 auto; border-radius: 16px 16px 0 0; overflow: hidden; }
.rs-abouthero__img img { width: 100%; height: auto; display: block; }

.rs-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.rs-split--reverse { direction: rtl; }
.rs-split--reverse > * { direction: ltr; }
.rs-split__text h2 { font-size: 28px; font-weight: 700; color: var(--ink); margin: 0 0 16px; }
.rs-split__text p { font-size: 16px; line-height: 1.7; color: var(--text); margin: 0 0 14px; }
.rs-split__text ul { margin: 0 0 14px; padding-left: 22px; color: var(--text); line-height: 1.8; font-size: 15.5px; }
.rs-split__media img { width: 100%; height: auto; border-radius: 14px; }

.rs-legacystats { background: var(--navy-900); padding: 48px 24px; text-align: center; }
.rs-legacystats h2 { color: var(--lime); font-size: 30px; font-weight: 700; margin: 0 0 30px; }
.rs-legacystats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 16px; max-width: 1100px; margin: 0 auto; }
.rs-legacystats__val { font-size: 26px; font-weight: 700; color: var(--lime); }
.rs-legacystats__lbl { font-size: 13.5px; color: #e4e7ed; margin-top: 4px; }

.rs-visionmission { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 22px 0; }
.rs-visionmission__item h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.rs-visionmission__item p { font-size: 16px; color: var(--text); margin: 0; }

@media (max-width: 860px) {
    .rs-split, .rs-visionmission { grid-template-columns: 1fr; }
    .rs-split--reverse { direction: ltr; }
    .rs-legacystats__grid { grid-template-columns: repeat(2, 1fr); }
    .rs-abouthero h1 { font-size: 30px; }
}

/* ---------- Contact page ---------- */
.rs-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 48px 24px; }
.rs-contact__img img { width: 100%; height: auto; }
.rs-contact__card { background: #fff; border-radius: 16px; padding: 36px; box-shadow: 0 4px 24px rgba(10, 23, 70, .1); }
.rs-contact__card h2 { font-size: 24px; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.rs-contact__card > p { font-size: 14.5px; color: var(--muted); margin: 0 0 22px; }
.rs-contact__field { margin-bottom: 16px; }
.rs-contact__field input, .rs-contact__field select {
    width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 14.5px;
    font-family: inherit; color: var(--ink); background: #fff;
}
.rs-contact__field input:focus, .rs-contact__field select:focus { outline: none; border-color: var(--navy-700); }
.rs-contact__otprow:not([hidden]) { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.rs-contact__otprow input { flex: 1; min-width: 140px;
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 14.5px;
    font-family: inherit;
    color: var(--ink);
    background: #fff;
}
.rs-contact__otpbtn {
    white-space: nowrap; padding: 12px 16px; background: var(--lime); color: var(--navy-900); border: none;
    border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer;
}
.rs-contact__otpbtn:disabled { opacity: .55; cursor: not-allowed; }
.rs-contact__note { font-size: 13px; margin: -6px 0 14px; }
.rs-contact__note--ok { color: #1a7f3c; }
.rs-contact__note--err { color: #c0362c; }
.rs-contact__verified:not([hidden]) { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: #1a7f3c; margin: -6px 0 14px; }
.rs-contact__submit {
    width: 100%; padding: 14px; border: none; border-radius: 8px; font-weight: 700; font-size: 16px;
    background: var(--navy-900); color: #fff; cursor: pointer;
}
.rs-contact__submit:disabled { background: #ccc; color: #666; cursor: not-allowed; }

@media (max-width: 860px) {
    .rs-contact { grid-template-columns: 1fr; }
}

/* ---------- Homepage quick links ("Jump straight to what you need") ---------- */
.rs-quicklinks { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px; margin-top: 26px; }
.rs-quicklink {
    display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 16px;
    box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.rs-quicklink:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(10, 23, 70, .12); }
.rs-quicklink__label { font-size: 15px; font-weight: 700; color: var(--ink); }

/* ---------- Homepage feature grid, dark band (NOT the same as the pre-existing
   .rs-why/.rs-why__body course-detail component above — kept fully separate,
   distinct class prefix, to avoid the class-name collision that was here before). ---------- */
.rs-whyband { background: var(--navy-900); padding: 64px 0; margin-top: 60px; text-align: center; }
.rs-home-stats-gap { margin-top: 60px; }
.rs-whyband__badge {
    display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
    color: var(--lime); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px; padding: 6px 16px; margin-bottom: 22px;
}
.rs-whyband__title {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 53px;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 16px;
}
.rs-whyband__intro { max-width: 780px; margin: 0 auto 36px; color: #cdd8f2; font-size: 16px; line-height: 1.7; }
.rs-whyband__grid {
    display: grid; grid-template-columns: repeat(4, 1fr); text-align: left;
    border-top: 1px solid rgba(255,255,255,.14); border-left: 1px solid rgba(255,255,255,.14);
}
.rs-whyband__cell { border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); padding: 28px 26px; }
.rs-whyband__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.rs-whyband__icon {
    flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--lime);
    display: flex; align-items: center; justify-content: center;
}
.rs-whyband__icon img { width: 22px; height: 22px; object-fit: contain; }
.rs-whyband__cell h3 { font-family: 'Oswald';font-size: 15px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .3px; margin: 0; }
.rs-whyband__cell p { font-size: 14.5px; color: #b6c0dc; line-height: 1.6; margin: 0; }

@media (max-width: 860px) {
    .rs-whyband__grid { grid-template-columns: repeat(2, 1fr); }
    .rs-whyband__title { font-size: 26px; line-height: 1.3; }
}
@media (max-width: 480px) {
    .rs-whyband__grid { grid-template-columns: 1fr; }
}
/* Matches .rs-section's own breakpoint (see the 620px block near the top of the
   file) so every homepage section keeps the same margin-top rhythm at every width. */
@media (max-width: 620px) {
    .rs-whyband, .rs-home-stats-gap { margin-top: 0; }
}

/* ---------- "Choose Your Class" picker (homepage) ---------- */
.rs-classpicker {
    display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start;
    background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 24px;
}
.rs-classpicker__tabs { display: flex; flex-direction: column; gap: 12px; }
.rs-classpicker__tab {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    width: 100%; text-align: left; border: 1px solid var(--line); background: #fff; color: var(--ink);
    font-family: var(--font); font-weight: 700; font-size: 15px; padding: 16px 18px; border-radius: 12px;
    cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.rs-classpicker__tab svg { opacity: .5; }
.rs-classpicker__tab:hover { border-color: var(--navy-700); }
.rs-classpicker__tab.is-active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.rs-classpicker__tab.is-active svg { opacity: 1; }
.rs-classpicker__tab.is-disabled { color: var(--muted); cursor: not-allowed; background: var(--bg-alt); }
.rs-classpicker__tab.is-disabled:hover { border-color: var(--line); }
.rs-classpicker__soon {
    font-size: 10.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--muted);
    background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px;
}

.rs-classpicker__panel { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; }
.rs-classpicker__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rs-classpicker__card.rs-is-hidden { display: none; }
.rs-classpicker__card {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px;
    box-shadow: var(--shadow-sm); transition: background-color .15s ease, border-color .15s ease;
}
.rs-classpicker__cardtitle { font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.35; transition: color .15s ease; }
.rs-classpicker__card svg { flex: 0 0 auto; opacity: .5; transition: opacity .15s ease; }
.rs-classpicker__card:hover { background: var(--navy-900); border-color: var(--navy-900); }
.rs-classpicker__card:hover .rs-classpicker__cardtitle { color: #fff; }
.rs-classpicker__card:hover svg { color: var(--lime); opacity: 1; }

.rs-classpicker__footer {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted);
}
.rs-classpicker__viewall { background: var(--navy-900); color: #fff; padding: 12px 20px; font-size: 14.5px; }
.rs-classpicker__viewall:hover { background: var(--navy-700); }

@media (max-width: 860px) {
    .rs-classpicker { grid-template-columns: 1fr; }
    .rs-classpicker__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .rs-classpicker__grid { grid-template-columns: 1fr; }
}

/* ---------- Best-Selling Courses (horizontal scroll rail) ---------- */
.rs-bestsellers {
    display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x proximity; margin-top: 26px;
    padding-bottom: 6px; scrollbar-width: none;
}
.rs-bestsellers::-webkit-scrollbar { display: none; }
.rs-bestseller {
    flex: 0 0 260px; scroll-snap-align: start; background: #fff; border: 1px solid var(--line);
    border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.rs-bestseller__img { aspect-ratio: 16/10; background: var(--bg-alt); }
.rs-bestseller__img img { width: 100%; height: 100%; object-fit: cover; }
.rs-bestseller__title { font-size: 17px; font-weight: 700; color: var(--ink); margin: 16px 18px 10px; line-height: 1.35; }
.rs-bestseller__list { display: flex; flex-direction: column; gap: 8px; margin: 0 18px 14px; }
.rs-bestseller__row { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); }
.rs-bestseller__row svg { flex: 0 0 auto; color: var(--navy-700); }
.rs-bestseller__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin: auto 18px 18px; padding-top: 14px; border-top: 1px solid var(--line);
}
.rs-bestseller__price .old { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.rs-bestseller__price .now { font-weight: 700; font-size: 18px; color: var(--ink); }
.rs-bestseller__viewall { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--navy-700); }
.rs-bestseller__viewall:hover { color: var(--navy-900); }

@media (max-width: 480px) {
    .rs-bestseller { flex-basis: 220px; }
}
