/* CSS Variables - Light Mode with African Accents */
:root {
    --color-primary: #e85d04;
    --color-secondary: #2d9c4d;
    --color-accent: #ffb703;
    --color-terracotta: #c65d3b;
    --color-ochre: #d4a574;
    --color-bg: #ffffff;
    --color-bg-alt: #faf8f5;
    --color-text: #1a1a1a;
    --color-text-muted: rgba(26, 26, 26, 0.7);
    --color-card-bg: rgba(232, 93, 4, 0.05);
    --color-border: rgba(232, 93, 4, 0.2);
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* African Pattern Background */
.african-pattern {
    position: absolute;
    width: 150px;
    height: 150px;
    opacity: 0.08;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 10px, var(--color-terracotta) 10px, var(--color-terracotta) 12px),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, var(--color-ochre) 10px, var(--color-ochre) 12px);
    z-index: 1;
}

.african-pattern-hero {
    position: absolute;
    width: 200px;
    height: 200px;
    opacity: 0.1;
    z-index: 1;
}

.pattern-top-left {
    top: 100px;
    left: 20px;
    background:
        repeating-linear-gradient(90deg, var(--color-terracotta) 0px, var(--color-terracotta) 20px, transparent 20px, transparent 40px),
        repeating-linear-gradient(0deg, var(--color-terracotta) 0px, var(--color-terracotta) 20px, transparent 20px, transparent 40px);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.pattern-top-right {
    top: 100px;
    right: 20px;
    background:
        repeating-linear-gradient(90deg, var(--color-ochre) 0px, var(--color-ochre) 15px, transparent 15px, transparent 30px);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.pattern-bottom-left {
    bottom: 100px;
    left: 20px;
    background:
        radial-gradient(circle at 30% 30%, var(--color-terracotta) 2px, transparent 2px),
        radial-gradient(circle at 70% 70%, var(--color-ochre) 2px, transparent 2px);
    background-size: 30px 30px;
    clip-path: polygon(0 100%, 0 0, 100% 100%);
}

.pattern-bottom-right {
    bottom: 100px;
    right: 20px;
    background:
        repeating-linear-gradient(45deg, var(--color-terracotta) 0px, var(--color-terracotta) 10px, transparent 10px, transparent 20px);
    clip-path: polygon(100% 100%, 0 100%, 100% 0);
}

/* Decorative African Borders */
.african-border-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: repeating-linear-gradient(90deg,
            var(--color-terracotta) 0px,
            var(--color-terracotta) 30px,
            var(--color-ochre) 30px,
            var(--color-ochre) 60px,
            var(--color-accent) 60px,
            var(--color-accent) 90px);
    z-index: 10;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: var(--color-bg);
    backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo with Text */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-text);
    transition: var(--transition-smooth);
}

.logo:hover {
    opacity: 0.9;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text-full {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.5px;
    transition: var(--transition-smooth);
}

.logo:hover .logo-text-full {
    color: var(--color-primary);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-text);
    transition: var(--transition-smooth);
    border-radius: 3px;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-primary);
}

/* Hero Section with 70% Gradient Overlay */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 70% Transparent Gradient Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(251, 248, 248, 0.7) 0%,
            rgba(31, 61, 233, 0.6) 50%,
            rgba(63, 167, 11, 0.7) 100%);
    z-index: 1;
}

/* African Pattern Strip at Bottom of Hero */
.hero-pattern-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background:
        repeating-linear-gradient(90deg,
            #C42E9C 0px,
            #C42E9C 20px,
            #4A6FB5 20px,
            #4A6FB5 40px,
            #D47040 40px,
            #D47040 60px,
            transparent 60px,
            transparent 80px),
        repeating-linear-gradient(0deg,
            rgba(255, 255, 255, 0.1) 0px,
            rgba(255, 255, 255, 0.1) 1px,
            transparent 1px,
            transparent 10px);
    z-index: 2;
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.title-line {
    display: block;
}

.title-line.highlight {
    color: #B526B1;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.5);
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-terracotta), var(--color-primary));
    color: white;
    box-shadow: 0 4px 15px rgba(232, 93, 4, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232, 93, 4, 0.4);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid var(--color-accent);
}

.btn-outline:hover {
    background: var(--color-accent);
    color: var(--color-text);
}

