/* ==========================================================================
   Singapore Mathympiad — premium design layer (public website)
   Loaded after vendor.css / style.css / responsive.css and overrides them.
   ========================================================================== */
@import url('../fonts/premium/fonts.css');

:root {
    --smo-navy-950: #071a2b;
    --smo-navy-900: #0b2239;
    --smo-navy-800: #0f2f49;
    --smo-navy-700: #17405f;
    --smo-navy-600: #245a80;
    --smo-gold-500: #f5b800;
    --smo-gold-400: #fdc800;
    --smo-gold-100: #fff6d6;
    --smo-gold-50: #fffbeb;
    --smo-ink: #0f1d2c;
    --smo-text: #3d4b5c;
    --smo-muted: #6b7889;
    --smo-line: #e3e8ef;
    --smo-line-soft: #eef2f6;
    --smo-bg: #ffffff;
    --smo-bg-soft: #f6f8fb;
    --smo-bg-tint: #f1f5fa;
    --smo-green: #12805c;
    --smo-red: #c2362f;
    --smo-radius-sm: 8px;
    --smo-radius: 14px;
    --smo-radius-lg: 22px;
    --smo-shadow-sm: 0 1px 2px rgba(15, 29, 44, .06), 0 1px 3px rgba(15, 29, 44, .05);
    --smo-shadow: 0 4px 12px rgba(15, 29, 44, .06), 0 12px 32px rgba(15, 29, 44, .06);
    --smo-shadow-lg: 0 20px 50px rgba(11, 34, 57, .14);
    --smo-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --smo-font-head: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    --smo-header-h: 76px;

    /* Re-point the old theme variables so legacy rules follow the new palette */
    --main-color: var(--smo-gold-400);
    --heading-color: var(--smo-navy-800);
    --paragraph-color: var(--smo-text);
    --body-font: var(--smo-font);
    --body-font-size: 16px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--smo-font) !important;
    font-size: 16px;
    line-height: 1.65;
    color: var(--smo-text);
    background: var(--smo-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .title, .page-title, .sub-title {
    font-family: var(--smo-font-head) !important;
    color: var(--smo-ink);
    letter-spacing: -0.01em;
}
h1 { font-weight: 800; }
h2, h3 { font-weight: 700; }
h4, h5, h6 { font-weight: 700; }
p { color: var(--smo-text); }
a { color: var(--smo-navy-700); transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
a:hover { color: var(--smo-navy-900); }
img { max-width: 100%; }
::selection { background: var(--smo-gold-400); color: var(--smo-ink); }
:focus-visible { outline: 3px solid rgba(245, 184, 0, .55); outline-offset: 2px; }
.container { max-width: 1200px; }
@media (min-width: 1400px) { .container { max-width: 1240px; } }

/* Kill the old preloader for good (it delayed every page) */
.preloader { display: none !important; }

/* ---------- Buttons ---------- */
.smo-btn,
.btn.btn-base,
.btn-custom-main,
.btn-custom-outline,
.exam-reg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 44px;
    padding: .65rem 1.25rem;
    border-radius: 999px;
    font-family: var(--smo-font-head);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none !important;
    white-space: nowrap;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.smo-btn:hover, .btn.btn-base:hover, .btn-custom-main:hover, .exam-reg-btn:hover { transform: translateY(-1px); }
.smo-btn:active, .btn.btn-base:active { transform: translateY(0); }
.smo-btn--primary,
.btn.btn-base,
.btn-custom-main,
.exam-reg-btn {
    background: var(--smo-gold-400) !important;
    color: var(--smo-ink) !important;
    border-color: var(--smo-gold-400) !important;
    box-shadow: 0 6px 16px rgba(245, 184, 0, .28);
}
.smo-btn--primary:hover,
.btn.btn-base:hover,
.btn-custom-main:hover,
.exam-reg-btn:hover {
    background: var(--smo-gold-500) !important;
    border-color: var(--smo-gold-500) !important;
    color: var(--smo-ink) !important;
    box-shadow: 0 10px 22px rgba(245, 184, 0, .34);
}
.btn.btn-base::before, .btn.btn-base::after { display: none !important; }
.smo-btn--navy { background: var(--smo-navy-800); color: #fff !important; border-color: var(--smo-navy-800); }
.smo-btn--navy:hover { background: var(--smo-navy-900); color: #fff !important; box-shadow: 0 10px 22px rgba(11, 34, 57, .22); }
.smo-btn--ghost,
.btn-custom-outline {
    background: transparent;
    color: var(--smo-navy-800) !important;
    border-color: var(--smo-line);
}
.smo-btn--ghost:hover,
.btn-custom-outline:hover { border-color: var(--smo-navy-800); color: var(--smo-navy-900) !important; background: #fff; }
.smo-btn--light { background: rgba(255, 255, 255, .1); color: #fff !important; border-color: rgba(255, 255, 255, .35); }
.smo-btn--light:hover { background: rgba(255, 255, 255, .18); border-color: #fff; }
.smo-btn--lg { min-height: 52px; padding: .85rem 1.6rem; font-size: 1rem; }
.smo-btn--sm { min-height: 36px; padding: .45rem .95rem; font-size: .85rem; }

/* Bootstrap buttons used across pages */
.btn { font-family: var(--smo-font-head); font-weight: 600; border-radius: 10px; }
.btn-primary { background: var(--smo-navy-800); border-color: var(--smo-navy-800); }
.btn-primary:hover, .btn-primary:focus { background: var(--smo-navy-900); border-color: var(--smo-navy-900); }
.btn-warning { background: var(--smo-gold-400); border-color: var(--smo-gold-400); color: var(--smo-ink); }
.btn-warning:hover { background: var(--smo-gold-500); border-color: var(--smo-gold-500); color: var(--smo-ink); }

/* ---------- Flash messages ---------- */
.smo-flash {
    position: relative;
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: .8rem 3rem .8rem 0;
    font-size: .95rem;
    font-weight: 500;
    z-index: 1031;
}
.smo-flash .btn-close { top: 50%; transform: translateY(-50%); padding: .75rem; }
.smo-flash--success { background: #e7f6ef; color: #0c5a40; border-bottom: 1px solid #bfe6d4; }
.smo-flash--error { background: #fdecea; color: #8c1f19; border-bottom: 1px solid #f5c6c2; }

/* ---------- Header ---------- */
.navbar-area, .navbar-top { display: none !important; } /* legacy header, if any page still prints it */
.smo-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--smo-line-soft);
    transition: box-shadow .2s ease;
}
.smo-header.is-scrolled { box-shadow: 0 6px 24px rgba(15, 29, 44, .08); }
.smo-utility {
    background: var(--smo-navy-900);
    color: rgba(255, 255, 255, .78);
    font-size: .8rem;
    line-height: 1;
}
.smo-utility .container { min-height: 36px; }
.smo-utility a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.smo-utility a:hover { color: var(--smo-gold-400); }
.smo-utility__left { display: flex; align-items: center; gap: 1.5rem; }
.smo-utility__left i, .smo-utility__note i { color: var(--smo-gold-400); margin-right: .35rem; }
.smo-utility__right { display: flex; gap: .25rem; }
.smo-utility__right a { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.smo-utility__right a:hover { background: rgba(255, 255, 255, .08); }

.smo-nav__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: var(--smo-header-h);
}
.smo-brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none !important;
    flex-shrink: 0;
}
.smo-brand img { width: 48px; height: 48px; object-fit: contain; border-radius: 50%; }
.smo-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.smo-brand__text strong { font-family: var(--smo-font-head); font-size: 1.05rem; font-weight: 800; color: var(--smo-navy-800); letter-spacing: -0.01em; }
.smo-brand__text small { font-size: .72rem; font-weight: 500; color: var(--smo-muted); letter-spacing: .02em; margin-top: 2px; }
.smo-brand--light .smo-brand__text strong { color: #fff; }
.smo-brand--light .smo-brand__text small { color: rgba(255, 255, 255, .6); }

.smo-nav__menu { display: flex; align-items: center; flex: 1; gap: 1rem; justify-content: flex-end; }
.smo-nav__links { display: flex; align-items: center; gap: .15rem; margin: 0 auto 0 0; padding: 0; list-style: none; }
.smo-nav__links a {
    display: block;
    padding: .55rem .75rem;
    border-radius: 999px;
    font-size: .92rem;
    font-weight: 600;
    color: var(--smo-ink);
    text-decoration: none;
    white-space: nowrap;
}
.smo-nav__links a:hover { background: var(--smo-bg-tint); color: var(--smo-navy-900); }
.smo-nav__links a.is-active { color: var(--smo-navy-900); background: var(--smo-gold-100); }
.smo-nav__actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.smo-nav__actions .smo-btn { min-height: 40px; padding: .5rem 1.05rem; font-size: .9rem; }

.smo-user-btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .3rem .8rem .3rem .3rem;
    border: 1px solid var(--smo-line);
    border-radius: 999px;
    background: #fff;
    font-weight: 600;
    font-size: .9rem;
    color: var(--smo-ink);
}
.smo-user-btn:hover { border-color: var(--smo-navy-800); }
.smo-avatar {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--smo-navy-800);
    color: var(--smo-gold-400);
    font-family: var(--smo-font-head);
    font-weight: 800;
    font-size: .9rem;
}
.smo-dropdown {
    border: 1px solid var(--smo-line) !important;
    border-radius: 14px !important;
    box-shadow: var(--smo-shadow) !important;
    padding: .4rem !important;
    min-width: 200px;
    margin-top: .5rem !important;
}
.smo-dropdown .dropdown-item { display: flex; align-items: center; gap: .6rem; border-radius: 8px; padding: .55rem .75rem; font-size: .92rem; font-weight: 500; width: 100%; background: none; border: 0; }
.smo-dropdown .dropdown-item i { width: 16px; color: var(--smo-muted); text-align: center; }
.smo-dropdown .dropdown-item:hover { background: var(--smo-bg-tint); }
.smo-dropdown .dropdown-item.text-danger i { color: inherit; }

.smo-burger {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 1px solid var(--smo-line);
    border-radius: 12px;
    background: #fff;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.smo-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--smo-ink); transition: transform .2s ease, opacity .2s ease; }
.smo-header.is-open .smo-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.smo-header.is-open .smo-burger span:nth-child(2) { opacity: 0; }
.smo-header.is-open .smo-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1199.98px) {
    .smo-nav__links a { padding: .5rem .55rem; font-size: .88rem; }
    .smo-brand__text small { display: none; }
}
@media (max-width: 991.98px) {
    :root { --smo-header-h: 64px; }
    .smo-brand img { width: 42px; height: 42px; }
    .smo-brand__text strong { font-size: 1rem; }
    .smo-burger { display: inline-flex; }
    .smo-nav__menu {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem 16px 1.25rem;
        background: #fff;
        border-bottom: 1px solid var(--smo-line);
        box-shadow: 0 18px 30px rgba(15, 29, 44, .12);
        max-height: calc(100vh - var(--smo-header-h));
        overflow-y: auto;
    }
    .smo-header.is-open .smo-nav__menu { display: flex; }
    .smo-nav__links { flex-direction: column; align-items: stretch; margin: 0; gap: 2px; }
    .smo-nav__links a { padding: .8rem 1rem; border-radius: 10px; font-size: 1rem; }
    .smo-nav__actions { flex-direction: column; align-items: stretch; gap: .5rem; padding-top: .75rem; border-top: 1px solid var(--smo-line-soft); }
    .smo-nav__actions .smo-btn { width: 100%; min-height: 46px; }
    .smo-nav__actions .dropdown, .smo-user-btn { width: 100%; }
    .smo-user-btn { justify-content: flex-start; padding: .45rem .8rem .45rem .45rem; }
    .smo-dropdown { position: static !important; transform: none !important; width: 100%; box-shadow: none !important; }
    body.smo-menu-open { overflow: hidden; }
}
@media (max-width: 380px) {
    .smo-brand__text strong { font-size: .92rem; }
}

/* ---------- Inner page banner (breadcrumb-area) ---------- */
.breadcrumb-area {
    position: relative;
    padding: 72px 0 64px !important;
    background-color: var(--smo-navy-900) !important;
    background-image:
        radial-gradient(900px 300px at 85% -10%, rgba(253, 200, 0, .16), transparent 60%),
        radial-gradient(700px 300px at 0% 120%, rgba(36, 90, 128, .55), transparent 60%),
        linear-gradient(135deg, var(--smo-navy-900) 0%, var(--smo-navy-800) 100%) !important;
    background-size: cover !important;
    overflow: hidden;
}
.breadcrumb-area::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) !important;
    background-size: 36px 36px !important;
    background-color: transparent !important;
    opacity: 1 !important;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 95%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 95%);
    pointer-events: none;
}
.breadcrumb-area::after { display: none !important; }
.breadcrumb-area .breadcrumb-inner { position: relative; z-index: 2; }
.breadcrumb-area .page-title,
.breadcrumb-area h1.page-title {
    color: #fff !important;
    font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.9rem) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    margin: 0 0 .75rem !important;
    letter-spacing: -0.02em;
}
.breadcrumb-area .page-list {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: .25rem;
    margin: 0;
    padding: .4rem .95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
}
.breadcrumb-area .page-list li {
    display: inline-flex;
    align-items: center;
    font-size: .88rem !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, .78) !important;
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
}
.breadcrumb-area .page-list li::after { display: none !important; content: none !important; }
.breadcrumb-area .page-list li + li::before {
    content: '/';
    position: static !important;
    display: inline-block;
    margin: 0 .5rem 0 .25rem;
    color: rgba(255, 255, 255, .4);
    font-family: var(--smo-font) !important;
    background: none !important;
    width: auto !important;
    height: auto !important;
}
.breadcrumb-area .page-list li:last-child { color: var(--smo-gold-400) !important; font-weight: 600 !important; }
.breadcrumb-area .page-list a { color: #fff !important; text-decoration: none; }
.breadcrumb-area .page-list a:hover { color: var(--smo-gold-400) !important; }
@media (max-width: 575.98px) {
    .breadcrumb-area { padding: 48px 0 44px !important; }
}

/* ---------- Section titles ---------- */
.section-title .sub-title,
.smo-eyebrow {
    display: inline-flex !important;
    align-items: center;
    gap: .5rem;
    padding: .35rem .85rem !important;
    margin-bottom: .9rem !important;
    border-radius: 999px;
    background: var(--smo-gold-100);
    color: #8a6500 !important;
    font-family: var(--smo-font-head) !important;
    font-size: .75rem !important;
    font-weight: 800 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase;
    line-height: 1.2 !important;
}
.section-title .sub-title::before,
.section-title .sub-title::after { display: none !important; }
.section-title .title,
.smo-h2 {
    font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem) !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.02em;
    color: var(--smo-ink) !important;
    margin-bottom: .75rem;
}
.section-title .content,
.smo-lead { font-size: 1.05rem; color: var(--smo-muted); line-height: 1.7; }
.section-title { margin-bottom: 2.5rem; }

