﻿:root {
    --navy: #0B1F3B;
    --red: #C8102E;
    --white: #FFFFFF;
    --text: #0f172a;
    --muted: #64748b;
    --bg: #f6f7fb;
    --card: #ffffff;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(2,6,23,.12);
}

* {
    box-sizing: border-box;
}

h1 {
    font-size: 3.2rem;
}

h2 {
    font-size: 2.4rem;
}

h3 {
    font-size: 1.6rem;
}

p {
    font-size: 1.1rem;
}

body {
    margin: 0;
    /* font-family: Arial, Helvetica, sans-serif;*/
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
}



img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

/* Header / Nav */
.site-header {
    position: sticky;
    top: 0;
    z-index: 3000;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(2,6,23,.08);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 16px;
    position: relative;
}

.nav-container {
    /*   width: min(1120px, 92%);
    margin: 0 auto;*/
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.6;
}

.hamburger {
    display: none;
    border: none;
    background: var(--bg);
    width: 42px;
    height: 38px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    color: var(--navy);
    transition: all .2s ease;
}

    .hamburger:hover {
        background: var(--red);
        color: var(--white);
    }

.mobile-menu-overlay {
    display: none;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--navy);
    font-weight: 700;
    position:relative;
}

.brand-logo {
    width: 100px;
    height: 100px;
    border-radius: 999px;
    border: 3px solid var(--red);
    object-fit: cover;
    background: #fff;
    position: absolute;
    top: -5px;
    left: -47px;
}

.brand-name {
    font-size: 16px;
    padding-left: 60px;
    max-width: 220px;
}

.nav-links {
    display: flex;
    gap: 18px;
    align-items: center;
}

    .nav-links a {
        text-decoration: none;
        color: var(--navy);
        font-weight: 600;
        padding: 8px 10px;
        border-radius: 10px;
    }

    .nav-links a {
        text-decoration: none;
        color: var(--navy);
        font-weight: 600;
        padding: 8px 10px;
        border-radius: 10px;
        position: relative;
    }

        .nav-links a::after {
            content: "";
            position: absolute;
            left: 10px;
            right: 10px;
            bottom: 2px;
            height: 3px;
            background: var(--red);
            border-radius: 99px;
            transform: scaleX(0);
            transform-origin: left;
            transition: transform .22s ease;
        }

        .nav-links a:hover::after {
            transform: scaleX(1);
        }

        .nav-links a:hover {
            color: var(--red);
        }

.nav-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .nav-icons a {
        width: 38px;
        height: 38px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        text-decoration: none;
        background: var(--bg);
        color: var(--navy);
        font-size: 17px;
        transition: all .18s ease;
    }

        .nav-icons a:hover {
            background: var(--red);
            color: var(--white);
            transform: translateY(-1px);
        }


/* Hero */
.hero {
    position: relative;
    padding: 72px 0 40px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: 0px -300px;
    transform: scale(1.05);
}
.hero-sub {
    font-size: 20px;
    font-weight: 600;
}

.hero-tag {
    font-size: 16px;
    letter-spacing: 0.6px;
    opacity: 0.95;
}


.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11,31,59,.86) 0%, rgba(11,31,59,.55) 40%, rgba(11,31,59,.18) 100%);
}

.hero-content {
    position: relative;
    color: var(--white);
    max-width: 680px;
    padding-bottom: 20px;
}

.hero h1 {
    font-size: 56px;
    margin: 0 0 10px;
    letter-spacing: -.5px;
}

.hero-sub {
    font-size: 18px;
    margin: 0 0 8px;
    opacity: .95;
}

.hero-tag {
    margin: 0 0 20px;
    opacity: .9;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    padding: 12px 16px;
    border-radius: 999px;
    border: 2px solid transparent;
    transition: transform .12s ease, opacity .12s ease;
}

    .btn:hover {
        transform: translateY(-1px);
        opacity: .96;
    }

.btn-primary {
    background: var(--red);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--navy);
    border-color: rgba(255,255,255,.0);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: rgba(11,31,59,.25);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.65);
}

.btn-small {
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--navy);
    color: var(--white);
    font-size: 13px;
}

.btn-secondary-redback {
    background: var(--white);
    color: var(--navy);
    border-color: transparent;
}

    .btn-secondary-redback:hover {
        background: var(--navy);
        color: var(--white);
        border-color: var(--navy);
    }

