/* ===== Breadcrumb ===== */
.breadcrumb {
    font-size: 0.9rem;
    color: var(--muted-color);
    margin-bottom: 0.6rem;
}

/* ===== Card ===== */
.qcard {
    background: #f6f7f9;
    border-radius: 14px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.4rem;

    /* Subtle left accent */
    border-left: 3px solid;
}

/* ===== Accent Colors ===== */
.accent-green  { border-left-color: #4ade80; }
.accent-orange { border-left-color: #fbbf24; }
.accent-red    { border-left-color: #f87171; }
.accent-blue   { border-left-color: #60a5fa; }

/* ===== First line ===== */
.qline {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

/* ===== Question number ===== */
.qbadge {
    flex-shrink: 0;
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
}

/* ===== Question text ===== */
.qtext-inline {
    flex: 1;
   
    color: #1f2937;
    font-size: 1.05rem;
    line-height: 1.5;
    font-weight: 450;
}
}

.qtext {
    line-height: 1.5;
    margin-top: 0.3rem;
}

/* Align continuation */
.continuation {
    margin-left: 2.6rem;
}

/* ===== Options Grid ===== */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: 0.7rem;
}

/* ===== Option ===== */
.option {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    transition: all 0.15s ease;
    cursor: pointer;
}

/* Hover */
.option:hover {
    background: #f9fafb;
}

/* ===== Option badge ===== */
.opt-badge {
    background: #e2e8f0;
    color: #334155;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===== REVIEW MODE ONLY ===== */
body:not(.practice) .option.correct {
    background: #e7efdf;
    border: 1px solid #cddfbf;
    font-weight: 500;
}

body:not(.practice) .option.correct .opt-badge {
    background: #cfe3bd;
}

/* ===== PRACTICE MODE FEEDBACK ===== */
.option.correct-show {
    background: #eef6ea;
    border: 1px solid #9bbf8a;
    color: #1f5f2f;
}

.option.wrong {
    background: #fde2e2;
    border: 1px solid #f5a5a5;
    color: #7f1d1d;
}

/* Disable hover after answering */
.qcard.answered .option:hover {
    background: inherit;
}

/* ===== Answer ===== */
.answer-box {
    margin-top: 0.8rem;
    background: #e7efdf;
    padding: 0.5rem 0.7rem;
    border-radius: 8px;
    font-weight: 500;
}

/* Hide answer in practice */
.practice .answer-box {
    display: none;
}

/* ===== Toggle ===== */
.mode-toggle {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mode-toggle button {
    padding: 0.35rem 0.9rem;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #1f2937;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.15s ease;
}

.mode-toggle button:hover {
    background: #f3f4f6;
}

.mode-toggle button.active {
    background: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
}

/* ===== Show Answer Button ===== */
.show-answer-btn {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    margin-top: 0.6rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
}

.show-answer-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.review .show-answer-btn {
    display: none;
}

.qline{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}

.qleft{
    display:flex;
    align-items:center;
    gap:12px;
}

.qcount{
    font-size:14px;
    font-weight:600;
    opacity:0.75;
    white-space:nowrap;
}

.grand-total{
    margin:12px 0 18px;
    padding:10px 14px;
    border-radius:12px;
    background:#f5f7ff;
    font-weight:600;
    font-size:15px;
}

/* =========================
   GLOBAL
========================= */

:root {
    --anpsa-blue: #0B2D6B;
    --anpsa-yellow: #F4B400;
    --light-bg: #F5F7FB;
    --border-color: #E5E7EB;
    --muted-text: #64748B;
}

body {
    background: var(--light-bg);
    color: #111827;
}

/* =========================
   NAVBAR
========================= */

.nav-minimal {
    background: white;
    border-bottom: 1px solid var(--border-color);

    padding:
        0.9rem
        1.5rem;

  
    top: 0;
    z-index: 100;

    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.04);
}

/* Brand */

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;

    text-decoration: none;

    color: var(--anpsa-blue);
}

.brand:hover {
    text-decoration: none;
}

.nav-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 1.15rem;
    color: var(--anpsa-blue);
}

.brand-text small {
    color: var(--muted-text);
    font-size: 0.78rem;
}

/* Nav Links */

.nav-links a {
    font-weight: 500;
}

/* Download Button */

.download-btn {
    background: var(--anpsa-yellow);
    border: none;

    color: #111827;

    font-weight: 600;

    border-radius: 10px;

    padding:
        0.7rem
        1rem;
}

.download-btn:hover {
    opacity: 0.92;
}

/* =========================
   MAIN CONTENT
========================= */

.main-content {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

/* =========================
   FOOTER
========================= */

.site-footer {
    background: var(--anpsa-blue);
    color: white;

    margin-top: 4rem;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 2rem;

    padding:
        3rem
        1rem;
}

.site-footer h6 {
    color: white;
    margin-bottom: 1rem;
}

.site-footer p,
.site-footer a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.95rem;
}

.site-footer a:hover {
    color: white;
}

.footer-bottom {
    border-top:
        1px solid rgba(255,255,255,0.12);

    text-align: center;

    padding:
        1rem;

    font-size: 0.9rem;

    color:
        rgba(255,255,255,0.75);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

    .nav-minimal {
        padding: 1rem;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .brand-text strong {
        font-size: 1rem;
    }

    .nav-logo {
        width: 46px;
        height: 46px;
    }

}


/* ===== Mobile ===== */
@media (max-width: 600px) {
    .options-grid {
        grid-template-columns: 1fr;
    }

    .continuation {
        margin-left: 0;
    }
}


/* =====================================
   HOME PAGE
===================================== */

.hero-section {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 2rem;

    align-items: center;

    background: white;

    padding: 3rem;

    border-radius: 24px;

    margin-bottom: 2rem;

    border: 1px solid #E5E7EB;
}

/* LEFT */

.hero-badge {
    display: inline-block;

    background: #0B2D6B;
    color: white;

    padding:
        0.45rem
        0.9rem;

    border-radius: 999px;

    font-size: 0.8rem;
    font-weight: 600;

    margin-bottom: 1rem;
}

.hero-section h1 {
    font-size: 4rem;
    line-height: 1;

    margin-bottom: 1rem;

    color: #0B2D6B;
}

.hero-section h1 span {
    color: #F4B400;
}

.hero-text {
    font-size: 1.15rem;

    color: #475569;

    max-width: 650px;

    margin-bottom: 1.5rem;
}

/* BUTTONS */

.hero-buttons {
    display: flex;
    gap: 1rem;

    margin-bottom: 1.5rem;
}

.hero-buttons a {
    border-radius: 12px;
    font-weight: 600;
}

.secondary-btn {
    background: white !important;
    color: #0B2D6B !important;
    border: 1px solid #CBD5E1 !important;
}

/* TAGS */

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-tags span {
    background: #F8FAFC;

    border: 1px solid #E2E8F0;

    padding:
        0.6rem
        1rem;

    border-radius: 999px;

    font-size: 0.92rem;
}

/* =====================================
   PRIZE CARD
===================================== */

.prize-card {
    background: #FFFFFF;

    border: 1px solid #E5E7EB;

    border-radius: 20px;

    overflow: hidden;
}

.prize-title {
    background: #0B2D6B;
    color: white;

    text-align: center;

    font-weight: 700;

    padding: 1rem;
}

.prize-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding:
        1rem
        1.25rem;

    border-bottom: 1px solid #E5E7EB;
}

.prize-row:last-child {
    border-bottom: none;
}

.prize-row strong {
    color: #0B2D6B;
    font-size: 1.1rem;
}

/* =====================================
   EVENT BAR
===================================== */

.event-bar {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 1rem;

    background: white;

    border: 1px solid #E5E7EB;

    border-radius: 20px;

    padding: 1.5rem;

    margin-bottom: 3rem;
}

.event-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.event-item strong {
    color: #0B2D6B;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.event-item span {
    color: #334155;
}

/* =====================================
   SECTION HEADINGS
===================================== */

.section-block {
    margin-bottom: 3rem;
}

.section-heading {
    text-align: center;

    margin-bottom: 2rem;
}

.section-heading small {
    color: #F4B400;
    font-weight: 700;
    letter-spacing: 1px;
}

.section-heading h2 {
    margin-top: 0.3rem;
    color: #0B2D6B;
}

/* =====================================
   QUIZ GRID
===================================== */

.quiz-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 1.5rem;
}

.quiz-card-link {
    text-decoration: none;
}

.quiz-card {
    background: white;

    border: 1px solid #E5E7EB;

    border-radius: 20px;

    padding: 2rem;

    text-align: center;

    height: 100%;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

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

    box-shadow:
        0 10px 24px rgba(0,0,0,0.06);
}

.quiz-icon {
    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin:
        0 auto
        1rem;

    border-radius: 50%;

    background: #F8FAFC;

    font-size: 2rem;
}

.quiz-card h3 {
    color: #0B2D6B;

    margin-bottom: 0.7rem;

    font-size: 1.2rem;
}

.quiz-card p {
    color: #64748B;

    min-height: 50px;

    font-size: 0.95rem;
}

.quiz-btn {
    display: inline-block;

    margin-top: 1rem;

    font-weight: 600;

    color: #0B2D6B;
}

/* =====================================
   ABOUT + WINNERS
===================================== */

.about-grid {
    display: grid;

    grid-template-columns:
        1.3fr 0.8fr;

    gap: 1.5rem;

    margin-bottom: 3rem;
}

.about-card,
.winners-card {
    background: white;

    border: 1px solid #E5E7EB;

    border-radius: 20px;

    padding: 2rem;
}

.about-card h3,
.winners-card h3 {
    color: #0B2D6B;

    margin-bottom: 1rem;
}

.winner-row {
    display: flex;
    gap: 1rem;

    padding:
        0.8rem
        0;

    border-bottom: 1px solid #E5E7EB;
}

.winner-row:last-child {
    border-bottom: none;
}

.winner-row strong {
    color: #0B2D6B;

    min-width: 60px;
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 900px) {

    .hero-section {
        grid-template-columns: 1fr;

        padding: 2rem;
    }

    .hero-section h1 {
        font-size: 3rem;
    }

    .event-bar {
        grid-template-columns: 1fr 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 640px) {

    .hero-section h1 {
        font-size: 2.4rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .event-bar {
        grid-template-columns: 1fr;
    }

    .hero-tags {
        gap: 0.6rem;
    }

}

