/*=========================================================
    SCHOLARSHIPS PAGE
    Aspire OZ Website V2
    Modular — depends on style.css globals
=========================================================*/


/*=========================================================
    VARIABLES
=========================================================*/

:root {
    --sch-primary:    #173F7A;
    --sch-accent:     #F6B019;
    --sch-bg:         #F8FAFC;
    --sch-card:       #FFFFFF;
    --sch-border:     #E5EAF0;
    --sch-text:       #374151;
    --sch-text-light: #6B7280;
    --sch-shadow-sm:  0 8px 28px rgba(23,63,122,.07);
    --sch-shadow-md:  0 20px 52px rgba(23,63,122,.13);
    --sch-radius:     24px;
}


/*=========================================================
    FADE-UP
=========================================================*/

.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
}
.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-up--delay  { transition-delay: .14s; }
.fade-up--delay-2{ transition-delay: .28s; }


/*=========================================================
    HERO
=========================================================*/

.sch-hero {
    position: relative;
    overflow: hidden;
    padding: 38px 0 39px;
    background: #fff;
}

.sch-hero-grid {
    display: grid;
    grid-template-columns: 48% 52%;
    align-items: center;
    gap: 40px;
    min-height: calc(72vh - var(--header-height) - 10px);
}

/* LEFT */

.sch-hero-content {
    max-width: 580px;
}

.sch-hero-content .page-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    background: #F5F7FB;
    color: var(--sch-primary);
    margin-bottom: 18px;
}

.sch-hero-content h1 {
    font-size: clamp(1.8rem, 2.6vw, 3rem);
    line-height: 1.15;
    margin-bottom: 18px;
}

.sch-hero-content .hero-description {
    margin-bottom: 20px;
    max-width: 520px;
}

.sch-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    margin-top: 10px;
}

/* RIGHT */

.sch-hero-image-wrap {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: center;
}

.sch-hero-image-inner {
    position: relative;
    width: 100%;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(23,63,122,.2), 0 8px 24px rgba(0,0,0,.08);
}

.sch-hero-img {
    width: 100%;
    max-height: 72vh;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 8s ease;
}

.sch-hero-image-inner:hover .sch-hero-img {
    transform: scale(1.04);
}

.sch-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(255,255,255,.5) 0%,
        rgba(255,255,255,.12) 38%,
        transparent 65%
    );
    pointer-events: none;
}


/*=========================================================
    SECTION SPACING
=========================================================*/

.sch-types,
.sch-table-section,
.sch-strong,
.sch-before {
    padding: 56px 0;
}

.sch-types     { background: var(--sch-bg); }
.sch-table-section { background: #fff; }
.sch-strong    { background: var(--sch-bg); }
.sch-before    { background: #fff; }

.sch-types .section-heading,
.sch-table-section .section-heading,
.sch-strong .section-heading,
.sch-before .section-heading {
    max-width: 720px;
    margin: 0 auto 44px;
}


/*=========================================================
    SCHOLARSHIP TYPE CARDS
=========================================================*/

.sch-types-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.sch-type-card {
    background: var(--sch-card);
    border: 1px solid var(--sch-border);
    border-radius: var(--sch-radius);
    padding: 36px 40px;
    box-shadow: var(--sch-shadow-sm);
    transition: transform .35s ease, box-shadow .35s ease;
}

.sch-type-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sch-shadow-md);
}

.sch-type-card--navy {
    background: linear-gradient(155deg, #173F7A 0%, #1A4F99 100%);
    border-color: transparent;
    color: #fff;
}

.sch-type-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--sch-border);
}

.sch-type-card--navy .sch-type-header {
    border-bottom-color: rgba(255,255,255,.15);
}

.sch-type-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.sch-type-icon--gold {
    background: linear-gradient(135deg, #E59A17, #F0B235);
    color: #fff;
    box-shadow: 0 8px 20px rgba(229,154,23,.3);
}

.sch-type-icon--navy {
    background: rgba(255,255,255,.15);
    color: var(--sch-accent);
}

.sch-type-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--sch-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.sch-type-card--navy .sch-type-header h3 {
    color: #fff;
}

.sch-pct {
    color: var(--sch-accent);
}

.sch-type-header p {
    font-size: .95rem;
    color: var(--sch-text-light);
    line-height: 1.65;
    margin: 0;
}

.sch-type-card--navy .sch-type-header p {
    color: rgba(255,255,255,.75);
}

/* value label */

.sch-value-label {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--sch-accent);
    margin-bottom: 16px;
}

/* value row */

.sch-value-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.sch-value-row--wide {
    margin-bottom: 24px;
}

.sch-value-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #F5F7FB;
    border-radius: 14px;
    padding: 14px 16px;
}

