/* ============================================================
   ShuleXpert Public Site — Education template retheme
   Brand: #940000 | #FFFFFF | #FFF5F5 | Century Gothic
   Powered by EmCa Techonology
   ============================================================ */

@font-face {
    font-family: 'Century Gothic';
    src: local('Century Gothic'), local('CenturyGothic'),
         url('https://fonts.cdnfonts.com/s/16107/CenturyGothic.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --sx-primary: #940000;
    --sx-primary-dark: #7a0000;
    --sx-primary-deep: #5c0000;
    --sx-accent: #c43a3a;
    --sx-accent-light: #e86a6a;
    --sx-cream: #FFF5F5;
    --sx-white: #FFFFFF;
    --sx-soft: #FFF5F5;
    --sx-header-grad: linear-gradient(125deg, #FFF5F5 0%, #ffffff 38%, #fde8e8 72%, #f5c4c4 100%);
    --sx-section-grad: linear-gradient(160deg, #ffffff 0%, #FFF5F5 40%, #fdeaea 100%);
    --sx-topbar-grad: linear-gradient(105deg, #5c0000 0%, #940000 28%, #c43a3a 52%, #940000 76%, #4a0000 100%);
    --sx-nav-grad: linear-gradient(168deg, #0f0812 0%, #1a0c16 38%, #120810 62%, #04091e 100%);
    --sx-nav-grad-scrolled: linear-gradient(168deg, rgba(15,8,18,0.98) 0%, rgba(26,12,22,0.98) 38%, rgba(18,8,16,0.99) 62%, rgba(4,9,30,0.99) 100%);
    --sx-art-grad: linear-gradient(145deg, #940000 0%, #5c0000 42%, #1a0a12 78%, #04091e 100%);
    --sx-art-grad-soft: linear-gradient(160deg, #fff 0%, #FFF5F5 35%, #f5d0d0 70%, #e8a0a0 100%);
    --sx-cta-grad: linear-gradient(118deg, #940000 0%, #c43a3a 42%, #7a0000 78%, #5c0000 100%);
    --sx-btn-grad: linear-gradient(120deg, #7a0000 0%, #940000 35%, #c43a3a 65%, #940000 100%);
    --sx-footer-grad: linear-gradient(165deg, #04091e 0%, #1a0a12 45%, #2a0c14 70%, #0a0610 100%);
    --sx-dark: #04091e;
    --sx-text: #555555;
    --sx-title: #222222;
}

html, body {
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif !important;
    background: var(--sx-white);
    color: var(--sx-text);
}

h1, h2, h3, h4, h5, h6,
.banner-content h1,
.about-content h1,
.section-title h1,
.menu-content .title h1,
.nav-menu a,
.primary-btn,
.footer-area,
.single-footer-widget h4 {
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif !important;
}

/* ---------- Color retheme (template orange → corporate red) ---------- */
::selection { background: var(--sx-primary); color: #fff; }
b, sup, sub, u, del { color: var(--sx-primary); }

.primary-btn,
.genric-btn.primary,
.cta-two-area,
.top-head-btn,
.header-top .btn,
.single-feature:not(.sx-feature-card):hover .title,
.popular-course-area .owl-dot.active,
.review-area .owl-dot.active,
.active-upcoming-event-carusel .owl-dot.active,
.blog-pagination .page-item.active .page-link,
.widget-wrap .popular-post-widget .popular-title,
.widget-wrap .post-category-widget .category-title,
.widget-wrap .newsletter-widget .newsletter-title,
.widget-wrap .tag-cloud-widget .tagcloud-title,
.widget-wrap .search-widget form.search-form input[type=text],
.widget-wrap .search-widget form.search-form button,
.footer-bottom .lnr,
.footer-bottom a,
.footer-bottom .footer-social a:hover,
#mobile-nav ul .menu-item-active,
#mobile-nav ul .menu-has-children i.fa-chevron-up {
    background-color: var(--sx-primary) !important;
}

.primary-btn { background: var(--sx-btn-grad) !important; color: #fff !important; border-radius: 0 !important; border: none !important; }
.primary-btn:hover { background: var(--sx-white) !important; color: var(--sx-primary) !important; }
.primary-btn.wh {
    background: linear-gradient(145deg, #ffffff 0%, #FFF5F5 100%) !important;
    color: var(--sx-title) !important;
    border: 1px solid rgba(148,0,0,0.15) !important;
}
.primary-btn.wh:hover { background: var(--sx-dark) !important; color: #fff !important; border-color: var(--sx-dark) !important; }

.banner-content .primary-btn:hover { background: #fff !important; color: var(--sx-primary) !important; }

/* ============================================================
   HEADER — top bar (red) vs main nav (dark plum) — distinct layers
   ============================================================ */
/* Fixed header — banner/content sits underneath (no white gap) */
#header,
#header.sx-site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 997;
    transition: all 0.5s ease;
    background: transparent;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}
#header.sx-site-header .sx-header-inner {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}
#header.sx-site-header .header-top {
    background: var(--sx-topbar-grad);
    width: 100%;
    max-width: 100%;
    padding: 9px 0;
    position: relative;
    overflow: hidden;
    border-bottom: none;
}
#header.sx-site-header .header-top::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 8% 50%, rgba(255,255,255,0.14) 0%, transparent 45%),
        radial-gradient(ellipse at 92% 50%, rgba(0,0,0,0.22) 0%, transparent 40%);
    pointer-events: none;
}
#header.sx-site-header .header-top::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,245,245,0.55) 50%, transparent 100%);
    pointer-events: none;
}
#header.sx-site-header .header-top a {
    color: rgba(255,255,255,0.95);
    position: relative;
    z-index: 1;
}
#header.sx-site-header .header-top a:hover {
    color: #fff;
}
#header.sx-site-header .header-top a:hover i,
#header.sx-site-header .header-top a:hover .lnr {
    color: var(--sx-primary) !important;
}

#header.sx-site-header .main-menu {
    background: var(--sx-nav-grad);
    width: 100%;
    max-width: 100%;
    padding-top: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(148,0,0,0.35);
    position: relative;
    overflow: visible;
    z-index: 1002;
}
#header.sx-site-header .sx-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 16px;
    width: 100%;
    min-height: 48px;
}
#header.sx-site-header #logo {
    flex: 0 0 auto;
    min-width: 0;
}
#header.sx-site-header #nav-menu-container {
    position: static;
    overflow: visible;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
#header.sx-site-header .nav-menu {
    position: static;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0;
    margin: 0;
    padding: 0;
}
#header.sx-site-header .main-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 0%, rgba(196,58,58,0.22) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 100%, rgba(148,0,0,0.12) 0%, transparent 45%),
        linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 35%);
    pointer-events: none;
}
#header.sx-site-header .main-menu .sx-header-inner > .sx-nav-bar,
#header.sx-site-header .main-menu #logo,
#header.sx-site-header .main-menu #nav-menu-container {
    position: relative;
    z-index: 1;
}

#header.sx-site-header.header-scrolled .header-top {
    background: linear-gradient(105deg, #4a0000 0%, #7a0000 35%, #940000 65%, #5c0000 100%);
}
#header.sx-site-header.header-scrolled .main-menu {
    background: var(--sx-nav-grad-scrolled);
    border-bottom-color: rgba(196,58,58,0.25);
    box-shadow: 0 10px 36px rgba(0,0,0,0.35);
}

.header-top { background: var(--sx-topbar-grad); }
.header-top a:hover i { color: var(--sx-primary) !important; }

#header.header-scrolled { background-color: transparent; }

/* Header nav links — visible on dark nav bar */
#header.sx-site-header .nav-menu,
#header.sx-site-header .nav-menu > li,
#header.sx-site-header .nav-menu a {
    visibility: visible !important;
    opacity: 1 !important;
}
#header.sx-site-header #nav-menu-container {
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
}
#header.sx-site-header .nav-menu {
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0;
}
#header.sx-site-header .nav-menu > li {
    margin-left: 4px;
    flex: 0 0 auto;
}
#header.sx-site-header .nav-menu a {
    font-size: 11px;
    padding: 6px 5px;
    white-space: nowrap;
    color: #ffffff !important;
    font-weight: 500;
    letter-spacing: 0.04em;
    background: transparent !important;
    background-color: transparent !important;
    text-shadow: none;
}
#header.sx-site-header .nav-menu > li:hover > a {
    color: #ffc9c9 !important;
    background: transparent !important;
}
#header.sx-site-header .nav-menu > li.active > a {
    color: #ffffff !important;
    background: transparent !important;
    box-shadow: inset 0 -2px 0 #ffc9c9;
}
#header.sx-site-header .nav-menu ul li a {
    color: #333333 !important;
    background: transparent !important;
    box-shadow: none;
}
#header.sx-site-header .nav-menu ul li:hover > a {
    color: var(--sx-primary) !important;
    background: transparent !important;
}
#header.sx-site-header .nav-menu .sx-login-link a,
#header.sx-site-header .nav-menu .sx-login-link:hover > a,
#header.sx-site-header .nav-menu .sx-login-link.active > a {
    color: #ffffff !important;
    background: transparent !important;
    box-shadow: none;
}
#header.sx-site-header .nav-menu .sx-login-link:hover > a {
    color: #ffc9c9 !important;
}
#header.sx-site-header .nav-menu .sx-login-link.active > a {
    color: #ffffff !important;
    box-shadow: inset 0 -2px 0 #ffc9c9;
}
#header.sx-site-header .nav-menu .sx-modules-mega > a .sx-mega-caret {
    color: #ffffff !important;
}
#header.sx-site-header .nav-menu .sx-modules-mega:hover > a .sx-mega-caret,
#header.sx-site-header .nav-menu .sx-modules-mega.active > a .sx-mega-caret {
    color: #ffc9c9 !important;
}

.single-feature:not(.sx-feature-card):hover .title { background: var(--sx-primary) !important; }
.single-feature:not(.sx-feature-card):hover .desc-wrap a { color: var(--sx-primary) !important; }
@media (max-width: 991px) {
    .single-feature:not(.sx-feature-card) .title { background: var(--sx-primary) !important; }
}

.single-popular-carusel .details h4:hover,
.single-carusel .detials h4:hover,
#main-content a:hover,
.footer-area a:hover {
    color: var(--sx-primary);
}

