/* =========================================================
   NYOSA V2
   HOME PAGE
   index.css
   ========================================================= */


/* =========================================================
   GLOBAL HOME
========================================================= */

.nyosa-home {
    width: 100%;
    overflow-x: hidden;
    background: #ffffff;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    width: 100%;
    overflow: hidden;

    padding: 24px 16px 22px;

    background:
        linear-gradient(
            135deg,
            #eef8ff 0%,
            #e2f4ff 48%,
            #ffffff 100%
        );
}

.hero-content {
    position: relative;

    width: min(1180px, 100%);
    min-height: 335px;

    margin: 0 auto;

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

    gap: 20px;
}


/* =========================================================
   HERO COPY
========================================================= */

.hero-copy {
    position: relative;
    z-index: 5;

    width: 55%;
    max-width: 620px;
}

.hero-eyebrow {
    display: block;

    margin-bottom: 14px;

    color: #12234b;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 3px;
    line-height: 1.4;
}

.hero-copy h1 {
    margin: 0;

    color: #081b48;

    font-size: clamp(44px, 6vw, 76px);
    font-weight: 900;

    line-height: .94;
    letter-spacing: -3px;
}

.hero-copy h1 span {
    position: relative;

    color: #1769e8;
}

.hero-copy h1 span::after {
    content: "";

    position: absolute;

    left: 4%;
    right: -2%;
    bottom: -9px;

    height: 6px;

    background: #f5d328;

    border-radius: 50%;

    transform: rotate(-2deg);
}

.hero-copy p {
    max-width: 540px;

    margin-top: 23px;

    color: #263554;

    font-size: 17px;
    line-height: 1.5;
}


/* =========================================================
   HERO IMAGE
========================================================= */

.hero-image {
    position: absolute;

    top: 0;
    right: -15px;

    width: 54%;
    height: 100%;

    z-index: 1;

    overflow: hidden;

    pointer-events: none;

    -webkit-mask-image:
        linear-gradient(
            to right,
            transparent 0%,
            rgba(0,0,0,.08) 8%,
            rgba(0,0,0,.45) 24%,
            rgba(0,0,0,.9) 42%,
            #000 58%,
            #000 100%
        );

    mask-image:
        linear-gradient(
            to right,
            transparent 0%,
            rgba(0,0,0,.08) 8%,
            rgba(0,0,0,.45) 24%,
            rgba(0,0,0,.9) 42%,
            #000 58%,
            #000 100%
        );
}

.hero-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center top;
}

.hero-image::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            to right,
            #eef8ff 0%,
            rgba(238,248,255,.78) 13%,
            rgba(238,248,255,.05) 52%,
            rgba(238,248,255,0) 100%
        ),

        linear-gradient(
            to bottom,
            transparent 65%,
            rgba(226,244,255,.35) 82%,
            #e2f4ff 100%
        );
}


/* =========================================================
   SEARCH
========================================================= */

.hero-search {
    position: relative;
    z-index: 10;

    width: min(900px, 100%);

    margin:
        -4px auto 0;

    padding: 7px;

    display: flex;
    align-items: center;

    background: #ffffff;

    border: 1px solid #e1e8f1;

    border-radius: 16px;

    box-shadow:
        0 10px 30px rgba(22,65,110,.14);
}

.search-icon {
    width: 48px;

    flex-shrink: 0;

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

    color: #10204c;

    font-size: 25px;
}

.hero-search input {
    flex: 1;

    min-width: 0;

    padding: 14px 8px;

    border: 0;
    outline: 0;

    background: transparent;

    color: #172033;

    font-size: 15px;
}

.hero-search input::placeholder {
    color: #788397;
}