/* ---------- Generic surfaces used by inner pages ---------- */
.card { border: 1px solid var(--smo-line); border-radius: var(--smo-radius); box-shadow: var(--smo-shadow-sm); }
.card-header { background: #fff; border-bottom: 1px solid var(--smo-line-soft); font-weight: 700; }
.table { --bs-table-striped-bg: var(--smo-bg-soft); color: var(--smo-text); }
.table > thead th { font-family: var(--smo-font-head); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--smo-muted); background: var(--smo-bg-soft); border-bottom-width: 1px; }
.badge { font-weight: 600; letter-spacing: .01em; }
.alert { border-radius: 12px; }

/* Forms (website pages: contact, auth, profile) */
.form-control, .form-select,
.single-input-inner input, .single-input-inner textarea, .single-input-inner select {
    min-height: 46px;
    border: 1px solid #d5dde7 !important;
    border-radius: 10px !important;
    background-color: #fff !important;
    color: var(--smo-ink);
    font-size: .95rem;
    padding: .6rem .9rem;
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
textarea.form-control, .single-input-inner textarea { min-height: 120px; }
.form-control:focus, .form-select:focus,
.single-input-inner input:focus, .single-input-inner textarea:focus, .single-input-inner select:focus {
    border-color: var(--smo-navy-600) !important;
    box-shadow: 0 0 0 4px rgba(36, 90, 128, .12) !important;
    outline: 0;
}
.form-label, label { font-weight: 600; color: var(--smo-ink); font-size: .9rem; }
.form-control::placeholder { color: #9aa6b5; }
.is-invalid { border-color: var(--smo-red) !important; }
.invalid-feedback, .text-danger { color: var(--smo-red) !important; }

/* ---------- Footer ---------- */
.footer-area { display: none !important; } /* legacy footer markup if any page prints it */
.smo-footer {
    position: relative;
    background: var(--smo-navy-950);
    background-image: radial-gradient(900px 400px at 100% 0%, rgba(36, 90, 128, .35), transparent 60%);
    color: rgba(255, 255, 255, .72);
    padding: 0 0 0;
    margin-top: 0;
}
.smo-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.smo-footer a:hover { color: var(--smo-gold-400); }
.smo-footer p { color: rgba(255, 255, 255, .66); }
.smo-footer__news {
    position: relative;
    top: -1px;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2rem;
    align-items: center;
    padding: 2.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.smo-footer__news h2 { color: #fff !important; font-size: 1.5rem; margin: 0 0 .25rem; }
.smo-footer__news p { margin: 0; }
.smo-footer__news-form { display: flex; gap: .6rem; }
.smo-footer__news-form input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-size: .95rem;
}
.smo-footer__news-form input::placeholder { color: rgba(255, 255, 255, .45); }
.smo-footer__news-form input:focus { outline: 0; border-color: var(--smo-gold-400); background: rgba(255, 255, 255, .1); }
.smo-footer__news-form .smo-btn { height: 48px; }
.smo-footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    padding: 3.25rem 0 2.5rem;
}
.smo-footer__brand p { margin: 1.1rem 0 1.25rem; font-size: .93rem; line-height: 1.7; max-width: 340px; }
.smo-footer__title {
    color: #fff !important;
    font-size: .8rem !important;
    font-weight: 800 !important;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin: 0 0 1.1rem;
}
.smo-footer__title--sm { margin-top: 1.6rem; }
.smo-footer__links, .smo-footer__contact, .smo-footer__social { list-style: none; margin: 0; padding: 0; }
.smo-footer__links li { margin-bottom: .6rem; }
.smo-footer__links a { font-size: .93rem; }
.smo-footer__links--posts a { display: block; line-height: 1.45; font-size: .88rem; }
.smo-footer__contact li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .75rem; font-size: .93rem; }
.smo-footer__contact i { color: var(--smo-gold-400); width: 16px; margin-top: .3rem; text-align: center; }
.smo-footer__contact a { overflow-wrap: anywhere; }
.smo-footer__social { display: flex; gap: .5rem; }
.smo-footer__social a {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .14);
    color: #fff;
}
.smo-footer__social a:hover { background: var(--smo-gold-400); border-color: var(--smo-gold-400); color: var(--smo-ink); }
.smo-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .75rem;
    padding: 1.25rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: .85rem;
}
.smo-footer__bottom p { margin: 0; color: rgba(255, 255, 255, .5); }
.smo-footer__bottom-links { display: flex; gap: 1.25rem; }
.smo-footer__bottom-links a { color: rgba(255, 255, 255, .6); }
@media (max-width: 991.98px) {
    .smo-footer__news { grid-template-columns: 1fr; gap: 1.1rem; }
    .smo-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .smo-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
    .smo-footer__news-form { flex-direction: column; }
    .smo-footer__news-form input { flex: 0 0 auto; }
    .smo-footer__news-form .smo-btn { width: 100%; }
    .smo-footer__grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.25rem; padding-top: 2.5rem; }
    .smo-footer__grid > div:last-child { grid-column: 1 / -1; }
    .smo-footer__bottom { flex-direction: column; align-items: flex-start; padding-bottom: 5rem; }
}

