:root {
    --navy: #0e1437;
    --navy-2: #141d4d;
    --royal: #173f94;
    --royal-2: #2c58b7;
    --gold: #f3ad1a;
    --saffron: #cc7a16;
    --offer: #e64b2e;
    --teal: #31bba5;
    --ink: #121936;
    --muted: #6f7788;
    --line: #e3e6ee;
    --soft: #f6f4ef;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.top-marquee {
    background: var(--navy);
    color: #f7f8ff;
    min-height: 42px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.top-marquee-track {
    display: flex;
    justify-content: center;
    gap: 34px;
    white-space: nowrap;
    font-size: 0.95rem;
}

.top-marquee-track span::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 12px;
    background: var(--gold);
    vertical-align: middle;
}

.main-nav {
    min-height: 82px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(14, 20, 55, 0.04);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}

.brand-text {
    color: var(--royal);
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
}

.brand-text strong {
    color: var(--saffron);
}

.nav-link {
    color: #394159;
    font-weight: 650;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--royal);
}

.btn {
    border-radius: 8px;
    font-weight: 750;
}

.btn-navy {
    background: var(--royal);
    border-color: var(--royal);
    color: var(--white);
}

.btn-navy:hover,
.btn-navy:focus {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

.btn-gold:hover,
.btn-gold:focus {
    background: var(--saffron);
    border-color: var(--saffron);
    color: var(--white);
}

.btn-teal {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
}

.section-pad {
    padding: 86px 0;
}

.soft-band {
    background: var(--soft);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--saffron);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-kicker::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--gold);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 44px;
}

.section-heading h2,
.section-title-row h2,
.page-hero h1,
.home-hero h1,
.about-split h2,
.director-section h2,
.testimonials-section h2,
.contact-panel h2 {
    color: var(--navy);
    font-weight: 850;
    line-height: 1.04;
    letter-spacing: 0;
}

.section-heading h2,
.section-title-row h2 {
    font-size: clamp(2rem, 3.8vw, 4rem);
    margin-top: 14px;
}

.section-heading p,
.page-hero p,
.home-hero p,
.about-split p,
.director-section p,
.contact-panel p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 34px;
}

.home-hero {
    background: var(--soft);
}

.hero-slide {
    position: relative;
    min-height: clamp(520px, 68vw, 720px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(14, 20, 55, 0.82), rgba(23, 63, 148, 0.54), rgba(14, 20, 55, 0.18));
}

.hero-slide > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 760px;
}

.home-hero h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 5.6rem);
    margin: 18px 0;
}

.home-hero p {
    color: #e5e9f8;
    max-width: 660px;
}

.carousel-indicators [data-bs-target] {
    width: 42px;
    height: 8px;
    border-radius: 999px;
    background: var(--gold);
}

.exam-grid {
    display: grid;
    grid-template-columns: repeat(9, minmax(110px, 1fr));
    gap: 12px;
}

.exam-chip {
    min-height: 106px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px 12px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    color: var(--navy);
    font-weight: 800;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.exam-chip span {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: #fff2d2;
    color: var(--saffron);
}

.exam-chip:hover {
    transform: translateY(-3px);
    border-color: var(--royal);
    box-shadow: 0 18px 40px rgba(23, 63, 148, 0.12);
}

.product-card,
.combo-card,
.why-card,
.testimonial-card,
.summary-card,
.dashboard-card,
.auth-card,
.admin-card,
.number-card,
.impact-panel,
.results-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.product-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 14px 32px rgba(14, 20, 55, 0.06);
}

.product-card-image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: #eef3ff;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discount-ribbon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--offer);
    color: var(--white);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 850;
}