.hero-search button {
    flex-shrink: 0;

    padding: 13px 28px;

    border: 0;
    border-radius: 12px;

    background: #1467e8;

    color: #ffffff;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}

.hero-search button:hover {
    background: #0757d0;
    transform: translateY(-1px);
}


/* =========================================================
   OPPORTUNITY CATEGORIES
========================================================= */

.categories-section {
    width: min(1180px, calc(100% - 32px));

    margin: 20px auto 0;
}

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 13px;
}


/* =========================================================
   CATEGORY CARD
========================================================= */

.category-card {
    position: relative;

    min-height: 155px;

    padding: 17px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #f9fcff,
            #eef6ff
        );

    border: 1px solid #e6edf5;

    border-radius: 16px;

    text-decoration: none;

    box-shadow:
        0 4px 16px rgba(27,55,95,.045);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.category-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(27,55,95,.1);
}


/* =========================================================
   CATEGORY ICON
========================================================= */

.category-icon {
    position: absolute;

    top: 14px;
    left: 16px;

    width: 58px;
    height: 58px;

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

    border-radius: 50%;

    color: #ffffff;

    font-size: 27px;
}


/* CATEGORY COLORS */

.category-card.bursary .category-icon {
    background: #43b86b;
}

.category-card.learnership .category-icon {
    background: #1769e8;
}

.category-card.internship .category-icon {
    background: #7044d6;
}

.category-card.graduate .category-icon {
    background: #ff8a26;
}

.category-card.jobs .category-icon {
    background: #18a9b8;
}

.category-card.course .category-icon {
    background: #ed526b;
}


/* =========================================================
   CATEGORY CONTENT
========================================================= */

.category-content {
    position: relative;
    z-index: 2;

    padding-right: 18px;
}

.category-content h2 {
    margin: 0 0 5px;

    color: #0b1940;

    font-size: 18px;
    font-weight: 900;

    line-height: 1.1;
}

.category-content p {
    margin: 0;

    max-width: 190px;

    color: #3f4b63;

    font-size: 13px;
    line-height: 1.3;
}


/* =========================================================
   CATEGORY ARROW
========================================================= */

.category-arrow {
    position: absolute;

    right: 14px;
    bottom: 17px;

    color: #0c1e48;

    font-size: 25px;
    font-weight: 400;
}


/* =========================================================
   MATRIC BANNER
========================================================= */

.matric-banner {
    position: relative;

    width: min(1180px, calc(100% - 32px));

    min-height: 145px;

    margin: 16px auto;

    padding: 25px 35px;

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

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            #0646b8,
            #176be4 60%,
            #0e58ce
        );

    border-radius: 17px;

    color: #ffffff;

    box-shadow:
        0 8px 25px rgba(20,82,180,.16);
}

.matric-banner::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: 100px;
    top: -190px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.07);
}

.matric-content {
    position: relative;
    z-index: 2;
}

.matric-content span {
    display: block;

    font-size: 18px;
    font-weight: 700;
}

.matric-content strong {
    display: block;

    color: #ffe033;

    font-size: 34px;
    font-weight: 900;

    line-height: 1.05;
}

.matric-content p {
    margin-top: 5px;

    color: rgba(255,255,255,.9);

    font-size: 14px;
}

.matric-badge {
    position: relative;
    z-index: 3;

    padding: 15px 22px;

    background: #ffd72d;

    color: #111827;

    border-radius:
        45% 55% 50% 45%;

    text-align: center;

    transform: rotate(-5deg);

    box-shadow:
        0 5px 12px rgba(0,0,0,.12);
}

.matric-badge strong {
    display: block;

    font-size: 16px;
    line-height: 1.15;
}


/* =========================================================
   PARTNERS
========================================================= */

/* =========================================================
   CVGURU + DAILYCAREERS
========================================================= */

.partner-section {
    width: min(1180px, calc(100% - 32px));

    margin: 20px auto 24px;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 14px;
}

