/* =========================================================
   ELITE SPORTING FC
   BLUE & YELLOW
   ========================================================= */

:root {
    --blue: #071A3D;
    --blue-2: #0B3D91;
    --blue-3: #1557A6;
    --yellow: #FFD21F;
    --yellow-dark: #E2AD00;

    --white: #FFFFFF;
    --light: #F4F7FB;
    --light-blue: #EAF1FA;

    --text: #27364A;
    --muted: #697586;
    --black: #050C18;

    --border: #DDE4ED;

    --heading: "Barlow Condensed", sans-serif;
    --body: "Inter", sans-serif;

    --container: 1240px;

    --shadow: 0 15px 45px rgba(7, 26, 61, 0.12);
    --shadow-big: 0 25px 65px rgba(7, 26, 61, 0.18);

    --transition: 0.3s ease;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--body);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

::selection {
    background: var(--yellow);
    color: var(--blue);
}


/* =========================================================
   GENERAL
   ========================================================= */

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.section {
    position: relative;
}

.eyebrow {
    display: inline-block;
    color: var(--blue-2);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.eyebrow::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 3px;
    background: var(--yellow);
    margin-right: 10px;
    vertical-align: middle;
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 70px;
    align-items: end;
    margin-bottom: 55px;
}

.section-heading.centered {
    display: block;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-heading h2,
.intro-content h2,
.community-content h2,
.contact-intro h2,
.join-content h2,
.philosophy-heading h2 {
    font-family: var(--heading);
    font-size: clamp(44px, 5vw, 72px);
    font-weight: 800;
    line-height: 0.96;
    text-transform: uppercase;
    color: var(--blue);
}

.section-heading h2 span,
.intro-content h2 span,
.community-content h2 span,
.contact-intro h2 span,
.join-content h2 span,
.philosophy-heading h2 span,
.development-content h2 span {
    color: var(--blue-2);
}

.section-heading > p {
    color: var(--muted);
    font-size: 15px;
}

.text-link {
    display: inline-block;
    margin-top: 22px;
    color: var(--blue-2);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--yellow);
    padding-bottom: 5px;
    transition: var(--transition);
}

.text-link:hover {
    color: var(--yellow-dark);
    transform: translateX(5px);
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 17px 0;
    background: transparent;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(7, 26, 61, 0.97);
    padding: 10px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: block;
    flex-shrink: 0;
}

.brand img {
    width: auto;
    height: 62px;
    max-width: 210px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    position: relative;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: var(--transition);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 0;
    height: 3px;
    background: var(--yellow);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--yellow);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    background: var(--yellow);
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--white);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,0.3);
    background: transparent;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--blue);
}

.hero-background {
    position: absolute;
    inset: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(7, 26, 61, 0.96) 0%,
            rgba(7, 26, 61, 0.84) 42%,
            rgba(7, 26, 61, 0.45) 75%,
            rgba(7, 26, 61, 0.60) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 80px;
    max-width: 920px;
}

.hero-kicker {
    display: inline-block;
    color: var(--yellow);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero-kicker::before {
    content: "";
    display: inline-block;
    width: 42px;
    height: 3px;
    background: var(--yellow);
    margin-right: 12px;
    vertical-align: middle;
}

.hero h1 {
    font-family: var(--heading);
    color: var(--white);
    font-size: clamp(62px, 9vw, 125px);
    font-weight: 900;
    line-height: 0.84;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.hero h1 span {
    color: var(--yellow);
}

.hero-text {
    max-width: 680px;
    color: rgba(255,255,255,0.84);
    font-size: 17px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    min-height: 54px;
    padding: 0 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--yellow);
    color: var(--blue);
}

.btn-primary:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255,210,31,0.25);
}

.btn-outline {
    color: var(--white);
    border-color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    color: var(--blue);
    background: var(--yellow);
    border-color: var(--yellow);
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    z-index: 3;
    right: 40px;
    bottom: 35px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.7);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    writing-mode: vertical-rl;
}

.scroll-line {
    width: 2px;
    height: 55px;
    background: var(--yellow);
}


/* =========================================================
   INTRO
   ========================================================= */

.intro {
    padding: 110px 0;
    background: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 70px;
}

.intro-label {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--blue-2);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.intro-label span:first-child {
    font-family: var(--heading);
    font-size: 48px;
    color: var(--yellow-dark);
    line-height: 1;
}

.intro-content {
    max-width: 900px;
}

