/* =========================================================
   INFOCUS SPORTS ACADEMY
   ACADEMY PAGE — ABOUT.CSS
========================================================= */


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: #080d16;
    color: #ffffff;
    overflow-x: hidden;
}

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

button {
    font: inherit;
}


/* =========================================================
   BRAND VARIABLES
========================================================= */

:root {
    --red: #D32D27;
    --blue: #1D75BB;
    --yellow: #FCEE21;
    --green: #2E9844;
    --border-blue: #3B52A4;

    --white: #FFFFFF;
    --black: #05070b;

    --dark: #080d16;
    --dark-2: #0d1420;
    --dark-3: #111a28;

    --muted: #a7b0bd;
    --border: rgba(255, 255, 255, 0.09);
}

/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 78px;

    padding: 0 5vw;

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

    z-index: 1000;

    background: rgba(5, 7, 11, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}


.brand-logo {
    width: 52px;
    height: 52px;

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

    flex-shrink: 0;

    overflow: visible;

    background: transparent;

    border: none;
    box-shadow: none;
}


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

    object-fit: contain;

    display: block;
}


.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}


.brand-text strong {
    font-size: 16px;
    letter-spacing: 2px;
}


.brand-text span {
    font-size: 9px;
    color: var(--muted);
    letter-spacing: 1.2px;
    text-transform: uppercase;
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}


.nav-links a {
    position: relative;

    font-size: 13px;
    color: #d8dde5;

    transition: color 0.25s ease;
}


.nav-links a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--red);

    transition: width 0.25s ease;
}


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


.nav-links a:hover::after {
    width: 100%;
}


.nav-button {
    padding: 11px 19px;

    border-radius: 999px;

    background: var(--white);
    color: var(--black);

    font-size: 12px;
    font-weight: 700;

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


.nav-button:hover {
    transform: translateY(-2px);
    background: var(--yellow);
}


.menu-button {
    display: none;

    border: none;
    background: transparent;

    color: var(--white);

    font-size: 25px;
    cursor: pointer;
}


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

.menu-button {
    display: none;

    border: none;
    background: transparent;

    color: #ffffff;

    font-size: 1.5rem;

    cursor: pointer;
}


/* =========================================================
   COMMON SECTION STYLES
========================================================= */

.section-eyebrow {
    margin-bottom: 18px;

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

    letter-spacing: 0.22em;

    color: var(--yellow);
}


/* =========================================================
   COMMON BUTTONS
========================================================= */

.primary-button,
.secondary-button,
.white-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    min-height: 50px;

    padding: 0 24px;

    border-radius: 100px;

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

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

.primary-button {
    background: #ffffff;
    color: #05070b;
}

.primary-button:hover {
    transform: translateY(-3px);
    background: var(--yellow);
}

.secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.secondary-button:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}

.white-button {
    background: #ffffff;
    color: #05070b;
}

.white-button:hover {
    transform: translateY(-3px);
    background: var(--yellow);
}

.primary-button span,
.secondary-button span,
.white-button span {
    font-size: 1rem;
}


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

.academy-hero {
    position: relative;

    min-height: 100vh;

    padding: 150px 8vw 100px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(29, 117, 187, 0.18),
            transparent 32%
        ),
        radial-gradient(
            circle at 25% 70%,
            rgba(211, 45, 39, 0.10),
            transparent 30%
        ),
        #080d16;
}


/* Grid */

.academy-hero-grid {
    position: absolute;
    inset: 0;

    opacity: 0.16;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.055) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.055) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        linear-gradient(
            to bottom,
            black 0%,
            transparent 90%
        );
}


/* Hero content */

.academy-hero-content {
    position: relative;

    max-width: 850px;

    z-index: 2;
}

.academy-hero-content h1 {
    max-width: 850px;

    font-size: clamp(4rem, 8vw, 8.5rem);

    line-height: 0.88;

    font-weight: 800;

    letter-spacing: -0.065em;
}

.academy-hero-content h1 span {
    display: block;

    color: transparent;

    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.75);
}

.academy-hero-description {
    max-width: 620px;

    margin-top: 34px;

    color: var(--muted);

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

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-top: 38px;
}


/* Giant number */

.hero-number {
    position: absolute;

    right: 4vw;
    bottom: -5vw;

    font-size: clamp(16rem, 35vw, 35rem);

    font-weight: 800;

    line-height: 0.75;

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

    user-select: none;
    pointer-events: none;
}

/* =========================================================
   SCROLL INDICATOR
========================================================= */

.scroll-indicator {
    position: absolute;

    bottom: 38px;
    left: 8vw;

    display: flex;
    align-items: center;
    gap: 15px;

    color: #7f8997;

    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    animation: scrollIndicatorFloat 2.5s ease-in-out infinite;
}