.product-card-body {
    padding: 22px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.product-card h3 {
    font-size: 1.18rem;
    line-height: 1.28;
    font-weight: 850;
    min-height: 62px;
}

.product-card h3 a:hover {
    color: var(--royal);
}

.product-badges {
    min-height: 30px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.product-badges span,
.combo-label {
    display: inline-flex;
    align-items: center;
    background: #fff2d2;
    color: var(--saffron);
    border: 1px solid #ffd57b;
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.product-badges .combo-badge {
    background: #e9f0ff;
    color: var(--royal);
    border-color: #cddafb;
}

.question-count,
.muted {
    color: var(--muted);
}

.price-row,
.combo-price,
.detail-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 8px 0 12px;
}

.price-row del,
.combo-price del,
.detail-price del {
    color: #9197a5;
}

.price-row strong,
.combo-price strong,
.detail-price strong {
    color: var(--navy);
    font-size: 1.5rem;
}

.combo-note {
    color: var(--offer);
    font-weight: 800;
    margin-bottom: 16px;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}

.product-actions .btn,
.product-actions form {
    width: 100%;
}

.product-actions .btn {
    min-height: 42px;
}

.combo-card {
    padding: 30px;
    background: linear-gradient(145deg, #ffffff 0%, #f7f9ff 100%);
    box-shadow: 0 14px 32px rgba(14, 20, 55, 0.06);
}

.combo-card h3 {
    font-size: 1.55rem;
    font-weight: 850;
    margin: 14px 0 10px;
}

.combo-card p {
    color: var(--muted);
}

.about-split {
    background: #ffffff;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    margin-top: 28px;
    padding-top: 24px;
    gap: 18px;
}

.stats-row strong {
    display: block;
    color: var(--navy);
    font-size: 2rem;
}

.stats-row strong::first-letter,
.number-card strong::first-letter {
    color: var(--navy);
}

.stats-row span,
.number-card span {
    color: var(--muted);
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.impact-panel {
    padding: 42px;
    box-shadow: 0 18px 44px rgba(14, 20, 55, 0.11);
}

.impact-panel strong {
    display: block;
    color: var(--navy);
    font-size: clamp(4rem, 8vw, 7rem);
    line-height: 0.95;
    margin: 18px 0;
}

.impact-panel strong::after,
.stats-row strong::after,
.number-card strong::after {
    color: var(--gold);
}

.impact-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.impact-mini span {
    background: #edf3ff;
    color: var(--royal);
    padding: 8px 10px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.8rem;
}

.director-section {
    background: var(--soft);
}

.director-img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(14, 20, 55, 0.12);
    background: #f8f8fb;
}

.why-card {
    padding: 34px;
    min-height: 260px;
}

.why-card span {
    color: var(--saffron);
    font-weight: 900;
}

.why-card h3 {
    font-size: 1.28rem;
    font-weight: 850;
    margin: 28px 0 18px;
}

.why-card p,
.testimonial-card p {
    color: var(--muted);
    line-height: 1.65;
}

.results-panel {
    background: var(--royal);
    color: var(--white);
    padding: 42px;
    border-color: rgba(255, 255, 255, 0.12);
}

.results-panel h2 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.results-panel p {
    color: #dce5ff;
}

.result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}

.result-grid div {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
}

.result-grid strong {
    display: block;
    font-size: 2.1rem;
}

.result-grid span {
    color: #dce5ff;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.78rem;
}

.testimonial-card {
    padding: 26px;
    min-height: 280px;
}

.testimonial-card img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #eef2ff;
}

.testimonial-card h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 850;
}

.testimonial-card span {
    color: var(--muted);
}

.contact-band {
    background: var(--white);
}

.contact-panel {
    border-radius: 8px;
    padding: clamp(32px, 6vw, 76px);
    background: radial-gradient(circle at 80% 20%, rgba(243, 173, 26, 0.18), transparent 28%), var(--navy);
    color: var(--white);
}

.contact-panel h2,
.contact-panel p {
    color: var(--white);
}

.contact-panel h2 {
    font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.contact-panel em,
.page-hero em,
.about-split em {
    color: var(--gold);
    font-family: Georgia, serif;
    font-weight: 500;
}

.contact-form {
    background: #eef0f6;
    padding: 28px;
    border-radius: 8px;
}

.contact-form .form-control,
.contact-form .form-select,
.auth-card .form-control,
.admin-card .form-control,
.admin-card .form-select,
.admin-card textarea,
.summary-card .form-control,
.newsletter-form .form-control {
    min-height: 48px;
    border-color: #c8cede;
    border-radius: 6px;
}

.page-hero {
    padding: 86px 0;
    background: linear-gradient(115deg, #ffffff 0%, #f8fbff 58%, #fff4da 100%);
}

.page-hero.compact {
    padding: 64px 0;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 5.2rem);
    max-width: 980px;
}

.combo-hero {
    background: var(--navy);
    color: var(--white);
}

.combo-hero h1,
.combo-hero p,
.detail-price.light strong,
.detail-price.light {
    color: var(--white);
}

.product-gallery {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #eef3ff;
}

.product-gallery .carousel-item {
    aspect-ratio: 4 / 3;
}

.product-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rating-row {
    color: var(--gold);
    font-weight: 900;
    margin: 16px 0;
}

.rating-row span {
    color: var(--muted);
    font-weight: 700;
    margin-left: 10px;
}

.detail-price strong {
    font-size: 2.35rem;
}

.detail-price span {
    background: var(--offer);
    color: var(--white);
    border-radius: 6px;
    padding: 6px 10px;
    font-weight: 850;
}

.detail-list {
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 24px 0;
}

.detail-list li {
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
}

.combo-alert {
    border: 1px solid #ffd57b;
    border-radius: 8px;
    padding: 18px;
    background: #fff8e7;
}

.combo-alert strong,
.combo-alert a {
    color: var(--saffron);
}

.category-pills,
.user-nav,
.settings-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-pills a,
.user-nav a,
.settings-tabs a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 16px;
    color: var(--navy);
    background: var(--white);
    font-weight: 800;
}

.category-pills a.active,
.settings-tabs a.active,
.user-nav a:hover,
.category-pills a:hover {
    background: var(--royal);
    color: var(--white);
    border-color: var(--royal);
}

.cart-list,
.summary-card,
.dashboard-card,
.auth-card {
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--white);
}

.cart-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px;
    border-bottom: 1px solid var(--line);
}

.cart-row:last-child {
    border-bottom: 0;
}

