/* --- RESET & VARIABLES --- */
:root {
    --bg-color: #080808;
    --text-color: #f0f0f0;
    --accent-color: #333333;
    --brand-font: 'Oswald', sans-serif;
    --body-font: 'Inter', sans-serif;
    --easing: cubic-bezier(0.77, 0, 0.175, 1);
}

html {
    scrollbar-width: none;
}

/* Firefox */
body {
    -ms-overflow-style: none;
}

/* IE and Edge */
body::-webkit-scrollbar,
body::-webkit-scrollbar-button {
    display: none;
}

/* Chrome */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--body-font);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3 {
    font-family: var(--brand-font);
    text-transform: uppercase;
    font-weight: 700;
}

.hero-text {
    font-size: 10vw;
    line-height: 1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    font-family: var(--brand-font);
}

.outline-text {
    -webkit-text-stroke: 2px #3a86ff;
    color: transparent;
    transition: all 0.5s ease;
    padding-inline: 3px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
    display: inline-block;
    line-height: 1;
}

/* --- UTILITIES FOR ANIMATION --- */
.reveal-container {
    overflow: hidden;
    display: block;
}

.reveal-text {
    opacity: 0;
    display: block;
    transform: translateY(200%);
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    /* Adjusted slightly for a tighter bar */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1001;

    /* GLASS EFFECT SETTINGS */
    background-color: rgba(8, 8, 8, 0.65);
    /* Dark semi-transparent background */
    backdrop-filter: blur(5px);
    /* The Blur effect */
    -webkit-backdrop-filter: blur(12px);
    /* Safari support */
    border-bottom: 2px solid #5cb4e2;
    /* Subtle glass edge */

    transition: padding 0.3s ease, background-color 0.3s ease;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
}

.logo {
    font-family: var(--brand-font);
    font-size: 1.5rem;
    letter-spacing: 2px;
    font-weight: 700;
    color: #fff;
    /* Ensure white text since we removed mix-blend-mode */
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    /* Slightly muted white for elegance */
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: #5cb4e2;
    transition: width 0.3s ease;
}

/* Combined Hover AND Active state */
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* --- LAYOUTS --- */
main {
    padding-top: 0;
    min-height: 100vh;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.hero-sub {
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #888;
}

/* Athletes Grid */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 2rem;
}

.athletes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.athlete-card {
    background-color: #111;
    border: 1px solid #222;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.athlete-card:hover {
    transform: translateY(-10px);
    border-color: #444;
}

.card-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}

.athlete-card:hover .card-image {
    filter: grayscale(0%);
}

.card-info {
    padding: 1.5rem;
}

.card-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-info p {
    color: #888;
    font-size: 0.9rem;
}

/* Contact Page */
.contact-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 80vh;
}

.contact-row {
    font-size: 4vw;
    font-family: var(--brand-font);
    border-bottom: 1px solid #222;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.3s ease;
}

.contact-row:hover {
    padding-left: 2rem;
    background-color: #0f0f0f;
}

/* --- ANIMATION LAYERS --- */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 10002;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-logo {
    font-family: var(--brand-font);
    font-size: 5rem;
    color: #fff;
    opacity: 0;
}

.loader-logo > img {
    filter: brightness(0) invert(1);
}

.transition-curtain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    z-index: 9000;
    transform: scaleY(0);
    transform-origin: bottom;
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero-text {
        font-size: 20vw !important;
    }

    .contact-row {
        font-size: 2rem;
    }

    /* Nav hiding logic moved to bottom media query */
}

/* --- LENIS SMOOTH SCROLL REQUIRED STYLES --- */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* --- CONTACT PAGE STYLES --- */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

/* Info Column */
.info-group {
    margin-bottom: 3rem;
}