.btn-outline-light-redback {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.7);
}

    .btn-outline-light-redback:hover {
        background: var(--navy);
        color: var(--white);
        border-color: var(--navy);
    }

/* RED BUTTON → NAVY */
.btn-primary:hover {
    background: var(--navy);
    color: var(--white);
}

/* WHITE BUTTON → RED */
.btn-secondary:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

/* OUTLINE → RED */
.btn-outline:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

/* OUTLINE LIGHT → RED */
.btn-outline-light:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

/* NAVY SMALL BUTTON → RED */
.btn-small:hover {
    background: var(--red);
    color: var(--white);
}



/* Feature cards row */
/*.feature-row {
    position: relative;
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    z-index:3;
}*/

/*.feature-card {
    text-align:center;
    background: rgba(255,255,255,.96);
    border-radius: var(--radius);
    padding: 16px;
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--shadow);
    border: 1px solid rgba(2,6,23,.08);
}*/

/*.feature-card {
    display: block;
    background: white;
    padding: 16px 14px;
    border-radius: 18px;
    text-align: center;
    text-decoration: none;
    transition: all .18s ease;
    box-shadow: 0 6px 14px rgba(0,0,0,.06);
    max-width: 220px;
}
    .feature-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 34px rgba(0,0,0,0.12);
    }

    .feature-card::after {
        content: "";
        display: block;
        width: 0;
        height: 3px;
        background: var(--red);
        margin: 18px auto 0;
        transition: width .2s ease;
    }

    .feature-card:hover::after {
        width: 80%;
    }

.feature-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.feature-title {
    font-weight: 700;
    font-size: 16px;
    color: var(--navy);
}

.feature-text {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}*/
/* Sections */
.section {
    padding: 56px 0;
}

.section-soft {
    background: var(--bg);
}

h2 {
    margin: 0 0 14px;
    color: var(--navy);
    font-size: 30px;
}

p {
    color: #1f2937;
    line-height: 1.55;
}

.two-col {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 22px;
    align-items: center;
}

.card-image {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid rgba(2,6,23,.08);
}

/* Teams grid */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.team-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(2,6,23,.08);
}

.team-body {
    padding: 14px;
}

.team-title {
    font-weight: 800;
    color: var(--navy);
}

.team-sub {
    color: var(--muted);
    font-size: 13px;
    margin: 6px 0 12px;
}

/* Fixtures */
.fixtures {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
}

    .fixtures li {
        padding: 12px 0;
        border-bottom: 1px solid rgba(2,6,23,.10);
    }

    .fixtures span {
        color: var(--muted);
    }

/* Fund banner */
.fund-banner {
    background: linear-gradient(135deg, var(--red) 0%, #a70f25 60%, #7d0a19 100%);
    color: var(--white);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}

    .fund-banner h3 {
        margin: 0 0 8px;
        font-size: 26px;
    }

    .fund-banner p {
        margin: 0 0 14px;
        color: rgba(255,255,255,.92);
    }

.fund-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Sponsors */
.sponsors {
    text-align: center;
    padding: 60px 0;
}

.sponsor-logos {
    margin: 18px auto 18px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 920px;
}

.logo {
    background: var(--card);
    border: 1px dashed rgba(11,31,59,.25);
    border-radius: 14px;
    padding: 18px 10px;
    color: var(--muted);
    font-weight: 800;
}

/* Footer */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    gap: 18px;
}

.footer-title {
    font-weight: 900;
    margin-bottom: 10px;
    margin-top:20px;
}

.footer a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.85);
    text-decoration: none;
    margin: 6px 0;
    font-size: 15px;
}

    .footer a i {
        width: 18px;
        text-align: center;
    }

    .footer a:hover {
        color: #fff;
    }

.footer p {
    color: rgba(255,255,255,.75);
}

.footer-bottom {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.65);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 980px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 44px;
    }

    .feature-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .sponsor-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .hero {
        padding-top: 56px;
    }

        .hero h1 {
            font-size: 36px;
        }

    .feature-row {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Crest heading style */
.gaa-crest-text {
    font-family: "Uncial Antiqua", serif;
    font-size: 48px;
    letter-spacing: 1px;
    color: #C8102E;
    text-transform: none;
    line-height: 1.1;
}

/* --- Our Teams --- */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 16px;
}