.btn-full {
    width: 100%;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-ochre);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Media Showcase Section */
.media-showcase {
    padding: 6rem 0;
    background: var(--color-bg);
    position: relative;
}

.media-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.media-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.media-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.media-image-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    /* Adding a subtle vibrant border dynamically */
    border: 2px solid var(--color-terracotta);
    transition: var(--transition-smooth);
}

.media-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(198, 93, 59, 0.3);
    border-color: var(--color-accent);
}

.dynamic-sports-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-image-figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.media-image-caption {
    font-size: 0.8rem;
    color: #aaaaaa;
    line-height: 1.5;
    font-style: italic;
    text-align: center;
    padding: 0 0.5rem;
}

@media (max-width: 968px) {
    .media-showcase-grid {
        grid-template-columns: 1fr;
    }
}

/* Services Section with African Pattern */
.services {
    padding: 6rem 0;
    background: var(--color-bg-alt);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: repeating-linear-gradient(90deg,
            #C42E9C 0px,
            #C42E9C 25px,
            #4A6FB5 25px,
            #4A6FB5 50px,
            #D47040 50px,
            #D47040 75px);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header.centered {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-terracotta);
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(198, 93, 59, 0.1);
    border-radius: 20px;
    border-left: 3px solid var(--color-accent);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.2;
}

.services-banner {
    margin-bottom: 4rem;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.services-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .services-banner {
        height: 250px;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-terracotta), var(--color-accent));
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-terracotta);
    box-shadow: 0 20px 40px rgba(198, 93, 59, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-terracotta), var(--color-primary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(198, 93, 59, 0.3);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.service-card p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -50px;
    width: 100px;
    height: 100px;
    background:
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(198, 93, 59, 0.1) 10px, rgba(198, 93, 59, 0.1) 20px);
    transform: rotate(45deg);
    z-index: 0;
}

.about::after {
    content: '';
    position: absolute;
    bottom: 50px;
    right: -30px;
    width: 80px;
    height: 80px;
    border: 3px solid rgba(212, 165, 116, 0.2);
    border-radius: 50%;
    z-index: 0;
}

.about-header {
    max-width: 800px;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.about-intro {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-top: 1.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.team-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
}

.team-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-terracotta), transparent);
    opacity: 0.3;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-terracotta);
    box-shadow: 0 20px 40px rgba(198, 93, 59, 0.15);
}

.team-info {
    padding: 2rem;
}

.team-info h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--color-text);
}

.team-role {
    color: var(--color-terracotta);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
}

.team-achievements {
    list-style: none;
}

.team-achievements li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    border-bottom: 1px solid var(--color-border);
}

.team-achievements li:last-child {
    border-bottom: none;
}

.team-achievements li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--color-terracotta);
    font-size: 0.8rem;
}

/* Game Plan Section */
.gameplan {
    padding: 6rem 0;
    position: relative;
    background: var(--color-bg-alt);
    overflow: hidden;
}

.gameplan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: repeating-linear-gradient(90deg,
            #C42E9C 0px,
            #C42E9C 25px,
            #4A6FB5 25px,
            #4A6FB5 50px,
            #D47040 50px,
            #D47040 75px);
}

.gameplan-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image:
        repeating-linear-gradient(90deg, transparent, transparent 50px, var(--color-terracotta) 50px, var(--color-terracotta) 52px),
        repeating-linear-gradient(0deg, transparent, transparent 50px, var(--color-terracotta) 50px, var(--color-terracotta) 52px);
}

.gameplan .container {
    position: relative;
    z-index: 1;
}

.gameplan-subtitle {
    font-size: 1.25rem;
    color: var(--color-terracotta);
    margin-top: 1rem;
}

.gameplan-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.gameplan-image-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    height: 100%;
    min-height: 500px;
}

.gameplan-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

@media (max-width: 968px) {
    .gameplan-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .gameplan-image-container {
        min-height: 300px;
        order: -1;
    }
}

.gameplan-steps {
    display: grid;
    gap: 1.5rem;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to bottom, var(--color-terracotta), var(--color-accent));
}

.step-card:hover {
    border-color: var(--color-terracotta);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(198, 93, 59, 0.1);
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-terracotta), var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    flex-shrink: 0;
    min-width: 80px;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.step-content p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Beyond Sports Section */