.intro-content h2 {
    margin-bottom: 25px;
}

.intro-content > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 17px;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about {
    padding: 110px 0;
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    width: 85px;
    height: 85px;
    border-top: 5px solid var(--yellow);
    border-left: 5px solid var(--yellow);
    z-index: 1;
}

.about-image::after {
    content: "";
    position: absolute;
    right: -15px;
    bottom: -15px;
    width: 85px;
    height: 85px;
    border-right: 5px solid var(--blue);
    border-bottom: 5px solid var(--blue);
    z-index: 1;
}

.about-image img {
    position: relative;
    z-index: 2;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-shadow: var(--shadow-big);
}

.about-content > p {
    color: var(--muted);
    margin-bottom: 20px;
}

.about-highlight {
    margin-top: 30px;
    padding: 25px;
    border-left: 5px solid var(--yellow);
    background: var(--white);
    box-shadow: var(--shadow);
}

.about-highlight strong {
    display: block;
    color: var(--blue);
    font-family: var(--heading);
    font-size: 27px;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.about-highlight span {
    color: var(--muted);
    font-size: 13px;
}


/* =========================================================
   MISSION / VISION
   ========================================================= */

.mission-vision {
    padding: 0;
    background: var(--blue);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.mission-card,
.vision-card {
    min-height: 500px;
    padding: 70px 55px;
    position: relative;
    overflow: hidden;
}

.mission-card {
    background: var(--blue);
    color: var(--white);
}

.vision-card {
    background: var(--yellow);
    color: var(--blue);
}

.card-number {
    display: block;
    font-family: var(--heading);
    font-size: 75px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 35px;
    opacity: 0.22;
}

.mission-card .eyebrow {
    color: var(--yellow);
}

.vision-card .eyebrow {
    color: var(--blue);
}

.mission-card h3,
.vision-card h3 {
    position: relative;
    z-index: 2;
    max-width: 650px;
    font-family: var(--heading);
    font-size: clamp(38px, 4vw, 55px);
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.mission-card p {
    max-width: 600px;
    color: rgba(255,255,255,0.75);
}

.vision-card p {
    max-width: 600px;
    color: rgba(7,26,61,0.75);
}


/* =========================================================
   VALUES
   ========================================================= */

.values {
    padding: 110px 0;
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.value-card {
    min-height: 185px;
    padding: 28px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    background: var(--white);
    transition: var(--transition);
}

.value-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: var(--yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-7px);
    border-color: var(--yellow);
    box-shadow: var(--shadow);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card > span {
    font-family: var(--heading);
    color: var(--light-blue);
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
}

.value-card h3 {
    margin-top: 22px;
    font-family: var(--heading);
    color: var(--blue);
    font-size: 27px;
    text-transform: uppercase;
}


/* =========================================================
   PROGRAMS
   ========================================================= */

.programs {
    padding: 110px 0;
    background: var(--light);
}

.programs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.program-card {
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(7,26,61,0.06);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-big);
}

.program-image {
    height: 300px;
    overflow: hidden;
    position: relative;
    background: var(--blue);
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.06);
}

.program-content {
    padding: 32px;
    position: relative;
}

.program-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--yellow);
    color: var(--blue);
    font-family: var(--heading);
    font-size: 25px;
    font-weight: 800;
    margin-bottom: 20px;
}

.program-content h3 {
    font-family: var(--heading);
    color: var(--blue);
    font-size: 34px;
    line-height: 0.98;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.program-content p {
    color: var(--muted);
    font-size: 14px;
}


/* =========================================================
   DEVELOPMENT BANNER
   ========================================================= */

.development-banner {
    min-height: 520px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        url("images/development.jpg") center / cover no-repeat;
}

.development-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(7,26,61,0.96),
            rgba(7,26,61,0.72),
            rgba(7,26,61,0.35)
        );
}

.development-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.development-content .eyebrow {
    color: var(--yellow);
}

