/* =========================================================
   SEE ACADEMY
   Global Design System
   ========================================================= */


/* =========================================================
   1. DESIGN VARIABLES
   ========================================================= */

:root {

    /* ---------- Brand Colours ---------- */

    --primary-color: #2c4c6b;
    --secondary-color: #0b6fb0;   /* text, links, buttons: 5.4:1 on white */
    --sky-color: #22a7f0;         /* decoration only (dots, tints, accents): too pale for text */
    --accent-color: #569b69;

    /* ---------- Backgrounds ---------- */

    --background-color: #f5f4f1;
    --surface-color: #ffffff;
    --surface-soft: #f8fafb;

    /* ---------- Text ---------- */

    --text-color: #333333;
    --muted-text: #666666;
    --light-text: #6b6b6b;

    /* ---------- Borders ---------- */

    --border-color: #e2e5e8;
    --border-light: #edf0f2;

    /* ---------- Status Colours ---------- */

    --success-color: #3b7a4e;
    --warning-color: #e0a23b;
    --danger-color: #d9534f;

    /* ---------- Layout ---------- */

    --max-width: 1200px;

    /* ---------- Vertical rhythm ---------- */

    --section-space: clamp(36px, 5.5vw, 56px);
    --section-space-tight: clamp(24px, 4vw, 40px);

    /* ---------- Border Radius ---------- */

    --radius-small: 8px;
    --radius-medium: 12px;
    --radius-large: 18px;

    /* ---------- Shadows ---------- */

    --shadow-soft:
        0 4px 15px rgba(0, 0, 0, 0.08);

    --shadow-medium:
        0 8px 25px rgba(0, 0, 0, 0.10);

    /* ---------- Transitions ---------- */

    --transition: 0.25s ease;
}


/* =========================================================
   2. RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, sans-serif;

    background-color: var(--background-color);
    color: var(--text-color);

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
select,
textarea {
    font: inherit;
}


button {
    cursor: pointer;
}


img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* =========================================================
   3. GENERAL LAYOUT
   ========================================================= */

.container {
    width: min(100% - 32px, var(--max-width));
    margin: 0 auto;
}


main {
    min-height: calc(100vh - 72px);
    position: relative;
    z-index: 1;
}


/* =========================================================
   4. TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-color);
    line-height: 1.2;
}


h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}


h2 {
    font-size: clamp(1.7rem, 4vw, 2.5rem);
}


h3 {
    font-size: 1.35rem;
}


p {
    color: var(--text-color);
}


.text-muted {
    color: var(--muted-text);
}


.text-center {
    text-align: center;
}


/* =========================================================
   5. SECTIONS
   ========================================================= */

.section {
    padding: var(--section-space) 0;
}


.section-small {
    padding: calc(var(--section-space) * 0.65) 0;
}


.section-header {
    max-width: 700px;
    margin: 0 auto var(--section-space-tight);
    text-align: center;
}


.section-header h2 {
    margin-bottom: 12px;
}


.section-header p {
    color: var(--muted-text);
    font-size: 1.05rem;
}


/* =========================================================
   5b. PAGE BANNER
   One banner for every inner page. Replaces the old
   .page-intro, .page-header and .about-hero blocks.

   ARTWORK: export an SVG (or WebP) from Affinity Designer into
   images/banners/ using the file names below, or point
   --banner-art at a new file. Keep each file under ~60 KB so
   pages stay light on mobile data. The art sits on the right on
   wide screens and fades to a faint watermark on phones, so the
   headline is always white text on solid navy.
   ========================================================= */

.page-banner {
    --banner-art: none;

    position: relative;
    isolation: isolate;
    overflow: hidden;

    padding: clamp(28px, 6vw, 56px) 0;

    background-color: var(--primary-color);
    color: #ffffff;
}


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

    position: absolute;
    top: 0;
    bottom: 0;
    right: max(16px, calc((100% - var(--max-width)) / 2));
    z-index: -1;

    width: min(46%, 520px);

    background: var(--banner-art) no-repeat right center / contain;
}


.page-banner h1 {
    max-width: min(640px, 52%);

    margin-bottom: 12px;

    color: #ffffff;

    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.12;
}


.page-banner p {
    max-width: min(600px, 52%);

    color: rgba(255, 255, 255, 0.88);

    font-size: clamp(1rem, 2.4vw, 1.1rem);
    line-height: 1.65;
}


.page-banner p + p {
    margin-top: 8px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 0.9rem;
}


/* No artwork: let the text use the full width */

.page-banner--plain h1,
.page-banner--plain p {
    max-width: 720px;
}


/* Per-page artwork (file names to overwrite from Affinity) */
.page-banner--home  { --banner-art: url("../images/banners/home.webp"); }
.page-banner--papers  { --banner-art: url("../images/banners/past-papers_1.svg"); }
.page-banner--study   { --banner-art: url("../images/banners/study.webp"); }
.page-banner--apps    { --banner-art: url("../images/banners/apps.webp"); }
.page-banner--about   { --banner-art: url("../images/banners/about.webp"); }
.page-banner--private   { --banner-art: url("../images/banners/privacy.webp"); }
.page-banner--contact { --banner-art: url("../images/banners/contact.webp"); }


/* The section right under a banner needs less air than a normal section */

.page-banner + section {
    padding-top: var(--section-space-tight);
}


@media (max-width: 720px) {

    .page-banner h1,
    .page-banner p {
        max-width: none;
    }

    .page-banner::before {
        right: 0;
        width: 100%;

        background-position: right -30px center;

        opacity: 0.12;
    }
}


/* =========================================================
   5c. ICONS
   Inline SVG icons (Lucide-style outlines). They take their
   colour from the surrounding text, so they look the same on
   every phone, unlike emoji.
   ========================================================= */

.icon {
    width: 1.25em;
    height: 1.25em;

    flex-shrink: 0;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.feature-icon,
.category-icon,
.contact-method-icon,
.about-resource-icon,
.benefit-icon,
.opportunity-card-icon,
.empty-state-icon,
.placeholder-icon,
.document-icon {
    color: var(--secondary-color);
}


/* =========================================================
   6. NAVIGATION
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background-color: var(--surface-color);

    border-bottom: 1px solid var(--border-color);
}


.navbar {
    min-height: 72px;

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

    gap: 30px;
}


/* ---------- Logo ---------- */

.logo {
    display: flex;
    align-items: center;

    gap: 10px;

    color: var(--primary-color);

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

    white-space: nowrap;
}


/* ---------- Logo Image Container ---------- */

.logo-image {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    background-color: var(--primary-color);

    border-radius: 50%;

    overflow: hidden;
}


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

    object-fit: contain;

    display: block;
}


.logo-text {
    color: var(--primary-color);
}


/* ---------- Navigation Links ---------- */

.nav-links {
    display: flex;
    align-items: center;

    gap: 6px;

    list-style: none;
}


/* ---------- Dividers Between Nav Items ----------
   Desktop only — a thin vertical line between each item,
   hidden in the mobile drawer (see mobile media queries below). */

.nav-links li {
    position: relative;
}


.nav-links li:not(:last-child)::after {
    content: "";

    position: absolute;
    top: 50%;
    right: -3px;

    width: 1px;
    height: 20px;

    background-color: var(--border-color);

    transform: translateY(-50%);
}


.nav-link {
    display: block;

    padding: 10px 14px;

    color: var(--text-color);

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

    border-radius: var(--radius-small);

    transition:
        background-color var(--transition),
        color var(--transition);
}


.nav-link:hover {
    background-color: #eef5f9;
    color: var(--primary-color);
}


.nav-link.active {
    background-color: rgba(34, 167, 240, 0.12);
    color: var(--primary-color);
    font-weight: 700;
}


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

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    margin-left: auto;

    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);

    background-color: var(--surface-color);
    color: var(--primary-color);

    font-size: 1.2rem;

    cursor: pointer;

    transition:
        background-color var(--transition),
        color var(--transition);
}


.menu-toggle:hover {
    background-color: var(--surface-soft);
}


/* ---------- Overlay ---------- */

.nav-overlay {
    display: none;
}


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