.scroll-line {
    position: relative;

    width: 55px;
    height: 1px;

    overflow: hidden;

    background: rgba(255,255,255,0.18);
}

.scroll-line::after {
    content: "";

    position: absolute;

    top: 0;
    left: -100%;

    width: 100%;
    height: 100%;

    background: #ffffff;

    animation: scrollLineMove 2s ease-in-out infinite;
}


/* =========================================================
   SCROLL ANIMATION
========================================================= */

@keyframes scrollIndicatorFloat {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.65;
    }

    50% {
        transform: translateY(5px);
        opacity: 1;
    }

}


@keyframes scrollLineMove {

    0% {
        left: -100%;
    }

    45%,
    55% {
        left: 0;
    }

    100% {
        left: 100%;
    }

}
/* =========================================================
   INTRODUCTION
========================================================= */

.academy-introduction {
    position: relative;

    padding: 150px 8vw;

    display: grid;
    grid-template-columns: 0.7fr 1.5fr;

    gap: 10vw;

    background: #0d1420;
}

.intro-label {
    display: flex;
    flex-direction: column;
    gap: 8px;

    color: #596575;

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

    letter-spacing: 0.15em;
}

.intro-content {
    max-width: 800px;
}

.intro-content h2 {
    max-width: 750px;

    font-size: clamp(3rem, 6vw, 6.5rem);

    line-height: 0.95;

    letter-spacing: -0.055em;
}

.intro-content h2 span {
    color: var(--yellow);
}

.intro-content > p:not(.section-eyebrow) {
    max-width: 700px;

    margin-top: 32px;

    color: var(--muted);

    font-size: 0.92rem;
    line-height: 1.9;
}


/* =========================================================
   PHILOSOPHY
========================================================= */

.philosophy-section {
    padding: 150px 8vw;

    background: #080d16;
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr 0.75fr;

    gap: 8vw;

    align-items: end;

    margin-bottom: 75px;
}

.section-heading h2 {
    font-size: clamp(3rem, 5.5vw, 6rem);

    line-height: 0.95;

    letter-spacing: -0.055em;
}

.section-heading h2 span {
    color: var(--yellow);
}

.section-heading > p {
    max-width: 470px;

    color: var(--muted);

    font-size: 0.9rem;
    line-height: 1.9;
}


/* Philosophy cards */