.cta-two-area { background: var(--sx-cta-grad) !important; }
.review-area {
    background:
        radial-gradient(ellipse at 0% 50%, rgba(148,0,0,0.06) 0%, transparent 55%),
        linear-gradient(180deg, #FFF5F5 0%, #ffffff 100%) !important;
}
/* Home — testimonials with SS.jpg background */
.sx-reviews-showcase.review-area {
    position: relative;
    overflow: hidden;
    background: transparent !important;
    border-top: 1px solid rgba(148, 0, 0, 0.1);
    border-bottom: 1px solid rgba(148, 0, 0, 0.1);
}
.sx-reviews-showcase.review-area::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--sx-reviews-bg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.9;
    transform: scale(1.04);
    pointer-events: none;
}
.sx-reviews-showcase.review-area::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 85% 65% at 12% 18%, rgba(228, 106, 106, 0.22) 0%, transparent 58%),
        radial-gradient(ellipse 75% 55% at 88% 22%, rgba(148, 0, 0, 0.16) 0%, transparent 52%),
        linear-gradient(
            155deg,
            rgba(255, 245, 245, 0.88) 0%,
            rgba(255, 255, 255, 0.82) 28%,
            rgba(253, 232, 232, 0.78) 55%,
            rgba(255, 245, 245, 0.88) 100%
        );
    pointer-events: none;
}
.sx-reviews-showcase .container {
    position: relative;
    z-index: 1;
}
.sx-reviews-showcase .menu-content .title h1 {
    background: linear-gradient(120deg, #5c0000 0%, #940000 42%, #1a0c16 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.sx-reviews-showcase .single-review {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 245, 245, 0.94) 100%) !important;
    box-shadow: 0 8px 28px rgba(74, 0, 0, 0.08);
    backdrop-filter: blur(6px);
}
.gray-bg, .section-bg {
    background:
        radial-gradient(ellipse at 100% 0%, rgba(196,58,58,0.08) 0%, transparent 50%),
        var(--sx-section-grad) !important;
}

.footer-area {
    background: var(--sx-footer-grad) !important;
    position: relative;
    overflow: hidden;
}
.footer-area::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(148,0,0,0.25) 0%, transparent 45%),
        radial-gradient(circle at 80% 20%, rgba(196,58,58,0.15) 0%, transparent 40%);
    pointer-events: none;
}
.footer-area .container { position: relative; z-index: 1; }
.single-footer-widget ul li a:hover { color: var(--sx-primary) !important; }
.single-footer-widget .btn { background: var(--sx-primary) !important; }

.contact-page-area .address-wrap .single-contact-address .lnr,
.contact-page-area .address-wrap .single-contact-address i { color: var(--sx-primary) !important; }

.accordion > dt > a.active { background: var(--sx-primary) !important; }

/* Soft section headers */
.sx-soft-band {
    background: var(--sx-header-grad);
    border-bottom: 1px solid #f0dada;
    position: relative;
    overflow: hidden;
}
.sx-soft-band::before {
    content: "";
    position: absolute;
    inset: -40% auto auto -10%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(148,0,0,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.menu-content .title h1,
.section-title h1 { color: var(--sx-title); }
.menu-content .title p { color: var(--sx-text); }

/* Module cards — compact icon widgets */
.sx-modules-grid {
    margin-bottom: -8px;
}
.sx-module-col {
    margin-bottom: 28px;
}
.sx-module-card {
    background: linear-gradient(165deg, #ffffff 0%, #FFF5F5 100%);
    border: 1px solid #f0dada;
    border-top: none;
    transition: transform .25s ease, box-shadow .25s ease;
    height: auto;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}
.sx-module-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--sx-cta-grad);
}
.popular-course-area {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(148,0,0,0.05) 0%, transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #FFF5F5 100%) !important;
}

/* Home — modules showcase with x.jpg + artistic gradient */
.sx-modules-showcase.popular-course-area {
    position: relative;
    overflow: hidden;
    background: transparent !important;
    border-top: 1px solid rgba(148, 0, 0, 0.1);
    border-bottom: 1px solid rgba(148, 0, 0, 0.1);
}
.sx-modules-showcase.popular-course-area::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--sx-modules-bg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.9;
    transform: scale(1.04);
    pointer-events: none;
}
.sx-modules-showcase.popular-course-area::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 85% 65% at 12% 18%, rgba(228, 106, 106, 0.28) 0%, transparent 58%),
        radial-gradient(ellipse 75% 55% at 88% 22%, rgba(148, 0, 0, 0.2) 0%, transparent 52%),
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(92, 0, 0, 0.14) 0%, transparent 48%),
        radial-gradient(circle at 72% 68%, rgba(255, 201, 201, 0.35) 0%, transparent 42%),
        linear-gradient(
            155deg,
            rgba(255, 245, 245, 0.88) 0%,
            rgba(255, 255, 255, 0.82) 24%,
            rgba(253, 232, 232, 0.78) 48%,
            rgba(255, 245, 245, 0.85) 72%,
            rgba(245, 220, 220, 0.9) 100%
        ),
        linear-gradient(105deg, rgba(26, 12, 22, 0.05) 0%, transparent 38%, rgba(148, 0, 0, 0.07) 100%);
    pointer-events: none;
}
.sx-modules-showcase .container {
    position: relative;
    z-index: 1;
}
.sx-modules-showcase .menu-content .title h1 {
    background: linear-gradient(120deg, #5c0000 0%, #940000 42%, #1a0c16 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}
.sx-modules-showcase .menu-content .title p {
    color: #4a3030;
    font-size: 15px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.sx-modules-showcase .sx-module-card {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 245, 245, 0.94) 100%);
    border-color: rgba(240, 218, 218, 0.95);
    box-shadow: 0 8px 28px rgba(74, 0, 0, 0.08);
    backdrop-filter: blur(6px);
}
.sx-modules-showcase .sx-module-card:hover {
    box-shadow: 0 16px 36px rgba(148, 0, 0, 0.16);
}
.sx-module-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(148, 0, 0, 0.14);
}
.sx-module-card .thumb {
    height: 72px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}
.sx-module-card .thumb.thumb-icon {
    background: var(--sx-art-grad);
}
.sx-module-card:nth-child(4n+1) .thumb.thumb-icon,
.col-lg-3:nth-child(4n+1) .sx-module-card .thumb.thumb-icon {
    background: linear-gradient(145deg, #940000 0%, #6b1010 50%, #1a0a12 100%);
}
.col-lg-3:nth-child(4n+2) .sx-module-card .thumb.thumb-icon {
    background: linear-gradient(160deg, #7a0000 0%, #c43a3a 45%, #2a0810 100%);
}
.col-lg-3:nth-child(4n+3) .sx-module-card .thumb.thumb-icon {
    background: linear-gradient(135deg, #5c0000 0%, #940000 40%, #04091e 100%);
}
.col-lg-3:nth-child(4n+4) .sx-module-card .thumb.thumb-icon {
    background: linear-gradient(155deg, #a31818 0%, #4a0000 55%, #120810 100%);
}
.sx-module-card .thumb.thumb-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18) 0%, transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(0,0,0,0.25) 0%, transparent 50%);
    pointer-events: none;
}
.sx-module-card .thumb.thumb-icon i {
    font-family: FontAwesome !important;
    font-style: normal;
    font-weight: normal;
    font-size: 30px;
    color: #fff;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 14px rgba(0,0,0,0.35);
    transition: transform .3s ease;
    line-height: 1;
    display: inline-block;
}
.sx-module-card:hover .thumb.thumb-icon i { transform: scale(1.06); }
.sx-module-card .details {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.sx-module-card .details h4 {
    color: var(--sx-primary);
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 15px;
    line-height: 1.3;
}
.sx-module-card .details p {
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 10px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sx-module-btn {
    align-self: flex-start;
    margin-top: auto !important;
    line-height: 32px !important;
    padding: 0 14px !important;
    font-size: 11px !important;
}
.sx-module-card .icon-badge {
    width: 48px;
    height: 48px;
    background: var(--sx-soft);
    color: var(--sx-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border: 1px solid #f0dada;
    font-size: 20px;
}

.sx-module-hero-icon {
    background: var(--sx-art-grad);
    border: none;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.sx-module-hero-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(196,58,58,0.35) 0%, transparent 45%);
}
.sx-module-hero-icon i {
    font-family: FontAwesome !important;
    font-style: normal;
    font-weight: normal;
    font-size: 72px;
    color: #fff;
    position: relative;
    z-index: 1;
    text-shadow: 0 12px 32px rgba(0,0,0,0.4);
    line-height: 1;
}

/* Feature strip on home — module-card style gradients */
.feature-area {
    background:
        linear-gradient(180deg, rgba(4,9,30,0.04) 0%, transparent 100%),
        #fff;
}
.feature-area .sx-feature-card {
    background: linear-gradient(165deg, #ffffff 0%, #FFF5F5 100%);
    border: 1px solid #f0dada;
    border-top: none;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 20px;
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 8px 28px rgba(74, 0, 0, 0.08);
}
.feature-area .sx-feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--sx-cta-grad);
    z-index: 2;
}
.feature-area .sx-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(148, 0, 0, 0.14);
}
.feature-area .sx-feature-card .title {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    border: none;
}
.feature-area .sx-feature-card .title::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18) 0%, transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(0,0,0,0.25) 0%, transparent 50%);
    pointer-events: none;
}
.feature-area .col-lg-4:nth-child(1) .sx-feature-card .title {
    background: linear-gradient(145deg, #940000 0%, #6b1010 50%, #1a0a12 100%);
}
.feature-area .col-lg-4:nth-child(2) .sx-feature-card .title {
    background: linear-gradient(160deg, #7a0000 0%, #c43a3a 45%, #2a0810 100%);
}
.feature-area .col-lg-4:nth-child(3) .sx-feature-card .title {
    background: linear-gradient(135deg, #5c0000 0%, #940000 40%, #04091e 100%);
}
.feature-area .sx-feature-card:hover .title {
    background: inherit !important;
}
.feature-area .col-lg-4:nth-child(1) .sx-feature-card:hover .title {
    background: linear-gradient(145deg, #940000 0%, #6b1010 50%, #1a0a12 100%) !important;
}
.feature-area .col-lg-4:nth-child(2) .sx-feature-card:hover .title {
    background: linear-gradient(160deg, #7a0000 0%, #c43a3a 45%, #2a0810 100%) !important;
}
.feature-area .col-lg-4:nth-child(3) .sx-feature-card:hover .title {
    background: linear-gradient(135deg, #5c0000 0%, #940000 40%, #04091e 100%) !important;
}
.feature-area .sx-feature-card .title i {
    font-family: FontAwesome !important;
    font-style: normal;
    font-weight: normal;
    font-size: 28px;
    color: #fff;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    text-shadow: 0 4px 14px rgba(0,0,0,0.35);
    transition: transform .3s ease;
}
.feature-area .sx-feature-card:hover .title i {
    transform: scale(1.06);
}
.feature-area .sx-feature-card .title h4 {
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
    margin: 0;
    position: relative;
    z-index: 1;
}
.feature-area .sx-feature-card .desc-wrap {
    padding: 14px 16px 16px;
    background: transparent;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.feature-area .sx-feature-card .desc-wrap p {
    font-size: 12px;
    line-height: 1.45;
    color: #777;
    margin-bottom: 10px;
    flex: 1;
}
.feature-area .sx-feature-card .desc-wrap a {
    color: var(--sx-primary);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: auto;
}
.feature-area .sx-feature-card:hover .desc-wrap a {
    color: var(--sx-primary-dark) !important;
}

/* Inner page banner — richer artistic gradients */
.about-banner {
    background:
        linear-gradient(128deg, rgba(148,0,0,0.94) 0%, rgba(196,58,58,0.72) 35%, rgba(92,0,0,0.82) 65%, rgba(4,9,30,0.88) 100%),
        url('../images/African_science_academy_banner_1600-x-650.webp') center/cover no-repeat !important;
}
.banner-area.home-banner {
    background:
        linear-gradient(150deg, rgba(4,9,30,0.88) 0%, rgba(92,0,0,0.65) 38%, rgba(148,0,0,0.52) 62%, rgba(196,58,58,0.38) 100%),
        url('../images/johannesburg-south-africa-january-young-african-school-kids-morning-assembly-young-african-school-kids-morning-assembly-181064204.webp') center/cover no-repeat !important;
}
.cta-two-area {
    background: var(--sx-cta-grad) !important;
    position: relative;
    overflow: hidden;
}
.cta-two-area::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 50%, rgba(255,255,255,0.15) 0%, transparent 35%),
        radial-gradient(circle at 90% 50%, rgba(0,0,0,0.2) 0%, transparent 40%);
    pointer-events: none;
}

/* Brand logo — rounded across public site */
.sx-logo,
#logo .sx-brand img {
    border-radius: 12px;
    object-fit: cover;
}

/* Brand logo in header */
#logo .sx-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
#logo .sx-brand img {
    height: 42px;
    width: 42px;
}
#logo .sx-brand-text {
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.02em;
    line-height: 1.1;
}
#logo .sx-brand-sub {
    display: block;
    font-size: 10px;
    font-weight: 600;
    opacity: 0.85;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
}

/* Login — plain nav link, visible on dark bar */
#header.sx-site-header .nav-menu .sx-login-link a {
    padding: 6px 5px !important;
    box-shadow: none !important;
    border: none !important;
}