@media (max-width: 768px) {

    /* ---------- Header vs. Page Background ----------
       On small screens the header (--surface-color, pure white)
       and the page background (--background-color, off-white)
       can read as the same tone. Give the page a slightly
       deeper, cooler tint on mobile so the header visibly
       separates from the content below it. */

    body {
        background-color: #eef1f5;
    }

    .site-header {
        background-color: #e5eff9ff;
    }

    .navbar {
        min-height: 64px;
        gap: 15px;
    }


    /* ---------- Menu Button ---------- */

    .menu-toggle {
        display: grid;
        place-items: center;

        flex-shrink: 0;

        margin-left: auto;

        position: relative;
        z-index: 1200;
    }


    /* ---------- Navigation Drawer ---------- */

    .nav-links {

        position: fixed;

        top: 0;
        left: 0;

        width: min(280px, 82vw);

        /*
         * Only the height needed by the links.
         */
        height: auto;

        padding: 78px 20px 20px;

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

        gap: 6px;

        list-style: none;

        background-color: var(--surface-color);

        border-right: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);

        border-bottom-right-radius: 12px;

        box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.08);

        /*
         * Hidden to the left.
         */
        transform: translateX(-105%);

        transition:
            transform 0.3s ease;

        z-index: 1150;

        pointer-events: none;
    }


    /* ---------- Open Drawer ---------- */

    .nav-links.open {
        transform: translateX(0);

        pointer-events: auto;
    }


    /* ---------- No Dividers in Drawer ---------- */

    .nav-links li:not(:last-child)::after {
        display: none;
    }


    /* ---------- Mobile Links ---------- */

    .nav-link {
        width: 100%;

        padding: 13px 15px;

        font-size: 1rem;

        border-radius: var(--radius-small);
    }


    /* ---------- Overlay ---------- */

    .nav-overlay {

        position: fixed;

        top: 0;
        left: 0;

        width: 100%;
        height: 100vh;

        background-color: rgba(0, 0, 0, 0.25);

        opacity: 0;

        pointer-events: none;

        transition:
            opacity 0.3s ease;

        z-index: 1050;
        

        display: block;
    }


    /* ---------- Overlay when menu is open ---------- */

    .nav-overlay.open {

        opacity: 1;

        

        pointer-events: auto;
    }

}


/* =========================================================
   7. BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;

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

    gap: 8px;

    min-height: 44px;

    padding: 10px 20px;

    border: 2px solid transparent;
    border-radius: var(--radius-small);

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

    transition:
        background-color var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}


/* ---------- Primary Button ---------- */

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
}


.btn-primary:hover {
    background-color: var(--primary-color);

    transform: translateY(-2px);

    box-shadow: var(--shadow-soft);
}


/* ---------- Secondary Button ---------- */

.btn-secondary {
    background-color: var(--surface-color);

    color: var(--primary-color);

    border-color: var(--primary-color);
}


.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;

    transform: translateY(-2px);
}


/* ---------- Success Button ---------- */

.btn-success {
    background-color: var(--success-color);
    color: white;
}


.btn-success:hover {
    background-color: #2f6a42;

    transform: translateY(-2px);
}


/* ---------- Small Button ---------- */

.btn-small {
    min-height: 38px;

    padding: 7px 14px;

    font-size: 0.85rem;
}


/* ---------- Full Width Button ---------- */

.btn-full {
    width: 100%;
}


/* =========================================================
   8. CARDS
   ========================================================= */

.card {
    background-color: var(--surface-color);

    border: 1px solid var(--border-color);

    border-radius: var(--radius-medium);

    padding: 24px;

    box-shadow: var(--shadow-soft);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}


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

    box-shadow: var(--shadow-medium);

    border-color: #d4dce2;
}


.card h3 {
    margin-bottom: 10px;
}


.card p {
    color: var(--muted-text);
}


/* ---------- Non-interactive Card ---------- */

.card-static:hover {
    transform: none;
}


/* ---------- Card Grid ---------- */

.card-grid {
    display: grid;

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

    gap: 24px;
}


/* =========================================================
   9. FEATURE CARDS
   ========================================================= */

.feature-card {
    padding: 30px;

    text-align: center;
}


.feature-icon {
    width: 60px;
    height: 60px;

    margin: 0 auto 20px;

    display: grid;
    place-items: center;

    background-color: #eef7fc;

    color: var(--secondary-color);

    border-radius: var(--radius-medium);

    font-size: 1.5rem;
}


.feature-card h3 {
    margin-bottom: 10px;
}


.feature-card p {
    margin-bottom: 20px;
}


/* =========================================================
   10. BADGES / STATUS LABELS
   ========================================================= */

.badge {
    display: inline-flex;

    align-items: center;

    padding: 5px 10px;

    border-radius: 50px;

    font-size: 0.78rem;
    font-weight: 600;
}


/* ---------- Available ---------- */

.badge-success {
    background-color: #eaf5ed;
    color: var(--success-color);
}


/* ---------- Warning ---------- */

.badge-warning {
    background-color: #fff5df;
    color: #9a6a16;
}


/* ---------- Unavailable ---------- */

.badge-danger {
    background-color: #fbeaea;
    color: var(--danger-color);
}


/* ---------- Neutral ---------- */

.badge-neutral {
    background-color: #eef0f2;
    color: var(--muted-text);
}


/* =========================================================
   11. FORM CONTROLS
   ========================================================= */

.form-group {
    margin-bottom: 20px;
}


.form-label {
    display: block;

    margin-bottom: 7px;

    color: var(--primary-color);

    font-size: 0.92rem;
    font-weight: 600;
}


.form-control {
    width: 100%;

    min-height: 46px;

    padding: 10px 13px;

    background-color: var(--surface-color);

    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);

    color: var(--text-color);

    outline: none;

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}


.form-control:focus {
    border-color: var(--secondary-color);

    box-shadow:
        0 0 0 3px rgba(34, 167, 240, 0.12);
}


select.form-control {
    cursor: pointer;
}


/* =========================================================
   12. SEARCH BOX
   ========================================================= */

.search-box {
    position: relative;
}


.search-box input {
    padding-left: 42px;
}


.search-icon {
    position: absolute;

    left: 14px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--muted-text);

    pointer-events: none;
}


/* =========================================================
   13. DIVIDERS
   ========================================================= */

.divider {
    width: 100%;
    height: 1px;

    background-color: var(--border-color);

    margin: 30px 0;
}


/* =========================================================
   14. MODALS
   ========================================================= */

.modal-overlay {
    position: fixed;

    inset: 0;

    z-index: 2000;

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

    padding: 20px;

    background-color: rgba(0, 0, 0, 0.55);
}


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


.modal {
    position: relative;

    width: min(100%, 520px);

    max-height: 90vh;

    overflow-y: auto;

    background-color: var(--surface-color);

    border-radius: var(--radius-large);

    padding: 30px;

    box-shadow: var(--shadow-medium);
}


.modal-close {
    position: absolute;

    top: 15px;
    right: 15px;

    width: 36px;
    height: 36px;

    border: none;
    border-radius: 50%;

    background-color: #f0f2f4;

    color: var(--muted-text);

    font-size: 1.2rem;
}


.modal-close:hover {
    background-color: #e5e8eb;
    color: var(--primary-color);
}


/* =========================================================
   15. EMPTY / UNAVAILABLE STATE
   ========================================================= */

.empty-state {
    padding: 40px 20px;

    text-align: center;

    background-color: var(--surface-color);

    border: 1px dashed var(--border-color);

    border-radius: var(--radius-medium);
}


.empty-state-icon {
    margin-bottom: 12px;

    font-size: 2rem;
}


.empty-state h3 {
    margin-bottom: 8px;
}


.empty-state p {
    color: var(--muted-text);
}


/* =========================================================
   16. FOOTER
   ========================================================= */

.site-footer {
    margin-top: 60px;

    padding: 40px 0 25px;

    background-color: var(--primary-color);

    color: white;
}


.footer-content {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 40px;
}


.footer-brand h2 {
    margin-bottom: 10px;

    color: white;
}


.footer-brand p {
    max-width: 450px;

    color: rgba(255, 255, 255, 0.8);
}


.footer-links h3 {
    margin-bottom: 12px;

    color: white;

    font-size: 1rem;
}


.footer-links ul {
    list-style: none;
}


.footer-links li {
    margin-bottom: 8px;
}


.footer-links a {
    color: rgba(255, 255, 255, 0.8);

    transition: color var(--transition);
}


.footer-links a:hover {
    color: white;
}


.footer-bottom {
    margin-top: 35px;

    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.2);

    text-align: center;

    color: rgba(255, 255, 255, 0.7);

    font-size: 0.9rem;
}


.footer-bottom p {
    color: inherit;
}


/* =========================================================
   17. ACCESSIBILITY / FOCUS
   ========================================================= */

:focus-visible {
    outline: 3px solid rgba(34, 167, 240, 0.45);

    outline-offset: 2px;
}


/* =========================================================
   18. RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 900px) {

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


    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}


@media (max-width: 768px) {

    .container {
        width: min(100% - 24px, var(--max-width));
    }


    /* ---------- Navigation ---------- */

    .navbar {
        min-height: 64px;
    }


    .menu-toggle {
        display: grid;
        place-items: center;
    }


    .nav-links {
        position: absolute;

        top: 64px;
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;
        align-items: stretch;

        gap: 2px;

        padding: 12px;

        background-color: var(--surface-color);

        border-bottom: 1px solid var(--border-color);

        box-shadow: var(--shadow-soft);
    }


    .nav-links.open {
        display: flex;
    }


    .nav-links li:not(:last-child)::after {
        display: none;
    }


    .nav-link {
        width: 100%;

        padding: 12px 14px;
    }


    /* ---------- Sections ---------- */

    /* ---------- Cards ---------- */

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


    /* ---------- Footer ---------- */

    .footer-content {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    /* ---------- Modal ---------- */

    .modal {
        padding: 25px 20px;
    }
}


@media (max-width: 480px) {

    .logo {
        font-size: 1.2rem;
    }


    .logo-mark {
        width: 40px;
        height: 40px;
    }


    .btn {
        width: 100%;
    }


    .btn-small {
        width: auto;
    }


}

