/* ========================================
   SCHOLARSHIP SECTION - CLEAN DESIGN
   Font: Nunito Sans (Brand Font)
   Color Palette: #4b2194, #7c3aed, #0f172a, white
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;600;700;800;900&display=swap');

/* ========================================
   EXAM MODAL POPUP
   ======================================== */

.clai-exam-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    animation: clai-exam-modal-fade-in 0.4s ease forwards;
}

.clai-exam-modal-overlay.clai-exam-modal-show {
    display: flex;
}

@keyframes clai-exam-modal-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.clai-exam-modal-container {
    position: relative;
    max-width: 60%;
    max-height: 60vh;
    width: auto;
    animation: clai-exam-modal-slide-up 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes clai-exam-modal-slide-up {
    from {
        transform: translateY(50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.clai-exam-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    font-size: 1.8rem;
    color: #0f172a;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
}

.clai-exam-modal-close:hover {
    transform: rotate(90deg) scale(1.15);
    background: #ef4444;
    color: white;
}

.clai-exam-modal-image-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.clai-exam-modal-image-link:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.clai-exam-modal-image {
    max-width: 100%;
    max-height: 60vh;
    width: auto;
    height: auto;
    display: block;
    border-radius: 20px;
    object-fit: contain;
}

/* ========================================
   SCHOLARSHIP SECTION - CLEAN LAYOUT
   ======================================== */

.clai-scholarship-exam-section {
    padding: 80px 20px;
    background: #f8fafc;
    font-family: 'Nunito Sans', sans-serif;
}

.clai-scholarship-container {
    max-width: 900px;
    margin: 0 auto;
}

.clai-scholarship-main-card {
    background: white;
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s ease;
}

.clai-scholarship-main-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.clai-scholarship-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4b2194 0%, #7c3aed 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.clai-scholarship-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 20px;
    line-height: 1.1;
    font-family: 'Nunito Sans', sans-serif;
}

.clai-scholarship-highlight {
    background: linear-gradient(135deg, #4b2194 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.clai-scholarship-desc {
    font-size: 1.15rem;
    color: #64748b;
    margin-bottom: 50px;
    font-weight: 600;
    font-family: 'Nunito Sans', sans-serif;
}

.clai-scholarship-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.clai-scholarship-item {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 30px 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.clai-scholarship-item:hover {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border-color: #4b2194;
    transform: translateY(-5px);
}

.clai-scholarship-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4b2194 0%, #7c3aed 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 auto 20px;
    font-family: 'Nunito Sans', sans-serif;
}

.clai-scholarship-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.5;
    font-family: 'Nunito Sans', sans-serif;
}

.clai-scholarship-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.clai-scholarship-btn-primary,
.clai-scholarship-btn-secondary {
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-family: 'Nunito Sans', sans-serif;
}

.clai-scholarship-btn-primary {
    background: linear-gradient(135deg, #4b2194 0%, #7c3aed 100%);
    color: white;
    border: none;
}

.clai-scholarship-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.clai-scholarship-btn-secondary {
    background: white;
    color: #4b2194;
    border: 2px solid #e2e8f0;
}

.clai-scholarship-btn-secondary:hover {
    background: #f8fafc;
    border-color: #4b2194;
    transform: translateY(-3px);
}

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

@media (max-width: 1024px) {
    .clai-exam-modal-container {
        max-width: 72%;
    }

    .clai-scholarship-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .clai-exam-modal-container {
        max-width: 100%;
        max-height: 72vh;
    }

    .clai-exam-modal-close {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }

    .clai-exam-modal-image {
        max-height: 72vh;
    }

    .clai-scholarship-exam-section {
        padding: 60px 15px;
    }

    .clai-scholarship-main-card {
        padding: 40px 30px;
    }

    .clai-scholarship-title {
        font-size: 2.5rem;
    }

    .clai-scholarship-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .clai-exam-modal-container {
        max-width: 95%;
        max-height: 70vh;
    }

    .clai-exam-modal-close {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }

    .clai-exam-modal-image {
        max-height: 70vh;
    }

    .clai-scholarship-exam-section {
        padding: 50px 12px;
    }

    .clai-scholarship-main-card {
        padding: 35px 25px;
        border-radius: 20px;
    }

    .clai-scholarship-title {
        font-size: 2rem;
    }

    .clai-scholarship-desc {
        font-size: 1rem;
    }

    .clai-scholarship-buttons {
        flex-direction: column;
    }

    .clai-scholarship-btn-primary,
    .clai-scholarship-btn-secondary {
        width: 100%;
        text-align: center;
    }
}