/* Mobile nav toggle */
.sx-mobile-nav-toggle {
    display: none;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}
.sx-mobile-nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.sx-mobile-nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.sx-mobile-nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}
.sx-mobile-nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile slide-down menu (inside fixed header) */
.sx-mobile-nav {
    display: none;
    position: relative;
    z-index: 1001;
    width: 100%;
    background: linear-gradient(180deg, #1a0c16 0%, #0f0812 100%);
    border-top: 1px solid rgba(148,0,0,0.35);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    padding: 8px 16px 16px;
}
.sx-mobile-nav.is-open {
    display: block;
}
.sx-mobile-nav > ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.sx-mobile-nav > ul > li {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sx-mobile-nav > ul > li > a,
.sx-mobile-nav .sx-mobile-submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
}
.sx-mobile-nav > ul > li.active > a,
.sx-mobile-nav .sx-mobile-has-children.active > .sx-mobile-submenu-toggle {
    color: #ffc9c9;
}
.sx-mobile-submenu {
    display: none;
    margin: 0;
    padding: 0 0 8px 12px;
    list-style: none;
}
.sx-mobile-has-children.is-expanded .sx-mobile-submenu {
    display: block;
}
.sx-mobile-has-children.is-expanded .sx-mobile-submenu-toggle .fa {
    transform: rotate(180deg);
}
.sx-mobile-submenu li a {
    display: block;
    padding: 10px 4px;
    color: rgba(255,255,255,0.88);
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
}
.sx-mobile-submenu li a:hover {
    color: #ffc9c9;
}
.sx-mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 996;
    background: rgba(0,0,0,0.45);
}
.sx-mobile-nav-backdrop:not([hidden]) {
    display: block;
}
body.sx-mobile-nav-open {
    overflow: hidden;
}

@media (max-width: 991px) {
    #header.sx-site-header #nav-menu-container {
        display: none !important;
    }
    .sx-mobile-nav-toggle {
        display: inline-flex;
    }
    #header.sx-site-header .main-menu {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    #header.sx-site-header .header-top-right .text {
        display: none;
    }
    #header.sx-site-header .header-top-right a {
        margin-left: 10px;
        font-size: 14px;
    }
    #header.sx-site-header .header-top {
        padding: 7px 0;
    }
    .banner-area.fullscreen,
    .banner-area .fullscreen {
        padding-top: 120px;
        min-height: calc(100vh - 20px);
    }
    .about-banner {
        padding-top: 112px;
        padding-bottom: 28px;
        min-height: 190px;
        align-items: flex-end;
    }
    .about-banner .about-content {
        padding-top: 8px;
        padding-bottom: 4px;
    }
    .about-banner .about-content h1 {
        font-size: 26px;
        line-height: 1.25;
        margin-bottom: 8px;
    }
}

@media (max-width: 575px) {
    .about-banner {
        padding-top: 112px;
        padding-bottom: 24px;
        min-height: 180px;
    }
}

@media (min-width: 1200px) {
    #header.sx-site-header .nav-menu > li {
        margin-left: 8px;
    }
    #header.sx-site-header .nav-menu a {
        font-size: 12px;
        padding: 6px 8px;
    }
}

/* ============================================================
   Modules mega menu — full featured dropdown panel
   ============================================================ */
.sx-modules-mega {
    position: static !important;
}
.sx-modules-mega > a .sx-mega-caret {
    font-size: 11px;
    margin-left: 2px;
    transition: transform .25s ease;
    color: inherit !important;
}
.sx-modules-mega:hover > a .sx-mega-caret,
.sx-modules-mega.is-open > a .sx-mega-caret {
    transform: rotate(180deg);
}
.sx-mega-panel {
    display: none;
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%) translateY(8px);
    width: min(560px, calc(100vw - 32px));
    z-index: 1100;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
}
.sx-mega-panel::before {
    content: "";
    display: block;
    height: 8px;
    width: 100%;
}
.sx-mega-panel-inner {
    pointer-events: auto;
    background:
        linear-gradient(165deg, rgba(255,255,255,0.98) 0%, rgba(255,245,245,0.98) 100%);
    border: 1px solid rgba(148,0,0,0.18);
    box-shadow: 0 18px 40px rgba(0,0,0,0.22);
    padding: 14px 16px 16px;
    position: relative;
}
.sx-mega-panel-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--sx-cta-grad);
}
.sx-modules-mega:hover .sx-mega-panel,
.sx-modules-mega.is-open .sx-mega-panel,
.sx-modules-mega:focus-within .sx-mega-panel {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.sx-mega-head {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0dada;
}
.sx-mega-head h4 {
    margin: 0 0 2px;
    color: var(--sx-primary);
    font-weight: 800;
    font-size: 15px;
}
.sx-mega-head p {
    margin: 0;
    color: #777;
    font-size: 12px;
}
.sx-mega-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.sx-mega-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid #f0dada;
    background: linear-gradient(145deg, #ffffff 0%, #FFF5F5 100%);
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    min-height: 52px;
}
.sx-mega-item:hover {
    transform: translateY(-2px);
    border-color: rgba(148,0,0,0.35);
    box-shadow: 0 10px 22px rgba(148,0,0,0.12);
}
.sx-mega-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sx-cta-grad);
    color: #fff;
    box-shadow: 0 4px 12px rgba(148,0,0,0.18);
}
.sx-mega-icon i {
    font-family: FontAwesome !important;
    font-style: normal;
    font-size: 15px;
    line-height: 1;
}
.sx-mega-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.sx-mega-copy strong {
    color: #222;
    font-size: 12px;
    line-height: 1.25;
}
.sx-mega-copy small {
    color: #777;
    font-size: 10px;
    line-height: 1.3;
}
.sx-mega-item:hover .sx-mega-copy strong {
    color: var(--sx-primary);
}
.sx-mega-more {
    border-style: dashed;
    border-color: rgba(148,0,0,0.35);
    background: linear-gradient(145deg, #FFF5F5 0%, #ffffff 100%);
}
.sx-mega-more .sx-mega-icon {
    background: linear-gradient(145deg, #ffffff 0%, #FFF5F5 100%);
    color: var(--sx-primary);
    border: 1px solid rgba(148,0,0,0.2);
    box-shadow: none;
}
.sx-mega-more:hover {
    border-color: var(--sx-primary);
    background: #fff;
}
@media (max-width: 991px) {
    .sx-mega-panel {
        width: min(520px, calc(100vw - 24px));
    }
}
@media (max-width: 767px) {
    .sx-mega-grid {
        grid-template-columns: 1fr;
    }
}

/* Info / about blocks */
.info-area .info-area-right h1 { color: var(--sx-title); }

/* Home — Built for schools worldwide (scoped — home page only) */
.sx-home-info.sx-soft-band {
    padding: 0;
}
.sx-home-info-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}
.sx-home-info-media img {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
}
.sx-home-info-body {
    padding: 28px 20px 40px;
    box-sizing: border-box;
}
.sx-home-info-body h1 {
    color: var(--sx-title);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 14px;
}
.sx-home-info-body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--sx-text);
    overflow-wrap: break-word;
}
.sx-home-info-gap {
    margin-top: 14px !important;
}
.sx-home-info-btn {
    display: inline-block;
    margin-top: 22px;
}
@media (max-width: 575.98px) {
    .sx-home-info-body {
        padding: 24px 18px 36px;
    }
    .sx-home-info-body h1 {
        font-size: 22px;
    }
    .sx-home-info-btn {
        display: block;
        width: 100%;
        text-align: center;
        line-height: 44px;
        box-sizing: border-box;
    }
}
@media (min-width: 992px) {
    .sx-home-info-inner {
        flex-direction: row;
        align-items: stretch;
        padding: 48px 15px 56px;
        gap: 0;
    }
    .sx-home-info-media {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .sx-home-info-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border: 1px solid #f0dada;
        border-radius: 4px;
    }
    .sx-home-info-body {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 8px 0 8px 36px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .sx-home-info-body h1 {
        font-size: 30px;
        margin-bottom: 16px;
    }
    .sx-home-info-gap {
        margin-top: 20px !important;
    }
    .sx-home-info-btn {
        margin-top: 28px;
    }
}

/* About page — tighter spacing (balanced) */
.sx-about-banner.about-banner {
    min-height: 220px !important;
    padding-top: 110px !important;
    padding-bottom: 36px !important;
    align-items: flex-end;
}
.sx-about-banner .about-content {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}
.sx-about-banner .about-content h1 {
    margin-bottom: 8px;
    font-size: 34px;
}
.sx-about-features.feature-area {
    margin-top: -48px;
    padding-bottom: 28px !important;
}
.sx-about-info.section-gap {
    padding: 36px 0 48px !important;
}
.sx-about-info .info-area-right .mt-30 {
    margin-top: 18px !important;
}
.sx-about-info .info-area-right .mt-20 {
    margin-top: 12px !important;
}
@media (max-width: 991.98px) {
    .sx-about-banner.about-banner {
        min-height: 190px !important;
        padding-top: 112px !important;
        padding-bottom: 28px !important;
    }
    .sx-about-features.feature-area {
        margin-top: -36px;
        padding-bottom: 20px !important;
    }
    .sx-about-info.section-gap {
        padding: 28px 0 40px !important;
    }
}
.sx-point-list li {
    padding: 8px 0 8px 28px;
    position: relative;
    border-bottom: 1px solid #f0dada;
}
.sx-point-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 12px;
    height: 12px;
    border: 2px solid var(--sx-primary);
    background: #fff;
    border-radius: 50%;
}

