/* ============================================================
   app.css  –  replaces Tailwind CDN
   ============================================================ */

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #fff;
    color: #111827;
    line-height: 1.5;
}

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

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

ul {
    list-style: none;
}

/* ---------- Brand tokens ---------- */
:root {
    --purple: #0B1F4B;
    --purple-dark: #062f99;
    --purple-800: #315299;
    /* approx purple-800 used in footer */
    --orange: #2F6BFF;
    --orange-light: #87a7f8;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

/* ---------- Utility helpers ---------- */
.container {
    max-width: 80rem;
    /* max-w-7xl */
    margin-inline: auto;
    padding-inline: 1rem;
}

@media (min-width: 640px) {
    .container {
        padding-inline: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-inline: 2rem;
    }
}

.container-6xl {
    max-width: 72rem;
    /* max-w-6xl */
    margin-inline: auto;
    padding-inline: 1rem;
}

@media (min-width: 640px) {
    .container-6xl {
        padding-inline: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container-6xl {
        padding-inline: 2rem;
    }
}

/* ---------- Buttons ---------- */
.btn-orange {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--orange);
    color: #fff;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background .2s;
    text-decoration: none;
}

.btn-orange:hover {
    background: var(--orange-light);
}

/* ---------- Tiles (discover section) ---------- */
.tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    border: 2px solid var(--gray-300);
    text-align: center;
    transition: box-shadow .2s;
    text-decoration: none;
    color: var(--gray-800);
}

.tile:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

/* ============================================================
   HEADER
   ============================================================ */
header {
    position: sticky;
    top: 0;
    z-index: 50;
}

/* Top info bar */
.top-bar {
    background: var(--purple-dark);
    color: #fff;
}

.top-bar__inner {
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: 1rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    font-size: .875rem;
}

@media (min-width: 640px) {
    .top-bar__inner {
        padding-inline: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .top-bar__inner {
        padding-inline: 2rem;
    }
}

.top-bar a {
    color: #fff;
}

.top-bar a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.top-bar .bsb {
    font-weight: 600;
}

/* Main nav bar */
.main-nav {
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}

.main-nav__inner {
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: 1rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 640px) {
    .main-nav__inner {
        padding-inline: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .main-nav__inner {
        padding-inline: 2rem;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
}

.nav-logo img {
    height: 5rem;
    width: auto;
}

/* Desktop links */
.nav-links {
    display: none;
    align-items: center;
    gap: 1.5rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--gray-900);
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    transition: color .15s;
}

.nav-links a:hover {
    color: var(--purple);
}

.nav-links a.active {
    color: var(--purple);
    font-weight: 600;
}

/* Right actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background .2s;
    color: var(--orange);
}

.icon-btn:hover {
    background: var(--gray-100);
}

@media (min-width: 640px) {
    .icon-btn {
        display: inline-flex;
    }
}

.logon-btn {
    display: none;
    align-items: center;
    gap: .4rem;
    padding: .75rem 1.5rem;
    border-radius: .375rem;
    background: var(--orange);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background .2s;
    text-decoration: none;
}

.logon-btn:hover {
    background: var(--orange-light);
}

@media (min-width: 640px) {
    .logon-btn {
        display: inline-flex;
    }
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: .5rem;
    border-radius: .375rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background .2s;
}

.hamburger:hover {
    background: var(--gray-100);
}

@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }
}

.bar {
    display: block;
    width: 1.5rem;
    height: 2px;
    background: var(--gray-900);
    border-radius: 2px;
    transition: all .3s;
}

.bar+.bar {
    margin-top: 6px;
}

/* Mobile menu */
#mobileMenu {
    display: none;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid var(--gray-200);
    padding: 1rem 1.5rem;
    gap: .75rem;
    font-size: .9rem;
    font-weight: 500;
}

#mobileMenu.open {
    display: flex;
}

#mobileMenu a {
    padding: .4rem 0;
    color: var(--gray-900);
    border-bottom: 1px solid var(--gray-100);
}

#mobileMenu a:hover {
    color: var(--purple);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 460px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .10);
}

.hero__content {
    position: relative;
    z-index: 10;
    max-width: 80rem;
    margin-inline: auto;
    padding: 4rem 1rem;
}

@media (min-width: 640px) {
    .hero__content {
        padding-inline: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero__content {
        padding-inline: 2rem;
    }
}

.hero__card {
    max-width: 42rem;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    border: 1px solid var(--gray-200);
    padding: 2.5rem;
}

.hero__card h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--gray-900);
    line-height: 1.15;
}

.hero__card p {
    margin-top: 1rem;
    color: var(--gray-700);
    line-height: 1.7;
}

.hero__card .btn-orange {
    margin-top: 1.75rem;
    padding: .75rem 2.5rem;
    font-size: 1rem;
    border-radius: .375rem;
}

