nav .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    height: 100%;
}

.nav-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2.6rem;
}

@media (max-width:1024px) {

    .nav-links {
        display: none;
    }

    nav .container {
        grid-template-columns: 1fr auto;
    }
}

.scholarships-hero {
    position: relative;

    padding: 130px 0 80px;

    background:
        linear-gradient(180deg,
            #ffffff 0%,
            #f8fbff 100%);

    overflow: hidden;

    border-bottom: 1px solid #eef2f7;
}


.scholarships-hero::before,
.scholarships-hero::after {
    content: "";

    position: absolute;

    border-radius: 60%;

    pointer-events: none;
}

.scholarships-hero::before {
    width: 280px;
    height: 280px;

    top: -120px;
    left: -110px;

    background: rgba(219, 234, 254, 0.45);
}

.scholarships-hero::after {
    width: 210px;
    height: 210px;

    right: -80px;
    bottom: -120px;

    background: rgba(239, 246, 255, 0.9);
}


/* Content */

.scholarships-hero-content {
    position: relative;
    z-index: 2;

    max-width: 760px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 2.2rem;

    text-align: center;
}


/* Small label */
.section-badge.hero {
    transform: translateY(15px);
    font-weight: 600;
}

.section-badge.hero img {
    width: 20px;
}


/* Heading */

.scholarships-hero h1 {
    max-width: 720px;

    margin: 0 auto 0;

    color: var(--heading);

    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;

    letter-spacing: -1.2px;
}

.scholarships-hero h1 span {
    color: var(--primary);
}


/* Paragraph */

.scholarships-hero p {
    max-width: 610px;

    margin: 0 auto;

    color: var(--text-light);

    font-size: 1.03rem;
    font-weight: 500;
    line-height: 1.8;
}


/* Small info row */

.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 26px;
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 500;
}

.hero-meta span:not(.meta-dot) {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #dbeafe;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.hero-meta i {
    color: var(--primary);
    font-size: 0.8rem;
}

.meta-dot {
    width: 4px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 50%;
}

@media (max-width: 1024px) {

    .scholarships-hero {
        min-height: 100svh;

        padding: 120px 0 60px;

        display: flex;
        align-items: center;
    }

    .scholarships-hero .container {
        width: min(900px, 90%);
    }

    .scholarships-hero-content {
        max-width: 700px;

        gap: 2rem;
    }

    .explore-label {
        margin-top: 0;

        padding: 9px 16px;

        font-size: 0.72rem;
        letter-spacing: 1.2px;
    }

    .scholarships-hero h1 {
        max-width: 650px;

        font-size: 2.8rem;
        line-height: 1.15;

        letter-spacing: -0.8px;
    }

    .scholarships-hero p {
        max-width: 570px;

        font-size: 0.98rem;
        line-height: 1.75;
    }

    .hero-meta {
        gap: 16px;

        margin-top: 5px;

        font-size: 0.8rem;
    }

    .scholarships-hero::before {
        width: 230px;
        height: 230px;

        top: -110px;
        left: -85px;
    }

    .scholarships-hero::after {
        width: 190px;
        height: 190px;

        right: -75px;
        bottom: -90px;
    }
}


/* Mobile */