/* =========================================================
   LANDING PAGE
   ========================================================= */


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

.hero {
    position: relative;

    overflow: hidden;

    padding: clamp(36px, 7vw, 80px) 0 clamp(32px, 6vw, 64px);

    background-color: var(--surface-color);
}


.hero-content {
    min-height: 480px;

    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;

    gap: 60px;
}


.hero-text {
    max-width: 650px;
}


.section-label {
    display: inline-block;

    margin-bottom: 14px;

    color: var(--secondary-color);

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

    letter-spacing: 1.5px;
}


.hero h1 {
    margin-bottom: 22px;

    color: var(--primary-color);

    font-size: clamp(2.6rem, 6vw, 4.5rem);

    line-height: 1.08;
}


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


.hero-text p {
    max-width: 600px;

    margin-bottom: 30px;

    color: var(--muted-text);

    font-size: 1.1rem;
}


.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}


/* ---------- Hero Visual ---------- */

.hero-visual {
    position: relative;

    min-height: 400px;

    display: grid;
    place-items: center;
}


.hero-logo-circle {
    position: relative;

    z-index: 2;

    width: 270px;
    height: 270px;

    display: grid;
    place-items: center;

    background-color: var(--primary-color);

    border-radius: 50%;

    box-shadow: var(--shadow-medium);
}


.hero-logo-circle img {
    width: 220px;
    height: 220px;

    object-fit: contain;
}


.hero-decoration {
    position: absolute;

    border-radius: 50%;
}


.hero-decoration-one {
    width: 90px;
    height: 90px;

    top: 30px;
    right: 40px;

    background-color: var(--sky-color);

    opacity: 0.85;
}


.hero-decoration-two {
    width: 55px;
    height: 55px;

    bottom: 45px;
    left: 45px;

    background-color: var(--accent-color);

    opacity: 0.85;
}


/* =========================================================
   QUICK ACCESS
   ========================================================= */

.quick-access {
    background-color: var(--background-color);
}


.quick-card {
    display: block;

    text-align: left;

    padding: 30px;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}


.quick-card:hover {
    transform: translateY(-6px);
}


.quick-card .feature-icon {
    margin: 0 0 22px;
}


.quick-card h3 {
    color: var(--primary-color);
}


.quick-card p {
    margin-bottom: 20px;
}


.quick-link {
    color: var(--secondary-color);

    font-size: 0.9rem;
    font-weight: 700;
}


/* =========================================================
   ACADEMY SECTION
   ========================================================= */

.academy-section {
    background-color: var(--surface-color);
}


.academy-content {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    align-items: center;

    gap: 70px;
}


.academy-image {
    display: flex;

    justify-content: center;
}


.academy-logo-card {
    width: 280px;
    height: 280px;

    display: grid;
    place-items: center;

    background-color: var(--primary-color);

    border-radius: var(--radius-large);

    box-shadow: var(--shadow-medium);
}


.academy-logo-card img {
    width: 210px;
    height: 210px;

    object-fit: contain;
}


.academy-text {
    max-width: 650px;
}


.academy-text h2 {
    margin-bottom: 20px;
}


.academy-text p {
    margin-bottom: 15px;

    color: var(--muted-text);
}


.academy-text .btn {
    margin-top: 15px;
}


/* =========================================================
   FEATURED AREAS
   ========================================================= */

.featured-section {
    background-color: var(--background-color);
}


.feature-list {
    max-width: 950px;

    margin: 0 auto;
}


.feature-row {
    display: grid;

    grid-template-columns: 70px 1fr auto;

    align-items: center;

    gap: 25px;

    padding: 25px 0;

    border-bottom: 1px solid var(--border-color);
}


.feature-row:first-child {
    border-top: 1px solid var(--border-color);
}


.feature-row-number {
    color: var(--secondary-color);

    font-size: 0.85rem;
    font-weight: 700;
}


.feature-row-content h3 {
    margin-bottom: 5px;

    color: var(--primary-color);
}


.feature-row-content p {
    color: var(--muted-text);

    font-size: 0.95rem;
}


.feature-row-link {
    color: var(--secondary-color);

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

    white-space: nowrap;
}


.feature-row-link:hover {
    color: var(--primary-color);
}


/* =========================================================
   CALL TO ACTION
   ========================================================= */

.cta-section {
    background-color: var(--surface-color);
}


.cta-card {
    display: flex;

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

    gap: 30px;

    padding: 40px;

    background-color: var(--primary-color);

    border-radius: var(--radius-large);

    box-shadow: var(--shadow-medium);
}


.cta-card h2 {
    margin-bottom: 8px;

    color: white;
}


.cta-card p {
    color: rgba(255, 255, 255, 0.8);
}


.cta-label {
    color: #8ed2f7;
}


.cta-card .btn-primary {
    flex-shrink: 0;

    background-color: #ffffff;
    color: var(--primary-color);
}


.cta-card .btn-primary:hover {
    background-color: #e8f6fd;

    color: var(--primary-color);
}


/* =========================================================
   LANDING PAGE RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .hero-content {
        grid-template-columns: 1fr;

        text-align: center;

        gap: 20px;
        min-height: 0;
    }


    .hero-text {
        max-width: 700px;

        margin: 0 auto;
    }


    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }


    .hero-actions {
        justify-content: center;
    }


    .hero-visual {
        min-height: 250px;
    }


    .hero-logo-circle {
        width: 220px;
        height: 220px;
    }


    .hero-logo-circle img {
        width: 180px;
        height: 180px;
    }


    .academy-content {
        grid-template-columns: 1fr;

        gap: 40px;

        text-align: center;
    }


    .academy-text {
        margin: 0 auto;
    }


    .cta-card {
        flex-direction: column;

        text-align: center;
    }
}


@media (max-width: 600px) {

    .hero h1 {
        font-size: clamp(2.3rem, 12vw, 3.2rem);
    }


    .hero-text p {
        font-size: 1rem;
    }


    .hero-actions {
        flex-direction: column;
    }


    .hero-actions .btn {
        width: 100%;
    }


    /* The logo is already in the header; on phones the space is better spent
       on the buttons. Delete this rule to bring the artwork back. */

    .hero-visual {
        display: none;
    }



    .hero-visual {
        min-height: 260px;
    }


    .hero-logo-circle {
        width: 190px;
        height: 190px;
    }


    .hero-logo-circle img {
        width: 155px;
        height: 155px;
    }


    .hero-decoration-one {
        width: 55px;
        height: 55px;

        top: 20px;
        right: 20px;
    }


    .hero-decoration-two {
        width: 40px;
        height: 40px;

        bottom: 20px;
        left: 20px;
    }


    .academy-logo-card {
        width: 220px;
        height: 220px;
    }


    .academy-logo-card img {
        width: 165px;
        height: 165px;
    }


    .feature-row {
        grid-template-columns: 45px 1fr;

        gap: 15px;
    }


    .feature-row-link {
        grid-column: 2;
    }


    .cta-card {
        padding: 30px 20px;
    }
}

/* =========================================================
   PAST PAPERS - GRADE SELECTOR
   ========================================================= */

.paper-instruction {
    max-width: 720px;

    margin: 0 auto 14px;

    color: var(--primary-color);

    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
}


.grade-selector {
    display: grid;

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

    max-width: 720px;

    margin: 0 auto 35px;

    padding: 5px;

    background-color: #e9edf0;

    border-radius: var(--radius-medium);

    gap: 5px;
}


.grade-button {
    min-height: 50px;

    border: none;

    border-radius: var(--radius-small);

    background-color: transparent;

    color: var(--primary-color);

    font-size: 1rem;
    font-weight: 600;

    transition:
        background-color var(--transition),
        color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}


.grade-button:hover {
    background-color: rgba(255, 255, 255, 0.7);
}


.grade-button.active {
    background-color: var(--primary-color);

    color: white;

    box-shadow: var(--shadow-soft);
}


.grade-button.active:hover {
    background-color: var(--primary-color);

    color: white;

    transform: none;
}

/* =========================================================
   PAST PAPERS - BROWSER
   ========================================================= */

.paper-browser {
    padding: var(--section-space-tight) 0 var(--section-space);
}


.paper-filters {
    display: grid;

    grid-template-columns: 1fr;

    gap: 20px;

    max-width: 420px;

    margin: 0 auto;
}


.selection-message {
    max-width: 850px;

    margin: 10px auto 35px;

    padding: 14px 18px;

    background-color: var(--surface-soft);

    border: 1px solid var(--border-light);

    border-radius: var(--radius-small);

    color: var(--muted-text);

    text-align: center;

    font-size: 0.9rem;
}

/* =========================================================
   PAST PAPERS - YEAR SECTIONS
   ========================================================= */

.paper-results {
    display: flex;

    flex-direction: column;

    gap: 48px;

    margin-top: 10px;
}


.year-section {
    display: flex;

    flex-direction: column;

    gap: 20px;
}


.year-heading {
    display: flex;

    align-items: baseline;

    gap: 14px;

    margin: 0;

    padding-bottom: 12px;

    border-bottom: 2px solid var(--border-color);

    color: var(--primary-color);

    font-size: 1.7rem;
    font-weight: 800;
}


