@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Outfit',sans-serif;
    background:#f4f7fb;
    color:#1e293b;
    overflow-x:hidden;
}

.container{
    width:94%;
    max-width:1320px;
    margin:auto;
}

/* =========================
HEADER
========================= */

.header{
    background:#123C73;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 2px 12px rgba(0,0,0,0.08);
}

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

.navbar{
    height:70px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}

.logo-area{
    display:flex;
    align-items:center;
    flex-shrink:0;
}

.logo-area img{
    height:52px;
    object-fit:contain;
}

.main-nav{
    display:flex;
    align-items:center;
    gap:22px;
    flex:1;
    justify-content:center;
}

nav a, .main-nav a{
    text-decoration:none;
    color:rgba(255,255,255,0.88);
    font-size:14px;
    font-weight:500;
    transition:.25s ease;
    position:relative;
    white-space:nowrap;
}

nav a::after, .main-nav a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-4px;
    width:0%;
    height:2px;
    background:#FFD600;
    transition:.25s ease;
}

nav a:hover, .main-nav a:hover{
    color:#FFD600;
}

nav a:hover::after, .main-nav a:hover::after{
    width:100%;
}

/* =========================
BUTTONS
========================= */

.nav-buttons{
    display:flex;
    align-items:center;
    gap:10px;
    flex-shrink:0;
}

.login-btn,
.register-btn{
    text-decoration:none;
    padding:10px 16px;
    border-radius:10px;
    font-size:13px;
    font-weight:600;
    transition:.25s ease;
}

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

.login-btn:hover{
    background:#fff;
    color:#123C73;
}

.register-btn{
    background:#FFD600;
    color:#123C73;
}

.register-btn:hover{
    transform:translateY(-2px);
    background:#ffdf32;
}

/* =========================
TITLE STRIP
========================= */

/* title-strip styles moved to bottom of file */

/* =========================
MAIN SECTION
========================= */

.hero-section{
    display:grid;
    grid-template-columns:240px 1fr 240px;
    gap:18px;
    margin-top:20px;
    margin-bottom:40px;
}

/* =========================
SIDE CARD
========================= */

.side-card{
    background:#fff;
    border-radius:18px;
    padding:18px;
    border:1px solid #e5e7eb;
    box-shadow:0 4px 18px rgba(15,23,42,0.04);
}

.side-card h3{
    font-size:15px;
    color:#123C73;
    margin-bottom:16px;
    font-weight:600;
    border-left:4px solid #FFD600;
    padding-left:10px;
}

.side-card a{
    display:flex;
    align-items:center;
    text-decoration:none;
    color:#334155;
    background:#f8fafc;
    border-radius:12px;
    padding:13px 14px;
    margin-bottom:10px;
    font-size:14px;
    transition:.25s ease;
    border:1px solid transparent;
}

.side-card a:hover{
    background:#eff6ff;
    color:#123C73;
    border-color:#bfdbfe;
    transform:translateX(6px);
}

/* =========================
CENTER BANNER
========================= */

.main-banner{
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    border:1px solid #e5e7eb;
    box-shadow:0 4px 20px rgba(15,23,42,0.05);
}

/*.main-banner img{*/
/*    width:100%;*/
/*    height:320px;*/
/*    object-fit:cover;*/
/*}*/

.main-banner img{
    width:100%;
    height:auto;
    display:block;
    object-fit:contain;
    background:#fff;
}

@media(max-width:992px){

    .main-banner img{
        height:auto;
        object-fit:contain;
    }

}

.banner-content{
    padding:22px;
}

.banner-content h2{
    font-size:28px;
    line-height:1.2;
    margin-bottom:10px;
    color:#0f172a;
    font-weight:700;
}

.banner-content p{
    font-size:14px;
    color:#64748b;
    line-height:1.7;
    margin-bottom:20px;
}

/* =========================
CTA BUTTONS
========================= */