@media (max-width: 768px) {

    .scholarships-hero {
        min-height: 100svh;

        padding: 110px 0 50px;
    }

    .scholarships-hero-content {
        max-width: 560px;

        gap: 1.8rem;
    }

    .explore-label {
        padding: 8px 14px;

        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    .explore-label i {
        font-size: 0.74rem;
    }

    .scholarships-hero h1 {
        max-width: 520px;

        font-size: 2.35rem;
        line-height: 1.15;
    }

    .scholarships-hero p {
        max-width: 500px;

        font-size: 0.94rem;
        line-height: 1.7;
    }

    .hero-meta {
        gap: 12px;

        margin-top: 4px;
    }

    .scholarships-hero::before {
        width: 190px;
        height: 190px;

        top: -60px;
        left: -75px;
    }

    .scholarships-hero::after {
        width: 170px;
        height: 170px;

        right: -70px;
        bottom: -75px;
    }
}


/* Small phones */

@media (max-width: 576px) {

    .scholarships-hero {
        min-height: 100svh;

        padding: 100px 0 45px;
    }

    .scholarships-hero .container {
        width: 90%;
    }

    .scholarships-hero-content {
        width: 100%;

        gap: 1.65rem;
    }

    .explore-label {
        padding: 8px 13px;

        font-size: 0.66rem;
        letter-spacing: 0.9px;
    }

    .explore-label i {
        font-size: 0.7rem;
    }

    .scholarships-hero h1 {
        max-width: 100%;

        font-size: 2rem;
        line-height: 1.15;

        letter-spacing: -0.4px;
    }

    .scholarships-hero p {
        max-width: 440px;

        font-size: 0.9rem;
        line-height: 1.7;
    }

    .hero-meta {
        flex-direction: column;

        gap: 8px;

        margin-top: 3px;

        font-size: 0.77rem;
    }

    .meta-dot {
        display: none;
    }

    .scholarships-hero::before {
        width: 165px;
        height: 165px;

        top: -26px;
        left: -70px;
    }

    .scholarships-hero::after {
        width: 155px;
        height: 155px;

        right: -65px;
        bottom: -60px;
    }
}

.scholarships-section {
    padding: 100px 0 120px;
    background: #f5f8fc;
}

.scholarships-section .container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.scholarships-section .section-heading {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}

.scholarship-search {
    width: min(100%, 760px);
    height: 58px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 auto 22px;
    padding: 0 18px;
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.scholarship-search img {
    width: 19px;
    height: 19px;
    opacity: 0.7;
}

.scholarship-search input {
    width: 100%;
    height: 100%;
    background: transparent;
    color: var(--text);
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 0.92rem;
}

.scholarship-search input::placeholder {
    color: #94a3b8;
}

.filters-panel {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 10px 24px 18px;
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.045);
}

.filter-row {
    display: grid;
    grid-template-columns: 0.125fr 1fr;
    align-items: center;
    gap: 22px;
    padding: 18px 0;
    border-bottom: 1px solid #edf2f7;
}

.filter-name {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 800;
}

.filter-name i {
    width: 18px;
    color: var(--primary);
    font-size: 0.82rem;
    text-align: center;
}

.filter-options {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.filter-chip {
    padding: 8px 16px;
    background: #f8fafc;
    color: #526176;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 550;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.filter-chip.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.16);
}

.filter-chip:active {
    transform: scale(0.97);
}

.filter-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 16px;
}

.filter-bottom>span {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 500;
}

.clear-filters {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    background: transparent;
    color: var(--primary);
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 650;
    cursor: pointer;
    transition: background 0.2s ease;
}

.clear-filters i {
    font-size: 0.72rem;
}

.results-row {
    width: min(100%, 1120px);
    margin: 30px auto 20px;
}

.results-row p {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    background: #eff6ff;
    color: var(--primary);
    border: 1px solid #dbeafe;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.results-row p::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.scholarships-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.no-results {
    display: none;
    max-width: 420px;
    margin: 65px auto 0;
    text-align: center;
}

.no-results-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 50%;
}

.no-results h3 {
    margin-bottom: 7px;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 700;
}

.no-results p {
    color: var(--text-light);
    font-size: 0.88rem;
}