.year-heading::after {
    content: "";

    flex: 1;

    height: 2px;
}


.year-cards {
    display: flex;

    flex-direction: column;

    gap: 32px;
}

/* =========================================================
   PAST PAPERS - TERM CARDS
   ========================================================= */


.term-card {
    padding: 28px;

    background-color: var(--surface-color);

    border: 1px solid var(--border-color);

    border-radius: var(--radius-large);

    box-shadow: var(--shadow-soft);
}


.term-header {
    display: flex;

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

    gap: 20px;

    padding-bottom: 20px;

    margin-bottom: 22px;

    border-bottom: 1px solid var(--border-light);
}


.term-number {
    display: block;

    margin-bottom: 5px;

    color: var(--secondary-color);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 1.2px;
}


.term-header h2 {
    margin: 0;

    font-size: 1.45rem;
}


.province-count {
    padding: 6px 11px;

    background-color: #eef5f9;

    border-radius: 50px;

    color: var(--primary-color);

    font-size: 0.78rem;

    font-weight: 600;

    white-space: nowrap;
}

/* =========================================================
   PAST PAPERS - PROVINCES
   ========================================================= */

.province-grid {
    display: grid;

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

    gap: 12px;
}


@media (max-width: 520px) {

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


.province-button {
    min-width: 0;
    min-height: 52px;

    overflow-wrap: anywhere;

    padding: 10px 12px;

    border: 1px solid var(--border-color);

    border-radius: var(--radius-small);

    background-color: var(--surface-soft);

    color: var(--primary-color);

    font-size: 0.9rem;

    font-weight: 600;

    transition:
        background-color var(--transition),
        border-color var(--transition),
        color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}


.province-button:hover {
    background-color: #eef7fc;

    border-color: var(--secondary-color);

    color: var(--secondary-color);

    transform: translateY(-2px);

    box-shadow: var(--shadow-soft);
}


.province-button:active {
    transform: translateY(0);
}


/* Subject links on the past papers page use the same look as the
   province buttons, so they need to behave like blocks */

a.province-button {
    display: flex;

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

    text-align: center;
    text-decoration: none;

    cursor: pointer;
}

/* =========================================================
   DOCUMENT DOWNLOAD MODAL
   ========================================================= */

.modal-overlay {
    position: fixed;
    inset: 0;

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

    padding: 20px;

    background: rgba(15, 35, 55, 0.55);

    backdrop-filter: blur(5px);

    z-index: 1000;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}


.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   MODAL BOX
   ========================================================= */

.modal-content {
    position: relative;

    width: min(100%, 480px);

    max-height: 90vh;

    overflow-y: auto;

    background: #ffffff;

    border-radius: 18px;

    padding: 30px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.22);

    transform: translateY(20px) scale(0.97);

    transition:
        transform 0.25s ease;
}


.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}


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

.modal-close {
    position: absolute;

    top: 16px;
    right: 16px;

    width: 38px;
    height: 38px;

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

    border: none;

    border-radius: 50%;

    background: #f1f5f8;

    color: #2c4c6b;

    font-size: 22px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.modal-close:hover {
    background: #e3ebf1;

    transform: rotate(90deg);
}


/* =========================================================
   MODAL HEADER
   ========================================================= */

.document-modal-header {
    padding-right: 45px;

    margin-bottom: 24px;
}


.document-modal-header h2 {
    margin: 0 0 8px;

    color: #2c4c6b;

    font-size: 1.45rem;

    line-height: 1.3;
}


.document-modal-header p {
    margin: 0;

    color: #6b7280;

    font-size: 0.92rem;

    line-height: 1.5;
}


/* =========================================================
   DOCUMENT OPTIONS
   ========================================================= */

#documentOptions {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


.document-option {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding: 16px 18px;

    border: 1px solid #e1e8ee;

    border-radius: 12px;

    background: #f8fafc;

    color: #2c4c6b;

    font-size: 0.95rem;

    font-weight: 600;

    text-align: left;

    cursor: pointer;

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


.document-option:hover {
    background: #eef8fe;

    border-color: var(--secondary-color);

    transform: translateY(-2px);

    box-shadow:
        0 5px 15px rgba(34, 167, 240, 0.12);
}


.document-option > span:first-child {
    display: flex;

    align-items: center;

    gap: 12px;
}


.document-option > span:last-child {
    color: var(--secondary-color);

    font-size: 1.2rem;

    transition:
        transform 0.2s ease;
}


.document-option:hover > span:last-child {
    transform: translateX(4px);
}


.document-icon {
    width: 36px;
    height: 36px;

    display: flex;

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

    flex-shrink: 0;

    border-radius: 9px;

    background: #e8f6fd;

    color: var(--secondary-color);

    font-size: 17px;
}


/* =========================================================
   EMPTY / UNAVAILABLE STATE
   ========================================================= */

.empty-state {
    padding: 25px 15px;

    text-align: center;
}


.empty-state-icon {
    width: 56px;
    height: 56px;

    display: flex;

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

    margin: 0 auto 15px;

    border-radius: 50%;

    background: #f1f5f8;

    font-size: 24px;
}


.empty-state h3 {
    margin: 0 0 8px;

    color: #2c4c6b;

    font-size: 1.1rem;
}


.empty-state p {
    max-width: 330px;

    margin: 0 auto;

    color: #6b7280;

    font-size: 0.9rem;

    line-height: 1.55;
}


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

@media (max-width: 600px) {

    .modal-overlay {
        align-items: flex-end;

        padding: 0;
    }


    .modal-content {
        width: 100%;

        max-height: 88vh;

        padding: 25px 20px 22px;

        border-radius: 20px 20px 0 0;

        transform: translateY(100%);
    }


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


    .document-modal-header h2 {
        font-size: 1.25rem;
    }


    .document-option {
        padding: 14px;

        font-size: 0.9rem;
    }

}

/* =========================================================
   STUDY & OPPORTUNITIES
   ========================================================= */


/* ---------------------------------------------------------
   SECTION HEADING
   --------------------------------------------------------- */

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

.section-heading h2 {
    margin: 10px 0 14px;
    font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.section-heading p {
    margin: 0;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   OPPORTUNITY CATEGORIES
   --------------------------------------------------------- */

.opportunity-categories {
    padding: var(--section-space) 0 calc(var(--section-space) * 0.6);
    background: #f5f4f1;
}

.opportunity-category-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 12px;

    max-width: 560px;

    margin: 28px auto 0;
}


/* Category Button (small, horizontal) */

.opportunity-category-card {
    position: relative;
    display: inline-flex;
    align-items: center;

    gap: 10px;

    width: 100%;
    min-height: 58px;
    padding: 12px 20px;

    border: 2px solid rgba(11, 111, 176, 0.35);
    border-radius: 14px;

    background: #ffffff;
    box-shadow: 0 2px 8px rgba(44, 76, 107, 0.1);

    text-align: left;
    cursor: pointer;

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

/* The category cards are links on the study pages */
a.opportunity-category-card {
    text-decoration: none;
    color: inherit;
}

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

    border-color: rgba(34, 167, 240, 0.35);

    box-shadow:
        0 8px 20px rgba(44, 76, 107, 0.10);
}

.opportunity-category-card:focus-visible {
    outline: 3px solid rgba(34, 167, 240, 0.35);
    outline-offset: 3px;
}


/* Active / Selected Category */

.opportunity-category-card.active {
    border-color: var(--secondary-color);

    background: rgba(34, 167, 240, 0.10);

    box-shadow:
        0 8px 20px rgba(44, 76, 107, 0.10);
}

.opportunity-category-card.active .category-icon {
    background: var(--secondary-color);
    color: #ffffff;
}

.opportunity-category-card.active .category-content h3 {
    color: var(--primary-color);
}


/* Category Icon */

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

    width: 32px;
    height: 32px;

    flex-shrink: 0;

    border-radius: 10px;

    background: rgba(34, 167, 240, 0.10);

    font-size: 1.05rem;
}


/* Category Content */

.category-content {
    display: flex;
    align-items: center;
    flex: 1;
}


/* Arrow on the right: tells people this is a button (points down once selected) */

.opportunity-category-card::after {
    content: "→";

    margin-left: auto;

    color: var(--secondary-color);

    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;

    transition: transform 0.2s ease;
}

.opportunity-category-card:hover::after {
    transform: translateX(4px);
}

.opportunity-category-card.active::after {
    content: "↓";
}

.category-content h3 {
    margin: 0;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
}


/* ---------------------------------------------------------
   RESULTS AREA
   --------------------------------------------------------- */

.opportunity-results {
    padding: var(--section-space) 0;
}

.results-placeholder {
    max-width: 650px;
    margin: 0 auto;

    padding: 55px 30px;

    border: 1px dashed rgba(44, 76, 107, 0.20);
    border-radius: 18px;

    text-align: center;
}

.placeholder-icon {
    margin-bottom: 18px;
    font-size: 2.5rem;
}

.results-placeholder h2 {
    margin: 0 0 12px;
    font-size: 1.5rem;
}

.results-placeholder p {
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   RESULTS HEADER
   --------------------------------------------------------- */

.opportunity-results-header {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

.opportunity-results-header h2 {
    margin: 10px 0 12px;
    font-size: 1.9rem;
}

.opportunity-results-header p {
    line-height: 1.7;
    color: var(--muted-text);
}


/* ---------------------------------------------------------
   FILTER AREA
   --------------------------------------------------------- */

.opportunity-filter-area {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    max-width: 900px;
    margin: 0 auto 24px;
    padding: 14px 16px;

    background: var(--surface-color);

    border: 1px solid var(--border-color);
    border-radius: var(--radius-medium);

    box-shadow: var(--shadow-soft);
}

.opportunity-search,
.opportunity-filter {
    display: flex;
    flex-direction: column;
    gap: 4px;

    flex: 1 1 50px;
}

.opportunity-search label,
.opportunity-filter label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

.opportunity-search input,
.opportunity-filter select {
    padding: 8px 12px;

    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);

    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-color);

    background: var(--surface-soft);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
    width: 100%;
    min-width: 0;
}

.opportunity-search input:focus,
.opportunity-filter select:focus {
    outline: none;

    border-color: var(--secondary-color);

    box-shadow: 0 0 0 3px rgba(34, 167, 240, 0.15);
}


/* ---------------------------------------------------------
   CARD GRID
   --------------------------------------------------------- */

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


/* Card */

.opportunity-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 28px;

    background: var(--surface-color);

    border: 1px solid var(--border-color);
    border-radius: var(--radius-medium);

    box-shadow: var(--shadow-soft);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.opportunity-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

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

    width: 52px;
    height: 52px;

    margin-bottom: 16px;

    border-radius: 14px;

    background: rgba(34, 167, 240, 0.10);

    font-size: 1.6rem;
}

.opportunity-card-type {
    display: inline-block;
    margin-bottom: 10px;

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;

    color: var(--secondary-color);
}

.opportunity-card h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    line-height: 1.35;
}