.sch-type-card--navy .sch-value-item {
    background: rgba(255,255,255,.1);
}

.sch-value-item > i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--sch-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.sch-value-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sch-value-item strong {
    font-size: 1rem;
    font-weight: 700;
    color: var(--sch-primary);
    line-height: 1.2;
}

.sch-type-card--navy .sch-value-item strong {
    color: #fff;
}

.sch-value-item span {
    font-size: .82rem;
    color: var(--sch-text-light);
    line-height: 1.4;
}

.sch-type-card--navy .sch-value-item span {
    color: rgba(255,255,255,.65);
}

/* suitable */

.sch-suitable {
    background: #F5F7FB;
    border-radius: 14px;
    padding: 16px 20px;
}

.sch-suitable-label {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--sch-text-light);
    margin-bottom: 10px;
}

.sch-suitable ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
}

.sch-suitable li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    color: var(--sch-text);
    font-weight: 500;
}

.sch-suitable li i {
    color: var(--sch-accent);
    font-size: .85rem;
    flex-shrink: 0;
}

/* info box */

.sch-info-box {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 14px;
    padding: 16px 20px;
    font-size: .93rem;
    color: rgba(255,255,255,.82);
    line-height: 1.7;
}


/*=========================================================
    UNIVERSITIES TABLE
=========================================================*/

.sch-table-wrap {
    background: var(--sch-card);
    border: 1px solid var(--sch-border);
    border-radius: var(--sch-radius);
    overflow: hidden;
    box-shadow: var(--sch-shadow-sm);
}

.sch-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sch-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.sch-table thead tr {
    background: linear-gradient(135deg, #173F7A, #1E5299);
}

.sch-table thead th {
    padding: 16px 18px;
    text-align: left;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    white-space: nowrap;
}

.sch-table tbody tr {
    border-bottom: 1px solid var(--sch-border);
    transition: background .2s ease;
}

.sch-table tbody tr:last-child {
    border-bottom: none;
}

.sch-table tbody tr:hover {
    background: #F8FAFC;
}

.sch-table tbody td {
    padding: 15px 18px;
    font-size: .93rem;
    color: var(--sch-text);
    vertical-align: middle;
    line-height: 1.5;
}

.sch-table tbody td small {
    display: block;
    font-size: .78rem;
    color: var(--sch-text-light);
    margin-top: 2px;
}

/* university name + logo cell */

.sch-uni-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--sch-primary);
    min-width: 200px;
}

.sch-uni-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 4px;
}

/* rank badge */

.sch-rank {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #EEF3FB;
    color: var(--sch-primary);
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
}

/* value badge */

.sch-value-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: #EEF3FB;
    color: var(--sch-primary);
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
}

.sch-value-badge--gold {
    background: rgba(229,154,23,.12);
    color: #9B6A00;
}

/* table footnote */

.sch-table-note {
    padding: 14px 22px;
    border-top: 1px solid var(--sch-border);
    font-size: .84rem;
    color: var(--sch-text-light);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.6;
    background: #FAFBFD;
}

.sch-table-note i {
    color: var(--sch-accent);
    margin-top: 2px;
    flex-shrink: 0;
}


/*=========================================================
    STRONG APPLICANT GRID
=========================================================*/

.sch-strong-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.sch-strong-card {
    background: var(--sch-card);
    border: 1px solid var(--sch-border);
    border-radius: 20px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: var(--sch-shadow-sm);
    transition: transform .35s ease, box-shadow .35s ease;
}

.sch-strong-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sch-shadow-md);
}

.sch-strong-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(229,154,23,.12), rgba(229,154,23,.06));
    border: 1px solid rgba(229,154,23,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--sch-accent);
    font-size: 1.4rem;
}

.sch-strong-card h4 {
    font-size: .97rem;
    font-weight: 700;
    color: var(--sch-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.sch-strong-card p {
    font-size: .85rem;
    color: var(--sch-text-light);
    line-height: 1.65;
    margin: 0;
}


/*=========================================================
    BEFORE YOU APPLY
=========================================================*/

.sch-before-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    background: var(--sch-card);
    border: 1px solid var(--sch-border);
    border-radius: var(--sch-radius);
    padding: 36px 40px;
    box-shadow: var(--sch-shadow-sm);
}

.sch-before-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.sch-before-item i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(229,154,23,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sch-accent);
    font-size: .95rem;
    flex-shrink: 0;
}

.sch-before-item p {
    font-size: .87rem;
    color: var(--sch-text);
    line-height: 1.6;
    font-weight: 500;
    margin: 0;
}


/*=========================================================
    CTA SECTION
=========================================================*/

.sch-cta {
    padding: 56px 0;
    background: var(--sch-bg);
}