.team-img {
    height: 200px;
    overflow: hidden;
    background: #fff;
}

    .team-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.team-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(2,6,23,.08);
}

.team-body {
    padding: 14px;
}

.team-title {
    font-weight: 800;
    color: var(--navy);
}

.team-sub {
    color: var(--muted);
    font-size: 13px;
    margin: 6px 0 12px;
}

/* --- Support banner (brush look) --- */
.support-banner {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, var(--red) 0%, #a70f25 60%, #7d0a19 100%);
    position: relative;
    min-height: 180px;
}

    .support-banner:before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 15% 35%, rgba(255,255,255,.12), transparent 45%), radial-gradient(circle at 80% 20%, rgba(255,255,255,.10), transparent 40%), radial-gradient(circle at 60% 80%, rgba(0,0,0,.10), transparent 45%);
        pointer-events: none;
    }

.support-inner {
    position: relative;
    padding: 22px;
    color: #fff;
}

    .support-inner h3 {
        margin: 0 0 8px;
        font-size: 28px;
    }

    .support-inner p {
        margin: 0 0 14px;
        color: rgba(255,255,255,.92);
    }

.support-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* --- Sponsors strip --- */
.center {
    text-align: center;
}

.sponsors-section h2 {
    margin-bottom: 18px;
}

.sponsors-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: center;
    justify-items: center;
    margin: 18px 0 20px;
    padding: 10px 0;
}

    .sponsors-strip img {
        max-width: 220px;
        max-height: 190px;
        width: auto;
        height: auto;
        filter: grayscale(15%);
        opacity: .95;
    }

/* Responsive adjustments for these sections */
@media (max-width: 980px) {
    .teams-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sponsors-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .teams-grid {
        grid-template-columns: 1fr;
    }

    .sponsors-strip {
        grid-template-columns: 1fr;
    }
}


.hero {
    position: relative;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, rgba(11, 31, 59, 0.75), rgba(11, 31, 59, 0.55) );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-bg {
    filter: saturate(0.9) contrast(0.95);
}

.hero h1 {
    letter-spacing: 1px;
}


.DallasSkyline {
    background-image: url(/Images/DallasSkyline.png);
    background-repeat: no-repeat;
     background-position: center;
  /*  background-position: calc(100% - 200px) center;*/
    min-height: 700px;
    /* padding-bottom: 200px;*/
}
.DallasSkyline {
    opacity: 0.8;
}


.DallasTextBox {
    display: inline-block;
    max-width: 560px;
    padding: 32px 36px;
    border-radius: 24px;
    background: linear-gradient( to right, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.78) 45%, rgba(255,255,255,0.52) 75%, rgba(255,255,255,0.18) 100% );
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
    .DallasTextBox h2 {
        color: #0f2747;
        margin: 0 0 14px 0;
        line-height: 1.05;
    }

    .DallasTextBox p {
        color: #223548;       
        line-height: 1.6;
        margin: 0 0 22px 0;
    }



.footer-logo {
    width: 80px;
    height:80px;
    margin-bottom: 14px;
    opacity: .9;
    position: unset;
}

.site-credit {
    background: #071a30;
    color: #cbd5e1;
    text-align: center;
    font-size: 13px;
    letter-spacing: .2px;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,.08);
}

    .site-credit a {
        color: #ffffff;
        font-weight: 600;
        text-decoration: none;
        position: relative;
        transition: color .2s ease, opacity .2s ease;
    }

        .site-credit a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -2px;
            width: 100%;
            height: 1px;
            background: currentColor;
            transform: scaleX(0);
            transform-origin: left;
            transition: transform .22s ease;
            opacity: .9;
        }

        .site-credit a:hover {
            color: #ffffff;
            opacity: .9;
        }

            .site-credit a:hover::after {
                transform: scaleX(1);
            }

.site-credit {
    background: #071a30;
    color: #cbd5e1;
    text-align: center;
    font-size: 14px;
    letter-spacing: .2px;
    padding: 14px 0;
    border-top: 1px solid rgba(255,255,255,.08);
}

    .site-credit a {
        color: #ffffff;
        font-weight: 600;
        text-decoration: none;
    }

        .site-credit a:hover {
            opacity: .85;
        }

