/* ====== Theme Tokens ====== */
:root {
    --brand-blue: #eb161d;
    /* primary (red) */
    --deep-blue: #0b3f8a;
    /* headings */
    --text-blue: #11355f;
    /* body text */
    --soft-blue: #e8f6ff;
    /* panels */
    --ring: #e6ecf3;
    /* borders/dividers */
}

body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #0f2238;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-top: 70px;
    /* prevent content under fixed header */
}

/* ====== Header (Fixed) ====== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.navbar {
    padding: .6rem 0;
}

.navbar-brand img {
    height: 38px;
    width: auto;
}

/* Navbar links */
.navbar-nav .nav-link {
    font-weight: 600;
    color: #111;
    padding: 0 .75rem;
    position: relative;
    transition: color .25s ease;
}

/* Active link + underline */
.navbar-nav .nav-link.active {
    color: var(--brand-blue) !important;
}

.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-blue);
    border-radius: 2px;
}

/* Hover */
.navbar-nav .nav-link:hover {
    color: var(--brand-blue);
}

/* Toggler icon (ensure visible) */
.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Download Admit Card button */
.btn-login {
    background: var(--brand-blue);
    color: #fff;
    border-radius: .6rem;
    padding: .45rem 1.1rem;
    font-weight: 600;
    transition: background .25s ease, filter .25s ease;
}

.btn-login:hover {
    color: #fff;
    filter: brightness(.95);
}

.btn-login.active {
    background: var(--deep-blue);
    color: #fff !important;
}

/* Hide desktop button on mobile (we show a mobile version inside the collapsed menu) */
@media (max-width:768px) {
    .btn-login.d-lg-inline-block {
        display: none !important;
    }
}

/* Mobile menu spacing (stacked) */
@media (max-width:991.98px) {
    .navbar-nav .nav-link {
        padding: .6rem 0;
        display: block;
    }

    .navbar-nav .nav-link.active::after {
        display: none;
    }

    /* optional: no underline in stacked list */
}

/* ====== Banner ====== */
.banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* ====== OTP / Form Box ====== */
.form-section {
    background: #f9fcff;
    padding: 32px 16px 8px;
}

.form-box {
    background: #e9f6ff;
    border-radius: 20px;
    padding: 28px 22px;
    max-width: 550px;
    margin: auto;
    text-align: center;
    border: 1px solid var(--ring);
}

.form-box h5 {
    color: var(--deep-blue);
    font-weight: 800;
    margin-bottom: 2px;
}

.form-box .small {
    color: #365f95;
}

.btn-verify {
    background: var(--brand-blue);
    border: none;
    padding: .7rem;
    width: 100%;
    border-radius: .5rem;
    color: #fff;
    font-weight: 700;
}

.error-msg {
    display: none;
    text-align: left;
    color: #cf2130 !important;
}

/* ====== 2×2 Features ====== */
.anthe-features {
    padding: 40px 24px 16px;
    background: #fff;
}

.anthe-features .af-wrap {
    max-width: 1060px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 80px;
}

.af-col {
    display: grid;
    row-gap: 40px;
}

.af-item {
    display: grid;
    grid-template-columns: 72px auto;
    column-gap: 20px;
    align-items: center;
}

.af-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.af-icon svg {
    width: 100%;
    height: 100%;
}

.af-text h3 {
    margin: 0 0 6px;
    font-weight: 800;
    color: #0e3d87;
    font-size: 28px;
    line-height: 1.1;
}

.af-text p {
    margin: 0;
    color: #2a3e55;
    font-size: 18px;
}

@media (max-width:768px) {
    .anthe-features .af-wrap {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .af-col {
        row-gap: 28px;
    }

    .af-item {
        grid-template-columns: 56px auto;
        column-gap: 16px;
    }

    .af-icon {
        width: 56px;
        height: 56px;
    }

    .af-text h3 {
        font-size: 20px;
    }

    .af-text p {
        font-size: 15px;
    }
}

/* ====== CTA Banner ====== */
.cta-banner {
    margin: 36px 0;
}

.cta-banner .container {
    max-width: 1180px;
}

.cta-banner img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    display: block;
}