/* ============================================================
   DISCOVER TILES
   ============================================================ */
.discover {
    background: #fff;
    padding-block: 4rem;
}

.discover__inner {
    text-align: center;
}

.discover h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
}

.discover__grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .discover__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .discover__grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.discover__grid .tile .icon {
    font-size: 1.875rem;
    margin-bottom: .75rem;
}

.discover__grid .tile .label {
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.3;
}

/* ============================================================
   LATEST NEWS
   ============================================================ */
.latest-news {
    background: var(--gray-50);
    padding-block: 4rem;
}

.latest-news h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 2.5rem;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news-card {
    background: #fff;
    border: 1px solid var(--gray-300);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .07);
}

.news-card img {
    height: 12rem;
    width: 100%;
    object-fit: cover;
}

.news-card__body {
    padding: 1.25rem;
}

.news-card__body h3 {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.35;
}

.news-card__body p {
    margin-top: .75rem;
    color: var(--gray-700);
    font-size: .875rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__body .read-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--purple);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.news-card__body .read-link:hover {
    color: var(--purple-dark);
}

.news-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.news-cta .btn-orange {
    padding: .75rem 2.5rem;
    font-size: 1rem;
    border-radius: .375rem;
}

/* ============================================================
   AWARDS
   ============================================================ */
.awards {
    background: #fff;
    padding-block: 5rem;
}

.awards__grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .awards__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.awards h2 {
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
}

.awards__logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

@media (min-width: 1024px) {
    .awards__logos {
        justify-content: flex-end;
    }
}

/* ============================================================
   HELP / FAQ SECTION
   ============================================================ */
.help-section {
    background: linear-gradient(to right, #062f99, #315299);
    padding-block: 4rem;
    color: #fff;
    text-align: center;
}

.help-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
}

.help-section>.container-6xl>p {
    margin-top: .5rem;
    color: rgba(255, 255, 255, .8);
}

.help-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .help-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .help-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.help-card {
    background: #fff;
    color: var(--gray-900);
    padding: 2rem;
    border: 1px solid var(--gray-300);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    transition: box-shadow .2s;
    text-decoration: none;
    display: block;
}

.help-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
}

.help-card .help-icon {
    font-size: 1.875rem;
    margin-bottom: 1rem;
    color: var(--orange);
}

.help-card .help-label {
    font-weight: 600;
}

.help-card .help-sub {
    margin-top: .5rem;
    font-size: .875rem;
    color: var(--gray-500);
}

/* ============================================================
   CONTACT STRIP (above footer)
   ============================================================ */
.contact-strip {
    background: #fff;
    border-top: 1px solid rgba(75, 27, 98, .2);
}

.contact-strip__inner {
    padding-block: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .contact-strip__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.contact-strip__logo img {
    height: 5rem;
    width: auto;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .contact-items {
        flex-direction: row;
        align-items: center;
        gap: 2.5rem;
    }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #f5f0f8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--purple);
    stroke: var(--purple);
}

.contact-item__text {
    font-size: .875rem;
}

.contact-item__text .name {
    font-weight: 600;
}

.contact-item__text a {
    font-weight: 600;
}

.contact-item__text a:hover {
    color: var(--purple);
}

.bsb-badge {
    font-size: .875rem;
}

.bsb-badge .label {
    color: var(--gray-500);
    font-weight: 600;
    margin-right: .5rem;
}

.bsb-badge .value {
    font-weight: 600;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--purple-800);
    color: #fff;
}

.footer-divider {
    height: 4px;
    background: var(--orange);
}

.footer-inner {
    max-width: 80rem;
    margin-inline: auto;
    padding: 3.5rem 1rem;
}

@media (min-width: 640px) {
    .footer-inner {
        padding-inline: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .footer-inner {
        padding-inline: 2rem;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.footer-col h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.footer-col a {
    color: rgba(255, 255, 255, .8);
    font-size: .875rem;
}

.footer-col a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Follow us column spans 2 */
.footer-col--follow {
    grid-column: span 1;
}

@media (min-width: 1024px) {
    .footer-col--follow {
        grid-column: span 2;
    }
}

.footer-follow-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: .5rem;
    background: rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .875rem;
    font-weight: 600;
    transition: background .2s;
    text-decoration: none;
}

.social-btn:hover {
    background: rgba(255, 255, 255, .2);
}

/* Footer bottom */
.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.footer-bottom__row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: rgba(255, 255, 255, .8);
    font-size: .875rem;
}

@media (min-width: 768px) {
    .footer-bottom__row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-divider-char {
    color: rgba(255, 255, 255, .4);
}

.footer-legal {
    margin-top: 1.5rem;
    font-size: .75rem;
    color: rgba(255, 255, 255, .6);
    line-height: 1.7;
}