.development-content h2 {
    font-family: var(--heading);
    color: var(--white);
    font-size: clamp(48px, 6vw, 78px);
    line-height: 0.92;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.development-content h2 span {
    color: var(--yellow);
}

.development-content p {
    max-width: 650px;
    color: rgba(255,255,255,0.78);
    margin-bottom: 28px;
}


/* =========================================================
   WHY US
   ========================================================= */

.why-us {
    padding: 110px 0;
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.why-card {
    padding: 35px 30px;
    border: 1px solid var(--border);
    background: var(--white);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-7px);
    border-color: var(--yellow);
    box-shadow: var(--shadow);
}

.why-number {
    display: block;
    color: var(--yellow-dark);
    font-family: var(--heading);
    font-size: 50px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 25px;
}

.why-card h3 {
    font-family: var(--heading);
    color: var(--blue);
    font-size: 30px;
    line-height: 0.98;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.why-card p {
    color: var(--muted);
    font-size: 14px;
}


/* =========================================================
   COMMUNITY
   ========================================================= */

.community {
    padding: 110px 0;
    background: var(--light);
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.community-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-shadow: var(--shadow-big);
}

.community-content h2 {
    margin-bottom: 25px;
}

.community-content > p {
    color: var(--muted);
    margin-bottom: 16px;
}


/* =========================================================
   NEWS
   ========================================================= */

.news {
    padding: 110px 0;
    background: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-card {
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--white);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.news-image {
    height: 240px;
    overflow: hidden;
    background: var(--blue);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.06);
}

.news-content {
    padding: 28px;
}

.news-category {
    display: block;
    color: var(--blue-2);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.news-content h3 {
    font-family: var(--heading);
    color: var(--blue);
    font-size: 31px;
    line-height: 0.98;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.news-content p {
    color: var(--muted);
    font-size: 14px;
}


/* =========================================================
   JOIN
   ========================================================= */

.join {
    padding: 105px 0;
    background: var(--yellow);
    overflow: hidden;
}

.join-content {
    max-width: 900px;
}

.join .eyebrow {
    color: var(--blue);
}

.join-content h2 {
    margin-bottom: 25px;
}

.join-content p {
    max-width: 800px;
    color: rgba(7,26,61,0.75);
    margin-bottom: 14px;
}

.join-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.join .btn-primary {
    background: var(--blue);
    color: var(--white);
}

.join .btn-primary:hover {
    background: var(--blue-2);
}

.join .btn-outline {
    border-color: var(--blue);
    color: var(--blue);
}

.join .btn-outline:hover {
    background: var(--blue);
    color: var(--white);
}


/* =========================================================
   PHILOSOPHY
   ========================================================= */

.philosophy {
    padding: 110px 0;
    background: var(--blue);
    color: var(--white);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.philosophy-heading .eyebrow {
    color: var(--yellow);
}

.philosophy-heading h2 {
    color: var(--white);
}

.philosophy-heading h2 span {
    color: var(--yellow);
}

.philosophy-text {
    color: rgba(255,255,255,0.75);
    font-size: 16px;
}

.philosophy-text p {
    margin-bottom: 20px;
}

.philosophy-text blockquote {
    margin-top: 30px;
    padding: 25px 30px;
    border-left: 4px solid var(--yellow);
    background: rgba(255,255,255,0.06);
    color: var(--white);
    font-family: var(--heading);
    font-size: 28px;
    line-height: 1.1;
}


/* =========================================================
   PARTNERS
   ========================================================= */

.partners {
    padding: 100px 0;
    background: var(--light);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.partner-placeholder {
    height: 125px;
    background: var(--white);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-family: var(--heading);
    font-size: 25px;
    font-weight: 800;
    transition: var(--transition);
}

.partner-placeholder:hover {
    border-color: var(--yellow);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact {
    padding: 110px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 90px;
}

.contact-intro h2 {
    margin-bottom: 25px;
}

.contact-intro > p {
    max-width: 600px;
    color: var(--muted);
}

.contact-details {
    border-left: 1px solid var(--border);
    padding-left: 45px;
}

.contact-item {
    padding: 0 0 27px;
    margin-bottom: 27px;
    border-bottom: 1px solid var(--border);
}

.contact-label {
    display: block;
    color: var(--blue-2);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 7px;
}

.contact-item h3 {
    color: var(--blue);
    font-family: var(--heading);
    font-size: 28px;
    text-transform: uppercase;
}

.contact-item a {
    color: var(--blue);
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--yellow-dark);
}

.contact-item address {
    color: var(--muted);
    font-style: normal;
    line-height: 1.8;
}


/* =========================================================
   SOCIAL CTA
   ========================================================= */

.social-cta {
    padding: 90px 0;
    background: var(--blue-2);
    text-align: center;
}

.social-cta .eyebrow {
    color: var(--yellow);
}

.social-cta h2 {
    font-family: var(--heading);
    color: var(--white);
    font-size: clamp(48px, 6vw, 75px);
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.social-cta p {
    max-width: 650px;
    margin: 0 auto 28px;
    color: rgba(255,255,255,0.75);
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.social-links a {
    padding: 11px 20px;
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--yellow);
    color: var(--blue);
    border-color: var(--yellow);
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: var(--black);
    color: var(--white);
    padding-top: 70px;
}

.footer-main {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    padding-bottom: 55px;
}

.footer-logo img {
    width: auto;
    height: 70px;
    max-width: 220px;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255,255,255,0.65);
    font-family: var(--heading);
    font-size: 25px;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.footer-brand > span {
    color: var(--yellow);
    font-size: 12px;
    font-weight: 700;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.footer-column h3 {
    color: var(--yellow);
    font-family: var(--heading);
    font-size: 22px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.footer-column a,
.footer-column span {
    color: rgba(255,255,255,0.55);
    font-size: 12px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--yellow);
}

.footer-bottom {
    min-height: 75px;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255,255,255,0.4);
    font-size: 11px;
}


/* =========================================================
   BACK TO TOP
   ========================================================= */

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 48px;
    height: 48px;
    border: none;
    background: var(--yellow);
    color: var(--blue);
    font-size: 20px;
    font-weight: 800;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--white);
}


/* =========================================================
   IMAGE FALLBACK
   ========================================================= */

.image-missing {
    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--blue-2)
        );
    position: relative;
}

.image-missing::after {
    content: "ELITE SPORTING FC";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yellow);
    font-family: var(--heading);
    font-size: 24px;
    font-weight: 800;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .main-nav {
        gap: 17px;
    }

    .nav-link {
        font-size: 10px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   RESPONSIVE — 850px
   ========================================================= */

@media (max-width: 850px) {

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(360px, 85%);
        height: 100vh;
        background: var(--blue);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 40px;
        gap: 25px;
        transition: right 0.35s ease;
        box-shadow: -15px 0 40px rgba(0,0,0,0.25);
    }

    .main-nav.open {
        right: 0;
    }

    .nav-link {
        font-size: 17px;
    }

    .nav-cta {
        font-size: 12px;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .intro-label {
        flex-direction: row;
        align-items: center;
    }

    .intro-label span:first-child {
        font-size: 38px;
    }

    .about-grid,
    .community-grid,
    .contact-grid,
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .mission-card,
    .vision-card {
        min-height: auto;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .container {
        width: calc(100% - 28px);
    }

    .site-header {
        padding: 10px 0;
    }

    .brand img {
        height: 50px;
        max-width: 175px;
    }

    .hero {
        min-height: 750px;
    }

    .hero-content {
        padding-top: 80px;
    }

    .hero h1 {
        font-size: clamp(52px, 16vw, 82px);
    }

    .hero-text {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn {
        width: 100%;
        max-width: 290px;
    }

    .hero-scroll {
        display: none;
    }

    .intro,
    .about,
    .values,
    .programs,
    .why-us,
    .community,
    .news,
    .contact {
        padding: 75px 0;
    }

    .section-heading h2,
    .intro-content h2,
    .community-content h2,
    .contact-intro h2,
    .join-content h2,
    .philosophy-heading h2 {
        font-size: 43px;
    }

    .about-image::before {
        width: 60px;
        height: 60px;
        top: -10px;
        left: -10px;
    }

    .about-image::after {
        width: 60px;
        height: 60px;
        right: -10px;
        bottom: -10px;
    }

    .mission-card,
    .vision-card {
        padding: 45px 28px;
    }

    .mission-card h3,
    .vision-card h3 {
        font-size: 39px;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .value-card {
        min-height: 145px;
        padding: 20px;
    }

    .value-card > span {
        font-size: 40px;
    }

    .value-card h3 {
        font-size: 21px;
        margin-top: 15px;
    }

    .program-image {
        height: 230px;
    }

    .program-content {
        padding: 25px;
    }

    .program-content h3 {
        font-size: 29px;
    }

    .development-banner {
        min-height: 500px;
    }

    .development-content h2 {
        font-size: 48px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .partner-placeholder {
        height: 100px;
        font-size: 18px;
    }

    .contact-details {
        padding-left: 0;
        border-left: none;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        padding: 20px 0;
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 400px) {

    .hero h1 {
        font-size: 51px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .section-heading h2,
    .intro-content h2,
    .community-content h2,
    .contact-intro h2,
    .join-content h2,
    .philosophy-heading h2 {
        font-size: 38px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}