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

body{
    font-family:'Poppins',sans-serif;
    background:#08111f;
    color:white;
    overflow-x:hidden;
}

.exams-hero{
    padding:118px 0 42px;
    background:
    radial-gradient(
        circle at top right,
        rgba(46,168,255,0.18),
        transparent 34%
    ),
    linear-gradient(
        180deg,
        #08111f,
        #0b1628
    );
    border-bottom:1px solid rgba(255,255,255,0.08);
}

.exams-hero-inner{
    width:min(1120px,92%);
    margin:auto;
    display:grid;
    grid-template-columns:
    minmax(0,1fr) 360px;
    gap:34px;
    align-items:end;
}

.hero-tag{
    display:inline-flex;
    padding:8px 14px;
    border-radius:999px;
    color:#73d7ff;
    background:rgba(46,168,255,0.10);
    border:1px solid rgba(46,168,255,0.22);
    font-size:12px;
    font-weight:800;
    margin-bottom:18px;
}

.exams-hero h1{
    max-width:760px;
    font-size:46px;
    line-height:1.12;
    margin-bottom:16px;
}

.exams-hero p{
    max-width:640px;
    color:#aebbd0;
    font-size:15px;
    line-height:1.8;
}

.hero-mini-panel{
    padding:22px;
    border-radius:20px;
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.10);
}

.hero-mini-panel span{
    display:block;
    color:#73d7ff;
    font-size:12px;
    font-weight:800;
    margin-bottom:10px;
}

.hero-mini-panel strong{
    display:block;
    color:#f7f9ff;
    font-size:18px;
    line-height:1.5;
}

.exam-section{
    width:min(1120px,92%);
    margin:auto;
    padding:44px 0 32px;
}

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

.section-heading h2{
    font-size:30px;
    line-height:1.2;
    margin-bottom:8px;
}

.section-heading p{
    color:#aebbd0;
    font-size:14px;
}

.exam-grid{
    display:grid;
    grid-template-columns:
    repeat(3,1fr);
    gap:18px;
}

.exam-card{
    min-height:330px;
    display:flex;
    flex-direction:column;
    position:relative;
    overflow:hidden;
    padding:26px;
    border-radius:22px;
    color:white;
    text-decoration:none;
    background:
    linear-gradient(
        180deg,
        rgba(20,34,59,0.96),
        rgba(12,24,42,0.96)
    );
    border:1px solid rgba(255,255,255,0.10);
    transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.exam-card::before{
    content:"";
    position:absolute;
    inset:auto -80px -90px auto;
    width:210px;
    height:210px;
    border-radius:50%;
    background:rgba(46,168,255,0.14);
}

.exam-card:hover{
    transform:translateY(-6px);
    border-color:rgba(46,168,255,0.44);
    box-shadow:0 24px 70px rgba(0,0,0,0.28);
}

.card-icon{
    width:54px;
    height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:16px;
    color:#73d7ff;
    background:rgba(46,168,255,0.12);
    margin-bottom:24px;
}

.card-icon i{
    font-size:22px;
}

.exam-card h3{
    font-size:28px;
    line-height:1.2;
    margin-bottom:12px;
}

.exam-card p{
    color:#aebbd0;
    font-size:14px;
    line-height:1.8;
    margin-bottom:0;
}

.exam-card > *{
    position:relative;
    z-index:1;
}

.exam-chip-list{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:auto;
    padding-top:28px;
}

.exam-chip{
    min-height:36px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 13px;
    border-radius:999px;
    color:#dff3ff;
    background:rgba(46,168,255,0.12);
    border:1px solid rgba(115,215,255,0.22);
    text-decoration:none;
    font-size:12px;
    font-weight:800;
    transition:
    transform 0.2s ease,
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.exam-chip:hover{
    transform:translateY(-2px);
    color:#ffffff;
    background:#2ea8ff;
    border-color:#2ea8ff;
}

.exam-flow-strip{
    width:min(1120px,92%);
    margin:0 auto 76px;
    display:grid;
    grid-template-columns:
    repeat(3,1fr);
    gap:14px;
}

.exam-flow-strip div{
    padding:18px;
    border-radius:18px;
    background:rgba(255,255,255,0.055);
    border:1px solid rgba(255,255,255,0.09);
}

.exam-flow-strip b{
    display:block;
    color:#f7c66d;
    margin-bottom:8px;
}

.exam-flow-strip span{
    color:#d8e4f8;
    font-weight:700;
}

body[data-theme="day"]{
    background:#f5f7fb;
    color:#111827;
}

body[data-theme="day"] .exams-hero{
    background:
    radial-gradient(
        circle at top right,
        rgba(8,107,220,0.12),
        transparent 34%
    ),
    linear-gradient(
        180deg,
        #f5f7fb,
        #e9eef7
    );
    border-bottom:1px solid rgba(37,51,82,0.12);
}

body[data-theme="day"] .exams-hero h1,
body[data-theme="day"] .section-heading h2{
    color:#111827;
}

body[data-theme="day"] .exams-hero p,
body[data-theme="day"] .section-heading p,
body[data-theme="day"] .exam-card p{
    color:#5d6a7f;
}

body[data-theme="day"] .hero-mini-panel,
body[data-theme="day"] .exam-card,
body[data-theme="day"] .exam-flow-strip div{
    background:#ffffff;
    border-color:rgba(37,51,82,0.12);
    box-shadow:0 18px 44px rgba(34,48,74,0.10);
}

body[data-theme="day"] .hero-mini-panel strong,
body[data-theme="day"] .exam-card h3,
body[data-theme="day"] .exam-flow-strip span{
    color:#111827;
}

body[data-theme="day"] .exam-chip{
    color:#086bdc;
    background:#edf6ff;
    border-color:rgba(8,107,220,0.16);
}

body[data-theme="day"] .exam-chip:hover{
    color:#ffffff;
    background:#086bdc;
    border-color:#086bdc;
}

@media(max-width:980px){
    .exams-hero-inner,
    .exam-grid,
    .exam-flow-strip{
        grid-template-columns:1fr;
    }

    .hero-mini-panel{
        max-width:520px;
    }
}

@media(max-width:640px){
    .exams-hero{
        padding:96px 0 34px;
    }

    .exams-hero h1{
        font-size:32px;
    }

    .section-heading{
        align-items:flex-start;
        flex-direction:column;
    }

    .exam-card{
        min-height:auto;
    }
}