.info-group .label {
    font-family: var(--brand-font);
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.info-group p,
.info-group a {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #fff;
    display: block;
    transition: color 0.3s ease;
}

.hover-link:hover {
    color: #888;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

/* Minimal Form Styling */
.minimal-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    position: relative;
    padding-top: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    color: #fff;
    font-family: var(--body-font);
    font-size: 1.1rem;
    padding: 10px 0;
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
}

.form-group textarea {
    resize: vertical;
}

.form-group label {
    position: absolute;
    top: 25px;
    left: 0;
    color: #666;
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

/* Floating Label Logic */
.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: #fff;
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: 0;
    font-size: 0.8rem;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Submit Button */
.submit-btn {
    align-self: flex-start;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 1rem 3rem;
    font-family: var(--brand-font);
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: #fff;
    color: #000;
}

/* Responsive Contact */
@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text {
        font-size: 20vw;
    }
}

/* --- HOME: ABOUT SECTION --- */
.about-us {
    padding-bottom: 10rem;
    position: relative;
    z-index: 10;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* Left title smaller, right text wider */
    gap: 4rem;
    align-items: start;
}

/* Sub-headline (Birthplace of Greatness) */
.about-tagline {
    font-family: var(--brand-font);
    font-size: 2.5rem;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: #fff;
}

/* Body Text */
.about-body {
    font-family: var(--body-font);
    font-size: 1.15rem;
    line-height: 1.6;
    color: #999;
    max-width: 600px;
}

.highlight {
    color: #fff;
    font-weight: 600;
}

/* Pill Button Style (used in Hero) */
.btn-pill {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 35px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-pill:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* Arrow Link Style */
.link-arrow {
    font-family: var(--brand-font);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    transition: gap 0.3s ease;
}

.link-arrow:hover {
    gap: 20px;
    color: #ccc;
}

/* Responsive adjustments for About Section */
@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
        /* Stack vertically on mobile */
        gap: 3rem;
    }

    .about-tagline {
        font-size: 2rem;
    }

    .about-us {
        padding-bottom: 6rem;
    }
}

/* --- WHY CHOOSE US SECTION --- */
.why-choose {
    background-color: #121212;
    /* Slightly lighter than pure black to stand out */
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Optional: Subtle background texture logic if you have an image */
.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.why-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    /* Text wider, Image mid, Stats compact */
    gap: 4rem;
    align-items: center;
}

/* Column 1: Typography */
.blue-sub {
    color: #5cb4e2;
    /* The specific blue from the image */
    font-family: var(--body-font);
    font-weight: 600;
    text-transform: none;
    /* Keep natural case */
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.why-desc {
    color: #999;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Column 2: Image & Badge */
.why-image-wrapper {
    position: relative;
    padding-bottom: 2rem;
    /* Space for the hanging badge */
}

.main-feature-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
    filter: brightness(0.9);
}

.history-badge {
    position: absolute;
    bottom: 0;
    right: 10%;
    /* Adjust to overlap nicely */
    background-color: #5cb4e2;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-width: 160px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.history-year {
    font-family: var(--brand-font);
    font-size: 4rem;
    color: #fff;
    line-height: 1;
    font-weight: 700;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

.history-label {
    font-family: var(--body-font);
    color: #fff;
    font-size: 1rem;
    line-height: 1.2;
    margin-top: 0.5rem;
}

/* Column 3: Stats */
.why-stats {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.stat-item {
    border-left: 1px solid #333;
    padding-left: 1.5rem;
    transition: border-color 0.3s ease;
}

.stat-item:hover {
    border-left-color: #5cb4e2;
}

.stat-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(92, 180, 226, 0.1);
    border: 1px solid #5cb4e2;
    border-radius: 4px;
    padding: 5px;
}

.stat-number {
    font-family: var(--brand-font);
    font-size: 3.5rem;
    color: #fff;
    line-height: 1;
}

.stat-label {
    font-family: var(--body-font);
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.3;
}

/* Responsive */
@media (max-width: 1100px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .why-image-wrapper {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .history-badge {
        right: -10px;
        bottom: -20px;
    }

    .why-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .stat-item {
        flex: 1 1 200px;
    }
}

/* --- MAP STYLING --- */
.map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 450px;
    overflow: hidden;
    border: 1px solid #333;
    /* Matches your other border styles */
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 450px;
    /* Optional: Grayscale filter to blend better with dark theme */
    filter: grayscale(100%) invert(92%) contrast(83%);
    transition: filter 0.5s ease;
}

/* On hover, show the map in full color */
.map-wrapper:hover iframe {
    filter: grayscale(0%) invert(0%);
}

/* --- FOOTER STYLES --- */
.site-footer {
    background-color: #050505;
    border-top: 1px solid #1a1a1a;
    /* padding: 6rem 0 4rem 0; */
    margin-top: auto;
    position: relative;
    z-index: 10;
}

/* Big Logo Styling */
.footer-brand {
    border-bottom: 1px solid #1a1a1a;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
}

.footer-logo {
    user-select: none;
}

.footer-logo>img {
    filter: brightness(0) invert(1);
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.col-title {
    font-family: var(--brand-font);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #555;
    margin-bottom: 1.5rem;
}

.footer-col address {
    font-style: normal;
    color: #888;
    line-height: 1.6;
    font-size: 1rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #888;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .footer-logo {
        font-size: 25vw;
        text-align: center;
    }
}

@media (max-width: 500px) {
    .footer-grid {
        grid-template-columns: 1fr;
        /* Stack all columns on mobile */
        gap: 3rem;
    }

    .site-footer {
        padding-top: 0rem;
    }
}

/* --- FOOTER BOTTOM BAR --- */
.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #1a1a1a;
    /* This acts as your <hr> */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright-text {
    color: #444;
    font-size: 0.85rem;
    font-family: var(--body-font);
    letter-spacing: 0.5px;
}

.back-to-top {
    color: #444;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-family: var(--brand-font);
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.back-to-top:hover {
    color: #fff;
}

/* Mobile adjustment for bottom bar */
@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 3rem;
    }
}

/* --- MOBILE MENU STYLES (Fixed & Consolidated) --- */

/* 1. Toggle Button (Hamburger) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    /* Ensure button is ALWAYS on top of everything */
    position: relative;
    z-index: 10001;
}