/* ====== Info Panel ====== */
.anthe-info {
    padding: 12px 16px 8px;
    background: #fff;
}

.ai-wrap {
    max-width: 1120px;
    margin: 0 auto;
}

.ai-card {
    background: var(--soft-blue);
    border: 1px solid var(--ring);
    border-radius: 28px;
    padding: 36px 42px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px 56px;
}

.ai-col {
    display: grid;
    row-gap: 36px;
}

.ai-item {
    display: grid;
    grid-template-columns: 40px auto;
    column-gap: 16px;
    align-items: start;
}

.ai-bullet {
    color: var(--deep-blue);
    width: 40px;
    height: 40px;
}

.ai-bullet svg {
    width: 100%;
    height: 100%;
}

.ai-text h3 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 800;
    color: var(--deep-blue);
}

.ai-text p {
    margin: 0;
    font-size: 18px;
    color: #11355f;
}

.strike {
    text-decoration: line-through;
    color: #6e7e94;
    margin-right: 6px;
}

@media (max-width:992px) {
    .ai-card {
        grid-template-columns: 1fr;
        padding: 28px 22px;
        gap: 28px;
    }

    .ai-text h3 {
        font-size: 22px;
    }

    .ai-text p {
        font-size: 16px;
    }

    .ai-item {
        grid-template-columns: 36px auto;
    }

    .ai-bullet {
        width: 36px;
        height: 36px;
    }
}

/* ====== Steps + Deadline ====== */
.reg-steps {
    padding: 36px 16px 12px;
    background: #fff;
}

.rs-wrap {
    max-width: 1180px;
    margin: 0 auto;
}

.rs-title {
    text-align: center;
    color: var(--deep-blue);
    font-weight: 800;
    font-size: 44px;
    margin: 10px 0 28px;
}

.rs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 0 6px 18px;
}

.rs-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--ring);
    border-radius: 14px;
    padding: 42px 26px 30px;
    text-align: center;
}

.rs-badge {
    position: absolute;
    left: 50%;
    top: -18px;
    transform: translateX(-50%);
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--ring);
    border-radius: 50%;
    color: var(--deep-blue);
    font-weight: 700;
    box-shadow: 0 0 0 8px #e9edf3;
}

.rs-card h3 {
    margin: 6px 0 10px;
    color: var(--deep-blue);
    font-weight: 800;
    font-size: 26px;
}

.rs-card p {
    margin: 0;
    color: #163f7a;
    font-size: 18px;
}

.rs-deadline {
    text-align: center;
    margin-top: 12px;
}

.rs-deadline h2 {
    color: var(--deep-blue);
    font-weight: 800;
    font-size: 44px;
    margin: 12px 0 8px;
}

.rs-deadline p {
    color: #163f7a;
    font-size: 22px;
    margin: 4px 0;
}

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

    .rs-title,
    .rs-deadline h2 {
        font-size: 36px;
    }

    .rs-deadline p {
        font-size: 20px;
    }
}

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

    .rs-card {
        padding: 38px 22px 24px;
    }

    .rs-title,
    .rs-deadline h2 {
        font-size: 30px;
    }

    .rs-card h3 {
        font-size: 22px;
    }

    .rs-card p {
        font-size: 16px;
    }
}

/* ====== Stats Card ====== */
.anthe-stats {
    padding: 40px 16px;
    background: #fff;
}

.stats-card {
    max-width: 900px;
    margin: auto;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stats-card img {
    max-height: 140px;
    width: auto;
}

@media (max-width:768px) {
    .stats-card {
        flex-direction: column;
        gap: 24px;
    }

    .stats-card img {
        max-height: 120px;
    }
}

/* ====== Hall of Fame ====== */
.hall {
    padding: 36px 16px 60px;
    background: #fff;
}

.hall-wrap {
    max-width: 1120px;
    margin: 0 auto;
    border: 1px solid var(--ring);
    border-radius: 24px;
    padding: 28px 18px 34px;
}

.hall-title {
    text-align: center;
    color: var(--deep-blue);
    font-weight: 800;
    font-size: 44px;
    margin: 6px 0 22px;
}

.hall-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
    padding: 4px 8px;
}

