/* EduBlitz mobile app shell + Bootstrap theme overrides */

:root {
    --app-bg: #0a0b1e;
    --app-surface: #12122a;
    --app-surface-2: #1a1a35;
    --app-primary: #6366f1;
    --app-accent: #38bdf8;
    --app-topbar-h: 3.75rem;
    --app-bottomnav-h: 4.25rem;
    --app-safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* Hero slider — Bootstrap-safe (avoids opacity-0/100 class conflicts) */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slider__track {
    position: relative;
    min-height: 38rem;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: stretch;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.7s ease-in-out;
}

.hero-slide.is-active {
    opacity: 1;
    z-index: 10;
    pointer-events: auto;
}

.hero-slide__media {
    position: absolute;
    inset: 0;
}

.hero-slide__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-slide__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-slide__overlay--side {
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.94) 0%, rgba(2, 6, 23, 0.78) 45%, rgba(2, 6, 23, 0.35) 100%);
}

.hero-slide__overlay--bottom {
    background: linear-gradient(180deg, transparent 35%, rgba(2, 6, 23, 0.55) 100%);
}

.hero-slide__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 100%;
    padding: 1.5rem 1rem 4.75rem;
}

.hero-content {
    width: 100%;
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
}

.hero-content__stack {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin-bottom: 1rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    background: rgba(14, 165, 233, 0.12);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7dd3fc;
    line-height: 1.35;
}

.hero-content__title {
    margin: 0 auto;
    max-width: 36rem;
    font-size: clamp(1.45rem, 5.5vw, 2.35rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.hero-content__highlight--1 {
    color: #fcd34d;
}

.hero-content__highlight--2 {
    color: #a5b4fc;
}

.hero-content__highlight--3 {
    color: #7dd3fc;
}

.hero-content__text {
    margin: 1rem auto 0;
    max-width: 34rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(203, 213, 225, 0.92);
}

.hero-content__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
    max-width: 22rem;
    margin: 1.25rem auto 0;
}

.hero-content__apps {
    width: 100%;
    max-width: 22rem;
    margin: 1.25rem auto 0;
}

.hero-content__apps .banner-app {
    width: 100%;
}

.hero-content__apps-label {
    margin: 0 0 0.65rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
    text-align: center;
}

.store-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}

.store-badges--hero {
    width: 100%;
}

.store-badges__link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-badges__link:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

.store-badges__img {
    display: block;
    height: 2.65rem;
    width: auto;
    max-width: 100%;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: 0.85rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.hero-btn--primary {
    color: #fff;
    border: 0;
    background: linear-gradient(135deg, #3b82f6, #6366f1, #7c3aed);
    box-shadow: 0 10px 28px rgba(79, 70, 229, 0.35);
}

.hero-btn--secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.hero-btn:hover {
    color: #fff;
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.hero-slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.55);
    color: #fff;
    backdrop-filter: blur(8px);
    transform: translateY(-50%);
    transition: background 0.2s ease;
}

.hero-slider__arrow--prev {
    left: 1rem;
}

.hero-slider__arrow--next {
    right: 1rem;
}

.hero-slider__arrow:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.hero-slider__dots {
    position: absolute;
    left: 50%;
    bottom: 1.25rem;
    z-index: 20;
    display: flex;
    gap: 0.5rem;
    transform: translateX(-50%);
}

.hero-slider__dot {
    height: 0.5rem;
    width: 0.5rem;
    padding: 0;
    border: 0;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.4);
    transition: width 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.hero-slider__dot.is-active {
    width: 2rem;
    background: #fff;
}

.hero-slider__dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.hero-slider__dot.is-active:hover {
    background: #fff;
}

@media (min-width: 640px) {
    .hero-slider__track {
        min-height: 39rem;
    }

    .hero-slide__content {
        padding: 2rem 1.5rem 5rem;
    }

    .hero-content__badge {
        font-size: 0.6875rem;
    }

    .hero-content__text {
        font-size: 1rem;
    }

    .hero-content__actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 28rem;
    }

    .hero-content__apps {
        max-width: 28rem;
    }

    .hero-content__apps .banner-app img {
        height: 3rem;
        width: auto;
    }

    .hero-btn {
        width: auto;
        min-width: 11rem;
        flex: 1 1 auto;
    }
}

@media (min-width: 992px) {
    .hero-slider__track {
        min-height: 40rem;
    }

    .hero-slide__content {
        align-items: center;
        padding: 3rem clamp(1.5rem, 5vw, 4rem) 5.5rem;
    }

    .hero-content {
        max-width: 36rem;
        margin: 0;
        margin-right: auto;
        text-align: left;
    }

    .hero-content__title {
        margin: 0;
        max-width: none;
        font-size: clamp(2rem, 3.5vw, 3.25rem);
    }

    .hero-content__text {
        margin: 1rem 0 0;
        max-width: 32rem;
        font-size: 1.0625rem;
        line-height: 1.75;
    }

    .hero-content__actions {
        margin: 1.5rem 0 0;
        justify-content: flex-start;
        max-width: none;
    }

    .hero-content__apps {
        margin: 1.5rem 0 0;
        max-width: none;
    }

    .hero-content__apps .banner-app {
        justify-content: flex-start !important;
    }

    .hero-slider__arrow--prev {
        left: 1.5rem;
    }

    .hero-slider__arrow--next {
        right: 1.5rem;
    }
}

@media (max-width: 991.98px) {
    .hero-slider__track {
        min-height: 37rem;
    }

    .hero-slide__overlay--side {
        background: linear-gradient(180deg, rgba(2, 6, 23, 0.35) 0%, rgba(2, 6, 23, 0.88) 55%, rgba(2, 6, 23, 0.96) 100%);
    }

    .hero-slide__image {
        object-position: center 20%;
    }

    .hero-slide__content {
        align-items: flex-end;
        padding: 0.75rem 1rem 4.5rem;
    }

    .hero-content {
        width: 100%;
    }

    .hero-content__badge {
        margin-bottom: 0.75rem;
        padding: 0.4rem 0.75rem;
    }

    .hero-content__title {
        max-width: 100%;
    }

    .hero-content__text {
        max-width: 100%;
        font-size: 0.875rem;
        line-height: 1.6;
        margin-top: 0.75rem;
    }

    .hero-content__actions {
        max-width: 100%;
        margin-top: 1rem;
    }

    .hero-content__apps {
        max-width: 100%;
        margin-top: 1rem;
    }

    .hero-slider__dots {
        bottom: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .hero-slider__track {
        min-height: 38.5rem;
    }

    .hero-content__badge {
        font-size: 0.5625rem;
        letter-spacing: 0.08em;
    }

    .store-badges {
        gap: 0.5rem;
    }

    .store-badges__img {
        height: 2.45rem;
    }
}

.text-whatsapp {
    color: #25d366;
}

a.text-whatsapp-hover:hover {
    color: #25d366;
}

.hero-grid-bg {
    background-color: #0a0b1e;
    background-image:
        linear-gradient(180deg, rgba(15, 12, 41, 0.92) 0%, rgba(36, 36, 62, 0.88) 45%, rgba(48, 43, 99, 0.95) 100%),
        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: auto, 48px 48px, 48px 48px;
}

.app-body {
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior-y: none;
}

.app-shell {
    position: relative;
}

.app-main {
    min-height: 0;
}

@media (min-width: 992px) {
    .app-main {
        padding-bottom: 0;
    }
}

/* Mobile top bar */
.app-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    height: var(--app-topbar-h);
    padding-top: env(safe-area-inset-top, 0px);
    background: rgba(10, 11, 30, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.app-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 0.75rem;
    max-width: 100%;
}

.app-topbar__menu-btn,
.app-topbar__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    text-decoration: none;
    font-size: 1.25rem;
}