.menu-toggle .bar {
    width: 30px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
    display: block;
}

/* 2. Full Screen Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000;
    z-index: 999;
    /* High Z-Index, but below the Toggle Button */

    /* We use visibility:hidden in CSS, JS turns it visible */
    visibility: hidden;

    /* The Circle Animation Start Point */
    clip-path: circle(0% at calc(100% - 3rem) 3rem);
    -webkit-clip-path: circle(0% at calc(100% - 3rem) 3rem);

    display: flex;
    align-items: center;
    justify-content: center;
}

/* 3. The Links Container */
.mobile-menu-container {
    text-align: center;
    padding: 2rem;
    width: 100%;
    /* Ensure content is above the overlay background */
    z-index: 10000;
}

.mobile-links-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-link {
    font-family: var(--brand-font);
    font-size: 3rem;
    text-transform: uppercase;
    color: #ffffff !important;
    /* FORCE WHITE */
    text-decoration: none;

    /* Animation Initial State */
    opacity: 0;
    transform: translateY(30px);
}

.mobile-link.active {
    text-decoration: underline;
    text-underline-offset: 10px;
    color: #888 !important;
    /* Distinct color for active page */
}

.mobile-footer {
    margin-top: 4rem;
    color: #555;
    font-family: var(--body-font);
    font-size: 0.9rem;
    opacity: 0;
}

/* 4. New Modal Close Button Style (Optional backup) */
.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-family: var(--brand-font);
    text-transform: uppercase;
    cursor: pointer;
    font-size: 0.8rem;
    letter-spacing: 1px;
    display: block;
}

/* --- RESPONSIVE TRIGGERS --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}

/* --- GALLERY GRID STYLES --- */
.gallery-intro {
    margin-bottom: 6rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid #1a1a1a;
}

.gallery-subtitle {
    font-family: var(--brand-font, sans-serif);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-desc {
    color: #888;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 800px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 6rem;
}

/* Make every 3rd item span full width */
.gallery-item:nth-child(3n) {
    grid-column: span 2;
    aspect-ratio: 21/9;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background-color: #111;
    cursor: pointer;
    /* Indicates clickable */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, filter 0.5s ease;
    filter: grayscale(100%) brightness(0.8);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%) brightness(1);
}

/* --- LIGHTBOX (FULLSCREEN) STYLES --- */
.lightbox {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-height: 80vh;
    max-width: 90vw;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    margin-top: 1rem;
    color: #fff;
    font-family: var(--brand-font, sans-serif);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

/* Controls */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10001;
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s ease;
    user-select: none;
    z-index: 10000;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: #bbb;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item:nth-child(3n) {
        grid-column: span 1;
        aspect-ratio: 4/3;
    }

    .lightbox-content {
        max-width: 95vw;
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 10px;
        font-size: 24px;
    }
}

/* --- TEAM SECTION STYLES --- */
.team-section {
    padding: 8rem 0;
    background-color: #050505;
    /* Matches footer/dark theme */
    border-top: 1px solid #1a1a1a;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.team-card {
    position: relative;
    group: both;
}