.hall-card {
    background: #eaf4ff;
    border: 1px solid var(--ring);
    border-radius: 18px;
    text-align: center;
    padding: 22px 16px 20px;
}

.avatar {
    width: 164px;
    height: 164px;
    margin: 6px auto 14px;
    border-radius: 50%;
    background: #5d3b9c;
    display: grid;
    place-items: center;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .06);
}

.avatar img {
    width: 95%;
    height: 95%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar.purple {
    background: #5d3b9c;
}

.avatar.orange {
    background: #ff8a21;
}

.avatar.teal {
    background: #4fc3b3;
}

.avatar.mint {
    background: #8fd6c8;
}

.avatar.sky {
    background: #a7d4ff;
}

.avatar.cyan {
    background: #0bd0ff;
}

.avatar.blue {
    background: #1a8cff;
}

.hall-card h3 {
    color: #0c2f68;
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 6px;
    line-height: 1.25;
}

.hall-card .muted,
.hall-card .exam {
    color: #1e3f78;
    margin: 0;
}

.hall-card .muted {
    font-weight: 600;
    margin-bottom: 6px;
}

@media (max-width:1200px) {
    .hall-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width:992px) {
    .hall-title {
        font-size: 36px;
    }

    .hall-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .avatar {
        width: 140px;
        height: 140px;
    }
}

@media (max-width:768px) {
    .hall-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .avatar {
        width: 128px;
        height: 128px;
    }
}

@media (max-width:480px) {
    .hall-grid {
        grid-template-columns: 1fr;
    }
}

/* ====== FAQ + Contact ====== */
.faq-contact {
    padding: 28px 0 56px;
    background: #fff;
}

.fc-wrap {
    width: min(980px, 92vw);
    margin: 0 auto;
}

.fc-title {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
    margin: 6px 0 14px;
}

.fc-title h2 {
    font: 800 clamp(28px, 4vw, 44px)/1.15 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--deep-blue);
    letter-spacing: .2px;
    margin: 0;
    text-align: center;
}

.fc-arrow {
    color: var(--deep-blue);
    width: clamp(28px, 3.8vw, 42px);
    height: clamp(28px, 3.8vw, 42px);
}

.fc-arrow svg {
    width: 100%;
    height: 100%;
    display: block;
}

.mt-56 {
    margin-top: clamp(28px, 6vw, 56px);
}

.faq-list {
    margin-top: 6px;
}

.faq-item {
    padding: 12px 0 18px;
}

.faq-item+.faq-item {
    border-top: 1px solid var(--ring);
}

.faq-item h3 {
    margin: 12px 0 8px;
    color: var(--deep-blue);
    font: 800 clamp(18px, 2.4vw, 30px)/1.25 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.faq-item p {
    margin: 0;
    color: #163f7a;
    font: 500 clamp(15px, 1.8vw, 20px)/1.7 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.faq-cta {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.btn-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 40px;
    text-decoration: none;
    color: var(--deep-blue);
    font: 700 18px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: linear-gradient(180deg, #ffe8e8 0%, #ffd1d1 100%);
    border: 1px solid #f0aaaa;
    box-shadow: 0 10px 20px rgba(235, 22, 29, .14);
}

.contact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #163f7a;
    text-decoration: none;
}

.ci-ic {
    width: 44px;
    height: 44px;
    color: var(--deep-blue);
}

.ci-ic svg {
    width: 100%;
    height: 100%;
    display: block;
}

.ci-text {
    font: 700 clamp(18px, 2.4vw, 28px)/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* ====== Footer ====== */
.site-footer {
    width: 100%;
    background: linear-gradient(180deg, #a60f15 0%, #8b0c11 55%, #70090d 100%);
    color: #fff;
    padding: 18px 12px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.footer-wrap {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.site-footer p {
    margin: 4px 0;
    font-weight: 600;
    letter-spacing: .2px;
    font-size: clamp(12px, 1.25vw, 18px);
}