.opportunity-card-location,
.opportunity-card-provider {
    margin-bottom: 12px;

    font-size: 0.88rem;
    color: var(--muted-text);
}

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

    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--muted-text);
}

.opportunity-view-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: auto;
    padding: 10px 18px;

    border: 1px solid var(--primary-color);
    border-radius: var(--radius-small);

    background: transparent;
    color: var(--primary-color);

    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.opportunity-view-button:hover {
    background: var(--primary-color);
    color: #ffffff;
}


/* Study Area Tags */

.study-area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-bottom: 14px;
}

.study-area-tag {
    padding: 5px 12px;

    border-radius: 999px;

    background: rgba(86, 155, 105, 0.12);

    color: var(--success-color);

    font-size: 0.78rem;
    font-weight: 600;
}


/* Empty State */

.opportunity-empty-state {
    grid-column: 1 / -1;

    max-width: 550px;
    margin: 0 auto;
    padding: 50px 30px;

    text-align: center;
}

.opportunity-empty-state .empty-state-icon {
    margin-bottom: 16px;
    font-size: 2.2rem;
}

.opportunity-empty-state h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
}

.opportunity-empty-state p {
    margin: 0;
    color: var(--muted-text);
    line-height: 1.6;
}


.contact-detail {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 8px;

    font-size: 0.92rem;
}

.contact-detail a {
    color: var(--text-color);
}

.contact-detail a:hover {
    color: var(--secondary-color);
}

.modal-application {
    margin-bottom: 20px;
    padding-top: 18px;

    border-top: 1px solid var(--border-light);
}

.modal-application h4 {
    margin: 0 0 10px;

    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;

    color: var(--primary-color);
}

.modal-application p {
    margin: 0 0 16px;
    line-height: 1.6;
    color: var(--muted-text);
}

.modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.modal-information-note {
    padding: 16px 18px;

    background: var(--surface-soft);

    border: 1px solid var(--border-light);
    border-radius: var(--radius-small);

    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--muted-text);
}

.modal-information-note strong {
    color: var(--primary-color);
}


/* ---------------------------------------------------------
   APPLICATION HELP
   --------------------------------------------------------- */

.application-help {
    padding: 75px 0;
    background: #f5f4f1;
}

.application-help-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;

    padding: 45px;

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 10px 30px rgba(44, 76, 107, 0.08);
}

.application-help-content {
    max-width: 650px;
}

.application-help-content h2 {
    margin: 10px 0 14px;
    font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.application-help-content p {
    margin: 0;
    line-height: 1.7;
}


/* Buttons */

.application-help-actions {
    display: flex;
    flex-shrink: 0;
    gap: 12px;
}

.application-help-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 145px;

    padding: 13px 20px;

    border-radius: 9px;

    text-decoration: none;

    font-weight: 600;

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

.application-help-actions .btn:hover {
    transform: translateY(-2px);
}


/* Primary Button */

.application-help-actions .btn-primary {
    background: var(--secondary-color);
    color: #ffffff;
}


/* Secondary Button */

.application-help-actions .btn-secondary {
    border: 1px solid rgba(44, 76, 107, 0.18);
    background: #ffffff;
    color: #2c4c6b;
}



/* ---------------------------------------------------------
   INFORMATION / TRUST NOTICE
   --------------------------------------------------------- */

.information-notice {
    padding: 70px 0 85px;

    background: #f5f4f1;
}

.information-notice-card {
    display: flex;
    align-items: flex-start;
    gap: 25px;

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

    padding: 35px;

    border: 1px solid rgba(44, 76, 107, 0.12);
    border-radius: 18px;

    background: #ffffff;
}

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

    flex-shrink: 0;

    width: 50px;
    height: 50px;

    border-radius: 50%;

    background: rgba(34, 167, 240, 0.10);

    font-size: 1.4rem;
}

.notice-content h2 {
    margin: 0 0 15px;
    font-size: 1.4rem;
}

.notice-content p {
    margin: 0 0 12px;
    line-height: 1.7;
}

.notice-content p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   RESPONSIVE — TABLET
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .more-opportunity-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .opportunity-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .application-help-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .application-help-actions {
        width: 100%;
    }

    .application-help-actions .btn {
        flex: 1;
    }

}


/* ---------------------------------------------------------
   RESPONSIVE — MOBILE
   --------------------------------------------------------- */

@media (max-width: 600px) {

    .opportunity-category-grid {
        flex-direction: column;
        align-items: stretch;
    }


    .opportunity-category-card {
        justify-content: flex-start;
        width: 100%;
        padding: 12px 18px;
    }


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

        font-size: 1rem;
    }


    .results-placeholder {
        padding: 40px 22px;
    }


    .opportunity-filter-area {
        flex-direction: column;
        gap: 10px;
        padding: 12px 14px;
        margin-bottom: 18px;
    }


    .opportunity-card-grid {
        grid-template-columns: 1fr;
    }

    .application-help {
        padding: 60px 0;
    }


    .application-help-card {
        padding: 30px 25px;
    }


    .application-help-actions {
        flex-direction: column;
    }

    .application-help-actions .btn {
        width: 100%;
    }


    .more-opportunities {
        padding: 65px 0;
    }


    .more-opportunity-grid {
        grid-template-columns: 1fr;
    }


    .information-notice {
        padding: 55px 0 65px;
    }


    .information-notice-card {
        flex-direction: column;
        padding: 28px 24px;
    }

}

/* =========================================================
   STUDY & OPPORTUNITIES
   INFORMATION MODAL
   ========================================================= */

/*
   Full-screen modal backdrop
*/
.opportunity-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

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

    padding: 24px;

    background: rgba(20, 35, 50, 0.72);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}


/*
   Modal becomes visible
*/
.opportunity-modal.active {
    opacity: 1;
    visibility: visible;
}


/*
   Main modal box.
   A column flexbox so the header can stay fixed in place
   while the body scrolls independently underneath it
   (like a bottom-sheet / TikTok-comments style panel).
*/
.opportunity-modal-content {
    position: relative;

    display: flex;
    flex-direction: column;

    width: min(760px, 100%);

    max-height: calc(100vh - 48px);

    overflow: hidden;

    background: #ffffff;

    border-radius: 20px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.25);

    transform: translateY(20px) scale(0.98);

    transition:
        transform 0.25s ease;
}


/*
   Modal opening animation
*/
.opportunity-modal.active
.opportunity-modal-content {
    transform: translateY(0) scale(1);
}


/*
   Drag handle — hidden on desktop, shown as a small grabber
   bar above the header once the modal becomes a bottom sheet
   on mobile (see MOBILE MODAL below).
*/
.opportunity-modal-drag-handle {
    display: none;
}


/*
   Fixed header: title + close button.
   This row never scrolls — only .opportunity-modal-body does.
*/
.opportunity-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;

    flex-shrink: 0;

    padding: 30px 34px 0;
}


/*
   Close button
*/
.opportunity-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 42px;
    height: 42px;

    border: none;
    border-radius: 50%;

    background: #f1f5f8;

    color: #52616b;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.opportunity-modal-close:hover {
    background: var(--secondary-color);

    color: #ffffff;

    transform: rotate(90deg);
}


/*
   Scrollable body — everything except the header lives here,
   so long content (campuses, contacts, requirements, etc.)
   scrolls while the title and close button stay put.
*/
.opportunity-modal-body {
    flex: 1;

    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    padding: 18px 34px 34px;
}