.scholarship-card {
    position: relative;
    min-height: 290px;
    display: flex;
    flex-direction: column;
    padding: 22px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.country-info {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 600;
}

.country-info img {
    width: 28px;
    height: 20px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}

.funding-badge {
    padding: 6px 10px;
    background: #ecfdf5;
    color: #15803d;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 650;
    white-space: nowrap;
}

.funding-badge.partially-funded {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.card-content {
    margin-top: 24px;
}

.card-content h3 {
    color: var(--text);
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.35;
}

.degree-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 17px;
}

.degree-list span {
    padding: 6px 10px;
    background: #eff6ff;
    color: var(--primary);
    border: 1px solid #dbeafe;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 600;
}

.scholarship-type {
    margin-top: 17px;
    color: var(--text-light);
    font-size: 0.82rem;
    line-height: 1.6;
}

.details-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
    color: var(--primary);
    border-top: 1px solid #edf2f7;
    font-size: 0.83rem;
    font-weight: 650;
}

.details-link i {
    font-size: 0.72rem;
    transition: transform 0.2s ease;
}

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

.load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 20px;
    background: #fff;
    color: var(--primary);
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 650;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.load-more-btn i {
    font-size: 0.72rem;
}

@media (hover: hover) and (pointer: fine) {
    .load-more-btn:hover {
        background: #eff6ff;
        border-color: #93c5fd;
        transform: translateY(-1px);
    }

    .scholarship-card:hover {
        transform: translateY(-5px);
        border-color: #bfdbfe;
        box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
    }

    .scholarship-card:hover::before {
        opacity: 1;
    }

    .clear-filters:hover {
        background: #eff6ff;
    }

    .filter-chip:hover {
        background: #eff6ff;
        color: var(--primary);
        border-color: #bfdbfe;
    }

}

@media (max-width: 1024px) {
    .scholarships-section {
        padding: 90px 0 105px;
    }

    .filters-panel {
        width: min(100%, 850px);
    }

    .filter-row {
        grid-template-columns: 110px 1fr;
        gap: 18px;
    }

    .results-row {
        width: min(100%, 850px);
    }

    .scholarships-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .scholarships-section {
        padding: 75px 0 90px;
    }

    .scholarships-section .container {
        width: 90%;
    }

    .scholarships-section .section-heading {
        margin-bottom: 32px;
    }

    .scholarship-search {
        height: 52px;
        margin-bottom: 17px;
        padding: 0 15px;
        border-radius: 13px;
    }

    .scholarship-search input {
        font-size: 0.87rem;
    }

    .filters-panel {
        padding: 4px 17px 15px;
        border-radius: 17px;
    }

    .filter-row {
        grid-template-columns: 1fr;
        gap: 11px;
        padding: 16px 0;
    }

    .filter-options {
        gap: 8px;
    }

    .filter-chip {
        padding: 7px 12px;
        font-size: 0.77rem;
    }

    .filter-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding-top: 14px;
    }

    .clear-filters {
        align-self: flex-end;
    }

    .results-row {
        margin: 25px 0 18px;
    }

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

    .scholarship-card {
        min-height: 270px;
        padding: 20px;
        border-radius: 16px;
    }

    .card-content {
        margin-top: 21px;
    }

    .card-content h3 {
        font-size: 1.15rem;
    }

    .load-more-wrap {
        margin-top: 30px;
    }

    .load-more-btn {
        padding: 11px 17px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .scholarships-section {
        padding: 65px 0 80px;
    }

    .filters-panel {
        padding: 3px 14px 13px;
    }

    .filter-chip {
        padding: 7px 11px;
        font-size: 0.74rem;
    }

    .filter-bottom>span {
        display: none;
    }

    .clear-filters {
        margin-left: auto;
    }

    .scholarship-card {
        min-height: 260px;
        padding: 18px;
    }

    .country-info img {
        width: 26px;
        height: 18px;
    }

    .funding-badge {
        padding: 5px 8px;
        font-size: 0.66rem;
    }

    .degree-list span {
        padding: 5px 9px;
        font-size: 0.69rem;
    }
}

.choose-scholarship {
    padding: 120px 0 115px;
    background: #fff;
}

.choose-scholarship .section-heading {
    max-width: 700px;
    margin: 0 auto 70px;
    text-align: center;
}


.choice-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 31px;
}