/* ---------- Floating help + back to top ---------- */
.smo-help { position: fixed; left: 16px; bottom: 16px; z-index: 900; display: flex; gap: 8px; }
.smo-help a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: .55rem .95rem;
    border-radius: 999px;
    color: #fff !important;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(7, 26, 43, .25);
}
.smo-help a:hover { transform: translateY(-1px); }
.smo-help-faq { background: var(--smo-navy-800); }
.smo-help-wa { background: #128c4a; }
.back-to-top {
    width: 44px !important;
    height: 44px !important;
    line-height: 44px !important;
    border-radius: 50% !important;
    background: var(--smo-navy-800) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(7, 26, 43, .25) !important;
    right: 16px !important;
    bottom: 16px !important;
}
.back-to-top .back-top i { color: #fff; }
@media print { .smo-help, .back-to-top, .smo-header, .smo-footer { display: none !important; } }

/* ---------- Spacing utilities shared by pages ---------- */
.smo-section { padding: 88px 0; }
.smo-section--soft { background: var(--smo-bg-soft); }
.smo-section--tight { padding: 64px 0; }
@media (max-width: 767.98px) {
    .smo-section { padding: 60px 0; }
    .smo-section--tight { padding: 44px 0; }
    .section-title { margin-bottom: 1.75rem; }
}

/* Old theme paddings were huge; tame them site-wide */
.pd-top-140 { padding-top: 96px !important; }
.pd-top-110 { padding-top: 88px !important; }
.pd-top-120 { padding-top: 88px !important; }
.pd-bottom-120 { padding-bottom: 88px !important; }
.pd-bottom-90 { padding-bottom: 72px !important; }
@media (max-width: 767.98px) {
    .pd-top-140, .pd-top-110, .pd-top-120 { padding-top: 60px !important; }
    .pd-bottom-120, .pd-bottom-90 { padding-bottom: 56px !important; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Shared components (home + inner pages)
   ========================================================================== */
.smo-icon {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--smo-gold-100);
    color: #9a7000;
    font-size: 1.15rem;
}
.smo-icon--lg { width: 56px; height: 56px; border-radius: 16px; font-size: 1.35rem; }
.smo-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .75rem;
    border-radius: 999px;
    background: var(--smo-bg-tint);
    color: var(--smo-navy-700);
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
}
.smo-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .9rem; color: var(--smo-navy-800); text-decoration: none; }
.smo-link i { transition: transform .2s ease; }
.smo-link:hover i { transform: translateX(3px); }
.smo-empty { padding: 2rem; border: 1px dashed var(--smo-line); border-radius: var(--smo-radius); text-align: center; color: var(--smo-muted); background: #fff; }
.smo-empty--dark { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .75); }
.smo-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
.smo-section-head .section-title { max-width: 680px; }
.smo-hl { color: var(--smo-navy-600); position: relative; white-space: nowrap; }
.smo-hl::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: .06em;
    height: .32em;
    background: var(--smo-gold-400);
    opacity: .55;
    border-radius: 4px;
    z-index: -1;
}

/* ==========================================================================
   Home
   ========================================================================== */
.smo-home { position: relative; }
.smo-hero {
    position: relative;
    padding: 72px 0 120px;
    background:
        radial-gradient(800px 420px at 90% 10%, rgba(253, 200, 0, .14), transparent 60%),
        radial-gradient(700px 400px at 0% 100%, rgba(36, 90, 128, .10), transparent 60%),
        linear-gradient(180deg, #fbfcfe 0%, #f2f6fb 100%);
    overflow: hidden;
    isolation: isolate;
}
.smo-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 47, 73, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 47, 73, .05) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 70%);
    mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 70%);
    z-index: -1;
}
.smo-hero__title {
    font-size: clamp(2.3rem, 1.4rem + 3.4vw, 3.9rem) !important;
    line-height: 1.06 !important;
    font-weight: 800 !important;
    letter-spacing: -0.035em !important;
    color: var(--smo-ink) !important;
    margin: .25rem 0 1.25rem;
    position: relative;
    z-index: 0;
}
.smo-hero__lead { font-size: 1.12rem; line-height: 1.7; color: var(--smo-text); max-width: 540px; margin-bottom: 2rem; }
.smo-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }
.smo-hero__actions .smo-btn--ghost { background: #fff; }
.smo-hero__trust { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; padding: 0; margin: 0; }
.smo-hero__trust li { display: inline-flex; align-items: center; gap: .45rem; font-size: .92rem; font-weight: 600; color: var(--smo-navy-700); }
.smo-hero__trust i { color: var(--smo-green); }
.smo-hero__visual { position: relative; max-width: 560px; margin: 0 auto; padding: 0 0 40px 0; }
.smo-hero__frame {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    border: 8px solid #fff;
    box-shadow: var(--smo-shadow-lg);
}
.smo-hero__frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 13; object-fit: cover; }
.smo-hero__frame--sub {
    position: absolute;
    right: -28px;
    bottom: 0;
    width: 42%;
    border-width: 6px;
    border-radius: 20px;
    transform: rotate(3deg);
}
.smo-hero__frame--sub img { aspect-ratio: 16 / 12; }
.smo-hero__chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .7rem 1rem .7rem .7rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--smo-shadow);
    border: 1px solid var(--smo-line-soft);
    line-height: 1.2;
    z-index: 3;
}
.smo-hero__chip small { display: block; font-size: .72rem; color: var(--smo-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.smo-hero__chip strong { display: block; font-family: var(--smo-font-head); font-size: .95rem; color: var(--smo-ink); }
.smo-hero__chip-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--smo-navy-800); color: #fff; }
.smo-hero__chip-icon--gold { background: var(--smo-gold-400); color: var(--smo-ink); }
.smo-hero__chip--top { top: 28px; left: -36px; }
.smo-hero__chip--bottom { bottom: 64px; left: -20px; }
@media (max-width: 1199.98px) {
    .smo-hero__chip--top { left: -12px; }
    .smo-hero__chip--bottom { left: 0; }
    .smo-hero__frame--sub { right: -8px; }
}
@media (max-width: 991.98px) {
    .smo-hero { padding: 48px 0 96px; text-align: center; }
    .smo-hero__lead { margin-left: auto; margin-right: auto; }
    .smo-hero__actions, .smo-hero__trust { justify-content: center; }
}
@media (max-width: 575.98px) {
    .smo-hero { padding: 36px 0 88px; }
    .smo-hero__lead { font-size: 1.02rem; }
    .smo-hero__actions .smo-btn { width: 100%; }
    .smo-hero__chip { padding: .5rem .8rem .5rem .5rem; }
    .smo-hero__chip-icon { width: 34px; height: 34px; }
    .smo-hero__chip--top { top: 12px; left: 8px; }
    .smo-hero__chip--bottom { bottom: 52px; left: auto; right: 8px; }
}

.smo-highlights { position: relative; margin-top: -64px; z-index: 5; }
.smo-highlights__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: var(--smo-radius-lg);
    border: 1px solid var(--smo-line-soft);
    box-shadow: var(--smo-shadow-lg);
    overflow: hidden;
}
.smo-highlight { display: flex; align-items: center; gap: .9rem; padding: 1.5rem 1.4rem; }
.smo-highlight + .smo-highlight { border-left: 1px solid var(--smo-line-soft); }
.smo-highlight h3 { font-size: 1rem !important; margin: 0 0 .15rem; }
.smo-highlight p { margin: 0; font-size: .85rem; color: var(--smo-muted); line-height: 1.45; }
@media (max-width: 991.98px) {
    .smo-highlights__grid { grid-template-columns: repeat(2, 1fr); }
    .smo-highlight:nth-child(3) { border-left: 0; }
    .smo-highlight:nth-child(n+3) { border-top: 1px solid var(--smo-line-soft); }
}
@media (max-width: 575.98px) {
    .smo-highlight { flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1.1rem; }
    .smo-highlight .smo-icon { width: 40px; height: 40px; }
}