@media (max-width: 980px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: inline-grid;
        place-items: center;
    }

    .hero h1 {
        font-size: 44px;
    }

    .feature-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .sponsor-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   MOBILE NAV - FINAL FIX
   ========================================================= */

@media (max-width: 980px) {

    body.menu-open {
        overflow: hidden;
    }

    .site-header {
        z-index: 3000;
    }

    .hamburger {
        display: inline-grid !important;
        place-items: center;
        position: relative;
        z-index: 3003;
        border: none;
        background: var(--bg);
        width: 38px;
        height: 36px;
        border-radius: 10px;
        cursor: pointer;
        font-size: 18px;
        color: var(--navy);
    }

    .nav-links {
        position: fixed !important;
        top: 0;
        right: 0;
        width: min(320px, 82vw);
        height: 100vh;
        background: #ffffff !important;
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        padding: 96px 22px 26px;
        box-shadow: -16px 0 40px rgba(11, 31, 59, 0.18);
        z-index: 3002 !important;
        transform: translateX(110%) !important;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.28s ease, visibility 0.28s ease;
    }

        .nav-links.mobile-open {
            transform: translateX(0) !important;
            visibility: visible;
            pointer-events: auto;
        }

        .nav-links a {
            width: 100%;
            display: block;
            padding: 14px 4px;
            color: var(--navy);
            font-size: 15px;
            font-weight: 800;
            border-radius: 0;
            border-bottom: 1px solid rgba(11, 31, 59, 0.08);
            background: #ffffff;
        }

            .nav-links a::after {
                display: none;
            }

    .mobile-menu-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(11, 31, 59, 0.42);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease, visibility 0.25s ease;
        z-index: 2999 !important;
    }

        .mobile-menu-overlay.show {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }
}

@media (min-width: 981px) {
    .nav-links {
        position: static !important;
        height: auto;
        width: auto;
        transform: none !important;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        padding: 0;
        z-index: auto;
    }

    .hamburger {
        display: none !important;
    }

    .mobile-menu-overlay {
        display: none !important;
    }
}

/* =========================================================
   MOBILE HEADER / LOGO / OVERFLOW FIX
   Put this at the VERY BOTTOM of Content/site.css
   ========================================================= */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

form {
    max-width: 100%;
    overflow-x: hidden;
}

.site-header {
    width: 100%;
    max-width: 100%;
}

/* Desktop/tablet header stays normal */
.nav-container {
    width: min(1200px, 92%);
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================================
   MOBILE HEADER CLEANUP
   ========================================================= */

@media (max-width: 600px) {

    .site-header {
        overflow: visible;
    }

    .nav-container {
        width: 100%;
        max-width: 100%;
        padding: 0 14px;
    }

    .nav {
        min-height: 78px;
        padding: 8px 0;
        gap: 8px;
    }

    .brand {
        min-width: 0;
        flex: 1 1 auto;
        gap: 8px;
        overflow: visible;
    }

    /*
       IMPORTANT:
       On mobile, stop the logo being absolute.
       This prevents it being clipped off the left side.
    */
    .brand-logo {
        position: static !important;
        width: 70px;
        height: 70px;
        min-width: 70px;
        border-width: 2px;
        top: auto;
        left: auto;
    }

    .brand-name {
        padding-left: 0 !important;
        font-size: 14px;
        line-height: 1.25;
        max-width: 155px;
        white-space: normal;
    }

    .nav-icons {
        flex: 0 0 auto;
        gap: 6px;
        margin-left: auto;
    }

        .nav-icons a,
        .hamburger {
            width: 34px !important;
            height: 34px !important;
            min-width: 34px;
            border-radius: 9px;
            font-size: 14px;
        }

    .hamburger {
        display: inline-grid !important;
        place-items: center;
    }
}

/* Extra small phones */
@media (max-width: 390px) {

    .nav-container {
        padding: 0 10px;
    }

    .brand-logo {
        width: 64px;
        height: 64px;
        min-width: 64px;
    }

    .brand-name {
        font-size: 13px;
        max-width: 140px;
    }

    .nav-icons {
        gap: 5px;
    }

        .nav-icons a,
        .hamburger {
            width: 32px !important;
            height: 32px !important;
            min-width: 32px;
            font-size: 13px;
        }
}

/* Very narrow screens: hide social icons and keep only hamburger */
@media (max-width: 350px) {

    .nav-icons a {
        display: none;
    }

    .hamburger {
        display: inline-grid !important;
    }

    .brand-name {
        max-width: 175px;
    }
}

/* =========================================================
   MOBILE MENU SOCIAL ICONS
   ========================================================= */

.mobile-menu-socials {
    display: none;
}

@media (max-width: 980px) {
    .mobile-menu-socials {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-top: 24px;
        padding-top: 20px;
        border-top: 1px solid rgba(11, 31, 59, 0.10);
        width: 100%;
    }

        .mobile-menu-socials a {
            width: 42px;
            height: 42px;
            display: grid;
            place-items: center;
            border-radius: 12px;
            background: #f6f7fb;
            color: var(--navy);
            font-size: 17px;
            border-bottom: none !important;
            padding: 0 !important;
        }

            .mobile-menu-socials a:hover {
                background: var(--red);
                color: #ffffff;
            }



        .brand-logo {
            position: relative !important;
            width: 72px;
            height: 72px;
            min-width: 72px;
            border-width: 2px;
            top: -4px !important;
            left: 0 !important;
            margin-bottom: -10px;
        }
    .brand-name {
    
        padding-left: 15px;
       
    }
    
}

@media (min-width: 981px) {
    .mobile-menu-socials {
        display: none !important;
    }
}

@media (max-width: 600px) {

    .brand-logo {
        width: 70px;
        height: 70px;
        min-width: 70px;
        top: -4px !important;
        margin-bottom: -8px;
    }
}

html {
    scroll-behavior: smooth;
}

section[id],
div[id] {
    scroll-margin-top: 0px;
}

/* =========================================================
   DESKTOP NAV CLEANUP
   ========================================================= */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e8edf3;
    z-index: 999;
}