/* Pricing cards */
.sx-price-card {
    background: linear-gradient(165deg, #ffffff 0%, #FFF5F5 100%);
    border: 1px solid #f0dada;
    padding: 36px 28px;
    height: 100%;
    transition: .25s ease;
    position: relative;
    overflow: hidden;
}
.sx-price-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--sx-cta-grad);
    opacity: 0;
    transition: opacity .25s ease;
}
.sx-price-card:hover::before,
.sx-price-card.featured::before { opacity: 1; }
.sx-price-card:hover,
.sx-price-card.featured {
    border-color: var(--sx-primary);
    box-shadow: 0 14px 32px rgba(148,0,0,0.14);
}
.sx-price-card.featured {
    background: var(--sx-header-grad);
}
.sx-price-card .price {
    font-size: 36px;
    font-weight: 800;
    color: var(--sx-primary);
}

/* Contact boxes */
.sx-contact-box {
    background: var(--sx-header-grad);
    border: 1px solid #f0dada;
    padding: 24px;
    margin-bottom: 16px;
}
.sx-contact-box i { color: var(--sx-primary); font-size: 28px; margin-right: 14px; }

.form-area .form-control {
    border-radius: 0 !important;
    border: 1px solid #e5cfcf;
}
.form-area .form-control:focus {
    border-color: var(--sx-primary) !important;
    box-shadow: 0 0 0 0.15rem rgba(148,0,0,0.15) !important;
}

/* Footer powered by */
.sx-powered {
    color: #ed9999;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* ============================================================
   UNIQUE SPLASH — cinematic brand reveal
   ============================================================ */
#sx-splash {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0a0000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity .7s ease, visibility .7s ease;
}
#sx-splash.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
#sx-splash .sx-splash-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148,0,0,0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,0,0,0.12) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: sxGridPulse 3s ease-in-out infinite;
}
#sx-splash .sx-splash-orb {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(148,0,0,0.45) 0%, transparent 70%);
    filter: blur(8px);
    animation: sxOrb 4s ease-in-out infinite alternate;
}
#sx-splash .sx-splash-ring {
    position: absolute;
    width: 260px;
    height: 260px;
    border: 2px solid rgba(148,0,0,0.35);
    border-top-color: #940000;
    border-radius: 50%;
    animation: sxSpin 1.4s linear infinite;
}
#sx-splash .sx-splash-ring2 {
    width: 320px;
    height: 320px;
    border-color: rgba(255,245,245,0.12);
    border-bottom-color: #FFF5F5;
    animation-duration: 2.2s;
    animation-direction: reverse;
}
#sx-splash .sx-splash-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}
#sx-splash .sx-splash-logo {
    width: 88px;
    height: 88px;
    object-fit: cover;
    margin-bottom: 18px;
    border-radius: 16px;
    animation: sxLogoIn .9s cubic-bezier(.2,.8,.2,1) both;
    filter: drop-shadow(0 0 18px rgba(148,0,0,0.65));
}
#sx-splash .sx-splash-brand {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 8px;
    background: linear-gradient(90deg, #fff 0%, #ed9999 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: sxShimmer 2.4s linear infinite, sxLogoIn .9s .15s cubic-bezier(.2,.8,.2,1) both;
}
#sx-splash .sx-splash-tag {
    font-size: 12px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255,245,245,0.75);
    margin-bottom: 22px;
    animation: sxLogoIn .9s .28s cubic-bezier(.2,.8,.2,1) both;
}
#sx-splash .sx-splash-bar {
    width: 180px;
    height: 3px;
    margin: 0 auto 18px;
    background: rgba(255,255,255,0.12);
    overflow: hidden;
    position: relative;
}
#sx-splash .sx-splash-bar > span {
    position: absolute;
    left: -40%;
    top: 0;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, transparent, #940000, #FFF5F5, transparent);
    animation: sxLoad 1.1s ease-in-out infinite;
}
#sx-splash .sx-splash-powered {
    font-size: 13px;
    color: #ed9999;
    font-weight: 700;
    letter-spacing: 0.04em;
    animation: sxLogoIn .9s .4s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes sxSpin { to { transform: rotate(360deg); } }
@keyframes sxOrb {
    from { transform: scale(0.9) translate(-10%, -6%); opacity: .7; }
    to { transform: scale(1.15) translate(8%, 10%); opacity: 1; }
}
@keyframes sxGridPulse {
    0%, 100% { opacity: .35; }
    50% { opacity: .7; }
}
@keyframes sxShimmer {
    to { background-position: 200% center; }
}
@keyframes sxLoad {
    0% { left: -40%; }
    100% { left: 100%; }
}
@keyframes sxLogoIn {
    from { opacity: 0; transform: translateY(18px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

body.sx-splash-lock { overflow: hidden; }

/* Utility */
.section-gap { padding: 48px 0 56px; }
.footer-area.section-gap { padding: 70px 0 40px; }
@media (max-width: 767px) {
    .section-gap { padding: 36px 0 44px; }
    .footer-area.section-gap { padding: 52px 0 32px; }
    #sx-splash .sx-splash-brand { font-size: 24px; letter-spacing: 0.08em; }
    .banner-content h1 { font-size: 28px !important; }
}

/* ============================================================
   Auth pages — artistic login / forgot-password
   ============================================================ */
.sx-auth-stage {
    min-height: calc(100vh - 120px);
    padding: 130px 0 70px;
    position: relative;
    background:
        radial-gradient(ellipse at 12% 20%, rgba(148,0,0,0.22) 0%, transparent 42%),
        radial-gradient(ellipse at 88% 80%, rgba(196,58,58,0.18) 0%, transparent 45%),
        linear-gradient(165deg, #0a0610 0%, #1a0a12 30%, #2a0c14 55%, #120810 78%, #04091e 100%);
    overflow: hidden;
}
.sx-oa-portal-body .sx-auth-stage {
    min-height: auto;
    padding: 36px 0 48px;
}
.sx-auth-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
    pointer-events: none;
}
.sx-auth-panel {
    display: flex;
    background: rgba(255,255,255,0.97);
    border: 1px solid rgba(255,245,245,0.25);
    box-shadow: 0 28px 80px rgba(0,0,0,0.45);
    overflow: hidden;
    min-height: 520px;
}
.sx-auth-art {
    flex: 0 0 42%;
    background: #1a0a12;
    color: #fff;
    padding: 48px 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}
.sx-auth-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--sx-auth-art-bg, url('../img/carousel-1.jpg'));
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.95;
    transform: scale(1.04);
    z-index: 0;
    pointer-events: none;
}
.sx-auth-art::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 85% 65% at 14% 18%, rgba(228, 106, 106, 0.32) 0%, transparent 58%),
        radial-gradient(ellipse 75% 55% at 88% 78%, rgba(148, 0, 0, 0.38) 0%, transparent 52%),
        radial-gradient(circle at 50% 100%, rgba(0, 0, 0, 0.35) 0%, transparent 48%),
        linear-gradient(
            145deg,
            rgba(92, 0, 0, 0.9) 0%,
            rgba(148, 0, 0, 0.82) 32%,
            rgba(74, 0, 0, 0.88) 58%,
            rgba(26, 12, 22, 0.94) 100%
        ),
        linear-gradient(105deg, rgba(255, 245, 245, 0.08) 0%, transparent 42%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
}
.sx-auth-art > * { position: relative; z-index: 2; }
.sx-auth-art .sx-auth-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 18px;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.35));
}
.sx-auth-art h2 {
    color: #fff;
    font-weight: 800;
    font-size: 28px;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}
.sx-auth-art p {
    color: rgba(255,245,245,0.88);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 0;
}
.sx-auth-art .sx-auth-powered {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ed9999;
    font-weight: 700;
    margin-top: 28px;
}
.sx-auth-form-wrap {
    flex: 1;
    padding: 44px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #fff;
}
.sx-auth-form-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../img/carousel-1.jpg') center/cover no-repeat;
    opacity: 0.7;
    z-index: 0;
    pointer-events: none;
}
.sx-auth-form-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255,245,245,0.88) 0%, rgba(255,255,255,0.84) 45%, rgba(253,228,228,0.8) 100%),
        linear-gradient(160deg, rgba(148,0,0,0.08) 0%, transparent 55%);
    z-index: 0;
    pointer-events: none;
}
.sx-auth-form-wrap > * {
    position: relative;
    z-index: 1;
}
.sx-auth-form-wrap h3 {
    color: var(--sx-primary);
    font-weight: 800;
    font-size: 22px;
    margin-bottom: 6px;
}
.sx-auth-form-wrap .sx-auth-sub {
    color: #777;
    font-size: 13px;
    margin-bottom: 28px;
}
.sx-auth-form-wrap .form-control {
    border-radius: 0;
    border: 1px solid #e8cfcf;
    height: 48px;
    padding-left: 44px;
    font-family: inherit;
}
.sx-auth-form-wrap .form-control:focus {
    border-color: var(--sx-primary);
    box-shadow: 0 0 0 0.15rem rgba(148,0,0,0.15);
}
.sx-auth-form-wrap .sx-input-wrap {
    position: relative;
    margin-bottom: 18px;
}
.sx-auth-form-wrap .sx-input-wrap > i.sx-field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sx-primary);
    z-index: 2;
}
.sx-auth-form-wrap .sx-toggle-pass {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    z-index: 2;
}
.sx-auth-form-wrap label {
    font-weight: 700;
    font-size: 13px;
    color: #333;
    margin-bottom: 6px;
}
.sx-auth-form-wrap .btn-sx-auth {
    background: var(--sx-cta-grad);
    color: #fff;
    border: none;
    border-radius: 0;
    height: 48px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    width: 100%;
    transition: filter .2s ease, transform .2s ease;
}
.sx-auth-form-wrap .btn-sx-auth:hover {
    color: #fff;
    filter: brightness(1.08);
    transform: translateY(-1px);
}
.sx-auth-form-wrap .btn-sx-auth:disabled {
    opacity: 0.75;
    transform: none;
}
.sx-auth-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    margin-bottom: 22px;
    font-size: 13px;
}
.sx-auth-links a {
    color: var(--sx-primary);
    font-weight: 700;
}
.sx-auth-links a:hover { text-decoration: underline; }