.smo-about__media { position: relative; padding-bottom: 48px; }
.smo-about__media img { display: block; width: 100%; height: auto; border-radius: var(--smo-radius-lg); background: var(--smo-bg-tint); box-shadow: var(--smo-shadow); }
.smo-about__quote {
    position: absolute;
    right: 24px;
    bottom: 0;
    max-width: 78%;
    padding: 1.2rem 1.35rem;
    border-radius: var(--smo-radius);
    background: var(--smo-navy-800);
    color: rgba(255, 255, 255, .9);
    font-size: .92rem;
    line-height: 1.6;
    box-shadow: var(--smo-shadow-lg);
}
.smo-about__quote i { display: block; color: var(--smo-gold-400); font-size: 1.2rem; margin-bottom: .4rem; }
.smo-checklist { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: 1rem; }
.smo-checklist li { display: flex; gap: 1rem; padding: 1.1rem 1.2rem; border: 1px solid var(--smo-line); border-radius: var(--smo-radius); background: #fff; }
.smo-checklist__icon { display: inline-grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: #e6f4ee; color: var(--smo-green); font-size: .85rem; }
.smo-checklist h3 { font-size: 1.02rem !important; margin: .2rem 0 .25rem; }
.smo-checklist p { margin: 0; font-size: .93rem; color: var(--smo-muted); }

.smo-exams {
    background: var(--smo-navy-900);
    background-image:
        radial-gradient(900px 400px at 100% 0%, rgba(253, 200, 0, .10), transparent 60%),
        radial-gradient(700px 400px at 0% 100%, rgba(36, 90, 128, .5), transparent 60%);
}
.smo-exams .section-title .title { color: #fff !important; }
.smo-exams .section-title .content { color: rgba(255, 255, 255, .7); }
.smo-exams .section-title .content strong { color: var(--smo-gold-400); }
.smo-exams .sub-title { background: rgba(253, 200, 0, .14) !important; color: var(--smo-gold-400) !important; }
.smo-exam-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
    border-radius: var(--smo-radius-lg);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    transition: transform .2s ease, box-shadow .2s ease;
}
.smo-exam-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
.smo-exam-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.smo-exam-card__date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 14px; background: var(--smo-gold-100); line-height: 1; }
.smo-exam-card__date .d { font-family: var(--smo-font-head); font-size: 1.5rem; font-weight: 800; color: var(--smo-ink); }
.smo-exam-card__date .m { font-size: .68rem; font-weight: 700; color: #8a6500; text-transform: uppercase; margin-top: 4px; letter-spacing: .04em; }
.smo-exam-card__title { font-size: 1.15rem !important; margin: 0 0 .75rem; line-height: 1.35; }
.smo-exam-card__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; list-style: none; padding: 0; margin: 0 0 1.4rem; font-size: .88rem; color: var(--smo-muted); }
.smo-exam-card__meta i { color: var(--smo-navy-600); margin-right: .25rem; }
.smo-exam-card__foot { margin-top: auto; }

.smo-feature {
    position: relative;
    height: 100%;
    padding: 1.75rem 1.5rem;
    border-radius: var(--smo-radius-lg);
    background: #fff;
    border: 1px solid var(--smo-line);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    overflow: hidden;
}
.smo-feature:hover { transform: translateY(-4px); box-shadow: var(--smo-shadow); border-color: transparent; }
.smo-feature__num { position: absolute; top: 1rem; right: 1.25rem; font-family: var(--smo-font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--smo-bg-tint); }
.smo-feature h3 { font-size: 1.12rem !important; margin: 1.1rem 0 .5rem; }
.smo-feature p { margin: 0; font-size: .93rem; color: var(--smo-muted); line-height: 1.6; }

.smo-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.smo-steps::before { content: ''; position: absolute; top: 36px; left: 12%; right: 12%; border-top: 2px dashed #d3dbe6; }
.smo-step { position: relative; text-align: center; padding: 0 .5rem; list-style: none; display: block; }
.smo-step::marker { content: none; }
.smo-step__icon {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--smo-line);
    box-shadow: var(--smo-shadow);
    color: var(--smo-navy-800);
    font-size: 1.5rem;
    margin-bottom: 1.1rem;
}
.smo-step__icon b { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--smo-gold-400); color: var(--smo-ink); font-size: .78rem; font-weight: 800; border: 2px solid #fff; }
.smo-step h3 { font-size: 1.1rem !important; margin-bottom: .4rem; }
.smo-step p { font-size: .93rem; color: var(--smo-muted); margin: 0 auto; max-width: 240px; }
@media (max-width: 991.98px) {
    .smo-steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.25rem; }
    .smo-steps::before { display: none; }
}
@media (max-width: 479.98px) { .smo-steps { grid-template-columns: 1fr; } }