.nav-container {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}

.nav {
    min-height: 100px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
    color: #0B1F3B;
    text-decoration: none;
    overflow: visible;
}

.brand-logo {
    position: relative !important;
    width: 96px;
    height: 96px;
    min-width: 96px;
    object-fit: contain;
    top: -6px !important;
    left: 0 !important;
    margin-bottom: -14px;
}

.brand-name {
    padding-left: 0 !important;
    color: #0B1F3B;
    font-size: 17px;
    line-height: 1.25;
   /* font-weight: 900;*/
    letter-spacing: -0.02em;
    max-width: 190px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    flex: 1 1 auto;
    margin-left: 18px;
}

    .nav-links > a {
        color: #0B1F3B;
        font-size: 15px;
        line-height: 1.25;
       /* font-weight: 850;*/
        text-decoration: none;
        white-space: normal;
        text-align: center;
    }

        .nav-links > a:hover,
        .nav-links > a.active {
            color: #C8102E;
        }

.nav-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    margin-left: auto;
}

    .nav-icons a,
    .hamburger {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #f4f6f9;
        color: #0B1F3B;
        border: 0;
        font-size: 17px;
        cursor: pointer;
    }

        .nav-icons a:hover,
        .hamburger:hover {
            background: #C8102E;
            color: #ffffff;
        }

/* Hide mobile social links on desktop */
.mobile-menu-socials {
    display: none;
}
/* =========================================================
   DESKTOP NAV CLEANUP
   ========================================================= */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e8edf3;
    z-index: 999;
}

.nav-container {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}

.nav {
    min-height: 100px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
    color: #0B1F3B;
    text-decoration: none;
    overflow: visible;
}

.brand-logo {
    position: relative !important;
    width: 96px;
    height: 96px;
    min-width: 96px;
    object-fit: contain;
    top: -6px !important;
    left: 0 !important;
    margin-bottom: -14px;
}

.brand-name {
    padding-left: 0 !important;
    color: #0B1F3B;
    font-size: 17px;
    line-height: 1.25;
   /* font-weight: 900;*/
    letter-spacing: -0.02em;
    max-width: 190px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    flex: 1 1 auto;
    margin-left: 18px;
}

    .nav-links > a {
        color: #0B1F3B;
        font-size: 15px;
        line-height: 1.25;
      /*  font-weight: 850;*/
        text-decoration: none;
        white-space: normal;
        text-align: center;
    }

        .nav-links > a:hover,
        .nav-links > a.active {
            color: #C8102E;
        }