.app-topbar__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: #fff;
}

.site-logo-wrap {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
}

.site-logo-wrap--chip {
    padding: 0.3rem 0.55rem;
    border-radius: 0.65rem;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.site-logo {
    display: block;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.site-logo--sm {
    height: 1.5rem;
}

.site-logo--md {
    height: 1.85rem;
}

.site-logo--lg {
    height: 2.15rem;
}

.app-topbar__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #8b5cf6, #4f46e5);
    flex-shrink: 0;
}

.app-topbar__title {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

@media (max-width: 1199.98px) {
    .app-main {
        padding-top: calc(var(--app-topbar-h) + env(safe-area-inset-top, 0px));
    }
}

/* Bottom navigation */
.app-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    background: rgba(12, 12, 28, 0.96);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: var(--app-safe-bottom);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

.app-bottom-nav__inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-height: var(--app-bottomnav-h);
}

.app-bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.45rem 0.25rem;
    color: rgba(148, 163, 184, 0.95);
    text-decoration: none;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color 0.2s ease, background 0.2s ease;
}

.app-bottom-nav__item.is-active {
    color: #fff;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.18), transparent);
}

.app-bottom-nav__item.is-active .app-bottom-nav__icon {
    color: #a5b4fc;
    transform: translateY(-1px);
}

.app-bottom-nav__icon {
    font-size: 1.15rem;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.app-bottom-nav__label {
    line-height: 1.1;
}

/* Offcanvas menu */
.app-offcanvas {
    background: #0f1028 !important;
    color: #fff;
    width: min(92vw, 360px) !important;
    z-index: 1045;
}

.app-offcanvas .offcanvas-body {
    overflow-y: auto;
    padding-bottom: calc(1rem + var(--app-safe-bottom));
}

.app-menu-link {
    display: flex !important;
    align-items: center;
    background: transparent !important;
    color: rgba(226, 232, 240, 0.92) !important;
    border: 0 !important;
    padding: 0.95rem 1.25rem !important;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.app-menu-link .bi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-right: 0.85rem !important;
    border-radius: 0.65rem;
    font-size: 1rem;
    background: rgba(99, 102, 241, 0.14);
    color: #c4b5fd;
}

.app-menu-link.active,
.app-menu-link:active {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.18), transparent) !important;
    color: #fff !important;
}

.app-menu-link.active .bi {
    background: rgba(99, 102, 241, 0.28);
    color: #fff;
}

.app-menu-intro {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.08), transparent);
}

.app-menu-intro__eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7dd3fc;
}

.app-menu-intro__text {
    font-size: 0.875rem;
    color: rgba(203, 213, 225, 0.88);
}

.app-menu-counsel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border: 0;
    border-radius: 0.85rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.28);
}

/* Desktop header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header__bar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.25rem;
    min-height: 4.75rem;
    padding: 0.65rem 0;
}

.site-header__brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
    color: inherit;
}

.site-header,
.site-header__bar,
.site-header .container-fluid {
    overflow: visible;
}

.site-header .container-fluid {
    position: relative;
}

.site-header__nav {
    display: flex;
    justify-content: center;
    min-width: 0;
}

.site-header__nav-rail {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    max-width: 100%;
    padding: 0.3rem;
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 40px rgba(0, 0, 0, 0.18);
}

.site-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.site-header__counsel-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1rem;
    border: 0;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 55%, #a855f7 100%);
    box-shadow:
        0 10px 28px rgba(99, 102, 241, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.site-header__counsel-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow:
        0 14px 34px rgba(99, 102, 241, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.site-nav-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 2.375rem;
    padding: 0 0.9rem;
    border: 0;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1;
    color: rgba(226, 232, 240, 0.88);
    text-decoration: none;
    white-space: nowrap;
    background: transparent;
    vertical-align: middle;
}

.site-nav-item__icon {
    font-size: 0.9rem;
    opacity: 0.85;
}

.site-nav-item:hover,
.site-nav-item:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.site-nav-item.is-active {
    color: #0f172a;
    background: linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);
    box-shadow:
        0 8px 22px rgba(99, 102, 241, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.site-nav-item--cta {
    color: #e0e7ff;
    background: rgba(99, 102, 241, 0.16);
    border: 1px solid rgba(129, 140, 248, 0.35);
}

.site-nav-item--cta:hover {
    color: #fff;
    background: rgba(99, 102, 241, 0.28);
}

.site-nav-item--cta.is-active {
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.35);
}

.site-header__nav .saas-nav-link,
.nav-mega {
    flex-shrink: 0;
}

.app-brand-icon {
    width: 2.75rem;
    height: 2.75rem;
    background: linear-gradient(135deg, #8b5cf6, #4f46e5) !important;
}

.app-tagline-badge {
    background: rgba(56, 189, 248, 0.15) !important;
    color: #7dd3fc !important;
    border: 1px solid rgba(56, 189, 248, 0.25);
    font-weight: 600;
}

.app-brand-subtitle {
    letter-spacing: 0.16em;
    font-size: 0.625rem !important;
}

/* Mobile stats — horizontal swipe cards */
@media (max-width: 991.98px) {
    .app-stats-grid {
        display: flex !important;
        flex-wrap: nowrap;
        gap: 0.75rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0.25rem 0.125rem 0.75rem;
        border: 0 !important;
        background: transparent !important;
        backdrop-filter: none !important;
    }

    .app-stats-grid::-webkit-scrollbar {
        display: none;
    }

    .app-stats-grid > div {
        flex: 0 0 44%;
        scroll-snap-align: start;
        border-radius: 1rem !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        background: rgba(255, 255, 255, 0.05) !important;
        padding: 1rem 0.75rem !important;
    }

    .app-stats-grid > div p:first-child {
        font-size: 1.35rem !important;
    }

    .app-stats-grid > div p:last-child {
        font-size: 0.625rem !important;
        line-height: 1.35 !important;
    }
}