.philosophy-grid {
    display: grid;

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

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

.philosophy-card {
    min-height: 280px;

    padding: 42px;

    display: grid;
    grid-template-columns: 55px 1fr;

    gap: 25px;

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

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

.philosophy-card:hover {
    background: rgba(255,255,255,0.035);
}

.card-number {
    color: var(--yellow);

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

    letter-spacing: 0.1em;
}

.philosophy-card h3 {
    margin-bottom: 15px;

    font-size: 1.55rem;

    letter-spacing: -0.03em;
}

.philosophy-card p {
    max-width: 430px;

    color: var(--muted);

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


/* =========================================================
   TRAINING SECTION
========================================================= */

.training-section {
    position: relative;

    padding: 150px 8vw;

    display: grid;
    grid-template-columns: 0.25fr 1fr;

    gap: 5vw;

    background:
        linear-gradient(
            135deg,
            #101a28,
            #080d16
        );

    overflow: hidden;
}

.training-section::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -180px;
    top: 50%;

    transform: translateY(-50%);

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,0.05);

    box-shadow:
        0 0 0 80px rgba(255,255,255,0.015),
        0 0 0 160px rgba(255,255,255,0.01);
}

.training-number {
    position: relative;

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

    font-size: clamp(7rem, 14vw, 14rem);

    font-weight: 800;

    line-height: 0.8;
}

.training-content {
    position: relative;

    z-index: 2;
}

.training-content h2 {
    font-size: clamp(3rem, 6vw, 6.5rem);

    line-height: 0.92;

    letter-spacing: -0.06em;
}

.training-content h2 span {
    color: var(--yellow);
}

.training-description {
    max-width: 680px;

    margin-top: 30px;

    color: var(--muted);

    font-size: 0.9rem;
    line-height: 1.9;
}


/* Training points */

.training-points {
    margin-top: 65px;

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

    gap: 0;
}

.training-point {
    padding: 28px 30px;

    display: grid;
    grid-template-columns: 40px 1fr;

    gap: 15px;

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

.training-point:nth-child(odd) {
    border-right: 1px solid var(--border);
}

.training-point > span {
    color: var(--yellow);

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

.training-point h3 {
    margin-bottom: 7px;

    font-size: 1rem;
}

.training-point p {
    color: var(--muted);

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


/* =========================================================
   ENVIRONMENT
========================================================= */

.environment-section {
    padding: 150px 8vw;

    background: #0d1420;
}

.environment-header {
    max-width: 850px;

    margin-bottom: 80px;
}

.environment-header h2 {
    font-size: clamp(3rem, 5.5vw, 6rem);

    line-height: 0.95;

    letter-spacing: -0.055em;
}

.environment-header h2 span {
    color: var(--yellow);
}

.environment-header > p:last-child {
    max-width: 600px;

    margin-top: 28px;

    color: var(--muted);

    font-size: 0.9rem;
    line-height: 1.9;
}


/* Environment grid */

.environment-grid {
    display: grid;

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

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

.environment-item {
    min-height: 300px;

    padding: 35px 30px;

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

    transition:
        background 0.3s ease;
}

.environment-item:first-child {
    border-left: 1px solid var(--border);
}

.environment-item:hover {
    background: rgba(255,255,255,0.025);
}

.environment-item > span {
    color: var(--yellow);

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

.environment-item h3 {
    margin-top: 80px;

    font-size: 1.2rem;

    letter-spacing: -0.02em;
}

.environment-item p {
    margin-top: 14px;

    color: var(--muted);

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


/* =========================================================
   SPORTS CONNECTION
========================================================= */

.sports-connection {
    position: relative;

    min-height: 620px;

    padding: 130px 8vw;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(29,117,187,0.28),
            transparent 35%
        ),
        radial-gradient(
            circle at 20% 50%,
            rgba(211,45,39,0.16),
            transparent 30%
        ),
        #080d16;
}

.sports-connection::before {
    content: "06";

    position: absolute;

    right: 2vw;
    bottom: -4vw;

    font-size: clamp(15rem, 30vw, 30rem);

    font-weight: 800;

    line-height: 0.7;

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

.connection-content {
    position: relative;

    max-width: 800px;

    z-index: 2;
}

.connection-content h2 {
    font-size: clamp(3.5rem, 7vw, 8rem);

    line-height: 0.88;

    letter-spacing: -0.065em;
}

.connection-content h2 span {
    display: block;

    color: var(--yellow);
}

.connection-content > p:not(.section-eyebrow) {
    max-width: 560px;

    margin-top: 28px;

    color: var(--muted);

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

.connection-content .white-button {
    margin-top: 38px;
}


/* =========================================================
   FINAL CTA
========================================================= */

.academy-cta {
    min-height: 600px;

    padding: 130px 8vw;

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

    text-align: center;

    background:
        linear-gradient(
            135deg,
            rgba(211,45,39,0.14),
            rgba(29,117,187,0.12)
        ),
        #0d1420;
}

.cta-content {
    max-width: 900px;
}

.cta-content h2 {
    font-size: clamp(4rem, 8vw, 8.5rem);

    line-height: 0.86;

    letter-spacing: -0.07em;
}

.cta-content h2 span {
    color: var(--yellow);
}

.cta-content > p:not(.section-eyebrow) {
    margin: 28px auto 0;

    max-width: 500px;

    color: var(--muted);

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

.cta-content .primary-button {
    margin-top: 35px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 50px 8vw 35px;

    display: grid;
    grid-template-columns: 1fr auto;
    gap: 35px;

    background: #05070b;

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

.footer-brand {
    display: flex;
    align-items: center;

    gap: 14px;
}

.footer-logo {
    width: 52px;
    height: 52px;

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

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

    object-fit: contain;
}

.footer-brand strong {
    font-size: 0.85rem;

    letter-spacing: 0.04em;
}

.footer-brand p {
    margin-top: 5px;

    color: #737d8a;

    font-size: 0.7rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.footer-links a {
    color: #858f9d;

    font-size: 0.72rem;

    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-copy {
    grid-column: 1 / -1;

    padding-top: 25px;

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

    color: #596371;

    font-size: 0.65rem;
}


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

@media (max-width: 1000px) {

    .navbar {
        padding: 0 4vw;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-button {
        display: none;
    }

    .academy-hero {
        padding-left: 6vw;
        padding-right: 6vw;
    }

    .academy-introduction,
    .philosophy-section,
    .training-section,
    .environment-section,
    .sports-connection,
    .academy-cta {
        padding-left: 6vw;
        padding-right: 6vw;
    }

    .academy-introduction {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .environment-item:nth-child(2) {
        border-right: 1px solid var(--border);
    }

    .environment-item:nth-child(3) {
        border-left: 1px solid var(--border);
        border-top: 1px solid var(--border);
    }

    .environment-item:nth-child(4) {
        border-top: 1px solid var(--border);
    }

}


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

@media (max-width: 700px) {

    .navbar {
        height: 70px;
        padding: 0 20px;
    }

    .brand-logo {
        width: 44px;
        height: 44px;
    }

    .brand-text strong {
        font-size: 0.68rem;
    }

    .menu-button {
        display: block;
    }

    .nav-links {
        position: absolute;

        top: 70px;
        left: 0;

        width: 100%;

        padding: 25px;

        display: none;
        flex-direction: column;
        align-items: flex-start;

        gap: 22px;

        background: rgba(8,13,22,0.97);

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

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

    .nav-links a {
        font-size: 0.85rem;
    }


    /* Hero */

    .academy-hero {
        min-height: 100vh;

        padding: 130px 24px 100px;

        align-items: flex-end;
    }

    .academy-hero-content h1 {
        font-size: clamp(3.3rem, 15vw, 5.5rem);
    }

    .academy-hero-content h1 span {
        -webkit-text-stroke: 1px rgba(255,255,255,0.7);
    }

    .academy-hero-description {
        margin-top: 25px;

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

    .hero-actions {
        flex-wrap: wrap;

        margin-top: 30px;
    }

    .primary-button,
    .secondary-button,
    .white-button {
        min-height: 46px;

        padding: 0 19px;

        font-size: 0.72rem;
    }

    .hero-number {
        right: -5vw;
        bottom: 18vh;

        font-size: 55vw;
    }

    .scroll-indicator {
        left: 24px;
        bottom: 25px;
    }


    /* Intro */

    .academy-introduction,
    .philosophy-section,
    .training-section,
    .environment-section,
    .sports-connection,
    .academy-cta {
        padding: 90px 24px;
    }

    .intro-label {
        display: none;
    }

    .intro-content h2 {
        font-size: clamp(2.8rem, 13vw, 4.5rem);
    }

    .intro-content > p:not(.section-eyebrow) {
        margin-top: 25px;

        font-size: 0.82rem;
    }


    /* Philosophy */

    .section-heading {
        display: block;

        margin-bottom: 50px;
    }

    .section-heading h2 {
        font-size: clamp(2.8rem, 13vw, 4.5rem);
    }

    .section-heading > p {
        margin-top: 25px;

        font-size: 0.82rem;
    }

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

    .philosophy-card {
        min-height: auto;

        padding: 30px 24px;

        grid-template-columns: 40px 1fr;
    }

    .philosophy-card h3 {
        font-size: 1.3rem;
    }


    /* Training */

    .training-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .training-number {
        font-size: 7rem;
    }

    .training-content h2 {
        font-size: clamp(2.8rem, 13vw, 4.5rem);
    }

    .training-description {
        font-size: 0.82rem;
    }

    .training-points {
        grid-template-columns: 1fr;

        margin-top: 45px;
    }

    .training-point:nth-child(odd) {
        border-right: none;
    }

    .training-point {
        padding: 25px 0;
    }


    /* Environment */

    .environment-header {
        margin-bottom: 50px;
    }

    .environment-header h2 {
        font-size: clamp(2.8rem, 13vw, 4.5rem);
    }

    .environment-header > p:last-child {
        font-size: 0.82rem;
    }

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

    .environment-item,
    .environment-item:nth-child(2),
    .environment-item:nth-child(3),
    .environment-item:nth-child(4) {
        min-height: auto;

        padding: 30px 24px;

        border-left: 1px solid var(--border);
        border-right: 1px solid var(--border);
        border-top: none;

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

    .environment-item:first-child {
        border-top: 1px solid var(--border);
    }

    .environment-item h3 {
        margin-top: 50px;
    }


    /* Sports connection */

    .sports-connection {
        min-height: 520px;
    }

    .connection-content h2 {
        font-size: clamp(3rem, 14vw, 5rem);
    }

    .connection-content > p:not(.section-eyebrow) {
        font-size: 0.82rem;
    }

    .sports-connection::before {
        right: -10vw;
        bottom: 5vh;

        font-size: 60vw;
    }


    /* CTA */

    .academy-cta {
        min-height: 500px;
    }

    .cta-content h2 {
        font-size: clamp(3.5rem, 15vw, 5.5rem);
    }

    .cta-content > p:not(.section-eyebrow) {
        font-size: 0.82rem;
    }


    /* Footer */

    .footer {
        padding: 40px 24px 30px;

        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-wrap: wrap;

        gap: 18px;
    }

    .footer-copy {
        grid-column: 1;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

}
/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;

    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   NAVBAR SCROLL STATE
========================================================= */

.navbar.scrolled {
    background: rgba(5, 7, 11, 0.92);

    border-bottom-color:
        rgba(255, 255, 255, 0.1);
}