/* Book flip OTP */
.sx-auth-form-wrap .book-open-in {
    animation: bookOpenIn .55s ease-in-out both;
    transform-origin: left center;
}
.sx-auth-form-wrap .book-open-out {
    animation: bookOpenOut .55s ease-in-out both;
    transform-origin: left center;
}
@keyframes bookOpenIn {
    from { opacity: 0; transform: perspective(900px) rotateY(-85deg); }
    to { opacity: 1; transform: perspective(900px) rotateY(0deg); }
}
@keyframes bookOpenOut {
    from { opacity: 1; transform: perspective(900px) rotateY(0deg); }
    to { opacity: 0; transform: perspective(900px) rotateY(85deg); }
}
.sx-otp-panel {
    border: 1px solid #f0dada;
    background: #fff;
}
.sx-otp-panel .sx-otp-head {
    background: var(--sx-cta-grad);
    padding: 14px 16px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sx-otp-panel .sx-otp-head h6 {
    margin: 0;
    color: #fff;
    font-weight: 700;
}
.sx-otp-boxes input {
    max-width: 48px;
    height: 48px;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    border: 1px solid #e8cfcf;
    border-radius: 0;
    padding: 0;
}
.sx-otp-boxes input:focus {
    border-color: var(--sx-primary);
    outline: none;
    box-shadow: 0 0 0 0.12rem rgba(148,0,0,0.15);
}

@media (max-width: 991px) {
    .sx-auth-panel { flex-direction: column; }
    .sx-auth-art { flex: none; padding: 36px 28px; min-height: 220px; }
    .sx-auth-form-wrap { padding: 32px 24px; }
    .sx-auth-stage { padding: 70px 0 50px; }
}

/* ============================================================
   TEAM — unique spotlight profiles (home + /team page)
   ============================================================ */
@keyframes sxTeamRingSpin {
    to { transform: rotate(360deg); }
}
@keyframes sxTeamFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes sxTeamPulse {
    0%, 100% { opacity: 0.45; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.06); }
}

.sx-team-spotlight {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #0a0610 0%, #1a0c16 40%, #120810 100%);
    border-top: 1px solid rgba(196, 58, 58, 0.25);
    border-bottom: 1px solid rgba(196, 58, 58, 0.25);
}
.sx-team-spotlight__bg {
    position: absolute;
    inset: 0;
    background-image: var(--sx-team-bg, url('../img/carousel-1.jpg'));
    background-position: center;
    background-size: cover;
    opacity: 0.22;
    pointer-events: none;
}
.sx-team-spotlight__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 20% 15%, rgba(196, 58, 58, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 85% 85%, rgba(148, 0, 0, 0.28) 0%, transparent 50%),
        linear-gradient(180deg, rgba(10, 6, 16, 0.75) 0%, rgba(26, 12, 22, 0.88) 55%, rgba(10, 6, 16, 0.95) 100%);
}
.sx-team-spotlight .container {
    position: relative;
    z-index: 1;
}
.sx-team-spotlight__head h1 {
    color: #fff !important;
    font-weight: 800;
    background: linear-gradient(120deg, #ffffff 0%, #ffc9c9 45%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}
.sx-team-spotlight__head p {
    color: rgba(255, 245, 245, 0.82);
    font-size: 15px;
}
.sx-team-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #ffc9c9;
    margin-bottom: 12px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 201, 201, 0.35);
    background: rgba(148, 0, 0, 0.2);
}
.sx-team-cta {
    box-shadow: 0 12px 32px rgba(148, 0, 0, 0.35);
}

.sx-team-page {
    background:
        radial-gradient(ellipse at 10% 0%, rgba(148, 0, 0, 0.08) 0%, transparent 45%),
        linear-gradient(180deg, #FFF5F5 0%, #ffffff 100%);
}

.sx-team-col {
    margin-bottom: 28px;
}
.sx-team-col-lead {
    margin-bottom: 28px;
}
@media (min-width: 992px) {
    .sx-team-col-lead {
        margin-top: -24px;
        margin-bottom: 0;
    }
}

.sx-team-card {
    position: relative;
    height: 100%;
    text-align: center;
}
.sx-team-card__glow {
    position: absolute;
    inset: -20px;
    border-radius: 28px;
    background: radial-gradient(circle at 50% 30%, rgba(196, 58, 58, 0.35) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.sx-team-card:hover .sx-team-card__glow {
    opacity: 1;
}
.sx-team-card__inner {
    position: relative;
    height: 100%;
    padding: 28px 22px 26px;
    border-radius: 4px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 201, 201, 0.18);
    backdrop-filter: blur(12px);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.sx-team-page .sx-team-card__inner {
    background: linear-gradient(165deg, #ffffff 0%, #FFF5F5 100%);
    border: 1px solid #f0dada;
    box-shadow: 0 12px 36px rgba(74, 0, 0, 0.08);
}
.sx-team-card:hover .sx-team-card__inner {
    transform: translateY(-10px);
    border-color: rgba(255, 201, 201, 0.45);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}
.sx-team-page .sx-team-card:hover .sx-team-card__inner {
    box-shadow: 0 20px 44px rgba(148, 0, 0, 0.14);
}

.sx-team-card--lead .sx-team-card__inner {
    border-color: rgba(255, 201, 201, 0.42);
    box-shadow: 0 16px 42px rgba(148, 0, 0, 0.22);
    padding-top: 34px;
}
.sx-team-card--lead:hover .sx-team-card__inner {
    box-shadow: 0 28px 56px rgba(148, 0, 0, 0.32);
}

.sx-team-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1a0c16;
    background: linear-gradient(135deg, #ffc9c9 0%, #ffffff 50%, #ffc9c9 100%);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(255, 201, 201, 0.35);
}

.sx-team-card__frame {
    position: relative;
    width: 148px;
    height: 148px;
    margin: 0 auto 18px;
}
.sx-team-card--lead .sx-team-card__frame {
    width: 172px;
    height: 172px;
    animation: sxTeamFloat 5s ease-in-out infinite;
}
.sx-team-card__ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #940000,
        #ffc9c9,
        #c43a3a,
        #1a0c16,
        #940000
    );
    animation: sxTeamRingSpin 10s linear infinite;
    opacity: 0.9;
}
.sx-team-card--lead .sx-team-card__ring {
    inset: -8px;
    animation-duration: 7s;
    box-shadow: 0 0 28px rgba(196, 58, 58, 0.55);
}
.sx-team-card__ring::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #1a0c16;
}
.sx-team-page .sx-team-card__ring::after {
    background: #fff5f5;
}
.sx-team-card__photo {
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.92);
    z-index: 1;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.sx-team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.45s ease;
}
.sx-team-card:hover .sx-team-card__photo img {
    transform: scale(1.08);
}

.sx-team-card__name {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 4px;
    color: #fff;
}
.sx-team-page .sx-team-card__name {
    color: var(--sx-title);
}
.sx-team-card__role {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffc9c9;
    margin: 0 0 10px;
}
.sx-team-page .sx-team-card__role {
    color: var(--sx-primary);
}
.sx-team-card__tagline {
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 245, 245, 0.78);
    margin: 0 0 12px;
    min-height: 40px;
}
.sx-team-skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}
.sx-team-skills li {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    color: #ffc9c9;
    background: rgba(148, 0, 0, 0.35);
    border: 1px solid rgba(255, 201, 201, 0.3);
}
.sx-team-page .sx-team-skills li {
    color: var(--sx-primary);
    background: #fff5f5;
    border-color: #f0dada;
}
.sx-team-page .sx-team-card__tagline {
    color: #666;
}
.sx-team-card__bio {
    font-size: 13px;
    line-height: 1.65;
    color: #777;
    margin: 0 0 18px;
    text-align: left;
}

