/* ================= SCHOLARSHIP SECTION ================= */
#scholarship {
    background: #ffffff;
    padding: 100px 0;
    border-top: 1px solid #eef0f3;
}

.scholarship-header {
    margin-bottom: 50px;
}

.scholarship-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.scholarship-header p {
    color: #666;
    font-size: 16px;
}


/* ── Video (left column) ── */
.sch-video-wrapper {
    border-radius: 14px;
    overflow: hidden;
    background: #0f0f1a;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
    position: relative;
}

.sch-video {
    width: 100%;
    display: block;
    border-radius: 14px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.sch-no-video {
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    color: #a5b4fc;
    border-radius: 14px;
}

.sch-no-video i {
    font-size: 52px;
    margin-bottom: 14px;
    opacity: 0.7;
}

.sch-no-video p {
    font-size: 15px;
    margin: 0;
    opacity: 0.8;
}


/* ── Updates (right column) ── */
.sch-updates-wrapper {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    padding: 28px;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.sch-updates-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f0f0f8;
}

.sch-updates-header i {
    font-size: 22px;
    color: #4f46e5;
}

.sch-updates-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
}

.sch-updates-list {
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: #c7d2fe #f5f5ff;
}

.sch-updates-list::-webkit-scrollbar {
    width: 5px;
}

.sch-updates-list::-webkit-scrollbar-track {
    background: #f5f5ff;
    border-radius: 4px;
}

.sch-updates-list::-webkit-scrollbar-thumb {
    background: #c7d2fe;
    border-radius: 4px;
}

.sch-update-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f8;
    transition: background 0.2s;
}

.sch-update-item:last-child {
    border-bottom: none;
}

.sch-update-item:hover {
    background: #f9f9ff;
    border-radius: 8px;
    padding-left: 6px;
}

.sch-update-badge {
    flex-shrink: 0;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    margin-top: 2px;
}

.sch-update-item p {
    margin: 0;
    font-size: 16px;
    color: #444;
    line-height: 1.7;
}

.sch-no-updates {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    color: #aaa;
    text-align: center;
}

.sch-no-updates i {
    font-size: 40px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.sch-no-updates p {
    margin: 0;
    font-size: 16px;
}


/* ── Apply Now Button ── */
.sch-apply-btn {
    padding: 14px 48px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #fff;
    border: none;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.3px;
}

.sch-apply-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(79, 70, 229, 0.45);
    color: #fff;
}

.sch-apply-btn i {
    margin-right: 8px;
}


/* ── Responsive ── */
@media (max-width: 991px) {
    .sch-updates-wrapper {
        height: auto;
    }

    .sch-updates-list {
        max-height: 280px;
    }

    .scholarship-header h2 {
        font-size: 28px;
    }
}


/* ================= SCHOLARSHIP APPLICATION MODAL ================= */
.sch-modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
}

.sch-modal-header {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: none;
}

.sch-modal-header-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
}

.sch-modal-header-inner>i {
    font-size: 28px;
    opacity: 0.9;
}

.sch-modal-header-inner h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.sch-modal-header-inner p {
    margin: 2px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
}

.sch-modal-body {
    padding: 28px 28px 10px;
    background: #fafbff;
}

/* Form groups */
.sch-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sch-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0;
}

.sch-required {
    color: #ef4444;
    margin-left: 2px;
}

.sch-optional {
    color: #9ca3af;
    font-weight: 400;
    font-size: 12px;
    margin-left: 4px;
}

.sch-input {
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: #1f2937;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sch-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    outline: none;
}

.sch-input::placeholder {
    color: #b0b7c3;
}

/* Field-level error messages */
.sch-field-error {
    font-size: 12px;
    color: #ef4444;
    min-height: 16px;
    display: block;
}

/* Footer */
.sch-modal-footer {
    background: #fafbff;
    border-top: 1px solid #eef0f8;
    padding: 16px 28px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.sch-modal-cancel {
    background: #f3f4f6;
    color: #374151;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}

.sch-modal-cancel:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.sch-apply-submit {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.sch-apply-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.45);
    color: #fff;
}

.sch-apply-submit:disabled {
    opacity: 0.7;
    transform: none;
}

.sch-apply-submit i,
.sch-modal-cancel i {
    margin-right: 6px;
}

@media (max-width: 576px) {
    .sch-modal-header-inner>i {
        display: none;
    }

    .sch-modal-body {
        padding: 20px 16px 8px;
    }

    .sch-modal-footer {
        padding: 14px 16px 16px;
        flex-direction: column-reverse;
    }

    .sch-modal-cancel,
    .sch-apply-submit {
        width: 100%;
        text-align: center;
    }
}