/* assets/css/scholarship.css */

/* --- HERO SECTION --- */
.exam-hero {
    background: linear-gradient(135deg, var(--dark) 0%, #112240 100%);
    color: white;
    padding: 120px 0 150px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.exam-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.badge-accent {
    background-color: var(--accent);
    color: var(--dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 20px;
    animation: fadeDown 0.8s ease;
}

.exam-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    animation: fadeUp 0.8s ease 0.2s backwards;
}

.exam-title span {
    color: var(--secondary);
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.exam-subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeUp 0.8s ease 0.4s backwards;
}

.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* --- SCHOOLS GRID --- */
.schools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.school-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--gray-light);
}

.school-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.school-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 102, 204, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.role-badge {
    display: inline-block;
    margin-top: 15px;
    background-color: var(--dark);
    color: white;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
}

/* --- STRUCTURE SECTION --- */
.structure-section {
    background-color: #F0F4F8;
}

.structure-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.structure-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.structure-card h3 {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
}

.format-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-light);
}

.format-item:last-child { border-bottom: none; }
.format-item .lbl { font-weight: 600; color: var(--dark); }
.format-item .val { color: var(--gray); }

.subject-bar-group { margin-bottom: 25px; }
.sb-info { display: flex; justify-content: space-between; margin-bottom: 8px; font-weight: 500; }
.progress { height: 10px; background-color: var(--gray-light); border-radius: 10px; overflow: hidden; }
.bar { height: 100%; background-color: var(--primary); border-radius: 10px; transition: width 1s ease; }

/* --- TIERS & REWARDS --- */
.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tier-card {
    background: white;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.tier-card.popular {
    border: 2px solid var(--accent);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.popular-tag {
    background-color: var(--accent);
    color: var(--dark);
    text-align: center;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 5px;
    text-transform: uppercase;
}

.tier-header {
    background-color: var(--dark);
    color: white;
    padding: 30px;
    text-align: center;
}

.tier-header h3 { font-size: 2rem; margin-bottom: 5px; color: var(--accent); }
.tier-header p { opacity: 0.8; }

.prize-list { padding: 30px; }

.prize-item {
    display: flex;
    align-items: start;
    gap: 15px;
    margin-bottom: 20px;
}

.prize-item i { font-size: 1.2rem; margin-top: 4px; }
.prize-item.gold i { color: #FFD700; }
.prize-item.silver i { color: #C0C0C0; }
.prize-item.bronze i { color: #CD7F32; }

.prize-item strong { display: block; color: var(--dark); }
.prize-item span { font-size: 0.9rem; color: var(--gray); }

.eligibility-note {
    background-color: #FFF9E6;
    border-left: 5px solid var(--accent);
    padding: 25px;
    margin-top: 60px;
    border-radius: 8px;
}

.eligibility-note h4 { color: var(--dark); margin-bottom: 15px; }
.eligibility-note ul { padding-left: 20px; color: var(--gray); }
.eligibility-note li { margin-bottom: 8px; }

/* --- ANIMATIONS --- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .structure-layout { grid-template-columns: 1fr; }
    .tier-card.popular { transform: scale(1); }
}

@media (max-width: 576px) {
    .exam-title { font-size: 2.2rem; }
    .tier-header h3 { font-size: 1.5rem; }
}