.sx-team-social {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
}
.sx-team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    background: rgba(148, 0, 0, 0.35);
    border: 1px solid rgba(255, 201, 201, 0.35);
    font-size: 15px;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.sx-team-page .sx-team-social a {
    background: linear-gradient(145deg, #940000 0%, #6b1010 100%);
    border-color: transparent;
    color: #fff;
}
.sx-team-social a:hover {
    transform: translateY(-4px) scale(1.08);
    background: #ffc9c9;
    color: #5c0000;
    box-shadow: 0 8px 20px rgba(148, 0, 0, 0.3);
}
.sx-team-social a .fa,
.sx-team-badge .fa,
.sx-team-card .fa {
    font-family: FontAwesome !important;
    font-style: normal;
    font-weight: normal;
}
.sx-team-card--lead .sx-team-social a {
    width: 42px;
    height: 42px;
    font-size: 16px;
}

.sx-team-page-note {
    color: #777;
    font-size: 14px;
}

@media (max-width: 991px) {
    .sx-team-col-lead {
        margin-top: 0;
        order: -1 !important;
    }
    .sx-team-card--lead .sx-team-card__frame {
        animation: none;
    }
}

/* —— Online Application —— */
.sx-apply-banner.about-banner {
    min-height: 220px !important;
    padding-top: 110px !important;
    padding-bottom: 36px !important;
    align-items: flex-end;
}
.sx-apply-banner .about-content {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}
.sx-apply-banner .about-content h1 {
    margin-bottom: 8px;
    font-size: 34px;
}
.sx-apply-page.section-gap {
    padding: 36px 0 56px !important;
}
.sx-apply-page {
    background: linear-gradient(180deg, #fff8f8 0%, #ffffff 28%, #ffffff 100%);
}
.sx-apply-hero {
    margin-bottom: 20px;
}
.sx-apply-hero h2 {
    font-size: 26px;
    color: #1a1a1a;
    margin-bottom: 8px;
}
.sx-apply-intro {
    color: #666;
    font-size: 15px;
    line-height: 1.65;
    max-width: 720px;
    margin: 0 auto;
}
.sx-apply-page > .container > .alert {
    margin-bottom: 14px;
}
.sx-apply-search {
    background: #fff;
    border: 1px solid #edd6d6;
    box-shadow: 0 8px 28px rgba(148, 0, 0, 0.06);
    padding: 14px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    width: 100%;
}
.sx-apply-search__form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    flex: 1 1 280px;
}
.sx-apply-view-toggle {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #e8d4d4;
    margin-left: auto;
    flex: 0 0 auto;
}
.sx-apply-view-toggle__btn {
    appearance: none;
    border: none;
    background: #fff;
    color: #666;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease;
}
.sx-apply-view-toggle__btn + .sx-apply-view-toggle__btn {
    border-left: 1px solid #e8d4d4;
}
.sx-apply-view-toggle__btn.is-active,
.sx-apply-view-toggle__btn[aria-pressed="true"] {
    background: #940000;
    color: #fff;
}
.sx-apply-view-toggle__btn:hover:not(.is-active):not([aria-pressed="true"]) {
    background: #fff5f5;
    color: #940000;
}
.sx-apply-view-toggle__btn .fa {
    font-family: FontAwesome !important;
}
@media (max-width: 575.98px) {
    .sx-apply-view-toggle {
        width: 100%;
        margin-left: 0;
    }
    .sx-apply-view-toggle__btn {
        flex: 1;
        justify-content: center;
    }
    .sx-apply-banner.about-banner {
        min-height: 190px !important;
        padding-top: 112px !important;
        padding-bottom: 28px !important;
    }
    .sx-apply-hero h2 {
        font-size: 22px;
    }
}

/* Schools layout: grid vs list */
.sx-apply-schools {
    margin-left: -8px;
    margin-right: -8px;
}
.sx-apply-schools > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
}
.sx-apply-schools.is-list .sx-apply-school-col {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 14px !important;
}
.sx-apply-schools.is-list .sx-apply-school-card {
    flex-direction: row;
    align-items: stretch;
    min-height: 0;
}
.sx-apply-schools.is-list .sx-apply-school-card:hover {
    transform: translateY(-2px);
}
.sx-apply-schools.is-list .sx-apply-school-card__identity {
    flex: 0 1 320px;
    max-width: 340px;
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: none;
    border-right: 1px solid #f0e4e4;
}
.sx-apply-schools.is-list .sx-apply-school-card__logo {
    width: 72px;
    height: 72px;
    margin: 0;
    flex-shrink: 0;
}
.sx-apply-schools.is-list .sx-apply-school-card__meta {
    min-width: 0;
}
.sx-apply-schools.is-list .sx-apply-school-card__meta h3 {
    font-size: 17px;
    margin-bottom: 4px;
}
.sx-apply-schools.is-list .sx-apply-school-card__classes {
    flex: 1 1 280px;
    min-width: 0;
    padding: 16px 18px;
}
.sx-apply-schools.is-list .sx-apply-school-card__footer {
    flex: 0 0 148px;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    border-top: none;
    border-left: 1px solid #f0e4e4;
    background: #fffafa;
}
.sx-apply-schools.is-list .sx-apply-school-card__footer .sx-apply-btn-outline {
    width: 100%;
    justify-content: center;
    padding: 9px 12px;
    font-size: 12px;
}
@media (max-width: 991.98px) {
    .sx-apply-schools.is-list .sx-apply-school-card__identity {
        flex: 0 1 260px;
        max-width: 280px;
    }
    .sx-apply-schools.is-list .sx-apply-school-card__footer {
        flex: 0 0 132px;
    }
}
@media (max-width: 767.98px) {
    .sx-apply-schools.is-list .sx-apply-school-card {
        flex-direction: column;
    }
    .sx-apply-schools.is-list .sx-apply-school-card__identity,
    .sx-apply-schools.is-list .sx-apply-school-card__footer {
        flex: 0 0 auto;
        max-width: none;
        width: 100%;
        border-right: none;
        border-left: none;
    }
    .sx-apply-schools.is-list .sx-apply-school-card__identity {
        border-bottom: 1px solid #f0e4e4;
    }
    .sx-apply-schools.is-list .sx-apply-school-card__footer {
        flex-direction: row;
        flex-wrap: wrap;
        border-top: 1px solid #f0e4e4;
    }
    .sx-apply-schools.is-list .sx-apply-school-card__footer .sx-apply-btn-outline {
        width: auto;
        flex: 1 1 auto;
    }
}
.sx-apply-search__field {
    position: relative;
    flex: 1 1 260px;
}
.sx-apply-search__field i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #940000;
    pointer-events: none;
    font-family: FontAwesome !important;
}
.sx-apply-search__field .form-control {
    padding-left: 42px;
    border-radius: 0;
    border-color: #e8d4d4;
    min-height: 46px;
}
.sx-apply-search__field .form-control:focus {
    border-color: #940000;
    box-shadow: 0 0 0 0.15rem rgba(148, 0, 0, 0.15);
}
.sx-apply-search__clear {
    color: #940000;
    font-weight: 600;
    text-decoration: underline;
}
.sx-apply-school-card {
    position: relative;
    background: #fff;
    border: 1px solid #edd6d6;
    box-shadow: 0 8px 26px rgba(148, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.sx-apply-school-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #c40000 0%, #940000 100%);
}
.sx-apply-school-card:hover {
    transform: translateY(-3px);
    border-color: #e0b8b8;
    box-shadow: 0 14px 36px rgba(148, 0, 0, 0.11);
}
.sx-apply-school-card__identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 20px 16px;
    border-bottom: 1px solid #f3e8e8;
}
.sx-apply-school-card__logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 3px solid #fff5f5;
    box-shadow: 0 4px 14px rgba(148, 0, 0, 0.14);
}
.sx-apply-school-card__logo--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #ffc9c9 0%, #940000 100%);
    color: #fff;
    font-size: 26px;
}
.sx-apply-school-card__meta h3 {
    font-size: 18px;
    color: #1f1f1f;
    margin: 0 0 4px;
    line-height: 1.3;
    font-weight: 700;
}
.sx-apply-school-card__place {
    color: #888;
    font-size: 13px;
    margin: 0 0 10px;
}
.sx-apply-school-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}
.sx-apply-schools.is-list .sx-apply-school-card__chips {
    justify-content: flex-start;
}
.sx-apply-school-card__chips span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fff5f5;
    border: 1px solid #f0dada;
    color: #666;
    font-size: 11px;
    line-height: 1;
    padding: 6px 9px;
    text-transform: lowercase;
}
.sx-apply-school-card__chips strong {
    color: #940000;
    font-size: 12px;
}
.sx-apply-school-card__classes {
    padding: 16px 20px;
    flex: 1;
}
.sx-apply-school-card__classes h4 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #940000;
    margin-bottom: 10px;
    font-weight: 700;
}
.sx-apply-class-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #f0dada;
    margin-bottom: 8px;
    border-left: 3px solid #940000;
}
.sx-apply-class-row.is-full {
    opacity: 0.75;
    border-left-color: #ccc;
}
.sx-apply-class-row strong {
    display: block;
    font-size: 14px;
    color: #333;
}
.sx-apply-class-row small {
    display: block;
    font-size: 12px;
    color: #777;
}
.sx-apply-btn-sm {
    background: linear-gradient(135deg, #ed9999 0%, #940000 100%);
    border: none;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 8px 14px;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.sx-apply-btn-sm:hover {
    opacity: 0.9;
    color: #fff;
}
.sx-apply-school-card__footer {
    padding: 14px 18px 18px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    border-top: 1px solid #f3e8e8;
}
.sx-apply-school-card__footer .sx-apply-btn-outline {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.sx-apply-btn-outline,
a.sx-apply-btn-outline,
button.sx-apply-btn-outline {
    background: transparent;
    border: 2px solid #940000;
    color: #940000 !important;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 18px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.sx-apply-btn-outline i,
a.sx-apply-btn-outline i,
button.sx-apply-btn-outline i {
    color: inherit !important;
}
.sx-apply-btn-outline:hover,
.sx-apply-btn-outline:focus,
.sx-apply-btn-outline:active,
a.sx-apply-btn-outline:hover,
a.sx-apply-btn-outline:focus,
a.sx-apply-btn-outline:active,
button.sx-apply-btn-outline:hover,
button.sx-apply-btn-outline:focus,
button.sx-apply-btn-outline:active {
    background: #940000 !important;
    border-color: #940000 !important;
    color: #fff !important;
    text-decoration: none !important;
}
.sx-apply-btn-outline:hover i,
.sx-apply-btn-outline:focus i,
.sx-apply-btn-outline:active i,
a.sx-apply-btn-outline:hover i,
a.sx-apply-btn-outline:focus i,
a.sx-apply-btn-outline:active i,
button.sx-apply-btn-outline:hover i,
button.sx-apply-btn-outline:focus i,
button.sx-apply-btn-outline:active i {
    color: #fff !important;
}
html {
    scroll-behavior: smooth;
}
.sx-school-landing.section-gap {
    padding-top: 28px;
    padding-bottom: 56px;
}
@media (max-width: 991px) {
    .sx-school-landing.section-gap {
        padding-top: 20px;
        padding-bottom: 40px;
    }
}
.sx-school-landing__toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}
#sx-school-fees,
#sx-school-classes {
    scroll-margin-top: 110px;
}
.sx-school-landing__hero {
    display: flex;
    gap: 22px;
    align-items: center;
    margin-bottom: 28px;
    padding: 24px;
    background: linear-gradient(135deg, #fff 0%, #fdf5f5 100%);
    border: 1px solid #f0dada;
}
.sx-school-landing__logo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #940000;
}
.sx-school-landing__logo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8e8e8;
    color: #940000;
    font-size: 36px;
}
.sx-school-landing__hero h2 {
    margin: 0 0 6px;
    color: #333;
    font-size: 28px;
}
.sx-school-landing__meta {
    color: #777;
    margin-bottom: 12px;
}
.sx-school-landing__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.sx-school-landing__stats span {
    color: #555;
    font-size: 14px;
}
.sx-school-landing__stats strong {
    color: #940000;
    margin-right: 4px;
}
.sx-school-landing__info {
    margin: 0 0 8px;
}
.sx-school-landing__info > div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #f5eaea;
}
.sx-school-landing__info dt {
    margin: 0;
    font-weight: 700;
    color: #940000;
}
.sx-school-landing__info dd {
    margin: 0;
    color: #444;
}
.sx-school-landing__classes .sx-apply-class-row {
    margin-bottom: 8px;
}
.sx-school-landing__hint {
    color: #777;
    font-size: 14px;
}
.sx-school-fee-block {
    margin-bottom: 18px;
    padding: 16px;
    background: #fff;
    border: 1px solid #f0dada;
}
.sx-school-fee-block h4 {
    color: #940000;
    font-size: 15px;
    margin: 0;
}
.sx-school-fee-block__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.sx-school-fee-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sx-fee-pdf-btn--sm {
    padding: 6px 12px;
    font-size: 12px;
}
.sx-school-fee-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sx-school-fee-list > li {
    padding: 10px 0;
    border-bottom: 1px dashed #f0dada;
}
.sx-school-fee-list > li:last-child {
    border-bottom: none;
}
.sx-school-fee-list__main {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.sx-school-fee-list__main span {
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}
.sx-school-fee-list__break {
    margin: 6px 0 0;
    padding-left: 16px;
    color: #666;
    font-size: 13px;
}
@media (max-width: 767px) {
    .sx-school-landing__hero {
        flex-direction: column;
        text-align: center;
    }
    .sx-school-landing__stats {
        justify-content: center;
    }
    .sx-school-landing__info > div {
        grid-template-columns: 1fr;
    }
}
.sx-apply-empty {
    text-align: center;
    padding: 48px 24px;
    background: #fff;
    border: 1px dashed #e8c4c4;
}
.sx-apply-empty i {
    font-size: 42px;
    color: #940000;
    margin-bottom: 16px;
}
.sx-apply-empty h5 {
    color: #333;
    margin-bottom: 8px;
}
.sx-apply-empty p {
    color: #777;
    margin: 0;
}
.sx-apply-empty--warn i {
    color: #c9a000;
}
.sx-apply-modal .modal-header {
    background: linear-gradient(135deg, #ed9999 0%, #940000 100%);
    color: #fff;
    border: none;
}
.sx-school-details__logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}
.sx-school-details__heading {
    color: #940000;
    border-bottom: 2px solid #f0dada;
    padding-bottom: 8px;
    margin: 24px 0 16px;
    font-size: 17px;
}
.sx-school-details__sub {
    color: #940000;
    margin-bottom: 8px;
}
.sx-school-details__card {
    background: #fffafa;
    border: 1px solid #f0dada;
    padding: 14px;
    height: 100%;
}
.sx-school-details__card h6 {
    color: #940000;
    margin-bottom: 8px;
}
.sx-school-details__badge {
    background: #fff5f5;
    border: 1px solid #f0dada;
    padding: 8px 10px;
    font-size: 13px;
}
.sx-school-details__table th {
    background: #fff5f5;
    color: #940000;
    font-size: 13px;
}
.sx-dot {
    font-size: 6px;
    color: #940000;
    margin-right: 4px;
}
.sx-apply-form-section {
    background: #fff;
    border: 1px solid #f0dada;
    box-shadow: 0 8px 28px rgba(148, 0, 0, 0.06);
    padding: 28px;
    margin-bottom: 24px;
}
.sx-apply-form-section h3 {
    color: #940000;
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.sx-apply-form-section h3 i {
    margin-right: 8px;
}
.sx-step-heading {
    font-weight: 700;
}
.sx-step-badge {
    display: inline-block;
    background: #940000;
    color: #fff;
    padding: 0.3rem 0.7rem;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    line-height: 1.2;
}
.sx-apply-step { display: none; }
.sx-apply-step.is-visible { display: block; animation: sxWizardFade 0.28s ease; }
@keyframes sxWizardFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Application wizard roadmap */
.sx-wizard {
    --sx-wiz-red: #940000;
    --sx-wiz-red-soft: rgba(148, 0, 0, 0.12);
    --sx-wiz-track: #ead6d6;
    --sx-wiz-ink: #2a2a2a;
    --sx-wiz-muted: #6b6b6b;
    background:
        linear-gradient(135deg, rgba(148, 0, 0, 0.05) 0%, transparent 42%),
        #fff;
    border: 1px solid #f0dada;
    box-shadow: 0 10px 32px rgba(148, 0, 0, 0.07);
    padding: 18px 20px 16px;
    margin: 0 0 24px;
}
.sx-wizard__meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px;
}
.sx-wizard__meta-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--sx-wiz-red);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.sx-wizard__meta-pct {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--sx-wiz-muted);
    font-variant-numeric: tabular-nums;
}
.sx-wizard__track {
    height: 6px;
    background: var(--sx-wiz-track);
    overflow: hidden;
    margin-bottom: 18px;
}
.sx-wizard__fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #7a0000, var(--sx-wiz-red) 55%, #c43a3a);
    transition: width 0.35s ease;
}
.sx-wizard__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
}
.sx-wizard__step {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    position: relative;
}
.sx-wizard__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 18px;
    left: calc(50% + 20px);
    right: calc(-50% + 20px);
    height: 2px;
    background: var(--sx-wiz-track);
    z-index: 0;
}
.sx-wizard__step.is-done:not(:last-child)::after {
    background: var(--sx-wiz-red);
}
.sx-wizard__btn {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0 6px;
    width: 100%;
    cursor: default;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.sx-wizard__step.is-done .sx-wizard__btn,
.sx-wizard__step.is-active .sx-wizard__btn {
    cursor: pointer;
}
.sx-wizard__num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    border: 2px solid #cfcfcf;
    background: #fff;
    color: #777;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
}
.sx-wizard__check {
    display: none;
    font-size: 0.85rem;
}
.sx-wizard__step.is-active .sx-wizard__num {
    border-color: var(--sx-wiz-red);
    background: var(--sx-wiz-red);
    color: #fff;
    box-shadow: 0 0 0 5px var(--sx-wiz-red-soft);
    transform: scale(1.06);
}
.sx-wizard__step.is-done .sx-wizard__num {
    border-color: var(--sx-wiz-red);
    background: var(--sx-wiz-red);
    color: #fff;
}
.sx-wizard__step.is-done .sx-wizard__num-text { display: none; }
.sx-wizard__step.is-done .sx-wizard__check { display: inline; }
.sx-wizard__label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--sx-wiz-muted);
    line-height: 1.25;
    max-width: 110px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sx-wizard__step.is-active .sx-wizard__label {
    color: var(--sx-wiz-red);
    font-weight: 700;
}
.sx-wizard__step.is-done .sx-wizard__label {
    color: var(--sx-wiz-ink);
}
.sx-wizard__current {
    display: none;
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid #f0dada;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--sx-wiz-ink);
    text-align: center;
}