.nav-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    margin-left: auto;
}

    .nav-icons a,
    .hamburger {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #f4f6f9;
        color: #0B1F3B;
        border: 0;
        font-size: 17px;
        cursor: pointer;
    }

        .nav-icons a:hover,
        .hamburger:hover {
            background: #C8102E;
            color: #ffffff;
        }

/* Hide mobile social links on desktop */
.mobile-menu-socials {
    display: none;
}

.nav-links > a.active {
    color: #C8102E;
}

    .nav-links > a.active::after {
        width: 100%;
    }


.site-credits {
    background: #061426; /* darker navy than footer */
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    padding: 16px 0px 0px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.8;
}
.media-credit {
    font-size: 13px;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.62);
    padding-bottom:12px;
}

    .media-credit span,
    .media-credit a {
        color: #ffffff;
        font-weight: 700;
        text-decoration: none;
    }

.site-credit {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
}

    .site-credit a {
        color: #ffffff;
        font-weight: 800;
        text-decoration: none;
    }

        .site-credit a:hover,
        .media-credit a:hover {
            color: #C8102E;
        }

.site-credits {
    background: linear-gradient(180deg, #07182d 0%, #051120 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    padding: 16px 0px 0px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.8;
}

.photo-credit {
    font-size: 14px;
    color: rgba(255,255,255,0.72);
    letter-spacing: 0.02em;
}

    .photo-credit strong,
    .photo-credit a {
        color: #ffffff;
        font-weight: 850;
    }

.site-credit {
    font-size: 14px;
    color: rgba(255,255,255,0.72);
    letter-spacing: 0.02em;
}

    .site-credit a {
        color: #ffffff;
        font-weight: 850;
    }

.nav-links > a.nav-events {
    min-width: 105px;
}

    .nav-links > a.nav-events span {
        white-space: nowrap;
    }

/* =========================================================
   MOBILE HEADER FIX - KEEP HAMBURGER VISIBLE
   ========================================================= */

@media (max-width: 980px) {

    .site-header {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .nav-container {
        width: 100%;
        max-width: 100%;
        padding: 0 14px;
        box-sizing: border-box;
    }

    .nav {
        min-height: 82px;
        display: flex;
        align-items: center;
        gap: 10px;
        overflow: visible;
    }

    .brand {
        flex: 1 1 auto;
        min-width: 0;
        gap: 10px;
    }

    .brand-logo {
        width: 74px;
        height: 74px;
        min-width: 74px;
        top: -6px !important;
        margin-bottom: -10px;
    }

    .brand-name {
        font-size: 15px;
        line-height: 1.25;
        max-width: 220px;
        min-width: 0;
    }

    .nav-icons {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
    }

    .hamburger {
        display: inline-flex !important;
        width: 42px;
        height: 42px;
        min-width: 42px;
        border-radius: 12px;
        align-items: center;
        justify-content: center;
        background: #f4f6f9;
        color: #0B1F3B;
        border: 0;
        font-size: 18px;
        z-index: 10003;
    }

        .hamburger:hover {
            background: #C8102E;
            color: #ffffff;
        }
}

/* On smaller phones, hide top social icons so hamburger always fits */
@media (max-width: 560px) {

    .nav-icons > a {
        display: none !important;
    }

    .nav-icons {
        gap: 0;
    }

    .brand-logo {
        width: 72px;
        height: 72px;
        min-width: 72px;
    }

    .brand-name {
        font-size: 15px;
        max-width: 210px;
    }
}

/* Very small phones */
@media (max-width: 400px) {

    .nav-container {
        padding: 0 10px;
    }

    .brand-logo {
        width: 68px;
        height: 68px;
        min-width: 68px;
    }

    .brand-name {
        font-size: 14px;
        max-width: 190px;
    }

    .hamburger {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
}
@media (max-width: 980px) {

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: min(82vw, 340px);
        height: 100vh;
        background: #ffffff;
        z-index: 10001;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 88px 28px 28px;
        margin: 0;
        transform: translateX(100%);
        transition: transform 0.28s ease;
        box-shadow: -24px 0 60px rgba(11, 31, 59, 0.18);
    }

        .nav-links.mobile-open {
            transform: translateX(0);
        }

        .nav-links > a {
            display: block;
            text-align: left;
            padding: 16px 0;
            border-bottom: 1px solid #e6ecf2;
            font-size: 16px;
            font-weight: 900;
        }

    .mobile-menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(11, 31, 59, 0.42);
        z-index: 10000;
        display: none;
    }

        .mobile-menu-overlay.show {
            display: block;
        }

    .mobile-menu-socials {
        display: flex;
        gap: 10px;
        margin-top: 24px;
    }

        .mobile-menu-socials a {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #f4f6f9;
            color: #0B1F3B;
        }

    body.menu-open {
        overflow: hidden;
    }
}


/* =========================================================
   FINAL MOBILE MENU FIX
   ========================================================= */

.mobile-menu-overlay {
    display: none;
}

/* Desktop: hide mobile-only socials inside menu */
.mobile-menu-socials {
    display: none;
}

@media (max-width: 980px) {

    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

        body.menu-open {
            overflow: hidden;
        }

    .site-header {
        position: relative;
        z-index: 10010;
        overflow: visible !important;
    }

    .nav-container {
        width: 100%;
        max-width: 100%;
        padding: 0 14px;
        box-sizing: border-box;
    }

    .nav {
        min-height: 82px;
        display: flex;
        align-items: center;
        gap: 10px;
        overflow: visible !important;
    }

    .brand {
        flex: 1 1 auto;
        min-width: 0;
        gap: 10px;
        overflow: visible !important;
    }

    .brand-logo {
        width: 72px;
        height: 72px;
        min-width: 72px;
        top: -5px !important;
        margin-bottom: -10px;
    }

    .brand-name {
        font-size: 15px;
        line-height: 1.25;
        max-width: 205px;
        min-width: 0;
    }

    .nav-icons {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
        z-index: 10030;
    }

    .hamburger {
        display: inline-flex !important;
        width: 42px;
        height: 42px;
        min-width: 42px;
        border-radius: 12px;
        align-items: center;
        justify-content: center;
        background: #f4f6f9;
        color: #0B1F3B;
        border: 0;
        font-size: 18px;
        cursor: pointer;
        position: relative;
        z-index: 10040;
    }

        .hamburger .fa-xmark,
        body.menu-open .hamburger {
            background: #C8102E;
            color: #ffffff;
        }

    .mobile-menu-overlay {
        position: fixed !important;
        inset: 0 !important;
        background: rgba(11, 31, 59, 0.46) !important;
        z-index: 10000 !important;
        display: none !important;
    }

        .mobile-menu-overlay.show {
            display: block !important;
        }

    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        bottom: auto !important;
        width: min(86vw, 340px) !important;
        height: 100vh !important;
        min-height: 100vh !important;
        background: #ffffff !important;
        z-index: 10020 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        padding: 96px 26px 30px !important;
        margin: 0 !important;
        transform: translateX(105%) !important;
        transition: transform 0.28s ease !important;
        box-shadow: -24px 0 60px rgba(11, 31, 59, 0.22) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

        .nav-links.mobile-open {
            transform: translateX(0) !important;
        }

        .nav-links > a {
            display: block !important;
            width: 100% !important;
            color: #0B1F3B !important;
            text-align: left !important;
            text-decoration: none !important;
            padding: 16px 0 !important;
            border-bottom: 1px solid #e6ecf2 !important;
            font-size: 16px !important;
            line-height: 1.25 !important;
            font-weight: 900 !important;
            white-space: normal !important;
        }

            .nav-links > a.active {
                color: #C8102E !important;
            }

            .nav-links > a::after {
                display: none !important;
            }

    .mobile-menu-socials {
        display: flex !important;
        gap: 10px;
        margin-top: 24px;
    }

        .mobile-menu-socials a {
            width: 42px !important;
            height: 42px !important;
            border-radius: 12px;
            display: inline-flex !important;
            align-items: center;
            justify-content: center;
            background: #f4f6f9;
            color: #0B1F3B;
            border: 0;
            text-decoration: none;
        }

            .mobile-menu-socials a:hover {
                background: #C8102E;
                color: #ffffff;
            }
}

/* On small phones hide top social icons, keep hamburger */
@media (max-width: 560px) {
    .nav-icons > a {
        display: none !important;
    }

    .nav-icons {
        gap: 0;
    }

    .brand-name {
        max-width: 200px;
    }
}

@media (max-width: 360px) {
    .brand-logo {
        width: 66px;
        height: 66px;
        min-width: 66px;
    }

    .brand-name {
        font-size: 14px;
        max-width: 175px;
    }

    .hamburger {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
}