/* Image Container */
.member-image-box {
    width: 100%;
    aspect-ratio: 3/4;
    /* Portrait ratio */
    overflow: hidden;
    margin-bottom: 1.5rem;
    background-color: #1a1a1a;
    position: relative;
}

.member-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.team-card:hover .member-image-box img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Typography */
.member-name {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.member-role {
    color: #888;
    font-family: var(--brand-font, sans-serif);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.member-email {
    color: #fff;
    font-size: 0.9rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.member-email:hover {
    border-color: #fff;
}

/* License Badge */
.license-badge {
    background-color: #0056b3;
    /* Matches the blue in your image */
    color: #fff;
    font-size: 0.6rem;
    padding: 3px 8px;
    border-radius: 2px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

/* Responsive */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem 2rem;
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .member-image-box {
        aspect-ratio: 4/5;
        /* Slightly shorter on mobile */
    }
}

/* --- FIFA LICENSE SECTION --- */
.license-section {
    padding: 8rem 0;
    background-color: #000; /* Pitch black background as per image */
}

.license-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center; /* Vertically align content */
}

.license-text .eyebrow {
    color: #3a86ff; /* A vibrant blue */
    font-family: var(--brand-font, sans-serif);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: block;
}

.license-text h2 {
    color: #fff;
    font-size: 2.5rem; /* Large, authoritative text */
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.license-text p {
    color: #ccc; /* Slightly brighter than standard text for emphasis */
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 500px;
}

.license-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.license-image img {
    max-width: 400px; /* Control max size */
    width: 100%;
    border-radius: 8px; /* Optional: adds slightly rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Responsive */
@media (max-width: 900px) {
    .license-grid {
        grid-template-columns: 1fr; /* Stack columns on tablets/mobile */
        gap: 3rem;
        text-align: center;
    }

    .license-text p {
        margin: 0 auto; /* Center the paragraph text */
    }

    .license-image {
        order: -1; /* Move the image to the top on mobile */
    }
}

/* --- PROGRAM SECTION STYLES --- */
.program-section {
    padding: 8rem 0;
    background-color: #0c0c0c; /* A very dark grey, near black */
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
}

.program-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Left column is wider */
    gap: 5rem;
    align-items: start; /* Align items to the top */
}

/* Right Column (Sticky) */
.program-intro {
    position: sticky;
    top: 120px; /* Adjust as needed based on your header height */
    height: fit-content;
}

.program-intro .eyebrow {
    color: #3a86ff; /* Your theme blue */
    font-family: var(--brand-font, sans-serif);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.program-intro h2 {
    color: #fff;
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.program-intro p {
    color: #888;
    line-height: 1.7;
}

/* Left Column (Accordion) */
.accordion-item {
    background-color: transparent;
    border: 1px solid #1a1a1a;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: background-color 0.4s ease;
}

.accordion-item.active {
    background-color: #111;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    width: 100%;
}

.accordion-header h3 {
    color: #3a86ff;
    font-size: 1.5rem;
    font-weight: 500;
}

.accordion-icon {
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform 0.4s ease;
}

/* Creating the '+' with pseudo-elements */
.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background-color: #3a86ff;
    transition: transform 0.4s ease;
}
.accordion-icon::before { /* Horizontal bar */
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    margin-top: -1px;
}
.accordion-icon::after { /* Vertical bar */
    top: 0;
    left: 50%;
    height: 100%;
    width: 2px;
    margin-left: -1px;
}

/* Animate icon to 'x' on active */
.accordion-item.active .accordion-icon {
    transform: rotate(135deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out, padding-top 0.5s ease-out;
}

.accordion-content p {
    color: #888;
    line-height: 1.7;
    font-size: 1rem;
}

.accordion-item.active .accordion-content {
    padding-top: 1.5rem; /* Space between title and text */
    opacity: 1;
}

/* Responsive */
@media (max-width: 900px) {
    .program-layout {
        grid-template-columns: 1fr; /* Stack columns */
        gap: 4rem;
    }
    .program-intro {
        position: static; /* Unstick the right column */
        top: auto;
        text-align: center;
        order: -1; /* This moves the intro block to the top */
    }
    .program-intro h2 {
        font-size: 2.2rem;
    }
    .accordion-header h3 {
        font-size: 1.2rem;
    }
}