@media (max-width: 991.98px) {
    .sx-wizard {
        padding: 14px 14px 12px;
        margin-bottom: 18px;
        position: sticky;
        top: 56px;
        z-index: 20;
        box-shadow: 0 8px 20px rgba(148, 0, 0, 0.1);
        overflow: hidden;
    }
    .sx-wizard__meta {
        margin-bottom: 8px;
    }
    .sx-wizard__track {
        margin-bottom: 12px;
        height: 5px;
    }
    .sx-wizard__steps-wrap {
        position: relative;
        margin: 0 -6px;
    }
    .sx-wizard__steps-wrap::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 8px;
        width: 28px;
        pointer-events: none;
        background: linear-gradient(90deg, transparent, #fff 70%);
        z-index: 2;
    }
    .sx-wizard__steps {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        touch-action: pan-x;
        scroll-snap-type: x proximity;
        scroll-padding-inline: 12px;
        padding: 4px 12px 10px;
        margin: 0;
        scrollbar-width: thin;
        scrollbar-color: rgba(148, 0, 0, 0.45) transparent;
    }
    .sx-wizard__steps::-webkit-scrollbar {
        height: 4px;
        display: block;
    }
    .sx-wizard__steps::-webkit-scrollbar-thumb {
        background: rgba(148, 0, 0, 0.4);
        border-radius: 4px;
    }
    .sx-wizard__step {
        flex: 0 0 auto;
        width: 88px;
        min-width: 88px;
        max-width: 88px;
        scroll-snap-align: center;
    }
    .sx-wizard__step:not(:last-child)::after {
        display: none;
    }
    .sx-wizard__btn {
        padding: 0 2px;
        gap: 6px;
    }
    .sx-wizard__num {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
        flex-shrink: 0;
    }
    .sx-wizard__step.is-active .sx-wizard__num {
        box-shadow: 0 0 0 4px var(--sx-wiz-red-soft);
    }
    .sx-wizard__label {
        display: -webkit-box;
        max-width: 84px;
        font-size: 0.68rem;
        line-height: 1.2;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .sx-wizard__current {
        display: block;
    }
    .sx-apply-form-section {
        padding: 18px 14px;
    }
    .sx-apply-form-section h3 {
        font-size: 16px;
        margin-bottom: 14px;
    }
    .sx-apply-form-actions {
        position: sticky;
        bottom: 0;
        z-index: 15;
        background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 28%);
        padding: 16px 0 8px;
        margin: 0 -4px;
    }
}

@media (max-width: 767.98px) {
    .sx-wizard {
        top: 56px;
    }
    .sx-wizard__step {
        width: 78px;
        min-width: 78px;
        max-width: 78px;
    }
    .sx-wizard__label {
        max-width: 74px;
        font-size: 0.65rem;
    }
}
.sx-apply-label {
    display: block;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
    font-size: 14px;
}
.sx-apply-label--req::after {
    content: " *";
    color: #dc3545;
}
.sx-apply-value {
    font-weight: 700;
    color: #222;
    padding: 10px 0;
}
.sx-apply-value--success {
    color: #1a7a3a;
}
.sx-apply-form-section .form-control:focus {
    border-color: #940000;
    box-shadow: 0 0 0 0.15rem rgba(148, 0, 0, 0.15);
}
.sx-apply-checks {
    margin-bottom: 16px;
}
.sx-apply-check {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin: 0;
    font-size: 14px;
    color: #444;
}
.sx-apply-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 32px 0 12px;
}
.sx-apply-btn-cancel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-weight: 600;
    border: 2px solid #ddd;
    padding: 12px 24px;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
}
.sx-apply-btn-cancel:hover {
    color: #940000;
    border-color: #940000;
    text-decoration: none;
}
.sx-apply-alert {
    border-left: 4px solid #940000;
    border-radius: 0;
}
.sx-apply-success {
    background: #fff;
    border: 1px solid #f0dada;
    box-shadow: 0 12px 40px rgba(148, 0, 0, 0.08);
    padding: 40px 32px;
}
.sx-apply-success__icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3dcf7a 0%, #1a9d4c 55%, #0f7a38 100%);
    box-shadow: 0 10px 28px rgba(26, 157, 76, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: sxApplyScaleIn 0.5s ease-out;
}
.sx-apply-success__icon i {
    font-size: 44px;
    color: #fff;
}
@keyframes sxApplyScaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.sx-apply-success h2 {
    color: #1a7a3a;
    font-size: 26px;
    margin-bottom: 12px;
}
.sx-apply-success__lead {
    color: #555;
    font-size: 17px;
    margin-bottom: 24px;
}
.sx-apply-success__warn {
    background: #fff8e6;
    border-left: 4px solid #e0a800;
    padding: 14px 16px;
    text-align: left;
    margin-bottom: 24px;
    font-size: 14px;
}
.sx-apply-credentials {
    background: #fffafa;
    border: 2px dashed #e0b4b4;
    padding: 24px;
    margin-bottom: 24px;
    text-align: left;
}
.sx-apply-credentials h4 {
    color: #940000;
    margin-bottom: 16px;
    text-align: center;
}
.sx-apply-credential-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: #fff;
    border: 1px solid #f0dada;
    margin-bottom: 12px;
}
.sx-apply-credential-label {
    flex: 1 1 200px;
    font-weight: 600;
    color: #444;
    font-size: 14px;
}
.sx-apply-credential-value {
    font-family: "Courier New", monospace;
    font-size: 17px;
    font-weight: 700;
    color: #940000;
    letter-spacing: 0.05em;
    cursor: pointer;
}
.sx-apply-success__info {
    background: #f0f7ff;
    border-left: 4px solid #940000;
    padding: 18px 20px;
    margin-bottom: 8px;
}
.sx-apply-success__info h5 {
    color: #940000;
    margin-bottom: 12px;
}
.sx-apply-success__info ul {
    margin: 0;
    padding-left: 20px;
    color: #555;
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 767px) {
    .sx-apply-search__form .primary-btn {
        width: 100%;
    }
    .sx-apply-credential-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Online Application — auth CTA, view more classes, portal */
.sx-apply-auth-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #edd6d6;
    box-shadow: 0 8px 24px rgba(148, 0, 0, 0.06);
    margin-bottom: 14px;
    width: 100%;
}
.sx-apply-auth-cta__logged {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
}
.sx-apply-view-more-classes {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    color: #940000;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    padding: 8px 0 0;
    cursor: pointer;
    text-decoration: underline;
}
.sx-oa-portal-body {
    background: #fffafa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.sx-oa-portal-main {
    flex: 1 0 auto;
}
.sx-oa-header {
    background:
        radial-gradient(ellipse at 12% 0%, rgba(255, 80, 80, 0.35) 0%, transparent 45%),
        radial-gradient(ellipse at 88% 100%, rgba(0, 0, 0, 0.45) 0%, transparent 50%),
        linear-gradient(145deg, #c40000 0%, #940000 28%, #6b0000 58%, #2a0000 100%);
    color: #fff;
    padding: 12px 0 0;
    box-shadow:
        0 10px 28px rgba(80, 0, 0, 0.45),
        inset 0 -1px 0 rgba(255, 255, 255, 0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(255, 180, 180, 0.25);
}
.sx-oa-header__top {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 10px;
}
.sx-oa-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff !important;
    text-decoration: none !important;
    min-width: 0;
    flex: 1 1 auto;
}
.sx-oa-header__logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.35);
    background: #fff;
    flex-shrink: 0;
}
.sx-oa-header__titles {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}
.sx-oa-header__titles strong {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.sx-oa-header__titles span {
    font-size: 12px;
    opacity: 0.92;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sx-oa-header__actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.sx-oa-header__user {
    text-align: right;
    margin-right: 4px;
    max-width: 180px;
}
.sx-oa-header__user-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sx-oa-header__user-label {
    display: block;
    font-size: 11px;
    opacity: 0.8;
}
.sx-oa-header__user-mobile {
    display: none;
    font-size: 12px;
    font-weight: 600;
    opacity: 0.9;
    padding: 0 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sx-oa-header__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.12);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 12px;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}
.sx-oa-header__btn:hover {
    background: #fff;
    color: #940000 !important;
}
.sx-oa-header__btn--logout {
    background: rgba(0,0,0,0.18);
}
.sx-oa-header__btn--outline {
    background: transparent;
}
.sx-oa-header__logout-form {
    margin: 0;
    display: inline;
}
.sx-oa-header__menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    flex-shrink: 0;
}
.sx-oa-header__menu-btn.is-open {
    background: #fff;
    color: #940000;
}
.sx-oa-header__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 0 12px;
    border-top: 1px solid rgba(255,255,255,0.18);
}
.sx-oa-header__nav a {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
.sx-oa-header__nav a:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
    text-decoration: none;
}
.sx-oa-header__nav a.is-active {
    background: #fff;
    color: #940000;
}