.beyond-sports {
    padding: 6rem 0;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.beyond-sports::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -50px;
    width: 200px;
    height: 200px;
    border: 3px solid rgba(212, 165, 116, 0.1);
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 0;
}

.beyond-sports::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-terracotta), var(--color-accent), var(--color-secondary));
}

.beyond-sports-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.beyond-sports-content {
    max-width: 600px;
}

.beyond-sports-text {
    margin-top: 2rem;
}

.beyond-sports-text p {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.beyond-sports-text strong {
    color: var(--color-text);
    font-weight: 600;
}

.beyond-sports-cta {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}

.beyond-sports-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-terracotta), var(--color-accent));
}

.beyond-sports-cta .cta-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-terracotta), var(--color-primary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(198, 93, 59, 0.3);
}

.beyond-sports-cta .cta-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.beyond-sports-cta h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.beyond-sports-cta p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.beyond-sports-images {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.beyond-sports-images img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    transition: var(--transition-smooth);
}

.beyond-sports-images img:nth-child(1) {
    transform: translateX(-30px);
}

.beyond-sports-images img:nth-child(2) {
    transform: translateX(30px);
}

.beyond-sports-images img:hover {
    transform: translateX(0) scale(1.02);
    z-index: 2;
    position: relative;
}

@media (max-width: 1024px) {
    .beyond-sports-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .beyond-sports-images {
        flex-direction: row;
    }

    .beyond-sports-images img:nth-child(1),
    .beyond-sports-images img:nth-child(2) {
        transform: none;
        width: calc(50% - 1rem);
    }
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--color-terracotta), var(--color-accent), var(--color-secondary), transparent);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-info {
    max-width: 500px;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin: 1.5rem 0;
}

.contact-details {
    margin-top: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-terracotta), var(--color-primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(198, 93, 59, 0.2);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.contact-item strong {
    display: block;
    color: var(--color-text);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--color-text-muted);
}

/* Contact Form */
.contact-form {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-terracotta), var(--color-accent));
    border-radius: 3px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-terracotta);
    box-shadow: 0 0 0 3px rgba(198, 93, 59, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, rgba(198, 93, 59, 0.05) 100%);
    padding: 4rem 0 2rem;
    border-top: 6px solid;
    border-image: repeating-linear-gradient(90deg,
            #C42E9C 0px,
            #C42E9C 25px,
            #4A6FB5 25px,
            #4A6FB5 50px,
            #D47040 50px,
            #D47040 75px) 6;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.footer-logo .logo-img {
    height: 50px;
    width: auto;
}

.footer-logo .logo-text-full {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-brand p {
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-terracotta), var(--color-accent));
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-terracotta);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--color-terracotta), var(--color-primary));
    color: white;
    transform: translateY(-3px);
    border-color: transparent;
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Animation Classes */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

.reveal-card {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* Mobile Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--color-bg);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        transition: var(--transition-smooth);
    }

    .nav-menu.active {
        right: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .step-card {
        flex-direction: column;
        gap: 1rem;
    }

    .step-number {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .logo-text-full {
        font-size: 1.2rem;
    }

    .logo-img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .section-title {
        font-size: 1.75rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-alt);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-terracotta), var(--color-primary));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-terracotta);
}

/* Selection Color */
::selection {
    background: var(--color-terracotta);
    color: white;
}

/* =========================================
   Gallery Page Styles 
   ========================================= */

.gallery-header {
    padding-top: 150px;
    padding-bottom: 80px;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.gallery-header .page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/A\ world\ champion\ in\ action.JPG');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.gallery-header .container {
    position: relative;
    z-index: 2;
}

.gallery-header .page-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.gallery-header .page-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.gallery-section {
    padding: 6rem 0;
    background: var(--color-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 250px;
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem 1.5rem 1.5rem;
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: flex-end;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: var(--font-display);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

.lightbox-caption {
    color: #ffffff;
    margin-top: 15px;
    font-size: 1.2rem;
    font-family: var(--font-display);
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--color-primary);
}

.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;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 0 50px 50px 0;
}

.lightbox-next {
    right: -60px;
    border-radius: 50px 0 0 50px;
}

.lightbox-prev {
    left: -60px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .lightbox-prev {
        left: -20px;
    }

    .lightbox-next {
        right: -20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}