/* Mobile content cards */
@media (max-width: 991.98px) {
    .institute-section {
        border-radius: 1.25rem 1.25rem 0 0;
        margin-top: -0.75rem;
        padding-top: 2.5rem !important;
        padding-bottom: 2rem !important;
        background: rgba(15, 16, 40, 0.98) !important;
    }

    .institute-section article {
        border-radius: 1rem !important;
    }

    .institute-section .grid {
        gap: 0.875rem !important;
    }

    .site-footer {
        margin-bottom: calc(var(--app-bottomnav-h) + var(--app-safe-bottom));
        padding-bottom: 1.5rem !important;
    }

    .site-footer .mx-auto.max-w-7xl > .grid {
        gap: 1.5rem !important;
    }

    .banner-app img,
    .store-badges__img {
        height: 2.75rem !important;
    }
}

/* Generic / inner pages on mobile */
.app-page {
    min-height: calc(100dvh - var(--app-topbar-h) - var(--app-bottomnav-h) - env(safe-area-inset-top, 0px) - var(--app-safe-bottom) - 8rem);
}

.app-page-card {
    padding: 2rem 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.app-page-card__icon {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.35rem;
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.15);
}

/* Bootstrap dark tweaks */
.offcanvas-backdrop.show {
    opacity: 0.65;
}

.list-group-item-action:hover {
    background: rgba(255, 255, 255, 0.04);
}

/* Counselling popup modal */
.counselling-modal .modal-backdrop {
    transition: opacity 0.45s ease;
}

.counselling-modal .counselling-modal__dialog {
    transform: scale(0.88) translateY(28px);
    opacity: 0;
    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.45s ease;
}

.counselling-modal.show .counselling-modal__dialog,
.counselling-modal.showing .counselling-modal__dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.counselling-modal__content {
    overflow: hidden;
    border-radius: 1.25rem;
    background: linear-gradient(145deg, #12122a 0%, #0f1028 100%);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.counselling-modal__image-wrap {
    min-height: 100%;
    background: #0a0b1e;
}

.counselling-modal__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 28rem;
    object-fit: cover;
}

.counselling-modal__form-wrap {
    color: #fff;
}

.counselling-modal__header {
    padding: 1rem 1rem 0;
    justify-content: flex-end;
}

.counselling-modal__title {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.counselling-modal__subtitle {
    color: rgba(148, 163, 184, 0.95);
    margin-bottom: 1.25rem;
}

.counselling-modal__label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #e2e8f0;
}

.counselling-modal__pills .nav-link {
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(226, 232, 240, 0.85);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-right: 0.5rem;
    transition: all 0.25s ease;
}

.counselling-modal__pills .nav-link.active,
.counselling-modal__pills .nav-link:hover {
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border-color: transparent;
}

.counselling-modal__input,
.counselling-modal__textarea {
    display: block;
    width: 100%;
    margin-bottom: 0.875rem;
    padding: 0.8rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.9375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.counselling-modal__input::placeholder,
.counselling-modal__textarea::placeholder {
    color: rgba(148, 163, 184, 0.8);
}

.counselling-modal__input:focus,
.counselling-modal__textarea:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.65);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    background: rgba(255, 255, 255, 0.07);
}

.counselling-modal__textarea {
    min-height: 6.5rem;
    resize: vertical;
}

.counselling-modal__btn-wrap {
    margin-top: 0.5rem;
}

.counselling-modal__submit {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border: 0;
    border-radius: 0.85rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #6366f1 0%, #7c3aed 55%, #4f46e5 100%);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.counselling-modal__submit:hover {
    color: #fff;
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 14px 34px rgba(79, 70, 229, 0.45);
}

.counselling-modal__alert {
    border-radius: 0.75rem;
    border: 1px solid rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.12);
    color: #bbf7d0;
}

@media (max-width: 991.98px) {
    .counselling-modal__dialog {
        margin: 0.75rem;
    }

    .counselling-modal__content {
        border-radius: 1rem;
    }

    .counselling-modal__title {
        font-size: 1.25rem;
    }
}

/* Section rhythm — each block feels distinct */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7dd3fc;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.section-eyebrow--center {
    margin-left: auto;
    margin-right: auto;
}

.section-block--stats {
    position: relative;
    z-index: 2;
}

/* Learning goals split section */
.learning-section {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 15% 50%, rgba(20, 184, 166, 0.12), transparent 42%),
        linear-gradient(135deg, #0b1224 0%, #10162e 48%, #0a1020 100%);
}

.learning-section__row {
    min-height: 28rem;
}

.learning-section__content-col {
    display: flex;
    align-items: center;
}

.learning-section__content {
    width: 100%;
    padding: 2.5rem 1.25rem;
}

@media (min-width: 992px) {
    .learning-section__content {
        padding: 4.5rem 3.5rem 4.5rem 4rem;
        max-width: 44rem;
        margin-left: auto;
    }
}

@media (min-width: 1400px) {
    .learning-section__content {
        padding-left: 5rem;
    }
}

.learning-section__title {
    margin-bottom: 1.25rem;
    font-size: clamp(1.85rem, 4vw, 3rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
}

.learning-section__title-highlight {
    display: block;
    margin-top: 0.35rem;
    background: linear-gradient(90deg, #2dd4bf, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.learning-section__copy p {
    margin-bottom: 1rem;
    font-size: 0.98rem;
    line-height: 1.75;
    color: rgba(203, 213, 225, 0.92);
}

.learning-section__copy p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: #e2e8f0;
}

.learning-section__badges {
    margin-top: 1.75rem;
}

.learning-section__media-col {
    position: relative;
    min-height: 18rem;
}

.learning-section__media {
    position: relative;
    height: 100%;
    min-height: 18rem;
}

.learning-section__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 18rem;
    object-fit: cover;
}

.learning-section__media-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 18, 36, 0.55) 0%, transparent 35%);
    pointer-events: none;
}

@media (min-width: 992px) {
    .learning-section__row {
        min-height: 34rem;
    }

    .learning-section__media,
    .learning-section__image {
        min-height: 34rem;
    }
}

.section-block--cards .section-eyebrow {
    color: #c4b5fd;
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.25);
}

.section-eyebrow--amber {
    color: #fcd34d;
    background: rgba(251, 191, 36, 0.12);
    border-color: rgba(251, 191, 36, 0.25);
}

/* Teachers gallery section */
.teachers-section {
    position: relative;
    overflow: hidden;
    padding: 4rem 0 4.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 85% 20%, rgba(251, 191, 36, 0.08), transparent 35%),
        radial-gradient(circle at 10% 80%, rgba(99, 102, 241, 0.1), transparent 40%),
        #0a0c18;
}

@media (min-width: 992px) {
    .teachers-section {
        padding: 5rem 0 5.5rem;
    }
}

.teachers-section__title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
}