.sch-cta-box {
    background: linear-gradient(135deg, #173F7A 0%, #1E5299 100%);
    border-radius: var(--sch-radius);
    padding: 52px 60px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 48px;
    box-shadow: 0 24px 60px rgba(23,63,122,.25);
    position: relative;
    overflow: hidden;
}

.sch-cta-box::before {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(229,154,23,.1);
    pointer-events: none;
}

.sch-cta-box::after {
    content: '';
    position: absolute;
    top: -40px;
    right: 220px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    pointer-events: none;
}

/* illustration */

.sch-cta-illustration {
    flex-shrink: 0;
}

.sch-cta-icon-wrap {
    position: relative;
    width: 90px;
    height: 90px;
}

.sch-cta-icon-wrap > i {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    background: rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.4rem;
}

.sch-cta-coin {
    position: absolute;
    bottom: -8px;
    right: -10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--sch-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .85rem;
    box-shadow: 0 4px 12px rgba(229,154,23,.5);
}

/* content */

.sch-cta-content h2 {
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.25;
}

.sch-cta-content p {
    font-size: .97rem;
    color: rgba(255,255,255,.75);
    line-height: 1.8;
    margin: 0;
    max-width: 500px;
}

/* buttons */

.sch-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-shrink: 0;
    min-width: 220px;
}

.sch-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    font-size: .97rem;
    font-weight: 600;
    border-radius: 999px;
    white-space: nowrap;
    transition: transform .3s ease, box-shadow .3s ease;
}

.sch-cta-btn:hover {
    transform: translateY(-2px);
}

.sch-cta-btn--wa {
    background: #123D7A !important;
    color: #79FF9D !important;
    border: 2px solid rgba(255,255,255,.45) !important;
}

.sch-cta-btn--wa:hover {
    background: #0A2B57 !important;
    color: #79FF9D !important;
    border-color: rgba(255,255,255,.62) !important;
}

.sch-cta-btn--wa i {
    color: #25D366;
}


/*=========================================================
    RESPONSIVE — TABLET (max 1200px)
=========================================================*/

@media (max-width: 1200px) {

    .sch-strong-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .sch-before-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


/*=========================================================
    RESPONSIVE — TABLET (max 992px)
=========================================================*/

@media (max-width: 992px) {

    .sch-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        min-height: unset;
    }

    .sch-hero-content {
        max-width: 100%;
        text-align: center;
    }

    .sch-hero-content .hero-buttons {
        justify-content: center;
    }

    .sch-types-grid {
        grid-template-columns: 1fr;
    }

    .sch-cta-box {
        grid-template-columns: 1fr;
        padding: 44px 36px;
        gap: 32px;
        text-align: center;
    }

    .sch-cta-illustration {
        display: flex;
        justify-content: center;
    }

    .sch-cta-content p {
        max-width: 100%;
    }

    .sch-cta-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        min-width: unset;
    }

    .sch-cta-btn {
        width: auto;
        min-width: 190px;
    }

    .sch-strong-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sch-before-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/*=========================================================
    RESPONSIVE — MOBILE (max 768px)
=========================================================*/

@media (max-width: 768px) {

    .sch-hero {
        padding: 28px 0 36px;
    }

    .sch-hero-img {
        max-height: 56vw;
    }

    .sch-types,
    .sch-table-section,
    .sch-strong,
    .sch-before,
    .sch-cta {
        padding: 48px 0;
    }

    .sch-type-card {
        padding: 28px 24px;
    }

    .sch-strong-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .sch-before-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 28px 24px;
    }

    .sch-cta-box {
        padding: 36px 24px;
    }

    .sch-cta-buttons {
        flex-direction: column;
    }

    .sch-cta-btn {
        width: 100%;
    }

    .sch-value-row {
        grid-template-columns: 1fr;
    }

    .sch-suitable ul {
        grid-template-columns: 1fr;
    }

}


/*=========================================================
    RESPONSIVE — SMALL MOBILE (max 480px)
=========================================================*/

@media (max-width: 480px) {

    .sch-strong-grid {
        grid-template-columns: 1fr;
    }

    .sch-before-grid {
        grid-template-columns: 1fr;
    }

    .sch-type-header {
        flex-direction: column;
    }

}


/*=========================================================
    ACCESSIBILITY
=========================================================*/

.sch-cta-btn:focus-visible,
.sch-hero-cta:focus-visible {
    outline: 3px solid var(--sch-accent);
    outline-offset: 4px;
}


/*=========================================================
    REDUCED MOTION
=========================================================*/

@media (prefers-reduced-motion: reduce) {

    .fade-up {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .sch-hero-img {
        transition: none;
    }

}