.banner-buttons{
    display:flex;
    gap:12px;
}

.primary-btn,
.secondary-btn{
    text-decoration:none;
    padding:12px 18px;
    border-radius:12px;
    font-size:14px;
    font-weight:600;
    transition:.25s ease;
}

.primary-btn{
    background:#123C73;
    color:#fff;
}

.primary-btn:hover{
    background:#1D4ED8;
    transform:translateY(-2px);
}

.secondary-btn{
    background:#FFD600;
    color:#123C73;
}

.secondary-btn:hover{
    transform:translateY(-2px);
    background:#ffdf32;
}

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

.footer{
    background:#0b1f3a;
    color:#fff;
    padding-top:42px;
}

.footer-grid{
    display:grid;
    grid-template-columns:1.5fr 1fr 1fr;
    gap:50px;
    padding-bottom:30px;
}

.footer-about{
    max-width:420px;
}

.footer-logo{
    width:70px;
    margin-bottom:14px;
}

.footer p{
    color:#cbd5e1;
    font-size:14px;
    line-height:1.9;
}

.footer h4{
    margin-bottom:16px;
    font-size:16px;
    color:#FFD600;
}

.footer a{
    display:block;
    text-decoration:none;
    color:#cbd5e1;
    margin-bottom:12px;
    font-size:14px;
    transition:.25s ease;
}

.footer a:hover{
    color:#FFD600;
    transform:translateX(4px);
}

/* SOCIAL */

.social-links{
    display:flex;
    align-items:center;
    gap:12px;
    margin-top:20px;
}

.social-links a{
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    color:#fff;
    font-size:16px;
    transition:.25s ease;
}

.social-links a:hover{
    transform:translateY(-3px);
    filter:brightness(1.15);
}

.copyright{
    border-top:1px solid rgba(255,255,255,0.08);
    text-align:center;
    padding:18px;
    color:#94a3b8;
    font-size:13px;
}

/* MOBILE */

@media(max-width:992px){

    .footer-grid{
        grid-template-columns:1fr;
        gap:35px;
    }

    .footer-about{
        max-width:100%;
    }
}

/* =========================
MOBILE
========================= */

@media(max-width:992px){

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

    /*.navbar{*/
    /*    height:auto;*/
    /*    padding:14px 0;*/
    /*    flex-direction:column;*/
    /*    gap:14px;*/
    /*}*/

    /*nav{*/
    /*    flex-wrap:wrap;*/
    /*    justify-content:center;*/
    /*    gap:16px;*/
    /*}*/
    
    @media(max-width:992px){

    /* ---- MOBILE NAVBAR: 2 rows ----
       Row 1: Logo (left) + Login/Register (right)
       Row 2: Nav links scrollable
    ---------------------------------------- */

    .navbar{
        height:auto;
        flex-wrap:wrap;
        padding:10px 0 0;
        gap:0;
        align-items:center;
    }

    /* Logo — row 1 left */
    .logo-area{
        order:1;
        flex:1;
    }

    .logo-area img{
        height:40px;
    }

    /* Buttons — row 1 right */
    .nav-buttons{
        order:2;
        flex-shrink:0;
    }

    .login-btn,
    .register-btn{
        padding:7px 12px;
        font-size:12px;
    }

    /* Nav links — row 2, full width, scrollable */
    .main-nav{
        order:3;
        width:100%;
        flex:none;
        justify-content:flex-start;
        gap:0;
        overflow-x:auto;
        scrollbar-width:none;
        -webkit-overflow-scrolling:touch;
        border-top:1px solid rgba(255,255,255,0.12);
        margin-top:10px;
        padding:0;
    }

    .main-nav::-webkit-scrollbar{
        display:none;
    }

    .main-nav a{
        font-size:13px;
        padding:9px 14px;
        white-space:nowrap;
        display:block;
        border-bottom:2px solid transparent;
    }

    .main-nav a:hover{
        background:rgba(255,255,255,0.08);
        border-bottom-color:#FFD600;
    }

    .main-nav a::after{
        display:none;
    }

    /* title-strip responsive handled at bottom */

}

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

    .main-banner img{
        height:220px;
    }

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

    /* title-strip responsive see bottom */

    .banner-content h2{
        font-size:24px;
    }

    .logo-area img{
        height:42px;
    }
}
/* =========================
PAGE HERO SECTION
========================= */