/*
   Modal category label
*/
.opportunity-modal-content
.opportunity-card-type {
    display: inline-flex;

    align-items: center;

    padding: 7px 13px;

    margin-bottom: 12px;

    border-radius: 20px;

    background: rgba(34, 167, 240, 0.10);

    color: var(--secondary-color);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.08em;
}


/*
   Institution / bursary name
*/
.opportunity-modal-content h2 {
    flex: 1;
    min-width: 0;

    margin: 0;

    color: #2c4c6b;

    font-size: clamp(
        1.35rem,
        4vw,
        1.85rem
    );

    line-height: 1.25;
}


/*
   Location / provider
*/
.opportunity-modal-content
.opportunity-card-location,
.opportunity-modal-content
.opportunity-card-provider {

    margin-bottom: 24px;

    color: #66727c;

    font-size: 0.95rem;
}


/* =========================================================
   MODAL SECTIONS
   ========================================================= */

.modal-detail-group {
    margin-top: 26px;

    padding-top: 22px;

    border-top: 1px solid #e6edf2;
}


.modal-detail-group h4,
.modal-application h4 {
    margin: 0 0 12px;

    color: #2c4c6b;

    font-size: 1rem;

    font-weight: 700;
}


.modal-detail-group p,
.modal-application p {
    margin: 0;

    color: #5f6b75;

    font-size: 0.95rem;

    line-height: 1.7;
}


/* =========================================================
   CAMPUSES
   ========================================================= */

.campus-group {
    margin-top: 18px;
}


.campus-group h4 {
    margin: 0 0 12px;

    padding-bottom: 8px;

    color: #2c4c6b;

    font-size: 0.95rem;

    border-bottom: 1px solid #edf1f4;
}


.campus-list {
    display: grid;

    gap: 12px;
}


.campus-item {
    padding: 17px 18px;

    background: #f8fafc;

    border: 1px solid #e4ebf0;

    border-radius: 12px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.campus-item:hover {
    border-color: rgba(34, 167, 240, 0.45);

    box-shadow:
        0 5px 18px rgba(44, 76, 107, 0.07);
}


.campus-item strong {
    display: block;

    margin-bottom: 4px;

    color: #2c4c6b;

    font-size: 0.98rem;
}


.campus-item span {
    display: block;

    margin-bottom: 10px;

    color: #5f6b75;

    font-size: 0.85rem;
}


.campus-item a {
    display: inline-block;

    margin: 3px 12px 3px 0;

    color: var(--secondary-color);

    font-size: 0.82rem;

    text-decoration: none;
}


.campus-item a:hover {
    text-decoration: underline;
}


.campus-item p {
    margin-top: 10px;

    color: #66727c;

    font-size: 0.85rem;

    line-height: 1.55;
}


/* =========================================================
   CONTACT DETAILS
   ========================================================= */

.contact-detail {
    display: flex;

    align-items: center;

    gap: 10px;

    margin: 9px 0;

    color: #5f6b75;

    font-size: 0.9rem;
}


.contact-detail a {
    color: var(--secondary-color);

    text-decoration: none;

    word-break: break-word;
}


.contact-detail a:hover {
    text-decoration: underline;
}


/* =========================================================
   APPLICATION FEE
   ========================================================= */

.application-fee-box {
    display: flex;

    flex-direction: column;

    gap: 5px;

    margin-top: 26px;

    padding: 20px;

    border-radius: 14px;

    background: linear-gradient(
        135deg,
        #f0f9ff,
        #f8fcff
    );

    border: 1px solid
        rgba(34, 167, 240, 0.25);
}


.application-fee-box strong {
    color: #2c4c6b;

    font-size: 0.82rem;

    text-transform: uppercase;

    letter-spacing: 0.06em;
}


.application-fee-box span {
    color: var(--secondary-color);

    font-size: 1.7rem;

    font-weight: 800;
}


.application-fee-box small {
    color: #6c7882;

    font-size: 0.8rem;

    line-height: 1.5;
}


/* =========================================================
   BURSARY STUDY AREA TAGS
   ========================================================= */

.study-area-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}


.study-area-tag {
    display: inline-flex;

    align-items: center;

    padding: 6px 10px;

    border-radius: 20px;

    background: #f1f7fb;

    color: #2c4c6b;

    font-size: 0.78rem;

    font-weight: 600;
}


/* =========================================================
   APPLICATION SECTION
   ========================================================= */

.modal-application {
    margin-top: 28px;

    padding-top: 24px;

    border-top: 1px solid #e6edf2;
}


.modal-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 20px;
}


/*
   Make buttons/links inside the modal behave consistently
*/
.modal-actions .btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 46px;

    padding: 11px 18px;

    border-radius: 10px;

    font-size: 0.9rem;

    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

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


.modal-actions .btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 7px 18px rgba(44, 76, 107, 0.14);
}


/*
   Official website button
*/
.modal-actions .btn-primary {
    background: var(--secondary-color);

    color: #ffffff;

    border: 1px solid var(--secondary-color);
}


.modal-actions .btn-primary:hover {
    background: var(--primary-color);

    border-color: var(--primary-color);
}


/*
   Help button
*/
.modal-actions .btn-secondary {
    background: #ffffff;

    color: #2c4c6b;

    border: 1px solid #ccd8e0;
}


.modal-actions .btn-secondary:hover {
    background: #f5f8fa;

    border-color: var(--secondary-color);

    color: var(--secondary-color);
}


/* =========================================================
   BURSARY REQUIREMENTS
   ========================================================= */

.opportunity-requirements {
    margin: 0;

    padding-left: 20px;

    color: #5f6b75;

    font-size: 0.9rem;

    line-height: 1.7;
}


.opportunity-requirements li {
    margin-bottom: 7px;
}


/* =========================================================
   INFORMATION NOTE
   ========================================================= */

.modal-information-note {
    margin-top: 24px;

    padding: 15px 17px;

    border-radius: 10px;

    background: #fff9ed;

    border: 1px solid #f2dfb1;

    color: #75613a;

    font-size: 0.78rem;

    line-height: 1.55;
}


.modal-information-note strong {
    color: #604d27;
}


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

.opportunity-empty-state {
    width: 100%;

    padding: 45px 20px;

    text-align: center;

    background: #ffffff;

    border: 1px dashed #ccd8e0;

    border-radius: 16px;
}


.empty-state-icon {
    margin-bottom: 10px;

    font-size: 2rem;
}


.opportunity-empty-state h3 {
    margin: 0 0 7px;

    color: #2c4c6b;
}


.opportunity-empty-state p {
    margin: 0;

    color: #5f6b75;

    font-size: 0.9rem;
}


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

@media (max-width: 700px) {

    /*
       Anchor the sheet to the bottom of the screen instead
       of centering it, and drop the outer backdrop padding
       so the sheet can go edge-to-edge.
    */
    .opportunity-modal {
        align-items: flex-end;

        padding: 0;
    }


    /*
       The sheet itself: ~90% of the viewport height, square
       bottom corners flush with the screen edge, rounded top
       corners, slides up from off-screen when opened.
    */
    .opportunity-modal-content {
        width: 100%;

        height: 90vh;
        max-height: 90vh;

        border-radius: 20px 20px 0 0;

        transform: translateY(100%);
    }

    .opportunity-modal.active .opportunity-modal-content {
        transform: translateY(0);
    }


    /*
       TikTok-style grabber bar at the top of the sheet
    */
    .opportunity-modal-drag-handle {
        display: block;

        flex-shrink: 0;

        width: 42px;
        height: 5px;

        margin: 12px auto 0;

        border-radius: 3px;

        background: #d7dee3;
    }


    .opportunity-modal-header {
        padding: 14px 22px 0;
    }


    .opportunity-modal-close {
        width: 36px;
        height: 36px;

        font-size: 22px;
    }


    .opportunity-modal-content h2 {
        font-size: 1.3rem;
    }


    .opportunity-modal-body {
        padding: 14px 22px 28px;
    }


    .campus-item {
        padding: 15px;
    }


    .modal-actions {
        flex-direction: column;
    }


    .modal-actions .btn {
        width: 100%;
    }

}


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

@media (max-width: 420px) {

    .opportunity-modal-header {
        padding: 12px 18px 0;
    }


    .opportunity-modal-body {
        padding: 12px 18px 24px;
    }


    .opportunity-modal-content h2 {
        font-size: 1.2rem;
    }


    .application-fee-box {
        padding: 16px;
    }

}

/* =========================================================
   SEE ACADEMY APPS PAGE
   ========================================================= */