.teachers-section__title-highlight {
    display: block;
    margin-top: 0.2rem;
    background: linear-gradient(90deg, #fbbf24, #f472b6, #818cf8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.teachers-section__subtitle {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(148, 163, 184, 0.95);
}

.gallery-slider {
    position: relative;
}

.gallery-slider__viewport {
    overflow: hidden;
    padding: 1.5rem 0 2rem;
}

.gallery-slider__track {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.gallery-slider__slide {
    flex: 0 0 72%;
    max-width: 17rem;
    cursor: pointer;
    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.45s ease;
    transform: scale(0.88);
    opacity: 0.45;
}

@media (min-width: 768px) {
    .gallery-slider__slide {
        flex-basis: 42%;
        max-width: 15rem;
    }
}

@media (min-width: 1200px) {
    .gallery-slider__slide {
        flex-basis: 34%;
        max-width: 14rem;
    }
}

.gallery-slider__slide.is-active {
    transform: scale(1);
    opacity: 1;
    z-index: 2;
}

.gallery-slider__slide.is-prev,
.gallery-slider__slide.is-next {
    transform: scale(0.92);
    opacity: 0.72;
}

.gallery-slider__card {
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.gallery-slider__slide.is-active .gallery-slider__card {
    border-color: rgba(251, 191, 36, 0.35);
    box-shadow: 0 24px 50px rgba(79, 70, 229, 0.25);
}

.gallery-slider__image-wrap {
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.gallery-slider__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-slider__slide.is-active .gallery-slider__image {
    transform: scale(1.04);
}

.gallery-slider__info {
    padding: 1rem 1rem 1.15rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(15, 16, 40, 0.2), rgba(15, 16, 40, 0.85));
}

.gallery-slider__info h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.gallery-slider__info p {
    margin: 0.25rem 0 0;
    font-size: 0.8125rem;
    color: #fbbf24;
    font-weight: 600;
}

.gallery-slider__controls {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.gallery-slider__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 1.1rem;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.gallery-slider__btn:hover {
    transform: translateY(-2px);
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(129, 140, 248, 0.45);
    color: #fff;
}

@media (max-width: 991.98px) {
    .teachers-section__heading {
        text-align: center;
    }

    .gallery-slider__slide {
        flex-basis: 78%;
    }
}

@media (max-width: 991.98px) {
    .learning-section__content {
        padding-top: 2rem;
        padding-bottom: 1.5rem;
    }

    .learning-section__media-col {
        order: -1;
    }

    .learning-section__image {
        min-height: 16rem;
        max-height: 18rem;
    }

    .learning-section__media-glow {
        background: linear-gradient(180deg, transparent 55%, rgba(11, 18, 36, 0.85) 100%);
    }

    .learning-section__badges {
        justify-content: center !important;
    }
}

/* SaaS-style motion system */
@keyframes saas-rise {
    from {
        opacity: 0;
        transform: translate3d(0, 28px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes saas-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes saas-scale-in {
    from {
        opacity: 0;
        transform: scale(0.94);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes saas-slide-left {
    from {
        opacity: 0;
        transform: translate3d(-32px, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes saas-slide-right {
    from {
        opacity: 0;
        transform: translate3d(32px, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes saas-header-drop {
    from {
        opacity: 0;
        transform: translate3d(0, -16px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes saas-float {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -12px, 0);
    }
}

.reveal {
    opacity: 0;
    will-change: opacity, transform;
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0s);
}

.reveal-up {
    transform: translate3d(0, 32px, 0);
}

.reveal-left {
    transform: translate3d(-36px, 0, 0);
}

.reveal-right {
    transform: translate3d(36px, 0, 0);
}

.reveal-scale {
    transform: scale(0.94);
}

.reveal.is-visible,
.reveal-stagger > *.is-visible {
    opacity: 1;
    transform: none;
}

.hero-content__item {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
}

.hero-content__item--play {
    animation: saas-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-content__item--1.hero-content__item--play {
    animation-delay: 0.08s;
}

.hero-content__item--2.hero-content__item--play {
    animation-delay: 0.18s;
}

.hero-content__item--3.hero-content__item--play {
    animation-delay: 0.28s;
}

.hero-content__item--4.hero-content__item--play {
    animation-delay: 0.38s;
}

.hero-content__item--5.hero-content__item--play {
    animation-delay: 0.48s;
}

.site-header--animate,
.app-topbar--animate {
    animation: saas-header-drop 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.institute-section .absolute.-top-24 {
    animation: saas-float 8s ease-in-out infinite;
}

.saas-card-hover {
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
}

.saas-card-hover:hover {
    transform: translateY(-4px);
}

.saas-btn-primary {
    transition:
        transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.25s ease,
        box-shadow 0.25s ease;
}

.saas-btn-primary:hover {
    transform: translateY(-2px);
}

html:not(.saas-reduced-motion) {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal,
    .reveal-up,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .hero-content__item {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }

    .site-header--animate,
    .app-topbar--animate,
    .institute-section .absolute.-top-24 {
        animation: none !important;
    }

    .saas-card-hover:hover,
    .saas-btn-primary:hover {
        transform: none;
    }
}

/* Inner pages */
.page-hero {
    padding: 2.5rem 0 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 20% 0%, rgba(99, 102, 241, 0.15), transparent 40%),
        linear-gradient(180deg, rgba(15, 16, 40, 0.95), rgba(10, 11, 30, 0.6));
}

@media (min-width: 992px) {
    .page-hero {
        padding: 3.5rem 0 2.75rem;
    }
}

.page-hero__title {
    margin: 0;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    max-width: 48rem;
}

.page-hero__title-highlight {
    display: block;
    margin-top: 0.25rem;
    background: linear-gradient(90deg, #818cf8, #38bdf8, #2dd4bf);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.page-hero__subtitle {
    margin: 1rem 0 0;
    max-width: 42rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(148, 163, 184, 0.95);
}

.page-content {
    padding: 2.5rem 0 4rem;
}

@media (min-width: 992px) {
    .page-content {
        padding: 3rem 0 5rem;
    }
}

.page-section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #fff;
}

.page-card {
    height: 100%;
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.page-card__title {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.page-card__text {
    margin: 0;
    line-height: 1.75;
    color: rgba(203, 213, 225, 0.9);
}

.page-stat-card {
    padding: 1.25rem 1rem;
    text-align: center;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.page-stat-card__value {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    color: #fbbf24;
}

.page-stat-card--sky .page-stat-card__value { color: #38bdf8; }
.page-stat-card--teal .page-stat-card__value { color: #2dd4bf; }
.page-stat-card--violet .page-stat-card__value { color: #a78bfa; }

.page-stat-card__label {
    margin: 0.35rem 0 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(148, 163, 184, 0.9);
}

.page-value-card {
    height: 100%;
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.page-value-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1rem;
    border-radius: 0.85rem;
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
    font-size: 1.15rem;
}

.page-value-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.page-value-card p {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(148, 163, 184, 0.95);
}

.page-course-card {
    height: 100%;
    padding: 1.75rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.page-course-card__badge {
    display: inline-block;
    margin-bottom: 0.85rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fcd34d;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.25);
}

.page-course-card__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
}

.page-course-card__duration {
    margin: 0.35rem 0 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #7dd3fc;
}

.page-course-card__text {
    line-height: 1.7;
    color: rgba(203, 213, 225, 0.9);
}

.page-course-card__features {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 1.5rem;
}

.page-course-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.9);
}

.page-course-card__features .bi {
    color: #34d399;
    margin-top: 0.15rem;
}

.page-result-card {
    height: 100%;
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.page-result-card__score {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #34d399;
    background: rgba(52, 211, 153, 0.12);
}

.page-result-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.page-result-card__course {
    margin: 0.25rem 0 0.75rem;
    font-size: 0.8125rem;
    color: #7dd3fc;
}

.page-result-card__college {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(203, 213, 225, 0.9);
}

.page-result-card__college .bi {
    color: #a78bfa;
    margin-right: 0.25rem;
}

.page-cta-band {
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(129, 140, 248, 0.25);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(79, 70, 229, 0.1));
}

.page-cta-band__inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .page-cta-band__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.page-cta-band h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.page-cta-band p {
    margin: 0.35rem 0 0;
    color: rgba(203, 213, 225, 0.9);
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.35rem;
    border-radius: 0.85rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.page-btn--primary {
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border: 0;
}

.page-btn--light {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    filter: brightness(1.05);
}

/* Tailwind CDN .collapse conflicts with Bootstrap accordion — restore visibility */
.page-accordion .accordion-collapse.collapse,
.page-accordion .accordion-collapse.collapsing {
    visibility: visible !important;
}

.page-accordion .accordion-collapse.collapse:not(.show) {
    display: none !important;
}

.page-accordion .accordion-collapse.collapse.show {
    display: block !important;
}

.page-accordion__item {
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 1rem !important;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.page-accordion__btn {
    background: transparent !important;
    color: #fff !important;
    font-weight: 600;
    box-shadow: none !important;
}

.page-accordion__btn:not(.collapsed) {
    background: rgba(99, 102, 241, 0.12) !important;
    color: #fff !important;
}

.page-accordion__body {
    color: rgba(203, 213, 225, 0.92);
    line-height: 1.75;
    background: transparent;
    padding-top: 0.25rem;
    padding-bottom: 1.25rem;
}

.page-contact-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
}

.page-contact-list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    color: rgba(226, 232, 240, 0.92);
}

.page-contact-list .bi {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: #a78bfa;
}

.page-contact-list a {
    color: #fff;
    text-decoration: none;
}

.page-contact-list a:hover {
    color: #7dd3fc;
}

.page-form__label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #e2e8f0;
}

.page-form__pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(226, 232, 240, 0.9);
    font-size: 0.8125rem;
    cursor: pointer;
}

.page-form__pill input {
    display: none;
}

.page-form__pill:has(input:checked) {
    color: #fff;
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(129, 140, 248, 0.45);
}

.page-alert {
    border-radius: 0.85rem;
    border: 1px solid rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.12);
    color: #bbf7d0;
}

.teachers-section--standalone {
    border-top: 0;
}

.teachers-section--grid .teachers-section__heading {
    max-width: 46rem;
    margin: 0 auto 1rem;
    text-align: center;
}

.teachers-grid {
    margin-top: 0.5rem;
}

.teachers-grid__card {
    height: 100%;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.teachers-grid__card:hover {
    transform: translateY(-6px);
    border-color: rgba(251, 191, 36, 0.35);
    box-shadow: 0 24px 50px rgba(79, 70, 229, 0.25);
}

/* Category & listing navigation */
.page-breadcrumb {
    margin-bottom: 1.5rem;
}

.page-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-breadcrumb__item {
    display: inline-flex;
    align-items: center;
    font-size: 0.8125rem;
    color: rgba(148, 163, 184, 0.95);
}

.page-breadcrumb__item:not(.is-current)::after {
    content: '/';
    margin-left: 0.5rem;
    color: rgba(100, 116, 139, 0.8);
}

.page-breadcrumb__item a {
    color: #7dd3fc;
    text-decoration: none;
}

.page-breadcrumb__item a:hover {
    color: #bae6fd;
}

.page-breadcrumb__item.is-current span {
    color: rgba(226, 232, 240, 0.95);
}

.category-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    color: inherit;
}

.category-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    border-radius: 0.9rem;
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
    font-size: 1.25rem;
}

.category-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.category-card__text {
    margin: 0;
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(203, 213, 225, 0.9);
}

.category-card__meta {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7dd3fc;
}

.category-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #c4b5fd;
}

.listing-card {
    display: block;
    height: 100%;
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    color: inherit;
}

.listing-card__title {
    margin: 0.35rem 0 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.listing-card__text {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(203, 213, 225, 0.9);
}

.listing-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #7dd3fc;
}

.listing-card:hover .listing-card__link,
.category-card:hover .category-card__link {
    color: #bae6fd;
}

.page-card--sticky {
    position: sticky;
    top: 6rem;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.65rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.92);
}

.detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 999px;
    background: #818cf8;
}

@media (max-width: 991.98px) {
    .page-hero__inner {
        text-align: center;
    }

    .page-hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .section-eyebrow {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ─── SaaS Pro polish ─── */
@keyframes saas-mesh-drift {
    0%,
    100% {
        opacity: 0.55;
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        opacity: 0.85;
        transform: translate3d(2%, -2%, 0) scale(1.05);
    }
}

@keyframes saas-orb-float-a {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -24px, 0);
    }
}

@keyframes saas-orb-float-b {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(18px, 12px, 0);
    }
}

@keyframes saas-shimmer {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

@keyframes saas-shell-enter {
    from {
        opacity: 0;
        transform: translate3d(0, 10px, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.app-shell--enter {
    animation: saas-shell-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.app-shell {
    position: relative;
    z-index: 1;
}

.ambient-bg__orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(80px);
    will-change: transform;
}

.ambient-bg__orb--1 {
    top: -8rem;
    left: -6rem;
    width: 22rem;
    height: 22rem;
    background: rgba(99, 102, 241, 0.22);
    animation: saas-orb-float-a 14s ease-in-out infinite;
}

.ambient-bg__orb--2 {
    top: 35%;
    right: -8rem;
    width: 26rem;
    height: 26rem;
    background: rgba(56, 189, 248, 0.12);
    animation: saas-orb-float-b 18s ease-in-out infinite;
}

.ambient-bg__orb--3 {
    bottom: -10rem;
    left: 35%;
    width: 20rem;
    height: 20rem;
    background: rgba(167, 139, 250, 0.14);
    animation: saas-orb-float-a 20s ease-in-out infinite reverse;
}

.hero-grid-bg::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.12), transparent 35%),
        radial-gradient(circle at 80% 10%, rgba(45, 212, 191, 0.08), transparent 30%);
    animation: saas-mesh-drift 16s ease-in-out infinite;
}

.site-header--glass {
    transition:
        background 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.site-header--glass.is-scrolled {
    background: rgba(8, 9, 22, 0.88) !important;
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.06) !important;
}

.saas-nav-link {
    position: relative;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.site-header__nav-rail .saas-nav-link:hover {
    transform: none;
}

.saas-motion-ready .reveal {
    filter: blur(8px);
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.saas-motion-ready .reveal.is-visible {
    filter: blur(0);
}

.section-eyebrow {
    position: relative;
    overflow: hidden;
}

.section-eyebrow::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.12) 50%, transparent 70%);
    background-size: 200% 100%;
    animation: saas-shimmer 6s linear infinite;
    pointer-events: none;
}

.page-hero--pro {
    position: relative;
    overflow: hidden;
}

.page-hero__glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(129, 140, 248, 0.2), transparent 42%),
        radial-gradient(circle at 85% 0%, rgba(45, 212, 191, 0.12), transparent 38%);
    pointer-events: none;
}

.page-hero__title-highlight {
    background-size: 200% auto;
    animation: saas-shimmer 8s linear infinite;
}

.saas-pro-card {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
}

.saas-pro-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.45), rgba(45, 212, 191, 0.15), rgba(255, 255, 255, 0.08));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.saas-pro-card:hover::before {
    opacity: 1;
}

.saas-pro-card:hover {
    box-shadow: 0 20px 50px rgba(79, 70, 229, 0.18);
}

.saas-pro-card.saas-card-hover:hover {
    transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-4px);
}

.page-card,
.listing-card,
.page-stat-card,
.page-value-card,
.page-course-card,
.page-result-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.category-card__icon,
.page-value-card__icon {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.category-card:hover .category-card__icon,
.page-value-card:hover .page-value-card__icon {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
}

.listing-card__link,
.category-card__link {
    transition: gap 0.25s ease, color 0.25s ease;
}

.listing-card:hover .listing-card__link,
.category-card:hover .category-card__link {
    gap: 0.35rem;
}

.page-btn {
    position: relative;
    overflow: hidden;
}

.page-btn::after,
.hero-btn--primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    transition: left 0.55s ease;
}

.page-btn:hover::after,
.hero-btn--primary:hover::after {
    left: 140%;
}

.page-cta-band {
    position: relative;
    overflow: hidden;
}

.page-cta-band::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.35), rgba(45, 212, 191, 0.15));
    opacity: 0.35;
    pointer-events: none;
}

.page-stat-card {
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.page-stat-card:hover {
    border-color: rgba(129, 140, 248, 0.35);
    box-shadow: 0 12px 32px rgba(79, 70, 229, 0.15);
}

.app-stats-grid > div {
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease;
}

.gallery-slider__card {
    backdrop-filter: blur(10px);
}

.hero-content__badge {
    animation: saas-shimmer 10s linear infinite;
    background-size: 200% auto;
}

@media (prefers-reduced-motion: reduce) {
    .app-shell--enter,
    .ambient-bg__orb,
    .hero-grid-bg::before,
    .page-hero__title-highlight,
    .section-eyebrow::after,
    .hero-content__badge {
        animation: none !important;
    }

    .saas-pro-card {
        transform: none !important;
    }

    .saas-motion-ready .reveal {
        filter: none !important;
    }
}

/* Nav mega dropdown — Course / Result */
.nav-mega {
    position: static;
    flex-shrink: 0;
}

.nav-mega__toggle {
    cursor: pointer;
}

.nav-mega__toggle.dropdown-toggle::after {
    margin-left: 0.3rem;
    vertical-align: middle;
    border-top-color: currentColor;
    opacity: 0.75;
}

.nav-mega__toggle.is-active.dropdown-toggle::after {
    border-top-color: #0f172a;
    opacity: 1;
}

.nav-mega__menu {
    position: absolute;
    top: 100%;
    left: 0.75rem !important;
    right: 0.75rem !important;
    bottom: auto !important;
    inset: 100% 0.75rem auto 0.75rem !important;
    transform: none !important;
    width: auto;
    min-width: 0;
    max-width: none;
    max-height: min(70vh, 34rem);
    overflow-y: auto;
    padding: 1rem;
    margin-top: 0.65rem !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    background:
        linear-gradient(180deg, rgba(18, 19, 45, 0.98), rgba(10, 11, 28, 0.98)) !important;
    backdrop-filter: blur(20px);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-mega__menu::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    border-radius: 1.25rem 1.25rem 0 0;
    background: linear-gradient(90deg, #6366f1, #22d3ee, #a855f7);
}

.nav-mega--result .nav-mega__menu::before {
    background: linear-gradient(90deg, #10b981, #22d3ee, #6366f1);
}

.nav-mega__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0.35rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0.85rem;
}

.nav-mega__eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(125, 211, 252, 0.9);
}

.nav-mega__title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.nav-mega__all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #c4b5fd;
    text-decoration: none;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(129, 140, 248, 0.22);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-mega__all-link:hover {
    color: #fff;
    background: rgba(99, 102, 241, 0.22);
    transform: translateY(-1px);
}

.nav-mega__layout {
    display: grid;
    grid-template-columns: minmax(11rem, 14rem) minmax(0, 1fr);
    gap: 0.85rem;
    min-height: 11rem;
}

.nav-mega__categories {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-right: 0.75rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-mega__cat-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.55rem 0.65rem;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    background: transparent;
    color: rgba(226, 232, 240, 0.88);
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-mega__cat-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.nav-mega__cat-btn.is-active {
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(129, 140, 248, 0.3);
    color: #fff;
}

.nav-mega__cat-btn__label {
    flex: 1;
    min-width: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.25;
}

.nav-mega__cat-btn__count {
    flex-shrink: 0;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(226, 232, 240, 0.85);
}

.nav-mega__panels {
    max-height: min(55vh, 24rem);
    overflow-y: auto;
    padding-right: 0.15rem;
}

.nav-mega__panel {
    display: none;
}

.nav-mega__panel.is-active {
    display: block;
}

.nav-mega__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.nav-mega__panel-title {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
}

.nav-mega__panel-link {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #7dd3fc;
    text-decoration: none;
}

.nav-mega__panel-link:hover {
    color: #bae6fd;
}

.nav-mega__category-links {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.nav-mega__category-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border-radius: 0.85rem;
    text-decoration: none;
    color: rgba(226, 232, 240, 0.92);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.nav-mega__category-link:hover {
    color: #fff;
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(52, 211, 153, 0.25);
    transform: translateX(3px);
}

.nav-mega__category-link__copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
    min-width: 0;
}

.nav-mega__category-link__title {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.25;
}

.nav-mega__category-link__meta {
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(148, 163, 184, 0.95);
}

.nav-mega__category-link__arrow {
    flex-shrink: 0;
    font-size: 1.25rem;
    color: #6ee7b7;
}

.nav-mega--result .nav-mega__menu {
    min-width: min(92vw, 22rem);
}

.nav-mega__category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.55rem;
    font-size: 0.85rem;
    color: #c4b5fd;
    background: rgba(99, 102, 241, 0.18);
    border: 1px solid rgba(129, 140, 248, 0.2);
}

.nav-mega--result .nav-mega__category-icon {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(52, 211, 153, 0.22);
}

.nav-mega__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-mega__item {
    display: block;
    padding: 0.45rem 0.5rem;
    border-radius: 0.55rem;
    font-size: 0.8125rem;
    color: rgba(226, 232, 240, 0.86);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-mega__item:hover {
    background: rgba(99, 102, 241, 0.14);
    color: #fff;
    transform: translateX(2px);
}

/* Mobile nav groups */
.app-menu-group__toggle {
    display: flex !important;
    align-items: center;
    width: 100%;
    border: 0;
    text-align: left;
    font-size: 0.9375rem;
    font-weight: 600;
}

.app-menu-group__toggle .bi:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-right: 0.85rem !important;
    border-radius: 0.65rem;
    font-size: 1rem;
    background: rgba(99, 102, 241, 0.14);
    color: #c4b5fd;
}

.app-menu-group__chevron {
    transition: transform 0.25s ease;
}

.app-menu-group__toggle[aria-expanded='true'] .app-menu-group__chevron {
    transform: rotate(180deg);
}

.app-menu-group__panel.collapse,
.app-menu-group__panel.collapsing {
    visibility: visible !important;
}

.app-menu-group__panel.collapse:not(.show) {
    display: none !important;
}

.app-menu-sublink {
    display: block;
    padding: 0.65rem 1.25rem 0.65rem 2.75rem;
    font-size: 0.8125rem;
    color: rgba(203, 213, 225, 0.9);
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.app-menu-sublink:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.app-menu-sublink--all {
    font-weight: 700;
    color: #7dd3fc;
}

.app-menu-sublink--category {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding-left: 2.25rem;
    font-weight: 700;
    color: #c4b5fd;
}

.app-menu-sublink__count {
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(203, 213, 225, 0.9);
}

.app-menu-subgroup {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.app-menu-subgroup__toggle {
    display: flex !important;
    align-items: center;
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.app-menu-subgroup__chevron {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}

.app-menu-subgroup__toggle[aria-expanded='true'] .app-menu-subgroup__chevron {
    transform: rotate(180deg);
}

.app-menu-subgroup__panel.collapse,
.app-menu-subgroup__panel.collapsing {
    visibility: visible !important;
}

.app-menu-subgroup__panel.collapse:not(.show) {
    display: none !important;
}

.app-menu-sublink--view {
    padding-left: 3rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #7dd3fc !important;
}

.app-menu-subgroup__panel .app-menu-sublink:not(.app-menu-sublink--view) {
    padding-left: 3.25rem;
}

/* Responsive nav polish */
@media (min-width: 1200px) and (max-width: 1399px) {
    .site-header__bar {
        gap: 0.85rem;
    }

    .site-logo--lg {
        height: 1.95rem;
    }

    .site-nav-item {
        min-height: 2.25rem;
        padding: 0 0.7rem;
        font-size: 0.75rem;
    }

    .site-header__counsel-btn {
        padding: 0.55rem 0.85rem;
        font-size: 0.75rem;
    }

    .site-header__counsel-btn span {
        display: none;
    }
}

@media (min-width: 1400px) {
    .site-header__counsel-btn span {
        display: inline;
    }
}

@media (max-width: 1199.98px) {
    .app-bottom-nav__label {
        font-size: 0.5625rem;
    }

    .app-topbar__title {
        font-size: 0.9375rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 10rem;
    }
}

@media (min-width: 576px) and (max-width: 1199.98px) {
    .app-topbar__title {
        max-width: none;
    }
}

/* Course detail page (Mark X–style layout) */
.course-detail-hero {
    padding: 1.5rem 0 3rem;
}

.course-detail-hero .page-breadcrumb {
    margin-bottom: 1.25rem;
}

.course-detail-hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7dd3fc;
    margin-bottom: 0.75rem;
}

.course-detail-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1rem;
}

.course-detail-hero__highlight {
    display: block;
    background: linear-gradient(135deg, #a5b4fc, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.course-detail-hero__subtitle {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(203, 213, 225, 0.92);
    max-width: 38rem;
    margin-bottom: 1.25rem;
}

.course-detail-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.course-detail-hero__duration {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(148, 163, 184, 0.95);
}

.course-detail-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.course-detail-hero__image-wrap {
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.course-detail-hero__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.course-detail-section {
    padding: 2.5rem 0;
}

.course-detail-section--about {
    padding-top: 0;
}

.course-detail-section--pitch {
    padding-top: 1rem;
}

.course-detail-section--why {
    background: rgba(255, 255, 255, 0.02);
    border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.course-detail-section--faq {
    padding-bottom: 1rem;
}

.course-detail-section__title {
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 0;
}

.course-detail-about {
    padding: 2rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.course-detail-about__text {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(203, 213, 225, 0.92);
    margin: 1rem 0 0;
}

.course-detail-coverage {
    height: 100%;
    padding: 1.35rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.course-detail-coverage__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.85rem;
    border-radius: 0.85rem;
    font-size: 1.15rem;
    color: #c4b5fd;
    background: rgba(99, 102, 241, 0.16);
    border: 1px solid rgba(129, 140, 248, 0.22);
}

.course-detail-coverage__label {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.45rem;
}

.course-detail-coverage__text {
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(148, 163, 184, 0.95);
    margin: 0;
}

.course-detail-pitch {
    padding: 2rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(99, 102, 241, 0.25);
    background:
        linear-gradient(135deg, rgba(99, 102, 241, 0.14), rgba(45, 212, 191, 0.08));
}

.course-detail-pitch__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.65rem;
}

.course-detail-pitch__text {
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(203, 213, 225, 0.92);
}

.course-detail-feature {
    height: 100%;
    padding: 1.25rem 1.35rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.course-detail-feature__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #e0e7ff;
    margin-bottom: 0.35rem;
}

.course-detail-feature__text {
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(148, 163, 184, 0.95);
}

.course-detail-why__intro {
    color: rgba(148, 163, 184, 0.95);
    margin-top: 0.75rem;
    line-height: 1.6;
}

.course-detail-why__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.course-detail-why__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgba(226, 232, 240, 0.92);
}

.course-detail-why__list .bi {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: #34d399;
}

.course-detail-stage {
    height: 100%;
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.course-detail-stage__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.45rem;
}

.course-detail-stage__text {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: rgba(148, 163, 184, 0.95);
}

.course-detail-faq {
    max-width: 52rem;
    margin: 1.5rem auto 0;
}

.course-detail-cta {
    padding: 1rem 0 4rem;
}

.course-detail-cta__box {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(99, 102, 241, 0.12), rgba(255, 255, 255, 0.02));
}

.course-detail-cta__title {
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.65rem;
}

.course-detail-cta__text {
    font-size: 1rem;
    color: rgba(203, 213, 225, 0.9);
    max-width: 36rem;
    margin: 0 auto 1.25rem;
}

.listing-card--course {
    display: block;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.listing-card__image-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.listing-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.listing-card--course:hover .listing-card__image {
    transform: scale(1.04);
}

.listing-card--event {
    padding: 0;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(125, 211, 252, 0.18);
    color: #f8fafc;
}

.listing-card--event:hover .listing-card__image {
    transform: scale(1.04);
}

.listing-card--event .listing-card__title {
    color: #ffffff;
}

.listing-card--event .listing-card__text {
    color: #e2e8f0;
}

.listing-card--event .listing-card__link {
    color: #38bdf8;
}

.listing-card--event:hover .listing-card__link {
    color: #bae6fd;
}

.listing-card__body {
    padding: 1.25rem 1.35rem 1.35rem;
}

.event-news-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #cbd5e1;
}

.event-news-card__badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.22);
    color: #fef3c7;
    padding: 0.3rem 0.7rem;
}

.event-news-card__location {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.9rem 0 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: #ddd6fe;
}

.event-news-detail {
    max-width: 58rem;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.92);
    color: #f8fafc;
}

.event-news-detail__image {
    width: 100%;
    max-height: 28rem;
    object-fit: cover;
    border-radius: 1.25rem;
}

.event-news-detail__content {
    font-size: 1rem;
    line-height: 1.85;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
}

.event-news-detail__content,
.event-news-detail__content * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
}

.event-news-detail__content a {
    color: #7dd3fc !important;
    -webkit-text-fill-color: #7dd3fc;
}

.event-news-detail__content p {
    margin-bottom: 1rem;
}

/* Course detail — standard layout v2 */
.course-detail-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
    .course-detail-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.course-detail-stats__item {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
}

.course-detail-stats__value {
    display: block;
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.2;
}

.course-detail-stats__label {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
}

.course-detail-body {
    padding-bottom: 2rem;
}

.course-detail-block {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.course-detail-block:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.course-detail-block__eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7dd3fc;
    margin-bottom: 0.5rem;
}

.course-detail-block__title {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 1rem;
}

.course-detail-block__intro {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(203, 213, 225, 0.9);
    margin-bottom: 1.25rem;
}

.course-detail-prose p {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(203, 213, 225, 0.92);
    margin-bottom: 1rem;
}

.course-detail-prose p:last-child {
    margin-bottom: 0;
}

.course-detail-info-table {
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.course-detail-info-table__row {
    display: grid;
    grid-template-columns: minmax(8rem, 11rem) 1fr;
    gap: 1rem;
    padding: 0.85rem 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.course-detail-info-table__row:last-child {
    border-bottom: 0;
}

.course-detail-info-table__row:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.course-detail-info-table__label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: rgba(148, 163, 184, 0.95);
}

.course-detail-info-table__value {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(226, 232, 240, 0.92);
}

.course-detail-eligibility {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.course-detail-eligibility li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgba(226, 232, 240, 0.92);
}

.course-detail-eligibility .bi {
    flex-shrink: 0;
    margin-top: 0.1rem;
    color: #a5b4fc;
}

.course-detail-syllabus__topics {
    margin: 0;
    padding-left: 1.15rem;
    display: grid;
    gap: 0.45rem;
}

.course-detail-syllabus__topics li {
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(203, 213, 225, 0.9);
}

.course-detail-includes {
    display: grid;
    gap: 0.85rem;
}

.course-detail-includes__item {
    display: flex;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.course-detail-includes__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    color: #c4b5fd;
    background: rgba(99, 102, 241, 0.16);
}

.course-detail-includes__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
}

.course-detail-includes__text {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: rgba(148, 163, 184, 0.95);
}

.course-detail-timeline {
    display: grid;
    gap: 1rem;
}

.course-detail-timeline__step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
}

.course-detail-timeline__marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 800;
    color: #0f172a;
    background: linear-gradient(135deg, #a5b4fc, #22d3ee);
    flex-shrink: 0;
}

.course-detail-timeline__content {
    padding: 1.1rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.course-detail-timeline__phase {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7dd3fc;
    margin-bottom: 0.35rem;
}

.course-detail-timeline__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.35rem;
}

.course-detail-timeline__text {
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(148, 163, 184, 0.95);
}

.course-detail-outcome {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    height: 100%;
    padding: 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.course-detail-outcome__icon {
    flex-shrink: 0;
    font-size: 1.15rem;
    color: #fbbf24;
    margin-top: 0.1rem;
}

.course-detail-outcome__text {
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(226, 232, 240, 0.92);
}

.course-detail-enroll {
    display: grid;
    gap: 1rem;
}

.course-detail-enroll__step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.15rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.course-detail-enroll__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 800;
    color: #fff;
    background: rgba(99, 102, 241, 0.35);
    border: 1px solid rgba(129, 140, 248, 0.4);
}

.course-detail-enroll__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.course-detail-enroll__text {
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(148, 163, 184, 0.95);
}

.course-detail-sidebar {
    position: sticky;
    top: calc(5.5rem + env(safe-area-inset-top, 0px));
}

.course-detail-sidebar__card {
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.course-detail-sidebar__title {
    font-size: 1.125rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.course-detail-sidebar__desc {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: rgba(148, 163, 184, 0.95);
    margin-bottom: 1rem;
}

.course-detail-sidebar__meta {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.course-detail-sidebar__meta li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: rgba(203, 213, 225, 0.9);
}

.course-detail-sidebar__meta .bi {
    color: #a5b4fc;
}

.course-detail-sidebar__subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7dd3fc;
    margin-bottom: 0.5rem;
}

.course-detail-sidebar__highlights {
    margin-bottom: 1rem;
}

.course-detail-sidebar__features {
    list-style: none;
    margin: 0 0 0.5rem;
    padding: 0;
    display: grid;
    gap: 0.4rem;
}

.course-detail-sidebar__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: rgba(203, 213, 225, 0.9);
}

.course-detail-sidebar__features .bi {
    flex-shrink: 0;
    color: #34d399;
    margin-top: 0.1rem;
}

.course-detail-block--why {
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.course-detail-feature__num {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #7dd3fc;
    margin-bottom: 0.45rem;
}

.course-detail-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

@media (max-width: 991.98px) {
    .course-detail-sidebar {
        position: static;
    }

    .course-detail-info-table__row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
}