.partner-card {
    min-width: 0;
    min-height: 145px;

    padding: 22px;

    display: flex;
    align-items: center;

    gap: 18px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f5f9ff
        );

    border: 1px solid #dfe7f2;

    border-radius: 18px;

    text-decoration: none;

    box-shadow:
        0 5px 20px rgba(20,50,90,.07);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.partner-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 28px rgba(20,50,90,.12);
}


/* =========================================================
   PARTNER ICON
========================================================= */

.partner-icon {
    width: 68px;
    height: 68px;

    min-width: 68px;

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

    background: #eaf3ff;

    border-radius: 50%;

    color: #1769e8;
}

.partner-icon svg {
    width: 36px;
    height: 36px;

    fill: none;
    stroke: currentColor;

    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   BRAND NAME
========================================================= */

.partner-card h2 {
    margin: 0;

    color: #071a45;

    font-size: 28px;
    font-weight: 900;

    line-height: 1.05;
}

.partner-card h2 span {
    color: #1769e8;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.partner-card p {
    margin: 7px 0 9px;

    color: #59667a;

    font-size: 14px;

    line-height: 1.35;
}


/* =========================================================
   VISIT LINK
========================================================= */

.partner-link {
    display: inline-flex;
    align-items: center;

    gap: 5px;

    color: #1769e8;

    font-size: 13px;
    font-weight: 800;

    text-decoration: none;
}

.partner-link svg {
    width: 17px;
    height: 17px;

    fill: none;
    stroke: currentColor;

    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .partner-section {
        width: calc(100% - 16px);

        margin: 16px auto 22px;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 10px;
    }

    .partner-card {
        min-height: 145px;

        padding: 17px 14px;

        gap: 10px;

        border-radius: 17px;

        align-items: center;
    }

    .partner-icon {
        width: 52px;
        height: 52px;

        min-width: 52px;
    }

    .partner-icon svg {
        width: 29px;
        height: 29px;
    }

    .partner-card h2 {
        font-size: 21px;
    }

    .partner-card p {
        margin: 5px 0 7px;

        font-size: 11.5px;

        line-height: 1.35;
    }

    .partner-link {
        font-size: 11.5px;
    }

    .partner-link svg {
        width: 15px;
        height: 15px;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .partner-section {
        width: calc(100% - 14px);

        gap: 9px;
    }

    .partner-card {
        min-height: 140px;

        padding: 16px 12px;

        gap: 9px;
    }

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

        min-width: 48px;
    }

    .partner-icon svg {
        width: 27px;
        height: 27px;
    }

    .partner-card h2 {
        font-size: 19px;
    }

    .partner-card p {
        font-size: 10.5px;
    }

    .partner-link {
        font-size: 10.5px;
    }
}


/* =========================================================
   LATEST OPPORTUNITIES
   PREMIUM OPPORTUNITY FEED
========================================================= */

.latest-section {
    width: min(980px, calc(100% - 32px));

    margin: 32px auto 55px;
}


/* =========================================================
   SECTION HEADER
========================================================= */

.latest-section .section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 14px;
    padding-bottom: 11px;

    border-bottom: 2px solid #e8edf4;
}

.latest-section .section-heading h2 {
    margin: 0;

    color: #071a45;

    font-size: 28px;
    font-weight: 900;

    line-height: 1.1;

    letter-spacing: -0.8px;
}

.latest-section .section-heading a {
    display: inline-flex;
    align-items: center;

    gap: 5px;

    color: #1769e8;

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;

    white-space: nowrap;
}

.latest-section .section-heading a:hover {
    text-decoration: underline;
}


/* =========================================================
   OPPORTUNITIES LIST
========================================================= */

.opportunities-list {
    display: flex;
    flex-direction: column;

    gap: 12px;
}


/* =========================================================
   OPPORTUNITY CARD
========================================================= */