.choice-step {
    position: relative;
    min-height: 340px;
    padding: 64px 28px 30px;
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.choice-number {
    position: absolute;
    top: -33px;
    left: 50%;
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ffe0;
    color: var(--primary);
    border: 1px solid #dbeafe;
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: 750;
    transform: translateX(-50%);
    box-shadow: 0 7px 14px rgba(37, 99, 235, 0.08);
}

.choice-icon {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    background: #eff6ff;
    border-radius: 50%;
}

.choice-icon img {
    width: 46px;
    height: 46px;
}

.choice-step h3 {
    margin-bottom: 12px;
    color: var(--heading);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.choice-step p {
    max-width: 300px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.75;
}

@media (hover: hover) and (pointer: fine) {
    .choice-step:hover {
        transform: translateY(-5px);
        border-color: #bfdbfe;
        box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
    }

}

@media (max-width: 1024px) {


    .choose .section-heading {
        max-width: 620px;
        margin-bottom: 55px;
    }

    .choose .section-heading h2 {
        font-size: 1.9rem;
    }

    .choose .section-heading p {
        font-size: 0.92rem;
    }

    .choice-track {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        gap: 45px 24px;
    }

    .choice-step:last-child {
        grid-column: 1 / -1;
        width: 50%;
        justify-self: center;
    }

    .choice-step {
        min-height: 310px;
        padding: 58px 24px 28px;
    }

    .choice-number {
        width: 60px;
        height: 60px;
        top: -30px;
        font-size: 1.25rem;
    }

    .choice-icon {
        width: 80px;
        height: 80px;
    }

    .choice-icon img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {


    .choose-scholarship .section-heading {
        max-width: 520px;
        padding: 0 18px;
        margin: 0 auto 55px;
    }

    .choose-scholarship .section-heading h2 {
        font-size: 1.65rem;
        line-height: 1.25;
        margin-top: 20px;
    }

    .choose-scholarship .section-heading p {
        font-size: 0.88rem;
        line-height: 1.6;
        margin-top: 12px;
    }

    .choose-scholarship .section-badge {
        padding: 8px 14px;
        font-size: 0.78rem;
        gap: 7px;
    }

    .choose-scholarship .section-badge img {
        width: 17px;
        height: 17px;
    }

    .choice-track {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        gap: 48px;
    }

    .choice-step,
    .choice-step:last-child {
        width: 100%;
        grid-column: auto;
    }

    .choice-step {
        min-height: auto;
        padding: 54px 22px 26px;
        border-radius: 17px;
    }

    .choice-number {
        width: 56px;
        height: 56px;
        top: -28px;
        font-size: 1.15rem;
    }

    .choice-icon {
        width: 74px;
        height: 74px;
        margin-bottom: 20px;
    }

    .choice-icon img {
        width: 36px;
        height: 36px;
    }

    .choice-step h3 {
        font-size: 1.05rem;
    }

    .choice-step p {
        font-size: 0.86rem;
        line-height: 1.65;
    }
}

@media (max-width: 576px) {

    .choose-scholarship .section-heading {
        padding: 0 12px;
        margin-bottom: 48px;
    }

    .choose-scholarship .section-heading h2 {
        font-size: 1.45rem;
    }

    .choose-scholarship .section-heading p {
        font-size: 0.82rem;
    }

    .choose-scholarship .section-badge {
        padding: 7px 12px;
        font-size: 0.72rem;
    }

    .choose-scholarship .section-badge img {
        width: 15px;
        height: 15px;
    }

    .choice-track {
        gap: 44px;
    }

    .choice-step {
        padding: 50px 18px 24px;
    }

    .choice-number {
        width: 52px;
        height: 52px;
        top: -26px;
        font-size: 1.05rem;
    }

    .choice-icon {
        width: 68px;
        height: 68px;
    }

    .choice-icon img {
        width: 33px;
        height: 33px;
    }

    .choice-step h3 {
        font-size: 1rem;
    }

    .choice-step p {
        font-size: 0.82rem;
    }
}