@media (max-width: 767.98px) {
    .sx-oa-header {
        padding-top: 10px;
    }
    .sx-oa-header__titles strong {
        font-size: 15px;
    }
    .sx-oa-header__titles span {
        font-size: 11px;
        max-width: 140px;
    }
    .sx-oa-header__logo {
        width: 36px;
        height: 36px;
    }
    .sx-oa-header__btn {
        width: 40px;
        height: 40px;
        padding: 0;
    }
    .sx-oa-header__btn-text {
        display: none;
    }
    .sx-oa-header__user-mobile {
        display: block;
    }
    .sx-oa-header__nav {
        display: none;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 8px;
        padding: 8px 0 12px;
    }
    .sx-oa-header.is-nav-open .sx-oa-header__nav {
        display: flex;
    }
    .sx-oa-header__nav a {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 12px 14px;
        font-size: 14px;
    }
}

@media (min-width: 768px) {
    .sx-oa-header__menu-btn {
        display: none !important;
    }
    .sx-oa-header__nav {
        display: flex !important;
    }
}
.sx-oa-portal-footer {
    background: #1a0a0a;
    color: rgba(255,255,255,0.75);
    padding: 18px 0;
    font-size: 13px;
}
.sx-oa-portal-footer .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.sx-oa-portal-footer a {
    color: #ffc9c9;
    font-weight: 600;
}
.sx-oa-portal-footer a:hover {
    color: #fff;
}
.sx-oa-portal-nav {
    background: linear-gradient(135deg, #940000 0%, #6d0000 100%);
    padding: 14px 0;
    margin-top: -1px;
}
.sx-oa-portal-nav__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.sx-oa-portal-nav__welcome {
    color: #fff;
}
.sx-oa-portal-nav__welcome strong {
    display: block;
    font-size: 16px;
}
.sx-oa-portal-nav__welcome span {
    font-size: 12px;
    opacity: 0.85;
}
.sx-oa-portal-nav__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.sx-oa-portal-nav__links a,
.sx-oa-portal-nav__logout {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-decoration: none;
    transition: background 0.2s ease;
}
.sx-oa-portal-nav__links a:hover,
.sx-oa-portal-nav__logout:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    text-decoration: none;
}
.sx-oa-portal-nav__links a.is-active {
    background: #fff;
    color: #940000;
}
.sx-oa-portal-nav__logout {
    cursor: pointer;
}
.sx-oa-portal {
    background: #fffafa;
    min-height: 50vh;
}
.sx-oa-panel {
    background: #fff;
    border: 1px solid #f0dada;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(148, 0, 0, 0.05);
}
.sx-oa-dash-card {
    display: block;
    background: #fff;
    border: 1px solid #f0dada;
    padding: 24px;
    text-align: center;
    height: 100%;
    color: #333;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sx-oa-dash-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(148, 0, 0, 0.1);
    color: #333;
    text-decoration: none;
}
.sx-oa-dash-card i {
    font-size: 28px;
    color: #940000;
    margin-bottom: 12px;
}
.sx-oa-dash-card strong {
    display: block;
    margin-bottom: 6px;
}
.sx-oa-dash-card span {
    display: block;
    font-size: 13px;
    color: #777;
}
.sx-oa-table th {
    background: #fff5f5;
    color: #940000;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.sx-oa-status {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
}
.sx-oa-status--pending {
    background: #fff3cd;
    color: #856404;
}
.sx-oa-status--confirmed {
    background: #d4edda;
    color: #155724;
}
.sx-oa-status--rejected {
    background: #f8d7da;
    color: #721c24;
}
.sx-oa-apps-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.sx-oa-apps-toolbar h4 {
    margin: 0;
}
.sx-oa-apps-view-toggle {
    display: inline-flex;
    border: 1px solid #f0dada;
    background: #fff;
    vertical-align: middle;
}
.sx-oa-apps-view-toggle__btn {
    width: 38px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #777;
    cursor: pointer;
}
.sx-oa-apps-view-toggle__btn + .sx-oa-apps-view-toggle__btn {
    border-left: 1px solid #f0dada;
}
.sx-oa-apps-view-toggle__btn.is-active,
.sx-oa-apps-view-toggle__btn[aria-pressed="true"] {
    background: #940000;
    color: #fff;
}
.sx-oa-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}
.sx-oa-app-card {
    border: 1px solid #f0dada;
    background: #fff;
    box-shadow: 0 6px 18px rgba(148, 0, 0, 0.05);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 100%;
    position: relative;
}
.sx-oa-app-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}
.sx-oa-app-card__ref {
    font-size: 12px;
    font-weight: 800;
    color: #940000;
    letter-spacing: 0.02em;
}
.sx-oa-app-card__name {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin: 0;
    line-height: 1.25;
}
.sx-oa-app-card__meta {
    font-size: 13px;
    color: #666;
    margin: 0;
}
.sx-oa-app-card__footer {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f3e4e4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
@media (max-width: 991.98px) {
    .sx-oa-apps-view-root:not([data-view="list"]) .sx-oa-apps-list-wrap {
        display: none !important;
    }
    .sx-oa-apps-view-root:not([data-view="list"]) .sx-oa-apps-grid {
        display: grid !important;
    }
    .sx-oa-apps-view-root[data-view="list"] .sx-oa-apps-list-wrap {
        display: block !important;
    }
    .sx-oa-apps-view-root[data-view="list"] .sx-oa-apps-grid {
        display: none !important;
    }
    .sx-oa-apps-grid {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 992px) {
    .sx-oa-apps-view-root:not([data-view="grid"]) .sx-oa-apps-grid {
        display: none !important;
    }
    .sx-oa-apps-view-root:not([data-view="grid"]) .sx-oa-apps-list-wrap {
        display: block !important;
    }
    .sx-oa-apps-view-root[data-view="grid"] .sx-oa-apps-list-wrap {
        display: none !important;
    }
    .sx-oa-apps-view-root[data-view="grid"] .sx-oa-apps-grid {
        display: grid !important;
    }
}
.sx-oa-apps-view-root.is-empty .sx-oa-apps-list-wrap,
.sx-oa-apps-view-root.is-empty .sx-oa-apps-grid,
.sx-oa-apps-view-root.is-empty .sx-oa-apps-toolbar .sx-oa-apps-view-toggle {
    display: none !important;
}
.sx-oa-actions {
    position: relative;
    display: inline-block;
}
.sx-oa-actions__toggle {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #dee2e6;
    color: #940000;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
.sx-oa-actions__toggle:hover,
.sx-oa-actions.is-open .sx-oa-actions__toggle {
    background: #f5f5f5;
    border-color: #940000;
}
.sx-oa-actions__menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    min-width: 160px;
    background: #fff;
    border: 1px solid #dee2e6;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 40;
    padding: 4px 0;
}
.sx-oa-actions.is-open .sx-oa-actions__menu {
    display: block;
}
.sx-oa-actions__menu a,
.sx-oa-actions__menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border: 0;
    background: transparent;
    color: #333;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
}
.sx-oa-actions__menu a:hover,
.sx-oa-actions__menu button:hover {
    background: #f5f5f5;
    color: #940000;
    text-decoration: none;
}
.sx-oa-actions__menu .sx-oa-actions__delete {
    color: #721c24;
}
.sx-oa-actions__menu .sx-oa-actions__delete:hover {
    background: #f8d7da;
    color: #721c24;
}
.sx-oa-actions__menu i {
    width: 16px;
    text-align: center;
    color: #940000;
}
.sx-oa-actions__menu .sx-oa-actions__delete i {
    color: #721c24;
}
.sx-oa-apps-empty {
    text-align: center;
    padding: 36px 16px;
    color: #777;
}
.sx-oa-apps-empty i {
    font-size: 36px;
    color: #940000;
    margin-bottom: 10px;
    display: block;
}
.sx-oa-apps-empty h5 {
    color: #940000;
    font-weight: 800;
}
.sx-oa-portal .dataTables_wrapper .dataTables_filter input,
.sx-oa-portal .dataTables_wrapper .dataTables_length select {
    border: 1px solid #f0dada;
    border-radius: 0;
    padding: 4px 8px;
}
.sx-oa-portal .dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #940000 !important;
    border-color: #940000 !important;
    color: #fff !important;
}
.sx-oa-account-list {
    margin: 0;
}
.sx-oa-account-list dt {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #940000;
    margin-top: 16px;
}
.sx-oa-account-list dt:first-child {
    margin-top: 0;
}
.sx-oa-account-list dd {
    font-size: 16px;
    color: #333;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .sx-oa-portal-nav__inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .sx-apply-auth-cta {
        flex-direction: column;
    }
    .sx-apply-auth-cta .primary-btn,
    .sx-apply-auth-cta .sx-apply-btn-outline {
        width: 100%;
        text-align: center;
    }
}
