/* 
   Scholarships Page Specific Styles 
   SAGE University Bhopal - NewGen Campus Degree Programs
*/

:root {
    --scholarship-accent: var(--color-crimson);
    --scholarship-gold: var(--color-gold);
    --scholarship-bg-light: #f9f9f9;
}

.scholarship-hero {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 100px 0;
    color: white;
    text-align: center;
}

.scholarship-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 40, 80, 0.9), rgba(10, 40, 80, 0.8)); /* Using a brand-aligned navy/blue blend */
}

.scholarship-hero .container {
    position: relative;
    z-index: 1;
}

.scholarship-hero .label {
    display: block;
    color: var(--scholarship-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.scholarship-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.scholarship-hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* Scholarship List Section */
.scholarship-list {
    padding: 80px 0;
}

.scholarship-item {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: flex-start;
}



.scholarship-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid #bababa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #bababa;
    font-weight: 500;
    background: #fff;
}

.scholarship-content {
    flex-grow: 1;
}

.scholarship-content h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--color-navy-darkest);
}

.scholarship-details {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.detail-block h3 {
    font-size: 14px;
    color: #e8a917; /* Keep the green for highlighting criteria as per image? Or SAGE gold? Image uses green. I'll use a brand gold/green hybrid or just gold. */
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.detail-block p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

.detail-block strong {
    color:#c41e3a;
    font-weight: 700;
}

/* Why Choose Section */
.why-choose, .who-apply {
    padding: 80px 0;
    text-align: center;
}

.section-head h2 {
    font-size: 32px;
    color:#c41e3a;
    margin-bottom: 15px;
}

.section-head p {
    color: #666;
    margin-bottom: 40px;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.icon-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.icon-card:hover {
    transform: translateY(-5px);
}

.icon-card .icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: #f0f7ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c41e3a;
    font-size: 24px;
}

.icon-card h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--color-navy-darkest);
}

.icon-card p {
    font-size: 16px;
    color: #777;
    line-height: 1.5;
}

.graduate-quote {
    margin-top: 50px;
    font-style: italic;
    color: #444;
    font-weight: 500;
}

/* CTA Banner */
.blue-banner {
    background:#be8f23;
    padding: 60px 0;
    color: white;
    text-align: center;
}

.blue-banner .label {
    color: #ffd700;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.blue-banner h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.blue-banner p {
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
    font-size: 15px;
}

.banner-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-green {
    background: #f4bf42;
    color: #000;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}

/* Assistance Section */
.assistance-section {
    background: #f4f4f4;
    padding: 60px 0;
    text-align: center;
    border-radius: 15px;
    margin: 40px auto;
    max-width: 1000px;
}

.assistance-section h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.assistance-section p {
    color: #666;
    margin-bottom: 25px;
}

.btn-pill-green {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #9cb43c;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
}

/* Quote Footer */
.final-quote {
    padding: 30px 0;
    text-align: center;
    color: #0056b3;
    font-style: italic;
    font-size: 18px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 991px) {
    .scholarship-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .icon-grid {
        grid-template-columns: 1fr;
    }
    .scholarship-hero h1 {
        font-size: 2.5rem;
    }
}

/* ── Custom Modal Styles ───────────────────────────────── */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000; /* Higher than sticky header */
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: #fff;
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--color-crimson);
}

.modal-header {
    padding: 30px 40px 10px;
}

.modal-header h2 {
    font-size: 24px;
    color: var(--color-navy-darkest);
    margin-bottom: 5px;
}

.modal-header p {
    color: #666;
    font-size: 15px;
}

.modal-body {
    padding: 0 40px 40px;
}

/* Premium Form within Modal */
.modal-form {
    display: grid;
    gap: 20px;
}

.modal-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.modal-field {
    display: flex;
    flex-direction: column;
}

.modal-field label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

.modal-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.modal-input:focus {
    outline: none;
    border-color: var(--color-crimson);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.modal-submit {
    margin-top: 10px;
}

.btn-modal-submit {
    width: 100%;
    background: #9cb43c;
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-modal-submit:hover {
    background: #8aa133;
}

@media (max-width: 576px) {
    .modal-form-row {
        grid-template-columns: 1fr;
    }
    .modal-header, .modal-body {
        padding-left: 20px;
        padding-right: 20px;
    }
}