.apps-intro .section-label {
    display: inline-block;
    margin-bottom: 12px;

    color: var(--secondary-color);

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

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* =========================================================
   APPS SECTION
   ========================================================= */

.apps-section {
    padding: 0 0 var(--section-space);
}

.apps-intro {
    max-width: 720px;

    margin: 0 auto 42px;

    text-align: center;
}

.apps-intro h2 {
    margin: 0 0 14px;

    color: #2c4c6b;

    font-size: clamp(1.6rem, 4vw, 2.25rem);
    line-height: 1.25;
}

.apps-intro p {
    margin: 0;

    color: #666666;

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


/* =========================================================
   APP GRID
   ========================================================= */

.apps-grid {
    display: grid;

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

    gap: 26px;

    max-width: 1050px;

    margin: 0 auto;
}


/* =========================================================
   APP CARD
   ========================================================= */

.app-card {
    position: relative;

    display: flex;

    gap: 22px;

    padding: 25px;

    background: #ffffff;

    border: 1px solid #e3e9ee;

    border-radius: 18px;

    box-shadow:
        0 6px 22px rgba(44, 76, 107, 0.06);

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

.app-card:hover {
    transform: translateY(-4px);

    border-color: rgba(34, 167, 240, 0.35);

    box-shadow:
        0 14px 35px rgba(44, 76, 107, 0.11);
}


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

.app-card-icon {
    flex: 0 0 92px;

    width: 92px;
    height: 92px;

    overflow: hidden;

    border-radius: 20px;

    background: #f3f6f8;

    box-shadow:
        0 5px 15px rgba(44, 76, 107, 0.10);
}

.app-card-icon img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


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

.app-card-content {
    flex: 1;

    min-width: 0;

    display: flex;

    flex-direction: column;
}

.app-subject {
    display: block;

    margin-bottom: 7px;

    color: var(--secondary-color);

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

    letter-spacing: 0.08em;
}

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

    color: #2c4c6b;

    font-size: 1.25rem;
    line-height: 1.3;
}

.app-card p {
    margin: 0 0 18px;

    color: #666666;

    font-size: 0.88rem;

    line-height: 1.65;
}


/* =========================================================
   FEATURE BADGES
   ========================================================= */

.app-features {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 20px;
}

.app-features span {
    display: inline-flex;

    align-items: center;

    padding: 6px 9px;

    border-radius: 20px;

    background: #f1f7fb;

    color: #2c4c6b;

    font-size: 0.7rem;
    font-weight: 700;
}


/* =========================================================
   GOOGLE PLAY BUTTON
   ========================================================= */

.app-download-button {
    display: inline-flex;

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

    gap: 9px;

    width: fit-content;

    min-height: 42px;

    margin-top: auto;

    padding: 10px 16px;

    border: 1px solid var(--secondary-color);

    border-radius: 9px;

    background: var(--secondary-color);

    color: #ffffff;

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

    text-decoration: none;

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

.app-download-button span {
    font-size: 1rem;

    transition:
        transform 0.2s ease;
}

.app-download-button:hover {
    background: var(--primary-color);

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 7px 18px rgba(34, 167, 240, 0.22);
}

.app-download-button:hover span {
    transform: translateX(3px);
}


/* =========================================================
   FEATURED APP
   ========================================================= */

.app-card-featured {
    border-color: rgba(34, 167, 240, 0.45);

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f8fcff 100%
        );
}

.featured-badge {
    position: absolute;

    top: 14px;
    right: 14px;

    padding: 5px 9px;

    border-radius: 20px;

    background: var(--secondary-color);

    color: #ffffff;

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

    letter-spacing: 0.07em;
}


/* =========================================================
   PRICE
   ========================================================= */

.app-price {
    display: flex;

    align-items: baseline;

    gap: 7px;

    margin: 0 0 17px;

    color: #2c4c6b;

    font-size: 1.25rem;
    font-weight: 800;
}

.app-price small {
    color: #5f6b75;

    font-size: 0.72rem;
    font-weight: 500;
}


/* =========================================================
   BENEFITS SECTION
   ========================================================= */

.apps-benefits {
    padding: 80px 0;

    background: #f5f7f9;
}

.benefits-grid {
    display: grid;

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

    gap: 18px;

    max-width: 1050px;

    margin: 0 auto;
}

.benefit-card {
    padding: 25px 20px;

    text-align: center;

    background: #ffffff;

    border: 1px solid #e3e9ee;

    border-radius: 15px;

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

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

    box-shadow:
        0 10px 25px rgba(44, 76, 107, 0.08);
}

.benefit-icon {
    display: flex;

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

    width: 48px;
    height: 48px;

    margin: 0 auto 15px;

    border-radius: 14px;

    background: #eef8fd;

    font-size: 1.35rem;
}

.benefit-card h3 {
    margin: 0 0 9px;

    color: #2c4c6b;

    font-size: 1rem;
}

.benefit-card p {
    margin: 0;

    color: #687580;

    font-size: 0.82rem;

    line-height: 1.6;
}


/* =========================================================
   FINAL GOOGLE PLAY CTA
   ========================================================= */

.apps-final-cta {
    padding: var(--section-space) 0;

    text-align: center;
}

.apps-final-cta-content {
    max-width: 680px;

    margin: 0 auto;
}

.apps-final-cta h2 {
    margin: 0 0 14px;

    color: #2c4c6b;

    font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.apps-final-cta p {
    max-width: 600px;

    margin: 0 auto 25px;

    color: #666666;

    font-size: 0.95rem;

    line-height: 1.7;
}

.apps-play-button {
    display: inline-flex;

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

    gap: 10px;

    min-height: 48px;

    padding: 12px 21px;

    border-radius: 10px;

    background: var(--secondary-color);

    color: #ffffff;

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

    text-decoration: none;

    box-shadow:
        0 7px 20px rgba(34, 167, 240, 0.18);

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

.apps-play-button span {
    font-size: 1.1rem;

    transition:
        transform 0.2s ease;
}

.apps-play-button:hover {
    background: var(--primary-color);

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(34, 167, 240, 0.25);
}

.apps-play-button:hover span {
    transform: translateX(3px);
}


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

@media (max-width: 900px) {

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

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

}


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

@media (max-width: 600px) {

.apps-intro {
        margin-bottom: 30px;
    }

    .app-card {
        flex-direction: column;

        gap: 18px;

        padding: 20px;
    }

    .app-card-icon {
        width: 82px;
        height: 82px;

        flex-basis: 82px;

        border-radius: 18px;
    }

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

    .app-card p {
        font-size: 0.85rem;
    }

    .featured-badge {
        top: 14px;
        right: 14px;
    }

    .app-download-button {
        width: 100%;
    }

    .apps-benefits {
        padding: 60px 0;
    }

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

.apps-play-button {
        width: 100%;
    }

}


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

@media (max-width: 400px) {

    .app-card {
        padding: 17px;
    }

    .app-features {
        gap: 5px;
    }

    .app-features span {
        font-size: 0.65rem;
    }

}

/* =========================================================
   ABOUT PAGE
   ========================================================= */


.about-section .section-label,
.about-feature .section-label,
.about-heading .section-label,
.about-cta-content .section-label,
.about-contact-content .section-label {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--secondary-color);

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

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* =========================================================
   GENERAL ABOUT SECTION
   ========================================================= */

.about-section {
    padding: var(--section-space) 0;
}

.about-narrow {
    max-width: 760px;

    margin: 0 auto;
}

.about-section h2 {
    margin: 0 0 20px;

    color: #2c4c6b;

    font-size: clamp(1.7rem, 4vw, 2.35rem);
    line-height: 1.3;
}

.about-section p {
    margin: 0 0 17px;

    color: #666666;

    font-size: 0.96rem;
    line-height: 1.8;
}

.about-section p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   ACCESSIBILITY SECTION
   ========================================================= */

.about-access-section {
    padding: 3px 0;

    background: #f5f7f9;
}

.about-feature {
    display: grid;

    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(260px, 0.8fr);

    gap: 45px;

    align-items: center;

    max-width: 1050px;

    margin: 0 auto;
}

.about-feature-content h2 {
    margin: 0 0 20px;

    color: #2c4c6b;

    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.25;
}

.about-feature-content p {
    margin: 0 0 16px;

    color: #666666;

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

.about-feature-content p:last-child {
    margin-bottom: 0;
}


/* Highlight box */

.about-feature-highlight {
    padding: 32px 28px;

    border: 1px solid rgba(34, 167, 240, 0.25);

    border-radius: 20px;

    background: #ffffff;

    text-align: center;

    box-shadow:
        0 10px 30px rgba(44, 76, 107, 0.07);
}

.access-number {
    margin-bottom: 12px;

    color: var(--secondary-color);

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

    line-height: 1.1;
}

.about-feature-highlight p {
    margin: 0;

    color: #666666;

    font-size: 0.88rem;
    line-height: 1.65;
}


/* =========================================================
   RESOURCES SECTION
   ========================================================= */

.about-resources-section {
    padding: var(--section-space) 0;
}

.about-heading {
    max-width: 720px;

    margin: 0 auto 42px;

    text-align: center;
}

.about-heading h2 {
    margin: 0 0 15px;

    color: #2c4c6b;

    font-size: clamp(1.8rem, 4vw, 2.4rem);
    line-height: 1.3;
}

.about-heading p {
    margin: 0;

    color: #666666;

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


/* Resource cards */

.about-resource-grid {
    display: grid;

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

    gap: 18px;

    max-width: 1100px;

    margin: 0 auto;
}

.about-resource-card {
    display: flex;

    flex-direction: column;

    padding: 25px 21px;

    border: 1px solid #e3e9ee;

    border-radius: 17px;

    background: #ffffff;

    color: inherit;

    text-decoration: none;

    box-shadow:
        0 5px 20px rgba(44, 76, 107, 0.045);

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

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

    border-color: rgba(34, 167, 240, 0.35);

    box-shadow:
        0 14px 32px rgba(44, 76, 107, 0.10);
}

.about-resource-icon {
    display: flex;

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

    width: 50px;
    height: 50px;

    margin-bottom: 18px;

    border-radius: 14px;

    background: #eef8fd;

    font-size: 1.35rem;
}

.about-resource-card h3 {
    margin: 0 0 10px;

    color: #2c4c6b;

    font-size: 1.05rem;
    line-height: 1.35;
}

.about-resource-card p {
    margin: 0 0 20px;

    color: #666666;

    font-size: 0.82rem;
    line-height: 1.65;
}

.about-resource-card span {
    margin-top: auto;

    color: var(--secondary-color);

    font-size: 0.78rem;
    font-weight: 800;
}

.about-resource-card:hover span {
    text-decoration: underline;
}


/* =========================================================
   OUR APPROACH
   ========================================================= */

.about-approach-section {
    padding: var(--section-space) 0;

    background: #f5f7f9;
}

.approach-grid {
    display: grid;

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

    gap: 22px;

    max-width: 950px;

    margin: 0 auto;
}

.approach-card {
    padding: 28px 25px;

    border: 1px solid #e3e9ee;

    border-radius: 17px;

    background: #ffffff;

    box-shadow:
        0 5px 20px rgba(44, 76, 107, 0.045);
}

.approach-number {
    margin-bottom: 17px;

    color: var(--secondary-color);

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

    letter-spacing: 0.08em;
}

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

    color: #2c4c6b;

    font-size: 1.15rem;
}

.approach-card p {
    margin: 0;

    color: #666666;

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


/* =========================================================
   IMPORTANT NOTICE
   ========================================================= */

.about-notice-section {
    padding: var(--section-space) 0;
}

.about-notice {
    display: flex;

    gap: 22px;

    max-width: 950px;

    margin: 0 auto;

    padding: 30px;

    border: 1px solid #dce7ee;

    border-left: 5px solid var(--sky-color);

    border-radius: 15px;

    background: #f8fbfd;
}

.about-notice-icon {
    flex: 0 0 42px;

    display: flex;

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

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: var(--secondary-color);

    color: #ffffff;

    font-size: 1.2rem;
    font-weight: 800;
}

.about-notice h2 {
    margin: 0 0 14px;

    color: #2c4c6b;

    font-size: 1.35rem;
}

.about-notice p {
    margin: 0 0 12px;

    color: #666666;

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

.about-notice p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   APPS CTA
   ========================================================= */

.about-apps-cta {
    padding: var(--section-space) 0;

    background: #2c4c6b;

    text-align: center;
}

.about-cta-content {
    max-width: 700px;

    margin: 0 auto;
}

.about-cta-content .section-label {
    color: #8ed2f7;
}

.about-cta-content h2 {
    margin: 0 0 15px;

    color: #ffffff;

    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.3;
}

.about-cta-content p {
    max-width: 600px;

    margin: 0 auto 27px;

    color: rgba(255, 255, 255, 0.78);

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

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

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

    gap: 9px;

    min-height: 47px;

    padding: 12px 20px;

    border-radius: 9px;

    background: #ffffff;

    color: var(--primary-color);

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

    text-decoration: none;

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

.about-cta-button span {
    transition:
        transform 0.2s ease;
}

.about-cta-button:hover {
    background: #e8f6fd;

    color: var(--primary-color);

    transform: translateY(-2px);

    box-shadow:
        0 9px 22px rgba(0, 0, 0, 0.18);
}

.about-cta-button:hover span {
    transform: translateX(3px);
}


/* =========================================================
   CONTACT SECTION
   ========================================================= */

.about-contact-section {
    padding: var(--section-space) 0;
}

.about-contact {
    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(300px, 0.8fr);

    gap: 50px;

    align-items: center;

    max-width: 1000px;

    margin: 0 auto;
}

.about-contact-content h2 {
    margin: 0 0 15px;

    color: #2c4c6b;

    font-size: clamp(1.7rem, 4vw, 2.3rem);
    line-height: 1.3;
}

.about-contact-content p {
    max-width: 600px;

    margin: 0;

    color: #666666;

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


/* Contact methods */

.contact-methods {
    display: flex;

    flex-direction: column;

    gap: 13px;
}

.contact-method {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 17px;

    border: 1px solid #e1e8ed;

    border-radius: 12px;

    background: #ffffff;

    color: inherit;

    text-decoration: none;

    box-shadow:
        0 5px 18px rgba(44, 76, 107, 0.045);

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

.contact-method:hover {
    transform: translateY(-2px);

    border-color: rgba(34, 167, 240, 0.4);

    box-shadow:
        0 9px 24px rgba(44, 76, 107, 0.08);
}

.contact-method-icon {
    display: flex;

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

    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    border-radius: 11px;

    background: #eef8fd;

    font-size: 1.1rem;
}

.contact-method strong {
    display: block;

    margin-bottom: 3px;

    color: #2c4c6b;

    font-size: 0.84rem;
}

.contact-method small {
    display: block;

    color: #666666;

    font-size: 0.78rem;
}


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

@media (max-width: 950px) {

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

    .about-feature {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .about-feature-highlight {
        max-width: 500px;

        margin: 0 auto;
    }

    .about-contact {
        grid-template-columns: 1fr;

        gap: 35px;
    }

}


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

@media (max-width: 650px) {

.about-feature-content h2,
    .about-section h2 {
        font-size: 1.7rem;
    }

.about-resource-grid {
        grid-template-columns: 1fr;
    }

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

.about-notice {
        flex-direction: column;

        gap: 16px;

        padding: 23px;

        border-left: 1px solid #dce7ee;
        border-top: 4px solid var(--sky-color);
    }

    .about-notice-icon {
        width: 38px;
        height: 38px;

        flex-basis: 38px;
    }

}


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

@media (max-width: 400px) {

.about-resource-card {
        padding: 21px 18px;
    }

    .approach-card {
        padding: 23px 20px;
    }

    .about-notice {
        padding: 20px;
    }

    .about-cta-button {
        width: 100%;
    }

}

/* =========================================================
   MODAL SHORT NAME
   ========================================================= */

.modal-short-name {
    margin-top: 4px;
    margin-bottom: 10px;

    width: fit-content;
    padding: 7px;
    margin: auto;

    display: flex;

    justify-content: center;

    background: #f1f5f8;

    color: var(--secondary-color);
    border-radius: 20px;

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

    letter-spacing: 0.08em;
}

/* =========================================================
   PRIVACY POLICY / INFORMATION PAGES (text layout; banner is .page-banner)
   ========================================================= */

.content-narrow {
    max-width: 850px;
    margin: 0 auto;
}

.content-block {
    margin-bottom: 45px;
}

.content-block h2 {
    margin-bottom: 15px;
}

.content-block h3 {
    margin-top: 25px;
    margin-bottom: 10px;
}

.content-block p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-block ul {
    margin: 10px 0 20px 25px;
}

.content-block li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.content-block a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(320px, 1.1fr);

    gap: 55px;

    align-items: start;

    max-width: 1000px;

    margin: 0 auto;
}

.contact-intro {
    position: sticky;
    top: 100px;
}

.contact-intro h2 {
    margin: 12px 0 15px;
}

.contact-intro p {
    max-width: 420px;
    line-height: 1.8;
}

/* Contact method cards (icon + label) reuse the same visual
   language as the site's other contact cards, but the icon
   slot here holds a real image instead of a text glyph. */

.contact-methods .contact-method-icon {
    padding: 8px;
}

.contact-methods .contact-method-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-method-icon-text {
    font-size: 1.3rem;
}

.contact-method-static {
    cursor: default;
}

.contact-method-static:hover {
    transform: none;
    border-color: #e1e8ed;
    box-shadow:
        0 5px 18px rgba(44, 76, 107, 0.045);
}


/* =========================================================
   SOCIAL & CONTACT ICON BAR
   (shared block, placed just above the footer on every page)
   ========================================================= */

.social-bar {

    width: fit-content;

    border-radius: 12px;

    padding: 10px 0;

    background-color: var(--surface-soft);

    border-top: 1px solid var(--border-color);

    margin: 0 auto;
}

.social-icons {
    display: flex;

    flex-wrap: nowrap;

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

    flex-wrap: wrap;

    gap: 22px;
}

.social-icon-link {
    display: flex;

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

    width: 52px;
    height: 52px;

    padding: 12px;

    border-radius: 50%;

    background-color: var(--surface-color);

    box-shadow: var(--shadow-soft);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.social-icon-link img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.social-icon-link:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow-medium);
}


/* =========================================================
   CONTACT PAGE / SOCIAL BAR - RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .contact-intro {
        position: static;
    }

    .contact-intro p {
        max-width: none;
    }
}

@media (max-width: 480px) {

    .social-bar {
        padding: 30px 0;
    }

    .social-icons {
        gap: 14px;
    }

    .social-icon-link {
        width: 46px;
        height: 46px;

        padding: 10px;
    }
}