.page-hero {
    background: linear-gradient(90deg, #123C73, #1D4ED8);
    border-bottom: 3px solid #FFD600;
    padding: 36px 0;
}

.page-hero-content {
    text-align: center;
    color: #fff;
}

.page-hero-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

.page-hero-content p {
    font-size: 15px;
    color: rgba(255,255,255,.8);
    max-width: 580px;
    margin: auto;
}

/* =========================
PAGE BODY
========================= */

.page-body {
    padding: 40px 0 60px;
}

/* =========================
ABOUT PAGE
========================= */

.section-tag {
    display: inline-block;
    background: #eff6ff;
    color: #1D4ED8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.section-tag.center {
    display: block;
    text-align: center;
    width: fit-content;
    margin: 0 auto 14px;
}

.center-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2rem;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

.about-text-block h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.about-text-block p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 15px;
}

/* MISSION/VISION */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.mv-card {
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 4px 18px rgba(18,60,115,0.05);
}

.mv-card.mission { border-top: 4px solid #1D4ED8; }
.mv-card.vision  { border-top: 4px solid #FFD600; }
.mv-card.values  { border-top: 4px solid #16a34a; }

.mv-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    background: #eff6ff;
    color: #1D4ED8;
}

.mv-card.vision .mv-icon  { background: #fef9c3; color: #a16207; }
.mv-card.values .mv-icon  { background: #dcfce7; color: #16a34a; }

.mv-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: .6rem;
}

.mv-card p { font-size: .9rem; color: #64748b; line-height: 1.7; }

/* FEATURES */
.about-features { margin-bottom: 3.5rem; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.feature-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: 0 2px 10px rgba(18,60,115,0.04);
    transition: .2s;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(18,60,115,0.1);
}

.feature-icon {
    width: 46px;
    height: 46px;
    background: #dbeafe;
    color: #1D4ED8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.feature-card h5 {
    font-size: .95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: .5rem;
}

.feature-card p { font-size: .85rem; color: #64748b; line-height: 1.7; }

/* STATS */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    background: linear-gradient(90deg,#123C73,#1D4ED8);
    border-radius: 18px;
    overflow: hidden;
    border: 3px solid #FFD600;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    border-right: 1px solid rgba(255,255,255,.15);
}

.stat-item:last-child { border-right: none; }

.stat-big {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFD600;
    line-height: 1;
}

.stat-lbl {
    font-size: .82rem;
    color: rgba(255,255,255,.75);
    margin-top: .4rem;
    font-weight: 500;
}

/* =========================
CONTACT PAGE
========================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-col h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: .5rem;
}

.contact-items { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item-icon {
    width: 42px;
    height: 42px;
    background: #dbeafe;
    color: #1D4ED8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item strong { display: block; font-weight: 700; color: #0f172a; margin-bottom: .2rem; }
.contact-item p { color: #64748b; font-size: .9rem; margin: 0; }

.contact-form-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(18,60,115,0.06);
}

.contact-form-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid #e5e7eb;
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.cf-group { display: flex; flex-direction: column; gap: .35rem; }

.cf-group label {
    font-size: .77rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.cf-group input,
.cf-group select,
.cf-group textarea {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 11px 14px;
    font-family: 'Outfit', sans-serif;
    font-size: .9rem;
    color: #1e293b;
    background: #f8fafc;
    transition: .2s;
    width: 100%;
}

.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus {
    outline: none;
    border-color: #1D4ED8;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(29,78,216,.08);
}

/* =========================
NOTIFICATIONS / DOCS
========================= */

.doc-list { display: flex; flex-direction: column; gap: 1rem; }

.doc-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 8px rgba(18,60,115,0.04);
    transition: .2s;
}

.doc-card:hover {
    box-shadow: 0 6px 20px rgba(18,60,115,0.1);
    transform: translateY(-1px);
}

.doc-icon {
    width: 46px;
    height: 46px;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.doc-info { flex: 1; }
.doc-info h4 { font-size: .95rem; font-weight: 700; color: #0f172a; margin-bottom: .35rem; }

.doc-meta {
    display: flex;
    gap: 1.25rem;
    font-size: .8rem;
    color: #64748b;
}

.doc-meta span { display: flex; align-items: center; gap: .35rem; }

.doc-download-btn {
    padding: 10px 18px;
    font-size: .85rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* =========================
ONLINE EXAMS PAGE
========================= */

.info-banner {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.5rem;
    font-size: .9rem;
    color: #1e40af;
}

.info-banner a { color: #1D4ED8; font-weight: 700; }

.exams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.exam-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(18,60,115,0.05);
    transition: .25s;
    display: flex;
    flex-direction: column;
}

.exam-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(18,60,115,0.12);
}

.exam-card-img {
    height: 160px;
    overflow: hidden;
    background: #f1f5f9;
}

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

.exam-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #1D4ED8;
    background: #dbeafe;
}

.exam-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.exam-badges { display: flex; gap: .5rem; flex-wrap: wrap; }

.exam-badge {
    padding: 3px 12px;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .3rem;
}

.badge-free-style  { background: #dcfce7; color: #166534; }
.badge-paid-style  { background: #fef9c3; color: #a16207; }
.badge-locked      { background: #f1f5f9; color: #64748b; }
.badge-expired     { background: #fee2e2; color: #991b1b; }

.exam-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
}

.exam-desc { font-size: .83rem; color: #64748b; line-height: 1.6; }

.exam-meta {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    font-size: .78rem;
    color: #64748b;
}

.exam-meta span { display: flex; align-items: center; gap: .3rem; }

.exam-last-date {
    font-size: .8rem;
    color: #1D4ED8;
    background: #eff6ff;
    border-radius: 8px;
    padding: 6px 12px;
}

.exam-card-action {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: auto;
    flex-wrap: wrap;
}

/* =========================
AUTH PAGES
========================= */

.auth-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(18,60,115,0.08);
}

.auth-header { text-align: center; margin-bottom: 1.75rem; }

.auth-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(90deg,#123C73,#1D4ED8);
    color: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.auth-header h3 { font-size: 1.3rem; font-weight: 700; color: #0f172a; margin-bottom: .35rem; }
.auth-header p  { font-size: .88rem; color: #64748b; }

.auth-form { display: flex; flex-direction: column; gap: 0; }
.auth-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.auth-group { display: flex; flex-direction: column; gap: .35rem; }
.auth-group.full { grid-column: 1/-1; }

.auth-group label {
    font-size: .75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.input-icon-wrap {
    position: relative;
}

.input-icon-wrap i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: .85rem;
    pointer-events: none;
}

.input-icon-wrap input {
    padding-left: 38px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding-top: 11px;
    padding-bottom: 11px;
    font-family: 'Outfit',sans-serif;
    font-size: .9rem;
    color: #1e293b;
    width: 100%;
    background: #f8fafc;
    transition: .2s;
}

.input-icon-wrap input:focus {
    outline: none;
    border-color: #1D4ED8;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(29,78,216,.08);
}

.auth-submit {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: .95rem;
    border: none;
    cursor: pointer;
}

.auth-switch {
    text-align: center;
    font-size: .85rem;
    color: #64748b;
    margin-top: 1rem;
}

.auth-switch a { color: #1D4ED8; font-weight: 700; text-decoration: none; }

/* =========================
ALERTS
========================= */

.alert {
    padding: .85rem 1.1rem;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1.25rem;
}

.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.alert-danger  { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.alert-info    { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }

/* =========================
EMPTY STATE
========================= */

.empty-state-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(18,60,115,0.04);
}

.empty-state-box i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
    display: block;
}

.empty-state-box p { color: #64748b; font-weight: 600; font-size: 1rem; }

/* =========================
DASHBOARD
========================= */

.dash-welcome {
    background: linear-gradient(90deg,#123C73,#1D4ED8);
    border-radius: 18px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    border-bottom: 3px solid #FFD600;
}

.dash-welcome h2 {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: .25rem;
}

.dash-welcome p { color: rgba(255,255,255,.75); font-size: .9rem; }

.dash-exams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
    gap: 1.25rem;
}

.dash-exam-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(18,60,115,0.05);
    display: flex;
    flex-direction: column;
}

.dash-exam-top {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1rem;
    border-bottom: 1px solid #f0f4f8;
}

.dash-exam-top img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.dash-exam-icon {
    width: 52px;
    height: 52px;
    background: #dbeafe;
    color: #1D4ED8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.dash-exam-info h4 { font-size: .9rem; font-weight: 700; color: #0f172a; }

.dash-exam-meta {
    display: flex;
    gap: .75rem;
    font-size: .75rem;
    color: #64748b;
    margin-top: .25rem;
}

.dash-exam-meta span { display: flex; align-items: center; gap: .25rem; }

.dash-exam-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .85rem 1rem;
    gap: .75rem;
    flex-wrap: wrap;
}

.result-score {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.score-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: conic-gradient(#1D4ED8 calc(var(--pct) * 3.6deg), #e5e7eb 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .72rem;
    position: relative;
    color: #0f172a;
}

.score-circle::before {
    content: '';
    position: absolute;
    inset: 5px;
    background: #fff;
    border-radius: 50%;
}

.score-circle span { position: relative; z-index: 1; }

/* =========================
EXAM RESULT PAGE
========================= */

.result-hero {
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 2px solid #e5e7eb;
}

.result-pass { background: linear-gradient(135deg,#f0fdf4,#dcfce7); border-color: #86efac; }
.result-fail { background: linear-gradient(135deg,#fef2f2,#fee2e2); border-color: #fca5a5; }

.result-icon { font-size: 3rem; margin-bottom: 1rem; }

.result-hero h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: .5rem;
}

.result-hero > p { color: #64748b; font-size: .9rem; margin-bottom: 1rem; }

.result-big-score {
    font-size: 4rem;
    font-weight: 700;
    color: #123C73;
    line-height: 1;
    margin: .5rem 0;
}

.result-score-detail { font-size: .9rem; color: #64748b; margin-bottom: 1.5rem; }

.result-sub-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.result-stat { text-align: center; }
.rs-val { font-size: 1.5rem; font-weight: 700; color: #0f172a; }
.rs-lbl { font-size: .75rem; color: #64748b; margin-top: .15rem; }

.result-status-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem 1.1rem;
    border-radius: 20px;
    font-size: .82rem;
    font-weight: 700;
}

.pill-submitted { background: #dcfce7; color: #166534; }
.pill-timeout   { background: #fee2e2; color: #991b1b; }

/* Review Cards */
.review-card {
    display: flex;
    gap: 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.25rem;
    margin-bottom: .85rem;
    border-left: 4px solid transparent;
}

.review-correct { border-left-color: #16a34a; }
.review-wrong   { border-left-color: #dc2626; }

.review-qnum {
    width: 30px;
    height: 30px;
    background: #123C73;
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .8rem;
    flex-shrink: 0;
}

.review-q {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: .75rem;
    line-height: 1.5;
}

.review-opts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
}

.review-opt {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .75rem;
    border-radius: 8px;
    font-size: .83rem;
    background: #f8fafc;
    border: 1.5px solid #e5e7eb;
}

.review-opt.opt-correct { background: #f0fdf4; border-color: #86efac; color: #166534; font-weight: 600; }
.review-opt.opt-wrong   { background: #fef2f2; border-color: #fca5a5; color: #991b1b; }

.ropt-key {
    font-weight: 700;
    width: 22px;
    flex-shrink: 0;
}

/* =========================
HOME QUICK LINKS
========================= */

.ql-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1.25rem;
}

.ql-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(18,60,115,0.04);
    transition: .25s;
}

.ql-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(18,60,115,0.12);
    border-color: #1D4ED8;
}

.ql-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 1rem;
}

.ql-card h4 {
    font-size: .95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: .4rem;
}

.ql-card p { font-size: .82rem; color: #64748b; line-height: 1.6; }

/* =========================
BANNER FEATURES
========================= */

.banner-features {
    display: flex;
    border-top: 1px solid #e5e7eb;
    padding: 0;
}

.bf-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 12px 8px;
    font-size: .78rem;
    font-weight: 600;
    color: #64748b;
    border-right: 1px solid #e5e7eb;
}

.bf-item:last-child { border-right: none; }
.bf-item i { color: #1D4ED8; }

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

@media(max-width:992px){
    .about-intro-grid { grid-template-columns: 1fr; }
    .mv-grid          { grid-template-columns: 1fr; }
    .features-grid    { grid-template-columns: 1fr 1fr; }
    .about-stats      { grid-template-columns: repeat(2,1fr); }
    .contact-grid     { grid-template-columns: 1fr; }
    .cf-row           { grid-template-columns: 1fr; }
    .ql-grid          { grid-template-columns: 1fr 1fr; }
    .auth-form-grid   { grid-template-columns: 1fr; }
    .review-opts      { grid-template-columns: 1fr; }
}

@media(max-width:600px){
    .features-grid { grid-template-columns: 1fr; }
    .ql-grid       { grid-template-columns: 1fr 1fr; }
    .about-stats   { grid-template-columns: 1fr 1fr; }
    .exams-grid    { grid-template-columns: 1fr; }
    .banner-features { flex-wrap: wrap; }
    .bf-item { width: 50%; border-bottom: 1px solid #e5e7eb; }
}

/* =========================
TITLE STRIP — updated
========================= */

.title-strip {
    background: #e53935;
    padding: 9px 0;
    overflow: hidden;
    border-top: 2px solid #ffcc00;
    border-bottom: 2px solid #ffcc00;
}

.title-left { display: none; }
.title-blink { display: none; }

.title-marquee-wrap {
    width: 100%;
}

.title-marquee-wrap marquee {
    width: 100%;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .3px;
}

/* =========================
FLOATING WHATSAPP BUTTON
========================= */

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 24px;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 6px 24px rgba(37,211,102,.5);
    animation: wa-pulse 2s ease-in-out infinite;
    transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 32px rgba(37,211,102,.7);
    color: #fff;
}
@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.4); }
    50%       { box-shadow: 0 6px 24px rgba(37,211,102,.5), 0 0 0 14px rgba(37,211,102,0); }
}

/* =========================
SOCIAL LINKS — brand colors
========================= */

.social-fb  { background: #1877F2; }
.social-fb:hover  { background: #0d65d9; }
.social-ig  { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-ig:hover  { opacity: .85; }
.social-yt  { background: #FF0000; }
.social-yt:hover  { background: #cc0000; }
.social-wa  { background: #25D366; }
.social-wa:hover  { background: #1da851; }

@media(max-width:768px){
    .title-main { font-size: 13px; }
    .title-blink { font-size: 13px; }
    .title-strip { height: 36px; padding: 0 12px; }
    .whatsapp-float { width: 52px; height: 52px; font-size: 26px; bottom: 20px; right: 16px; }
}

@media(max-width:480px){
    .title-left { display: none; }
    .title-strip { height: 34px; }
}

/* =========================
SIDE CARD VERTICAL MARQUEE
========================= */

.side-marquee-wrap {
    overflow: hidden;
    height: 260px;      /* fixed window — shows ~4 items on desktop */
    position: relative;
    margin-bottom: 10px;
}

/* fade out at bottom */
.side-marquee-wrap::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40px;
    background: linear-gradient(to bottom, transparent, #fff);
    pointer-events: none;
    z-index: 1;
}

.side-marquee {
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: scrollUp 18s linear infinite;
}

/* pause on hover */
.side-marquee-wrap:hover .side-marquee {
    animation-play-state: paused;
}

@keyframes scrollUp {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); } /* moves half = first set of items */
}

.side-marquee-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-decoration: none;
    color: #334155;
    background: #f8fafc;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid transparent;
    transition: background .2s, border-color .2s;
    flex-shrink: 0;
}

.side-marquee-item:hover {
    background: #eff6ff;
    color: #123C73;
    border-color: #bfdbfe;
}

.side-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    color: #1D4ED8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    transition: .2s;
    margin-top: 2px;
}

.side-view-all:hover {
    background: #dbeafe;
}

/* Mobile: side cards hidden, so no changes needed */
/* But on desktop show more items (taller window) */
@media(min-width:993px) {
    .side-marquee-wrap {
        height: 320px; /* ~5-6 items on desktop */
    }
}

/* =========================
MOBILE BANNER — remove top white gap
========================= */

@media(max-width:992px) {
    .hero-section {
        margin-top: 0;
        gap: 0;
    }

    .main-banner {
        border-radius: 0 0 18px 18px; /* curve only at bottom */
        border-top: none;
        border-left: none;
        border-right: none;
    }

    .main-banner img {
        border-radius: 0;
        width: 100%;
        height: auto;
        display: block;
    }
}

/* =========================

/* =========================
VSCROLL + HERO — SINGLE CLEAN BLOCK
========================= */

/* Side card */
.side-card {
    overflow: hidden !important;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Scroll window */
.vscroll-box {
    display: block !important;
    overflow: hidden !important;
    height: 340px !important;
    position: relative;
    margin-bottom: 10px;
    flex-shrink: 0;
}

/* Each item */
.vscroll-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    text-decoration: none !important;
    color: #334155 !important;
    background: #f8fafc !important;
    border-radius: 10px !important;
    padding: 9px 11px !important;
    border: 1px solid transparent !important;
    transition: background .2s !important;
    transform: none !important;
}

.vscroll-item:hover {
    background: #eff6ff !important;
    color: #123C73 !important;
    border-color: #bfdbfe !important;
}

.vscroll-item i {
    margin-right: 4px;
    margin-top: 4px;
    flex-shrink: 0;
}

.vscroll-text {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.vscroll-text small {
    display: block;
    color: #94a3b8;
    font-size: 11px;
    margin-top: 2px;
    font-weight: 400;
}

/* View all button */
.side-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    color: #1D4ED8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 700;
    transition: .2s;
    flex-shrink: 0;
}

.side-view-all:hover { background: #dbeafe; }

/* Banner image — full, no crop */
.main-banner {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.main-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background: #fff;
}

.hero-section {
    align-items: start;
}

/* ---- DESKTOP ---- */
@media(min-width: 993px) {
    .vscroll-box { height: 380px !important; }
}

/* ---- MOBILE: notif → banner → exams ---- */
@media(max-width: 992px) {
    .hero-section {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        grid-template-columns: unset !important;
    }

    /* notifications first */
    .hero-section > .side-card:first-child {
        display: flex !important;
        order: 1;
    }

    /* banner second */
    .hero-section > .main-banner {
        order: 2;
    }

    /* exams third */
    .hero-section > .side-card:last-child {
        display: flex !important;
        order: 3;
    }

    .vscroll-box { height: 200px !important; }
}
