:root {
    --cream: #F9F7F3;
    --green: #1B6B3A;
}


.scholarships-page {
    min-height: 100vh;
    padding: 50px 8%;
    background: #f8f6f0;
    font-family: 'Figtree', sans-serif;
}


/* Back Link */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--green);
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 35px;
    transition: 0.3s ease;
}

.back-link:hover {
    transform: translateX(-4px);
}


/* Page Heading */

.scholarships-heading {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.scholarships-heading span {
    display: block;
    margin-bottom: 10px;

    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.scholarships-heading h1 {
    margin: 0 0 12px;

    color: rgb(8, 8, 37);
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
}

.scholarships-heading p {
    margin: 0;

    color: #68736e;
    font-size: 15px;
    line-height: 1.7;
}


/* Scholarship Section */

.scholarships-section {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    margin-bottom: 25px;
}

.section-title h2 {
    margin-bottom: 7px;

    color:rgb(6, 6, 49);
    font-size: 24px;
    font-weight: 700;
}

.section-title p {
    margin: 0;

    color: #7a847f;
    font-size: 14px;
    line-height: 1.6;
}


/* Scholarship Grid */

.scholarships-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}


/* Scholarship Card */

.scholarship-card {
    display: block;

    padding: 26px;

    background: #ffffff;
    border: 1px solid #dce8e2;
    border-radius: 12px;

    text-decoration: none;

    transition: 0.3s ease;
}

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

    border-color: var(--green);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}


/* Icon */

.scholarship-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    background: #eaf6f1;
    border-radius: 9px;

    font-size: 22px;
}


/* Scholarship Name */

.scholarship-card h3 {
    margin: 0 0 10px;

    color: rgb(11, 11, 59);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}


/* Description */

.scholarship-card p {
    margin: 0 0 20px;

    color: #69746f;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
}


/* Details */

.scholarship-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-bottom: 20px;
}

.scholarship-details span {
    display: inline-block;

    padding: 7px 10px;

    background: #f1f7f4;
    border-radius: 5px;

    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2px;
}


/* View Opportunity */

.scholarship-link {
    display: inline-block;

    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.2px;

    transition: 0.3s ease;
}

.scholarship-card:hover .scholarship-link {
    transform: translateX(5px);
}


/* Mobile */

@media (max-width: 600px) {

    .scholarships-page {
        padding: 30px 5%;
    }

    .scholarships-heading {
        margin-bottom: 35px;
    }

    .scholarships-heading h1 {
        font-size: 36px;
    }

    .scholarships-heading p {
        font-size: 14px;
    }

    .section-title h2 {
        font-size: 21px;
    }

    .scholarships-grid {
        grid-template-columns: 1fr;
    }

    .scholarship-card {
        padding: 21px;
    }

    .scholarship-card h3 {
        font-size: 18px;
    }

    .scholarship-card p {
        font-size: 13px;
    }
}