.smo-cta-wrap { padding: 0 0 88px; }
.smo-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.75rem 3rem;
    border-radius: 28px;
    background: linear-gradient(120deg, var(--smo-navy-800) 0%, var(--smo-navy-600) 100%);
    box-shadow: var(--smo-shadow-lg);
    position: relative;
    overflow: hidden;
}
.smo-cta::after { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(253, 200, 0, .18); }
.smo-cta > * { position: relative; z-index: 1; }
.smo-cta h2 { color: #fff !important; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); margin-bottom: .4rem; }
.smo-cta p { color: rgba(255, 255, 255, .78); margin: 0; }
.smo-cta__actions { display: flex; gap: .75rem; flex-shrink: 0; flex-wrap: wrap; }
@media (max-width: 991.98px) {
    .smo-cta { flex-direction: column; align-items: flex-start; padding: 2rem 1.5rem; }
    .smo-cta-wrap { padding-bottom: 60px; }
}
@media (max-width: 575.98px) { .smo-cta__actions, .smo-cta__actions .smo-btn { width: 100%; } }

.smo-post { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--smo-line); border-radius: var(--smo-radius-lg); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.smo-post:hover { transform: translateY(-4px); box-shadow: var(--smo-shadow); }
.smo-post__thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--smo-bg-tint); }
.smo-post__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.smo-post:hover .smo-post__thumb img { transform: scale(1.04); }
.smo-post__body { display: flex; flex-direction: column; flex: 1; padding: 1.35rem 1.4rem 1.5rem; }
.smo-post__date { font-size: .8rem; font-weight: 600; color: var(--smo-muted); margin-bottom: .5rem; }
.smo-post__date i { color: #b38600; margin-right: .3rem; }
.smo-post h3 { font-size: 1.08rem !important; line-height: 1.4; margin: 0 0 1rem; }
.smo-post h3 a { color: var(--smo-ink); text-decoration: none; }
.smo-post h3 a:hover { color: var(--smo-navy-600); }
.smo-post .smo-link { margin-top: auto; }
@media (max-width: 767.98px) { .smo-section-head { flex-direction: column; align-items: flex-start; margin-bottom: 1.75rem; } }
@media (max-width: 767.98px) {
    .smo-about__media { padding-bottom: 0; }
    .smo-about__quote { position: relative; right: auto; bottom: auto; max-width: none; margin: -32px 16px 0; }
}

/* ==========================================================================
   Inner pages — shared components
   ========================================================================== */
.smo-banner__lead { max-width: 620px; margin: -.25rem auto 1.1rem; color: rgba(255, 255, 255, .78); font-size: 1.05rem; line-height: 1.6; }
.smo-w-640 { max-width: 640px; }
.smo-w-760 { max-width: 760px; }
.smo-h3 { font-size: 1.15rem !important; margin: 0 0 1rem; }
.smo-stack { display: grid; gap: 1rem; }
@media (min-width: 992px) { .smo-sticky { position: sticky; top: calc(var(--smo-header-h) + 24px); } }

.smo-card {
    background: #fff;
    border: 1px solid var(--smo-line);
    border-radius: var(--smo-radius-lg);
    box-shadow: var(--smo-shadow-sm);
}
.smo-card--pad { padding: 2rem; }
.smo-card--row { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.35rem; border-radius: var(--smo-radius); }
.smo-card__title { font-size: 1.2rem !important; margin: 0 0 1.1rem; }
.smo-card--row .smo-card__title { font-size: 1.02rem !important; margin: .1rem 0 .3rem; }
.smo-card--row p { margin: 0; font-size: .93rem; color: var(--smo-muted); }
@media (max-width: 575.98px) { .smo-card--pad { padding: 1.35rem 1.15rem; } }

.smo-media { position: relative; border-radius: var(--smo-radius-lg); overflow: hidden; background: var(--smo-bg-tint); box-shadow: var(--smo-shadow); }
.smo-media img { display: block; width: 100%; height: auto; }

.smo-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.smo-ticks li { display: flex; gap: .65rem; align-items: flex-start; font-weight: 500; color: var(--smo-ink); line-height: 1.45; }
.smo-ticks i { display: inline-grid; place-items: center; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: #e6f4ee; color: var(--smo-green); font-size: .7rem; }
.smo-ticks--light li { color: #fff; }
.smo-ticks--light i { background: var(--smo-gold-400); color: var(--smo-ink); }
@media (min-width: 576px) { .smo-ticks--2col { grid-template-columns: 1fr 1fr; column-gap: 1.25rem; } }

.smo-note { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.5rem 1.6rem; border-radius: var(--smo-radius-lg); background: var(--smo-bg-soft); border: 1px solid var(--smo-line-soft); }
.smo-note p { color: var(--smo-text); line-height: 1.75; }
@media (max-width: 575.98px) { .smo-note { flex-direction: column; padding: 1.25rem; } }

.smo-numlist { list-style: none; padding: 0; margin: 0; }
.smo-numlist li::marker { content: none; }
/* style.css adds a counter to every ol li; our component lists draw their own numbers */
ol[class*="smo-"] > li::before { content: none !important; counter-increment: none !important; }
ol[class*="smo-"] > li { margin-bottom: 0; }
.smo-numlist li { list-style: none; display: flex; gap: 1.1rem; padding: 1.15rem 0; border-top: 1px solid var(--smo-line-soft); }
.smo-numlist li:first-child { border-top: 0; padding-top: 0; }
.smo-numlist li:last-child { padding-bottom: 0; }
.smo-numlist__num { display: inline-grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; background: var(--smo-navy-800); color: var(--smo-gold-400); font-family: var(--smo-font-head); font-weight: 800; font-size: .9rem; }
.smo-numlist h4 { font-size: 1.02rem !important; margin: .15rem 0 .3rem; }
.smo-numlist p { margin: 0; font-size: .93rem; color: var(--smo-muted); line-height: 1.65; }

.smo-journey {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    height: 100%;
    padding: 2.5rem 2.5rem 0;
    border-radius: var(--smo-radius-lg);
    background: linear-gradient(120deg, var(--smo-navy-900) 0%, var(--smo-navy-700) 100%);
    overflow: hidden;
}
.smo-journey__text { padding-bottom: 2.5rem; max-width: 460px; }
.smo-journey h2 { color: #fff !important; font-size: clamp(1.45rem, 1.1rem + 1.2vw, 1.9rem); margin-bottom: .6rem; }
.smo-journey p { color: rgba(255, 255, 255, .75); margin-bottom: 1.25rem; }
.smo-journey .smo-ticks { margin-bottom: 1.6rem; }
.smo-journey__img { width: 220px; height: auto; flex-shrink: 0; align-self: flex-end; }
@media (max-width: 767.98px) {
    .smo-journey { padding: 1.75rem 1.35rem 0; }
    .smo-journey__img { display: none; }
    .smo-journey__text { padding-bottom: 1.75rem; }
}

.smo-newsletter { height: 100%; padding: 2rem; border-radius: var(--smo-radius-lg); background: var(--smo-gold-400); }
.smo-newsletter .smo-icon { background: rgba(255, 255, 255, .55); color: var(--smo-ink); margin-bottom: 1rem; }
.smo-newsletter h3 { font-size: 1.3rem !important; margin-bottom: .35rem; }
.smo-newsletter p { color: #4a3b00; font-size: .93rem; margin-bottom: 1.1rem; }
.smo-newsletter .form-control { border-color: transparent !important; }
@media (max-width: 575.98px) { .smo-newsletter { padding: 1.5rem 1.25rem; } }

.smo-exam-card--flat { border: 1px solid var(--smo-line); box-shadow: var(--smo-shadow-sm); }
.smo-exam-card--flat:hover { box-shadow: var(--smo-shadow); }

/* ---------- Bootstrap 5 helpers (the site ships Bootstrap 4; views use these BS5 classes) ---------- */
.row.g-0 { margin-left: 0; margin-right: 0; row-gap: 0; }
.row.g-0 > * { padding-left: 0; padding-right: 0; }
.row.g-2 { margin-left: -.25rem; margin-right: -.25rem; row-gap: .5rem; }
.row.g-2 > * { padding-left: .25rem; padding-right: .25rem; }
.row.g-3 { margin-left: -.5rem; margin-right: -.5rem; row-gap: 1rem; }
.row.g-3 > * { padding-left: .5rem; padding-right: .5rem; }
.row.g-4 { margin-left: -.75rem; margin-right: -.75rem; row-gap: 1.5rem; }
.row.g-4 > * { padding-left: .75rem; padding-right: .75rem; }
.row.g-5 { margin-left: -1.5rem; margin-right: -1.5rem; row-gap: 3rem; }
.row.g-5 > * { padding-left: 1.5rem; padding-right: 1.5rem; }
@media (max-width: 575.98px) {
    .row.g-5 { margin-left: -.75rem; margin-right: -.75rem; row-gap: 2.25rem; }
    .row.g-5 > * { padding-left: .75rem; padding-right: .75rem; }
}
.gap-1 { gap: .25rem !important; }
.gap-2 { gap: .5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.fw-bold { font-weight: 700 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-normal { font-weight: 400 !important; }
.me-1 { margin-right: .25rem !important; }
.me-2 { margin-right: .5rem !important; }
.me-3 { margin-right: 1rem !important; }
.ms-1 { margin-left: .25rem !important; }
.ms-2 { margin-left: .5rem !important; }
.ms-auto { margin-left: auto !important; }
.text-end { text-align: right !important; }
.text-start { text-align: left !important; }
.btn-close {
    position: absolute;
    right: .5rem;
    top: .5rem;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    opacity: .6;
    cursor: pointer;
}
.btn-close::before { content: '\00d7'; font-size: 1.5rem; line-height: 2rem; color: currentColor; }
.btn-close:hover { opacity: 1; background: rgba(0, 0, 0, .05); }
.alert-dismissible { padding-right: 3rem; }

/* ---------- Tabs (syllabus, exam pattern) ---------- */
.smo-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    max-width: 920px;
    margin: 0 auto 2.5rem;
    padding: .45rem;
    border-radius: 18px;
    background: var(--smo-bg-soft);
    border: 1px solid var(--smo-line-soft);
}
.smo-tab {
    min-height: 42px;
    padding: .5rem 1.1rem;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--smo-navy-700);
    font-family: var(--smo-font-head);
    font-weight: 700;
    font-size: .92rem;
    cursor: pointer;
    text-decoration: none !important;
    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.smo-tab:hover { background: #fff; color: var(--smo-navy-900); }
.smo-tab.active, .smo-tab[aria-selected="true"] { background: var(--smo-navy-800); color: #fff !important; box-shadow: 0 6px 16px rgba(11, 34, 57, .18); }
@media (max-width: 767.98px) {
    .smo-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-bottom: 1.75rem; }
    .smo-tabs::-webkit-scrollbar { display: none; }
    .smo-tab { flex-shrink: 0; }
}
.syllabus-content-box { display: none; }
.syllabus-content-box.active-syllabus { display: block; }

.smo-empty--lg { max-width: 640px; margin: 0 auto; padding: 2.75rem 2rem; }
.smo-empty--lg h3 { font-size: 1.2rem !important; margin-bottom: .4rem; }
.smo-empty--lg p { max-width: 460px; margin: 0 auto 1.25rem; font-size: .95rem; }

/* ---------- Syllabus ---------- */
.smo-subject { display: flex; flex-direction: column; height: 100%; padding: 1.6rem; background: #fff; border: 1px solid var(--smo-line); border-radius: var(--smo-radius-lg); box-shadow: var(--smo-shadow-sm); }
.smo-subject__head { display: flex; gap: .9rem; align-items: center; padding-bottom: 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--smo-line-soft); }
.smo-subject__head h3 { font-size: 1.15rem !important; margin: 0 0 .15rem; }
.smo-subject__count { font-size: .8rem; font-weight: 600; color: var(--smo-muted); }
.smo-subject__list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem; }
.smo-subject__list li { display: flex; align-items: center; gap: .7rem; font-size: .95rem; color: var(--smo-ink); font-weight: 500; }
.smo-subject__list li span { display: inline-grid; place-items: center; flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: var(--smo-bg-tint); color: var(--smo-navy-700); font-size: .75rem; font-weight: 700; }

/* ---------- Class levels ---------- */
.smo-level {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.6rem 1.5rem 1.4rem;
    background: #fff;
    border: 1px solid var(--smo-line);
    border-radius: var(--smo-radius-lg);
    text-decoration: none !important;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.smo-level::after { content: ''; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--smo-gold-50); transition: background-color .2s ease; }
.smo-level > * { position: relative; z-index: 1; }
.smo-level:hover { transform: translateY(-4px); box-shadow: var(--smo-shadow); border-color: transparent; }
.smo-level:hover::after { background: var(--smo-gold-100); }
.smo-level__num { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.1rem; border-radius: 16px; background: var(--smo-navy-800); color: var(--smo-gold-400); font-family: var(--smo-font-head); font-size: 1.5rem; font-weight: 800; }
.smo-level__name { font-family: var(--smo-font-head); font-size: 1.2rem; font-weight: 800; color: var(--smo-ink); }
.smo-level__hint { font-size: .85rem; color: var(--smo-muted); margin: .15rem 0 1.25rem; }
.smo-level__cta { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 700; color: var(--smo-navy-800); }
.smo-level__cta i { transition: transform .2s ease; }
.smo-level:hover .smo-level__cta i { transform: translateX(3px); }
@media (max-width: 575.98px) {
    .smo-level { padding: 1.15rem 1rem 1rem; }
    .smo-level__num { width: 46px; height: 46px; font-size: 1.25rem; border-radius: 12px; margin-bottom: .8rem; }
    .smo-level__name { font-size: 1.05rem; }
    .smo-level__hint { font-size: .78rem; margin-bottom: .9rem; }
}

/* ---------- Exam pattern ---------- */
.smo-stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--smo-line); border-radius: var(--smo-radius-lg); box-shadow: var(--smo-shadow-sm); overflow: hidden; }
.smo-stat { display: flex; align-items: center; gap: .9rem; padding: 1.4rem 1.4rem; }
.smo-stat + .smo-stat { border-left: 1px solid var(--smo-line-soft); }
.smo-stat strong { display: block; font-family: var(--smo-font-head); font-size: 1.15rem; font-weight: 800; color: var(--smo-ink); line-height: 1.2; }
.smo-stat span:not(.smo-icon) { display: block; font-size: .85rem; color: var(--smo-muted); }
@media (max-width: 991.98px) {
    .smo-stats { grid-template-columns: repeat(2, 1fr); }
    .smo-stat:nth-child(3) { border-left: 0; }
    .smo-stat:nth-child(n+3) { border-top: 1px solid var(--smo-line-soft); }
}
@media (max-width: 575.98px) {
    .smo-stat { flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1.1rem; }
    .smo-stat strong { font-size: 1.02rem; }
}
.smo-pattern-side { height: 100%; padding: 2.25rem; border-radius: var(--smo-radius-lg); background: linear-gradient(150deg, var(--smo-navy-900) 0%, var(--smo-navy-700) 100%); color: rgba(255, 255, 255, .78); }
.smo-pattern-side h2 { color: #fff !important; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); margin-bottom: .6rem; }
.smo-pattern-side p { color: rgba(255, 255, 255, .75); margin-bottom: 1.5rem; }
.smo-pattern-side__date { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1.1rem; padding: .35rem .85rem; border-radius: 999px; background: var(--smo-gold-400); color: var(--smo-ink); font-size: .8rem; font-weight: 700; }
.smo-pattern-side__note { margin: 1.5rem 0 0 !important; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }
@media (max-width: 575.98px) { .smo-pattern-side { padding: 1.6rem 1.25rem; } }
.smo-section-card { padding: 1.5rem 1.6rem; background: #fff; border: 1px solid var(--smo-line); border-left: 4px solid var(--smo-gold-400); border-radius: var(--smo-radius); }
.smo-section-card__no { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--smo-muted); }
.smo-section-card h3 { font-size: 1.15rem !important; margin: .3rem 0 .4rem; }
.smo-section-card p { margin: 0 0 1rem; font-size: .95rem; color: var(--smo-text); }
.smo-section-card__tags { display: flex; flex-wrap: wrap; gap: .4rem; }

/* ---------- Class exams (exam pass card) ---------- */
.smo-pass { display: flex; height: 100%; background: #fff; border: 1px solid var(--smo-line); border-radius: var(--smo-radius-lg); box-shadow: var(--smo-shadow-sm); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.smo-pass:hover { box-shadow: var(--smo-shadow); transform: translateY(-2px); }
.smo-pass__date { display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; width: 112px; padding: 1.25rem .5rem; background: var(--smo-navy-800); color: #fff; line-height: 1; }
.smo-pass__date .d { font-family: var(--smo-font-head); font-size: 2.2rem; font-weight: 800; color: var(--smo-gold-400); }
.smo-pass__date .m { margin-top: .4rem; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.smo-pass__date .y { margin-top: .3rem; font-size: .78rem; color: rgba(255, 255, 255, .6); }
.smo-pass__body { flex: 1; min-width: 0; padding: 1.5rem 1.6rem; }
.smo-pass__body h3 { font-size: 1.2rem !important; margin: 0 0 .7rem; line-height: 1.35; }
.smo-pass__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.1rem; border-top: 1px solid var(--smo-line-soft); }
.smo-price strong { display: block; font-family: var(--smo-font-head); font-size: 1.5rem; font-weight: 800; color: var(--smo-ink); line-height: 1.1; }
.smo-price span { font-size: .8rem; color: var(--smo-muted); font-weight: 500; }
@media (max-width: 575.98px) {
    .smo-pass { flex-direction: column; }
    .smo-pass__date { width: auto; flex-direction: row; gap: .5rem; padding: .85rem 1.25rem; justify-content: flex-start; }
    .smo-pass__date .d { font-size: 1.4rem; }
    .smo-pass__date .m, .smo-pass__date .y { margin-top: 0; font-size: .9rem; }
    .smo-pass__body { padding: 1.25rem; }
    .smo-pass__foot .smo-btn { width: 100%; }
}

/* ---------- All exams (filter + grid) ---------- */
.smo-filter { padding: 1.25rem; background: #fff; border: 1px solid var(--smo-line); border-radius: var(--smo-radius-lg); }
.smo-filter__title { font-size: .78rem !important; font-weight: 800 !important; letter-spacing: .1em; text-transform: uppercase; color: var(--smo-muted) !important; margin: .25rem .5rem .9rem; }
.smo-filter__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.smo-filter__list a { display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding: .5rem .8rem; border-radius: 10px; font-weight: 600; font-size: .93rem; color: var(--smo-ink); text-decoration: none; }
.smo-filter__list a i { font-size: .7rem; color: var(--smo-muted); }
.smo-filter__list a:hover { background: var(--smo-bg-tint); }
.smo-filter__list a.active { background: var(--smo-navy-800); color: #fff; }
.smo-filter__list a.active i { color: var(--smo-gold-400); }
@media (min-width: 992px) { .smo-filter { position: sticky; top: calc(var(--smo-header-h) + 24px); } }
@media (max-width: 991.98px) {
    .smo-filter { padding: 0; border: 0; background: transparent; }
    .smo-filter__title { display: none; }
    .smo-filter__list { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: none; }
    .smo-filter__list::-webkit-scrollbar { display: none; }
    .smo-filter__list a { flex-shrink: 0; white-space: nowrap; border: 1px solid var(--smo-line); background: #fff; border-radius: 999px; padding: .45rem 1rem; }
    .smo-filter__list a i { display: none; }
}
.smo-results-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1.5rem; }
.smo-results-head h2 { font-size: 1.25rem !important; margin: 0; }
.smo-results-head p { margin: 0; font-size: .9rem; color: var(--smo-muted); }

/* Pagination (Bootstrap 5 markup from Laravel) */
.pagination { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0; list-style: none; }
.pagination .page-link { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 .75rem; border: 1px solid var(--smo-line); border-radius: 10px !important; background: #fff; color: var(--smo-ink); font-weight: 600; font-size: .9rem; text-decoration: none; }
.pagination .page-link:hover { border-color: var(--smo-navy-800); }
.pagination .active .page-link { background: var(--smo-navy-800); border-color: var(--smo-navy-800); color: #fff; }
.pagination .disabled .page-link { color: #a8b3c0; background: var(--smo-bg-soft); }

/* ---------- FAQ ---------- */
.smo-faq-group { margin-bottom: 2.5rem; scroll-margin-top: calc(var(--smo-header-h) + 24px); }
.smo-faq-group:last-child { margin-bottom: 0; }
.smo-faq-group > h2 { font-size: 1.3rem !important; margin: 0 0 1rem; }
.smo-faq { background: #fff; border: 1px solid var(--smo-line); border-radius: var(--smo-radius); margin-bottom: .65rem; transition: border-color .15s ease, box-shadow .15s ease; }
.smo-faq[open] { border-color: #cfd8e3; box-shadow: var(--smo-shadow-sm); }
.smo-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: .9rem 1.25rem; cursor: pointer; list-style: none; font-family: var(--smo-font-head); font-weight: 700; font-size: 1rem; color: var(--smo-ink); }
.smo-faq summary::-webkit-details-marker { display: none; }
.smo-faq summary i { display: inline-grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--smo-bg-tint); color: var(--smo-navy-700); font-size: .75rem; transition: transform .2s ease, background-color .2s ease; }
.smo-faq[open] summary i { transform: rotate(45deg); background: var(--smo-gold-400); color: var(--smo-ink); }
.smo-faq__body { padding: 0 1.25rem 1.15rem; }
.smo-faq__body p { margin: 0; color: var(--smo-text); line-height: 1.7; }
.smo-faq__body a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.smo-support { padding: 1.75rem; border-radius: var(--smo-radius-lg); background: linear-gradient(150deg, var(--smo-navy-900) 0%, var(--smo-navy-700) 100%); color: rgba(255, 255, 255, .78); }
.smo-support .smo-icon { background: rgba(253, 200, 0, .16); color: var(--smo-gold-400); margin-bottom: 1rem; }
.smo-support h2 { color: #fff !important; font-size: 1.35rem !important; margin-bottom: .4rem; }
.smo-support p { color: rgba(255, 255, 255, .72); font-size: .93rem; }
.smo-support ul { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .6rem; }
.smo-support li { display: flex; gap: .65rem; align-items: flex-start; font-size: .93rem; }
.smo-support li i { width: 16px; margin-top: .3rem; color: var(--smo-gold-400); text-align: center; }
.smo-support li a { color: #fff; overflow-wrap: anywhere; }
.smo-support li a:hover { color: var(--smo-gold-400); }

/* ---------- Forms on cards (contact, auth) ---------- */
.smo-form-card { padding: 2.25rem; background: #fff; border: 1px solid var(--smo-line); border-radius: var(--smo-radius-lg); box-shadow: var(--smo-shadow); }
.smo-form-card__title { font-size: 1.4rem !important; margin: 0 0 .3rem; }
.smo-form-card__sub { color: var(--smo-muted); font-size: .95rem; margin-bottom: 1.5rem; }
.smo-form-card .form-label { display: block; margin-bottom: .4rem; }
.smo-form-card .form-control { width: 100%; }
.smo-req { color: var(--smo-red); }
.smo-field-error { margin-top: .35rem; font-size: .84rem; font-weight: 500; color: var(--smo-red); }
.smo-form-note { font-size: .84rem; color: var(--smo-muted); }
.smo-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { max-width: 100%; }
@media (max-width: 575.98px) {
    .smo-form-card { padding: 1.5rem 1.15rem; }
    .smo-form-card .smo-btn--lg { width: 100%; }
}

/* ---------- Contact ---------- */
.smo-contact-item { text-decoration: none !important; align-items: center; transition: border-color .15s ease, box-shadow .15s ease; }
.smo-contact-item:hover { border-color: var(--smo-navy-600); box-shadow: var(--smo-shadow); }
.smo-contact-item div { min-width: 0; }
.smo-contact-item__label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--smo-muted); }
.smo-contact-item strong { display: block; font-family: var(--smo-font-head); font-size: 1rem; color: var(--smo-ink); overflow-wrap: anywhere; }
.smo-social { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.smo-social a { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--smo-line); color: var(--smo-navy-800); text-decoration: none; }
.smo-social a:hover { background: var(--smo-gold-400); border-color: var(--smo-gold-400); color: var(--smo-ink); }

/* ---------- Syllabus (competition syllabus by grade band) ---------- */
.smo-syl { height: 100%; padding: 1.6rem; border: 1px solid var(--smo-line); border-radius: var(--smo-radius-lg); background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
.smo-syl:hover { box-shadow: var(--smo-shadow); transform: translateY(-2px); }
.smo-syl__head { display: flex; align-items: center; gap: .9rem; padding-bottom: 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--smo-line-soft); }
.smo-syl__icon { display: inline-grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; background: var(--smo-navy-800); color: var(--smo-gold-400); font-size: 1.3rem; }
.smo-syl__grades { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a6500; }
.smo-syl__head h3 { margin: .1rem 0 0; font-size: 1.25rem !important; }
.smo-syl__step { margin-left: auto; padding: .3rem .7rem; border-radius: 999px; background: var(--smo-gold-100); color: #7a5900; font-size: .75rem; font-weight: 800; white-space: nowrap; }
.smo-syl__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.smo-syl__list li { display: flex; gap: .65rem; align-items: flex-start; font-size: .96rem; color: var(--smo-ink); line-height: 1.5; }
.smo-syl__list i { flex-shrink: 0; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-top: .1rem; border-radius: 50%; background: #e6f4ee; color: var(--smo-green); font-size: .7rem; }
.smo-syl-notes { margin-top: 2.5rem; padding: 1.75rem 2rem; border-radius: var(--smo-radius-lg); background: var(--smo-gold-50); border: 1px solid #f3e3a8; }
.smo-syl-notes h3 { font-size: 1.15rem !important; margin-bottom: .9rem; display: flex; align-items: center; gap: .5rem; }
.smo-syl-notes h3 i { color: #b38600; }
.smo-syl-notes ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .6rem; }
.smo-syl-notes li { color: var(--smo-text); line-height: 1.65; }
.smo-syl-downloads { margin-top: 2rem; }
.smo-syl-downloads h3 { font-size: 1rem !important; margin-bottom: .75rem; }
@media (max-width: 575.98px) {
    .smo-syl { padding: 1.25rem; }
    .smo-syl__step { display: none; }
    .smo-syl-notes { padding: 1.25rem 1.25rem 1.25rem 1.1rem; }
}

/* ---------- Auth pages (sign in) ---------- */
.smo-auth { padding: 64px 0 88px; background: linear-gradient(180deg, #f6f8fb 0%, #fff 100%); }
.smo-auth__card { display: grid; grid-template-columns: 0.95fr 1.05fr; max-width: 980px; margin: 0 auto; background: #fff; border: 1px solid var(--smo-line); border-radius: 26px; box-shadow: var(--smo-shadow-lg); overflow: hidden; }
.smo-auth__aside { position: relative; padding: 3rem 2.5rem; color: rgba(255, 255, 255, .8); background: var(--smo-navy-900); background-image: radial-gradient(500px 300px at 100% 0%, rgba(253, 200, 0, .16), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(36, 90, 128, .6), transparent 60%); }
.smo-auth__aside .smo-eyebrow { background: rgba(253, 200, 0, .15) !important; color: var(--smo-gold-400) !important; }
.smo-auth__aside h2 { color: #fff !important; font-size: 2rem; margin: .25rem 0 .75rem; }
.smo-auth__aside p { color: rgba(255, 255, 255, .72); }
.smo-auth__points { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .9rem; }
.smo-auth__points li { display: flex; align-items: center; gap: .8rem; font-weight: 600; color: #fff; }
.smo-auth__points i { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(255, 255, 255, .08); color: var(--smo-gold-400); }
.smo-auth__main { padding: 3rem 2.75rem; }
.smo-auth__title { font-size: 1.9rem !important; margin: 0 0 .35rem; }
.smo-auth__sub { color: var(--smo-muted); margin-bottom: 1.75rem; }
.smo-auth__sub a, .smo-auth__foot a, .smo-auth__small-link { font-weight: 700; color: var(--smo-navy-600); text-decoration: none; }
.smo-auth__sub a:hover, .smo-auth__foot a:hover, .smo-auth__small-link:hover { text-decoration: underline; }
.smo-auth__small-link { font-size: .85rem; }
.smo-auth__foot { margin: 1.5rem 0 0; font-size: .9rem; color: var(--smo-muted); text-align: center; }
.smo-form .smo-field { margin-bottom: 1.1rem; }
.smo-form .form-label { margin-bottom: .4rem; }
.smo-password { position: relative; }
.smo-password .form-control { padding-right: 3rem; }
.smo-password__toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--smo-muted); }
.smo-password__toggle:hover { background: var(--smo-bg-tint); color: var(--smo-ink); }
.smo-check { display: inline-flex; align-items: center; gap: .6rem; margin: .25rem 0 1.4rem; font-weight: 500; cursor: pointer; }
.smo-check input { width: 18px; height: 18px; accent-color: var(--smo-navy-800); }
@media (max-width: 767.98px) {
    .smo-auth { padding: 32px 0 56px; }
    .smo-auth__card { grid-template-columns: 1fr; border-radius: 20px; }
    .smo-auth__aside { padding: 1.75rem 1.5rem; }
    .smo-auth__aside h2 { font-size: 1.5rem; }
    .smo-auth__points { margin-top: 1.25rem; gap: .6rem; }
    .smo-auth__main { padding: 1.75rem 1.5rem 2rem; }
}

/* ---------- Student registration ---------- */
.reg-area { padding: 64px 0 88px !important; background: var(--smo-bg-soft) !important; }
.reg-sidebar-widget {
    position: sticky;
    top: calc(var(--smo-header-h) + 52px);
    height: auto !important;
    border-radius: var(--smo-radius-lg) !important;
    padding: 2.25rem 2rem !important;
    background: var(--smo-navy-900) !important;
    background-image: radial-gradient(400px 260px at 100% 0%, rgba(253, 200, 0, .14), transparent 60%) !important;
    box-shadow: var(--smo-shadow-lg);
}
.reg-sidebar-widget .sub { display: inline-block; padding: .3rem .75rem; border-radius: 999px; background: rgba(253, 200, 0, .15); color: var(--smo-gold-400) !important; font-size: .72rem !important; font-weight: 800; letter-spacing: .1em; margin-bottom: .9rem; }
.reg-sidebar-widget h3 { font-size: 1.6rem !important; margin-bottom: .75rem !important; color: #fff !important; }
.reg-sidebar-widget .benefit-item { margin-bottom: 1.1rem !important; }
.reg-sidebar-widget .reg-icon { width: 44px !important; height: 44px !important; border-radius: 12px !important; background: rgba(255, 255, 255, .08) !important; color: var(--smo-gold-400) !important; font-size: 1.1rem !important; }
.reg-sidebar-widget h6 { color: #fff !important; font-size: 1rem !important; margin-bottom: .2rem !important; }
.reg-sidebar-widget .benefit-text p { color: rgba(255, 255, 255, .68) !important; font-size: .88rem !important; margin: 0; }
.reg-form-card { border-radius: var(--smo-radius-lg) !important; padding: 2.25rem !important; border: 1px solid var(--smo-line) !important; box-shadow: var(--smo-shadow) !important; }
.reg-form-card .form-step-title { font-size: 1.1rem !important; border-bottom-width: 3px !important; }
@media (max-width: 991.98px) { .reg-sidebar-widget { position: static; } }
@media (max-width: 575.98px) {
    .reg-area { padding: 32px 0 56px !important; }
    .reg-form-card { padding: 1.25rem !important; }
    .reg-sidebar-widget { padding: 1.5rem !important; }
}
.reg-area .row > .col-lg-4 { align-self: flex-start; }
.reg-sidebar-widget { margin-top: 0 !important; }
@media (max-width: 991.98px) { .reg-area .row > .col-lg-4 { order: 2; } }

/* ---------- Policy pages ---------- */
.smo-policy { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 2rem; align-items: start; }
.smo-policy__body { padding: 2.5rem; background: #fff; border: 1px solid var(--smo-line); border-radius: var(--smo-radius-lg); overflow-wrap: anywhere; }
.smo-policy__body h2 { font-size: 1.5rem !important; margin: 2rem 0 .75rem; }
.smo-policy__body h3 { font-size: 1.2rem !important; margin: 1.5rem 0 .5rem; }
.smo-policy__body > :first-child { margin-top: 0; }
.smo-policy__body p, .smo-policy__body li { line-height: 1.75; }
.smo-policy__body img, .smo-policy__body table { max-width: 100%; height: auto; }
.smo-policy__pending { text-align: center; padding: 1.5rem 0; }
.smo-policy__pending h2 { margin: 1rem 0 .5rem !important; }
.smo-policy__pending p { max-width: 460px; margin: 0 auto; color: var(--smo-muted); }
.smo-policy__nav { position: sticky; top: calc(var(--smo-header-h) + 52px); padding: 1.4rem; background: #fff; border: 1px solid var(--smo-line); border-radius: var(--smo-radius-lg); }
.smo-policy__nav h3 { font-size: .78rem !important; letter-spacing: .1em; text-transform: uppercase; color: var(--smo-muted) !important; margin-bottom: .75rem; }
.smo-policy__nav ul { list-style: none; margin: 0; padding: 0; }
.smo-policy__nav a:not(.smo-btn) { display: flex; justify-content: space-between; align-items: center; padding: .6rem .75rem; border-radius: 10px; color: var(--smo-ink); font-weight: 600; font-size: .93rem; text-decoration: none; }
.smo-policy__nav a:not(.smo-btn):hover { background: var(--smo-bg-tint); }
.smo-policy__nav a.is-active { background: var(--smo-gold-100); }
@media (max-width: 991.98px) {
    .smo-policy { grid-template-columns: 1fr; }
    .smo-policy__nav { position: static; }
}
@media (max-width: 575.98px) { .smo-policy__body { padding: 1.4rem; } }

/* ---------- Payment result pages ---------- */
.payment-actions { display: flex !important; flex-wrap: wrap; justify-content: center; gap: .6rem !important; }
.btn.btn-yellow, .btn.btn-black {
    display: inline-flex !important; align-items: center; justify-content: center; gap: .5rem;
    min-height: 46px; padding: .6rem 1.3rem !important; border-radius: 999px !important;
    font-family: var(--smo-font-head); font-weight: 700 !important; font-size: .95rem !important; text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn.btn-yellow { background: var(--smo-gold-400) !important; color: var(--smo-ink) !important; border: 1.5px solid var(--smo-gold-400) !important; box-shadow: 0 6px 16px rgba(245, 184, 0, .28); }
.btn.btn-yellow:hover { background: var(--smo-gold-500) !important; transform: translateY(-1px); }
.btn.btn-black { background: #fff !important; color: var(--smo-navy-800) !important; border: 1.5px solid var(--smo-line) !important; box-shadow: none !important; }
.btn.btn-black:hover { border-color: var(--smo-navy-800) !important; transform: translateY(-1px); }
@media (max-width: 575.98px) { .payment-actions .btn { width: 100%; } }

/* ---------- Hall ticket header (page CSS sets no text colour for the subtitle) ---------- */
.hall-ticket-header { background: var(--smo-navy-900) !important; background-image: radial-gradient(500px 220px at 100% 0%, rgba(253, 200, 0, .16), transparent 60%) !important; }
.hall-ticket-header h2 { font-size: clamp(1.35rem, 1rem + 1.4vw, 2rem) !important; letter-spacing: .04em !important; color: #fff !important; }
.hall-ticket-header p { color: var(--smo-gold-400) !important; opacity: 1 !important; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; }

/* ---------- Customer care number (WhatsApp only) ---------- */
.smo-cc { display: flex; gap: .7rem; align-items: flex-start; }
.smo-cc > i { color: #25d366 !important; font-size: 1.05rem; margin-top: .2rem; width: 16px; text-align: center; }
.smo-cc__label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.smo-cc a { font-weight: 700; }
.smo-cc__note { display: block; font-size: .78rem; line-height: 1.4; opacity: .75; margin-top: .1rem; }
.smo-contact-item .fa-whatsapp { color: #128c4a; }

/* ---------- Logo: large enough to read the emblem ---------- */
:root { --smo-header-h: 92px; }
.smo-brand { gap: .85rem; }
.smo-brand img {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 14px rgba(11, 34, 57, .18);
    transition: width .2s ease, height .2s ease;
}
.smo-brand__text strong { font-size: 1.15rem; }
.smo-header.is-scrolled .smo-nav__inner { min-height: 76px; }
.smo-header.is-scrolled .smo-brand img { width: 58px; height: 58px; }
.smo-footer .smo-brand img { width: 72px; height: 72px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .12); }
@media (max-width: 1199.98px) { .smo-brand img { width: 64px; height: 64px; } }
@media (max-width: 991.98px) {
    :root { --smo-header-h: 72px; }
    .smo-brand img, .smo-header.is-scrolled .smo-brand img { width: 54px; height: 54px; }
    .smo-header.is-scrolled .smo-nav__inner { min-height: var(--smo-header-h); }
    .smo-brand__text strong { font-size: 1.02rem; }
}
/* Bigger logo: give the menu a little less room so everything fits in the container */
@media (max-width: 1399.98px) and (min-width: 992px) {
    .smo-nav__inner { gap: 1rem; }
    .smo-nav__links a { padding: .5rem .55rem; font-size: .9rem; }
    .smo-nav__actions .smo-btn { padding: .5rem .85rem; }
    .smo-brand__text strong { font-size: 1.05rem; }
}
@media (max-width: 1199.98px) and (min-width: 992px) {
    .smo-brand__text { display: none; }
    .smo-nav__links a { padding: .45rem .45rem; font-size: .86rem; }
}