.opportunity-card {
    position: relative;

    width: 100%;
    min-height: 108px;

    padding: 10px 14px 10px 10px;

    display: flex;
    align-items: center;

    gap: 15px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fbfdff 100%
        );

    border: 1px solid #dfe6ef;

    border-left: 5px solid #1769e8;

    border-radius: 17px;

    text-decoration: none;

    box-shadow:
        0 4px 16px rgba(18,45,85,.055);

    overflow: hidden;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.opportunity-card:hover {
    transform: translateY(-2px);

    border-color: #cdd9e8;

    box-shadow:
        0 10px 26px rgba(18,45,85,.10);
}


/* =========================================================
   IMAGE
========================================================= */

.opportunity-image {
    position: relative;

    width: 125px;
    height: 86px;

    flex: 0 0 125px;

    overflow: hidden;

    background: #edf3f9;

    border-radius: 12px;
}

.opportunity-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .3s ease;
}

.opportunity-card:hover .opportunity-image img {
    transform: scale(1.05);
}


/* =========================================================
   CONTENT
========================================================= */

.opportunity-content {
    flex: 1;

    min-width: 0;

    display: flex;
    flex-direction: column;

    justify-content: center;
}


/* =========================================================
   TYPE BADGE
========================================================= */

.opportunity-type {
    display: inline-flex;
    align-items: center;

    width: fit-content;

    margin-bottom: 6px;

    padding: 5px 11px;

    background: #1769e8;

    border-radius: 999px;

    color: #ffffff;

    font-size: 9px;
    font-weight: 900;

    line-height: 1;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


/* =========================================================
   TITLE
========================================================= */

.opportunity-content h3 {
    display: -webkit-box;

    margin: 0;

    overflow: hidden;

    color: #101c38;

    font-size: 17px;
    font-weight: 850;

    line-height: 1.25;

    letter-spacing: -.2px;

    text-decoration: none;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.opportunity-card:hover .opportunity-content h3 {
    color: #1769e8;
}


/* =========================================================
   DATE
========================================================= */

.opportunity-date {
    display: block;

    margin-top: 7px;

    color: #7a8595;

    font-size: 11px;
    font-weight: 600;

    line-height: 1.2;

    text-decoration: none;
}


/* =========================================================
   EMPTY
========================================================= */

.opportunity-empty {
    width: 100%;

    padding: 40px 20px;

    background: #ffffff;

    border: 1px dashed #d5deea;

    border-radius: 17px;

    color: #7a8594;

    text-align: center;

    font-size: 14px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .latest-section {
        width: calc(100% - 16px);

        margin:
            30px auto
            105px;
    }


    /* HEADER */

    .latest-section .section-heading {
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    .latest-section .section-heading h2 {
        font-size: 25px;

        letter-spacing: -.6px;
    }

    .latest-section .section-heading a {
        font-size: 13px;
    }


    /* LIST */

    .opportunities-list {
        gap: 11px;
    }


    /* CARD */

    .opportunity-card {
        min-height: 116px;

        padding:
            10px
            12px
            10px
            9px;

        gap: 13px;

        border-left-width: 5px;

        border-radius: 17px;
    }


    /* IMAGE */

    .opportunity-image {
        width: 112px;
        height: 88px;

        flex: 0 0 112px;

        border-radius: 12px;
    }


    /* BADGE */

    .opportunity-type {
        margin-bottom: 6px;

        padding: 5px 10px;

        font-size: 8px;

        letter-spacing: 1.4px;
    }


    /* TITLE */

    .opportunity-content h3 {
        font-size: 16px;

        line-height: 1.25;
    }


    /* DATE */

    .opportunity-date {
        margin-top: 7px;

        font-size: 11px;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .latest-section {
        width: calc(100% - 14px);

        margin-top: 28px;
    }

    .latest-section .section-heading h2 {
        font-size: 23px;
    }

    .latest-section .section-heading a {
        font-size: 12px;
    }


    .opportunities-list {
        gap: 10px;
    }


    .opportunity-card {
        min-height: 110px;

        padding:
            9px
            10px
            9px
            8px;

        gap: 11px;

        border-radius: 16px;
    }


    .opportunity-image {
        width: 100px;
        height: 82px;

        flex: 0 0 100px;

        border-radius: 11px;
    }


    .opportunity-type {
        margin-bottom: 5px;

        padding: 5px 9px;

        font-size: 7.5px;

        letter-spacing: 1.3px;
    }


    .opportunity-content h3 {
        font-size: 15px;

        line-height: 1.25;
    }


    .opportunity-date {
        margin-top: 6px;

        font-size: 10px;
    }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .latest-section {
        width: calc(100% - 12px);
    }

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


    .opportunity-card {
        min-height: 103px;

        gap: 9px;
    }


    .opportunity-image {
        width: 88px;
        height: 76px;

        flex: 0 0 88px;
    }


    .opportunity-type {
        padding: 4px 8px;

        font-size: 7px;
    }


    .opportunity-content h3 {
        font-size: 14px;
    }


    .opportunity-date {
        font-size: 9px;
    }
}

/* =========================================================
   CATEGORY SVG ICONS
========================================================= */

.category-icon {
    width: 64px;
    height: 64px;

    min-width: 64px;

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

    border-radius: 50%;
}

.category-icon svg {
    width: 34px;
    height: 34px;

    fill: none;
    stroke: currentColor;

    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   CATEGORY ARROW
========================================================= */

.category-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    flex-shrink: 0;
}

.category-arrow svg {
    width: 23px;
    height: 23px;

    fill: none;
    stroke: currentColor;

    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   SEARCH ICON
========================================================= */

.search-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: #0b1f44;
}

.search-icon svg {
    width: 25px;
    height: 25px;

    fill: none;
    stroke: currentColor;

    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   PARTNER ICON
========================================================= */

.partner-icon {
    width: 58px;
    height: 58px;

    min-width: 58px;

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

    border-radius: 50%;

    background: #eaf3ff;

    color: #1769d1;
}

.partner-icon svg {
    width: 30px;
    height: 30px;

    fill: none;
    stroke: currentColor;

    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 1000px) {

    .hero {
        padding-top: 40px;
    }

    .hero-content {
        min-height: 390px;
    }

    .category-card {
        min-height: 165px;
    }

    .latest-section {
        max-width: 920px;
    }

    .opportunity-card {
        min-height: 96px;
    }

    .opportunity-image {
        width: 112px;
        height: 76px;

        flex-basis: 112px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .hero-content {
        min-height: 330px;
    }

    .hero-copy {
        width: 58%;
    }

    .hero-image {
        width: 57%;
    }

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

    .category-card {
        min-height: 145px;
    }

    .category-content h2 {
        font-size: 16px;
    }

    .category-content p {
        font-size: 11px;
    }
}


/* =========================================================
   MOBILE
========================================================= */
/* =========================================================
   MOBILE — LARGER / MORE READABLE VERSION
========================================================= */

@media (max-width: 700px) {

    /* =====================================================
       HERO
    ===================================================== */

    .hero {
        padding: 18px 10px 16px;
    }

    .hero-content {
        min-height: 390px;
    }

    .hero-copy {
        width: 100%;
        max-width: 350px;
        padding: 18px 8px 0;
    }

    .hero-eyebrow {
        margin-bottom: 12px;
        font-size: 9px;
        letter-spacing: 2.7px;
    }

    .hero-copy h1 {
        font-size: 48px;
        line-height: .95;
        letter-spacing: -2px;
    }

    .hero-copy p {
        max-width: 315px;
        margin-top: 20px;
        font-size: 15px;
        line-height: 1.45;
    }

    .hero-image {
        right: -20px;
        width: 70%;
        height: 100%;
    }


    /* =====================================================
       SEARCH
    ===================================================== */

    .hero-search {
        margin-top: 8px;
        padding: 6px;
        border-radius: 15px;
    }

    .search-icon {
        width: 42px;
        font-size: 23px;
    }

    .hero-search input {
        padding: 12px 5px;
        font-size: 13px;
    }

    .hero-search button {
        padding: 12px 17px;
        font-size: 12px;
        border-radius: 11px;
    }


    /* =====================================================
       CATEGORIES
    ===================================================== */

   /* =====================================================
   CATEGORIES — MOBILE 2 COLUMNS
===================================================== */

.categories-section {
    width: calc(100% - 16px);
    margin: 16px auto 0;
}

.category-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 10px;
}

.category-card {
    position: relative;

    min-height: 190px;

    padding: 15px;

    border-radius: 17px;
}

.category-icon {
    top: 14px;
    left: 14px;

    width: 58px;
    height: 58px;

    font-size: 28px;
}

.category-content {
    padding-right: 22px;
}

.category-content h2 {
    margin-bottom: 7px;

    font-size: 18px;
    line-height: 1.12;
}

.category-content p {
    max-width: 100%;

    font-size: 13px;
    line-height: 1.4;
}

.category-arrow {
    right: 12px;
    bottom: 13px;

    width: 30px;
    height: 30px;

    font-size: 25px;
}

    /* =====================================================
       MATRIC BANNER
    ===================================================== */

    .matric-banner {
        width: calc(100% - 16px);

        min-height: 125px;

        margin: 13px auto 16px;

        padding: 19px 15px;

        border-radius: 15px;
    }

    .matric-content {
        max-width: 65%;
    }

    .matric-content span {
        font-size: 13px;
    }

    .matric-content strong {
        font-size: 27px;
        line-height: 1.05;
    }

    .matric-content p {
        margin-top: 6px;
        font-size: 11px;
    }

    .matric-badge {
        top: 50%;
        right: 9px;

        width: 120px;

        padding: 13px 10px;

        transform:
            translateY(-50%)
            rotate(-5deg);
    }

    .matric-badge strong {
        font-size: 11px;
        line-height: 1.2;
    }


    /* =====================================================
       PARTNERS
    ===================================================== */

    .partner-section {
        width: calc(100% - 16px);

        margin: 12px auto 20px;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 8px;
    }

    .partner-card {
        min-height: 120px;

        padding: 13px 11px;

        gap: 8px;

        border-radius: 14px;
    }

    .partner-icon {
        width: 44px;
        height: 44px;

        flex-basis: 44px;

        font-size: 21px;
    }

    .partner-card h2 {
        font-size: 18px;
        line-height: 1;
    }

    .partner-card p {
        margin: 4px 0 5px;

        font-size: 10.5px;
        line-height: 1.35;
    }

    .partner-link {
        font-size: 10.5px;
    }


    /* =====================================================
       LATEST OPPORTUNITIES
    ===================================================== */

    .latest-section {
        width: calc(100% - 16px);

        margin:
            24px auto
            100px;
    }

    .latest-section .section-heading {
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    .latest-section .section-heading h2 {
        font-size: 22px;
    }

    .latest-section .section-heading a {
        font-size: 13px;
    }


    /* =====================================================
       LATEST OPPORTUNITY CARD
    ===================================================== */

    .opportunities-list {
        gap: 9px;
    }

    .opportunity-card {
        min-height: 100px;

        padding: 8px 9px;

        gap: 10px;

        border-left-width: 4px;

        border-radius: 14px;
    }

    .opportunity-image {
        width: 100px;
        height: 78px;

        flex: 0 0 100px;

        border-radius: 10px;
    }

    .opportunity-type {
        margin-bottom: 5px;

        padding: 5px 9px;

        font-size: 8px;

        letter-spacing: 1px;
    }

    .opportunity-content h3 {
        font-size: 14px;

        line-height: 1.3;

        -webkit-line-clamp: 2;
    }

    .opportunity-date {
        margin-top: 6px;

        font-size: 10px;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .hero {
        padding:
            16px 9px 14px;
    }

    .hero-content {
        min-height: 370px;
    }

    .hero-copy {
        padding:
            16px 7px 0;
    }

    .hero-eyebrow {
        font-size: 8px;
        letter-spacing: 2.4px;
    }

    .hero-copy h1 {
        font-size: 45px;
        letter-spacing: -2px;
    }

    .hero-copy p {
        max-width: 300px;
        font-size: 14px;
    }


    /* SEARCH */

    .hero-search {
        padding: 6px;
    }

    .search-icon {
        width: 39px;
        font-size: 21px;
    }

    .hero-search input {
        font-size: 12px;
    }

    .hero-search button {
        padding:
            11px 15px;

        font-size: 11px;
    }


    /* =====================================================
       CATEGORIES
    ===================================================== */

    /* =====================================================
   CATEGORIES — SMALL PHONES
===================================================== */

.categories-section {
    width: calc(100% - 14px);
    margin: 15px auto 0;
}

.category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.category-card {
    min-height: 180px;

    padding: 14px;

    border-radius: 16px;
}

.category-icon {
    top: 13px;
    left: 13px;

    width: 55px;
    height: 55px;

    font-size: 26px;
}

.category-content {
    padding-right: 20px;
}

.category-content h2 {
    font-size: 17px;
    line-height: 1.12;
}

.category-content p {
    font-size: 12px;
    line-height: 1.4;
}

.category-arrow {
    right: 10px;
    bottom: 11px;

    font-size: 24px;
}


    /* =====================================================
       MATRIC
    ===================================================== */

    .matric-banner {
        width: calc(100% - 14px);

        min-height: 115px;

        padding:
            17px 13px;
    }

    .matric-content {
        max-width: 64%;
    }

    .matric-content span {
        font-size: 11px;
    }

    .matric-content strong {
        font-size: 24px;
    }

    .matric-content p {
        font-size: 9.5px;
    }

    .matric-badge {
        width: 110px;

        padding:
            12px 9px;
    }

    .matric-badge strong {
        font-size: 10px;
    }


    /* =====================================================
       PARTNERS
    ===================================================== */

    .partner-section {
        width: calc(100% - 14px);

        gap: 7px;
    }

    .partner-card {
        min-height: 112px;

        padding:
            12px 10px;
    }

    .partner-icon {
        width: 41px;
        height: 41px;

        flex-basis: 41px;

        font-size: 19px;
    }

    .partner-card h2 {
        font-size: 16px;
    }

    .partner-card p {
        font-size: 9.5px;
    }

    .partner-link {
        font-size: 9.5px;
    }


    /* =====================================================
       LATEST
    ===================================================== */

    .latest-section {
        width: calc(100% - 14px);

        margin-top: 22px;
    }

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

    .latest-section .section-heading a {
        font-size: 12px;
    }

    .opportunity-card {
        min-height: 94px;

        padding:
            7px 8px;

        gap: 9px;
    }

    .opportunity-image {
        width: 92px;
        height: 72px;

        flex-basis: 92px;
    }

    .opportunity-type {
        font-size: 7px;
    }

    .opportunity-content h3 {
        font-size: 13px;
    }

    .opportunity-date {
        font-size: 9px;
    }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .hero-content {
        min-height: 350px;
    }

    .hero-copy h1 {
        font-size: 41px;
    }

    .hero-copy p {
        font-size: 13px;
    }


    .category-card {
    min-height: 170px;
    padding: 13px;
}

.category-icon {
    top: 12px;
    left: 12px;

    width: 51px;
    height: 51px;

    font-size: 24px;
}

.category-content {
    padding-right: 18px;
}

.category-content h2 {
    font-size: 16px;
    line-height: 1.12;
}

.category-content p {
    font-size: 11px;
    line-height: 1.35;
}

.category-arrow {
    right: 9px;
    bottom: 10px;

    font-size: 22px;
}


    .matric-content strong {
        font-size: 21px;
    }

    .matric-badge {
        width: 103px;
    }


    .partner-card {
        min-height: 105px;
    }

    .partner-card h2 {
        font-size: 15px;
    }


    .latest-section .section-heading h2 {
        font-size: 19px;
    }

    .opportunity-card {
        min-height: 88px;
    }

    .opportunity-image {
        width: 84px;
        height: 66px;

        flex-basis: 84px;
    }

    .opportunity-content h3 {
        font-size: 12px;
    }
} 
/* =========================================================
   NYOSA MATCH CTA
========================================================= */

.bursary-match-cta {
    width: min(100%, 900px);
    margin: 28px auto 34px;

    display: flex;
    align-items: center;
    gap: 22px;

    padding: 25px 28px;

    background:
        linear-gradient(
            135deg,
            #eef6ff 0%,
            #ffffff 55%,
            #f4f8ff 100%
        );

    border: 1px solid #cfe0f5;
    border-radius: 22px;

    box-shadow:
        0 8px 25px rgba(26, 95, 180, 0.08);

    position: relative;
    overflow: hidden;
}


/* Decorative glow */

.bursary-match-cta::after {
    content: "";
    position: absolute;

    width: 180px;
    height: 180px;

    right: -70px;
    top: -80px;

    background: rgba(26, 95, 180, 0.08);

    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   ICON
========================================================= */

.match-cta-icon {
    flex: 0 0 62px;

    width: 62px;
    height: 62px;

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

    background: #1a5fb4;

    color: #ffffff;

    border-radius: 18px;

    box-shadow:
        0 7px 18px rgba(26, 95, 180, 0.22);

    position: relative;
    z-index: 1;
}

.match-cta-icon svg {
    width: 32px;
    height: 32px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   CONTENT
========================================================= */

.match-cta-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.match-cta-label {
    display: inline-block;

    margin-bottom: 5px;

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.12em;

    color: #1a5fb4;
}

.match-cta-content h2 {
    margin: 0 0 7px;

    color: #173f70;

    font-size: 1.55rem;
    line-height: 1.2;

    font-weight: 800;
}

.match-cta-content p {
    margin: 0 0 16px;

    max-width: 650px;

    color: #5d6d84;

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


/* =========================================================
   BUTTON
========================================================= */

.match-cta-button {
    display: inline-flex;

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

    gap: 9px;

    padding: 12px 18px;

    background: #1a5fb4;
    color: #ffffff;

    border-radius: 11px;

    text-decoration: none;

    font-size: 0.95rem;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;

    box-shadow:
        0 6px 16px rgba(26, 95, 180, 0.18);
}

.match-cta-button:hover {
    background: #124b91;

    transform: translateY(-2px);

    box-shadow:
        0 9px 20px rgba(26, 95, 180, 0.25);
}

.match-cta-button svg {
    width: 18px;
    height: 18px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .bursary-match-cta {
        margin: 22px 0 28px;

        padding: 22px 19px;

        gap: 16px;

        border-radius: 20px;
    }

    .match-cta-icon {
        flex: 0 0 52px;

        width: 52px;
        height: 52px;

        border-radius: 15px;
    }

    .match-cta-icon svg {
        width: 27px;
        height: 27px;
    }

    .match-cta-content h2 {
        font-size: 1.3rem;
    }

    .match-cta-content p {
        font-size: 0.92rem;

        line-height: 1.5;

        margin-bottom: 14px;
    }

    .match-cta-button {
        width: 100%;

        padding: 13px 16px;

        font-size: 0.94rem;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .bursary-match-cta {
        display: block;

        padding: 20px 17px;
    }

    .match-cta-icon {
        margin-bottom: 14px;
    }

    .match-cta-content h2 {
        font-size: 1.25rem;
    }

    .match-cta-content p {
        font-size: 0.9rem;
    }
}