.cart-row img,
.pdf-access-row img {
    width: 92px;
    height: 74px;
    border-radius: 6px;
    object-fit: cover;
    background: #eef3ff;
}

.cart-row h3,
.pdf-access-row h3,
.summary-card h2,
.dashboard-card h2 {
    font-size: 1.15rem;
    font-weight: 850;
    margin: 0 0 6px;
}

.summary-card {
    padding: 26px;
    position: sticky;
    top: 110px;
}

.summary-card div {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.summary-card .total strong {
    font-size: 1.6rem;
}

.empty-state {
    border: 1px dashed var(--line);
    border-radius: 8px;
    text-align: center;
    padding: 64px 24px;
}

.auth-section {
    min-height: 72vh;
    display: flex;
    align-items: center;
    padding: 70px 0;
    background: linear-gradient(135deg, #f7f9ff, #fff8eb);
}

.auth-card {
    max-width: 520px;
    padding: 34px;
    box-shadow: 0 20px 48px rgba(14, 20, 55, 0.1);
}

.auth-card h1 {
    font-size: 2.3rem;
    font-weight: 850;
    margin: 12px 0 24px;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    font-weight: 750;
}

.auth-links a {
    color: var(--royal);
}

.user-nav {
    margin-bottom: 24px;
}

.dashboard-card {
    padding: 26px;
}

.pdf-access-row {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.secure-note {
    color: var(--muted);
    font-size: 0.92rem;
}

.number-card {
    padding: 26px;
}

.number-card strong {
    display: block;
    color: var(--navy);
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.site-footer {
    background: var(--navy);
    color: #c9cfdf;
    padding: 78px 0 34px;
}

.footer-logo {
    width: fit-content;
    background: var(--white);
    padding: 10px 16px 10px 10px;
    border-radius: 8px;
    display: inline-flex;
}

.site-footer h6 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 22px;
}

.site-footer h6::before {
    content: "";
    display: inline-block;
    width: 42px;
    height: 2px;
    margin-right: 12px;
    background: var(--gold);
    vertical-align: middle;
}

.site-footer a {
    display: block;
    color: #c9cfdf;
    margin-bottom: 12px;
}

.footer-contact li {
    margin-bottom: 10px;
}

.newsletter-form .form-control {
    background: #2b3459;
    border-color: #4a5375;
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 70px;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #8f97ae;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.chat-float {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 62px;
    height: 62px;
    border-radius: 8px;
    background: var(--gold);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    font-weight: 900;
    box-shadow: 0 12px 30px rgba(243, 173, 26, 0.38);
    z-index: 30;
}

.admin-body,
.admin-auth-body {
    background: #f4f6fb;
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px 1fr;
}

.admin-sidebar {
    background: var(--navy);
    color: var(--white);
    padding: 24px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: auto;
}

.admin-brand {
    width: fit-content;
    background: var(--white);
    padding: 10px 16px 10px 10px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: inline-flex;
}

.admin-sidebar nav {
    display: grid;
    gap: 6px;
}

.admin-sidebar a {
    color: #dce5ff;
    padding: 10px 12px;
    border-radius: 6px;
    font-weight: 750;
}

.admin-sidebar a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.admin-main {
    padding: 34px;
    min-width: 0;
}

.admin-topbar,
.admin-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.admin-topbar h1 {
    font-size: 2rem;
    font-weight: 850;
    margin: 8px 0 0;
}

.admin-card,
.admin-stat,
.admin-side-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
}

.admin-stat span {
    color: var(--muted);
    font-weight: 800;
}

.admin-stat strong {
    display: block;
    color: var(--navy);
    font-size: 2rem;
}

.admin-card h2,
.admin-side-panel h3 {
    font-size: 1.25rem;
    font-weight: 850;
    margin: 0;
}

.admin-thumb {
    width: 74px;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
}

.combo-product-picker {
    max-height: 480px;
    overflow: auto;
    display: grid;
    gap: 10px;
}

.combo-product-picker .form-check {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 12px 12px 12px 36px;
}

@media (max-width: 1199px) {
    .exam-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .section-pad {
        padding: 64px 0;
    }

    .section-title-row,
    .footer-bottom,
    .admin-topbar,
    .admin-card-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-slide {
        min-height: 620px;
    }

    .admin-shell {
        display: block;
    }

    .admin-sidebar {
        position: relative;
        height: auto;
    }

    .admin-sidebar nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-main {
        padding: 22px;
    }
}

@media (max-width: 767px) {
    .top-marquee-track {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .home-hero h1,
    .page-hero h1 {
        font-size: 2.35rem;
    }

    .exam-grid,
    .stats-row,
    .result-grid {
        grid-template-columns: 1fr;
    }

    .product-actions {
        grid-template-columns: 1fr;
    }

    .cart-row,
    .pdf-access-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .cart-row img,
    .pdf-access-row img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 2.5;
    }

    .contact-panel {
        padding: 28px;
    }

    .footer-links,
    .auth-links {
        flex-direction: column;
    }

    .admin-sidebar nav {
        grid-template-columns: 1fr;
    }
}
