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

/* Prevent horizontal scrolling on all pages */
html {
    overflow-x: hidden;
}

footer a{
    text-decoration: none;
    color: white;
}

section a{
    text-decoration: none;
    color: white;
}

section a:hover{
    color: var(--primary-gold);
    transition: 0.5s;
}



:root {
    --primary-white: #ffffff;
    --primary-dark: #231f20;
    --primary-gold: #cbb672;
    --text-light: #f5f5f5;
    --text-dark: #333333;
    --overlay-dark: rgba(35, 31, 32, 0.7);
    --overlay-light: rgba(203, 182, 114, 0.2);
}

body {
    font-family: 'Archivo', sans-serif;
    overflow-x: hidden;
    background-color: var(--primary-dark);
    color: var(--primary-white);
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-gold));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#loading-screen.hide {
    transform: scale(50);
    opacity: 0;
    pointer-events: none;
}

.club-badge img {
    width: 300px;
    height: 300px;
    /*border-radius: 50%;
    box-shadow: 0 0 30px rgba(203, 182, 114, 0.5);*/
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(35, 31, 32, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    height: 80px;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.nav-logo a{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-gold);
    text-decoration: none;
}


.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-gold);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--primary-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hamburger animation when active - hide spans and show X icon */
.hamburger.active span {
    opacity: 0;
}

.hamburger.active::before {
    content: '\f00d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--primary-white);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hamburger {
    position: relative;
}

/* Main Container */
.main-container {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    min-height: 100vh;
    width: 100vw;
}

.section {
    height: 100vh;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100vw;
}

/* Disable scroll-snap on mobile devices for smooth scrolling */
@media (max-width: 768px) {
    .main-container {
        scroll-snap-type: none;
    }
    
    .section {
        scroll-snap-align: none;
    }
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
}

.background-overlay-image{
    width: 100%;
}

.section-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    color: white;
}

.section-content2 {
    position: relative;
    z-index: 2;
    text-align: left;
   
    padding: 0 2rem;
    color: white;
}

/* Fixed title for section 1 */
.fixed-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    pointer-events: none;
    width: 100%;
    max-width: 95vw;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.fixed-title .section-title {
    font-size: clamp(2rem, 10vw, 4.5rem);
    font-weight: 700;
    color: white;
    /* Removed text-shadow to prevent SVG shadow issues in Chrome */
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    line-height: 1.1;
    width: 100%;
    word-wrap: break-word;
    hyphens: auto;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    padding-top: 30px;
}

.section-subtitle {
    font-size: 1.5rem;
    opacity: 0.8;
    animation: fadeInUp 1s ease 0.3s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Backgrounds */
.section-1 {
    background: #000000; /* Solid black background */
    position: relative;
}

.section-2 {
    background: url('Roy.jpg') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-2 .section-title{
    color: #c8b273;
}

.section-3 {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-gold));
}

.section-6 .section-image{
    opacity: 1;
    position: relative;
    z-index: 3;
}

.section-6 .section-image img {
    filter: brightness(1.2) contrast(1.15) saturate(1.3);
    transition: filter 0.3s ease;
}

.section-6 .section-image:hover img {
    filter: brightness(1.25) contrast(1.2) saturate(1.35);
}

.section-6 .background-overlay {
    z-index: 1;
}

.section-4 {
    background: url('https://images.unsplash.com/photo-1574629810360-7ef8eb8b5d3b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center/cover;
}

.section-5 {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-dark));
}


/* Landing Phase Transition Styles */
.landing-phase {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.landing-phase.active {
    opacity: 1;
    z-index: 2;
}

.phase-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.phase-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
    z-index: 5;
}

.scroll-indicator span {
    font-size: 0.9rem;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Cards Section */
.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns for 3 cards */
    gap: 20px; /* space between cards */
    padding: 0px 20px;
    max-width: 1200px; /* optional, to center content */
    margin: 0 auto; /* center on page */
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    opacity: 0;
    transform: translateX(-100px);
    animation: slideIn 0.8s ease forwards;
}

.card-link:nth-child(even) {
    transform: translateX(100px);
}

.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(203, 182, 114, 0.3);
    transition: all 0.3s ease;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(203, 182, 114, 0.3);
    background: rgba(203, 182, 114, 0.2);
}

.card i {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-white);
}

.card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--primary-white);
    opacity: 0.9;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}





/* Fixtures Section */
.fixtures-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.fixture-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(203, 182, 114, 0.3);
}

.fixture-card h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.match-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.match-team {
    font-size: 1.2rem;
    font-weight: 600;
}

.match-result {
    font-size: 2rem;
    color: var(--primary-gold);
    font-weight: 700;
}

.match-info {
    opacity: 0.8;
}

/* Infinite Loop Triangle Sponsor Carousel */
.sponsors-container {
    margin-top: 1rem;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    
}

.sponsors-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsors-slider {
    position: relative;
    width: 100vw;
    max-width: none;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-slide {
    position: absolute;
    width: 320px;
    height: 180px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.2rem;
    text-align: center;
    border: 1px solid rgba(203, 182, 114, 0.3);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    visibility: hidden;
    filter: blur(3px);
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
}

/* Show only 3 sponsors at a time - center focal + left and right side sponsors */
.sponsor-slide.focal {
    opacity: 1 !important;
    visibility: visible !important;
    filter: blur(0px) !important;
    z-index: 10 !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-50%) scale(1.3) !important;
    height: 24vh;
    max-height: 240px;
    min-height: 180px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.sponsor-slide.side-left {
    opacity: 0.6 !important;
    visibility: visible !important;
    filter: blur(2px) !important;
    z-index: 5 !important;
    left: 10% !important;
    transform: translateY(-50%) scale(0.85) !important;
}

.sponsor-slide.side-right {
    opacity: 0.6 !important;
    visibility: visible !important;
    filter: blur(2px) !important;
    z-index: 5 !important;
    right: 10% !important;
    transform: translateY(-50%) scale(0.85) !important;
}

/* Hide all other sponsors */
.sponsor-slide:not(.focal):not(.side-left):not(.side-right) {
    opacity: 0 !important;
    visibility: hidden !important;
}

.sponsor-logo {
    width: 90px;
    height: 90px;
    background: var(--primary-gold);
    border-radius: 50%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-dark);
    font-weight: bold;
    transition: all 1s ease;
    overflow: hidden;
    flex-shrink: 0;
}

.sponsor-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.sponsor-slide.focal .sponsor-logo {
    width: 110px;
    height: 110px;
    font-size: 2.4rem;
    transform: scale(1.1);
    margin: 0;
}

.sponsor-slide h3 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--primary-white);
    font-weight: 600;
    transition: all 1s ease;
    text-align: center;
    flex-shrink: 0;
}

.sponsor-slide.focal h3 {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin: 0;
}

.sponsor-slide p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.3;
    color: var(--primary-white);
    transition: all 1s ease;
}

.sponsor-slide.focal p {
    font-size: 1rem;
    opacity: 1;
}

/* Infinite loop animation indicator */
.carousel-progress {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 15;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: var(--primary-gold);
    transform: scale(1.3);
}

/* Ultra-wide screen constraints for sponsor cards - only for 1920px+ */
@media (min-width: 1920px) {
    .sponsor-slide.focal {
        max-height: 280px;
        min-height: 220px;
    }
}

/* Enhanced Responsive Sponsor Cards for Mobile - Desktop-like Carousel */
@media (max-width: 768px) {
    .sponsors-container {
        height: 500px;
        padding: 0 1rem;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .sponsors-slider {
        width: 100vw;
        height: 500px;
        padding: 0;
        left: 0;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .sponsor-slide {
        position: absolute;
        width: 200px; /* Smaller width for side cards */
        height: 150px; /* Smaller height for side cards */
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 15px; /* Match desktop border-radius */
        padding: 1rem;
        text-align: center;
        border: 1px solid rgba(203, 182, 114, 0.3);
        transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        opacity: 0;
        visibility: hidden;
        filter: blur(3px);
        z-index: 1;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    /* Show 3 sponsors at a time - center focal + left and right side sponsors */
    .sponsor-slide.focal {
        opacity: 1 !important;
        visibility: visible !important;
        filter: blur(0px) !important;
        z-index: 10 !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(-50%) scale(1.3) !important;
        width: 280px; /* Keep focal card current size */
        height: 160px; /* Shorter focal card height for mobile */
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
        padding: 1.2rem;
    }
    
    .sponsor-slide.side-left {
        opacity: 0.6 !important;
        visibility: visible !important;
        filter: blur(2px) !important;
        z-index: 5 !important;
        left: 5% !important; /* Adjusted for mobile */
        transform: translateY(-50%) scale(0.7) !important; /* Smaller scale for mobile */
    }
    
    .sponsor-slide.side-right {
        opacity: 0.6 !important;
        visibility: visible !important;
        filter: blur(2px) !important;
        z-index: 5 !important;
        right: 5% !important; /* Adjusted for mobile */
        transform: translateY(-50%) scale(0.7) !important; /* Smaller scale for mobile */
    }
    
    /* Hide all other sponsors */
    .sponsor-slide:not(.focal):not(.side-left):not(.side-right) {
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    .sponsor-logo {
        width: 50px; /* Smaller for side cards */
        height: 50px;
        background: var(--primary-gold);
        border-radius: 50%;
        margin: 0 auto 0.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        color: var(--primary-dark);
        font-weight: bold;
        transition: all 1s ease;
        overflow: hidden;
    }
    
    .sponsor-logo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }
    
    .sponsor-slide.focal .sponsor-logo {
        width: 90px; /* Larger focal logo for mobile */
        height: 90px;
        font-size: 2rem;
        transform: scale(1.1);
        margin-bottom: 0.8rem;
    }
    
    .sponsor-slide h3 {
        font-size: 0.9rem; /* Smaller for side cards */
        margin-bottom: 0.5rem;
        color: var(--primary-white);
        font-weight: 600;
        transition: all 1s ease;
    }
    
    .sponsor-slide.focal h3 {
        font-size: 1.3rem; /* Larger focal text for mobile */
        color: var(--primary-gold);
        margin-bottom: 0.6rem;
    }
    
    .sponsor-slide p {
        font-size: 0.7rem; /* Smaller for side cards */
        opacity: 0.8;
        line-height: 1.2;
        color: var(--primary-white);
        transition: all 1s ease;
        display: none; /* Hide description on side cards for mobile */
    }
    
    .sponsor-slide.focal p {
        font-size: 0.9rem; /* Keep focal description current size */
        opacity: 1;
        line-height: 1.3;
        display: block; /* Show description on focal card */
    }
}

@media (max-width: 480px) {
    .sponsors-container {
        height: 500px;
        padding: 0 0.5rem;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .sponsors-slider {
        width: 100vw;
        height: 500px;
        padding: 0;
        left: 0;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .sponsor-slide {
        position: absolute;
        width: 160px; /* Even smaller width for very small screens */
        height: 120px; /* Even smaller height for very small screens */
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 15px; /* Match desktop border-radius */
        padding: 0.8rem;
        text-align: center;
        border: 1px solid rgba(203, 182, 114, 0.3);
        transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        opacity: 0;
        visibility: hidden;
        filter: blur(3px);
        z-index: 1;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    /* Show 3 sponsors at a time - center focal + left and right side sponsors */
    .sponsor-slide.focal {
        opacity: 1 !important;
        visibility: visible !important;
        filter: blur(0px) !important;
        z-index: 10 !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(-50%) scale(1.3) !important;
        width: 240px; /* Smaller focal card for very small screens */
        height: 160px; /* Smaller focal card height */
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
        padding: 1.2rem;
    }
    
    .sponsor-slide.side-left {
        opacity: 0.6 !important;
        visibility: visible !important;
        filter: blur(2px) !important;
        z-index: 5 !important;
        left: 2% !important; /* Closer positioning for very small screens */
        transform: translateY(-50%) scale(0.6) !important; /* Even smaller scale */
    }
    
    .sponsor-slide.side-right {
        opacity: 0.6 !important;
        visibility: visible !important;
        filter: blur(2px) !important;
        z-index: 5 !important;
        right: 2% !important; /* Closer positioning for very small screens */
        transform: translateY(-50%) scale(0.6) !important; /* Even smaller scale */
    }
    
    /* Hide all other sponsors */
    .sponsor-slide:not(.focal):not(.side-left):not(.side-right) {
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    .sponsor-logo {
        width: 40px; /* Much smaller for side cards on very small screens */
        height: 40px;
        background: var(--primary-gold);
        border-radius: 50%;
        margin: 0 auto 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        color: var(--primary-dark);
        font-weight: bold;
        transition: all 1s ease;
        overflow: hidden;
    }
    
    .sponsor-logo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }
    
    .sponsor-slide.focal .sponsor-logo {
        width: 60px; /* Smaller focal logo for very small screens */
        height: 60px;
        font-size: 1.4rem;
        transform: scale(1.1);
        margin-bottom: 0.8rem;
    }
    
    .sponsor-slide h3 {
        font-size: 0.7rem; /* Much smaller for side cards */
        margin-bottom: 0.3rem;
        color: var(--primary-white);
        font-weight: 600;
        transition: all 1s ease;
    }
    
    .sponsor-slide.focal h3 {
        font-size: 1rem; /* Smaller focal text for very small screens */
        color: var(--primary-gold);
        margin-bottom: 0.5rem;
    }
    
    .sponsor-slide p {
        font-size: 0.6rem; /* Much smaller for side cards */
        opacity: 0.8;
        line-height: 1.1;
        color: var(--primary-white);
        transition: all 1s ease;
        display: none; /* Hide description on side cards for very small screens */
    }
    
    .sponsor-slide.focal p {
        font-size: 0.8rem; /* Smaller focal description for very small screens */
        opacity: 1;
        line-height: 1.2;
        display: block; /* Show description on focal card */
    }
    
    /* Mobile-specific section height adjustments for small screens */
    .section-2 {
        height: auto;
        min-height: 75vh;
        padding: 1.5rem 0;
    }
}

/* Simple About Section Styles */
.about-simple {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--primary-white);
}

.about-simple h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--primary-white);
}

.about-simple p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--primary-white);
    opacity: 0.9;
}

/* About Page Styles */
.about-container {
    padding-top: 80px;
    min-height: 100vh;
}

.about-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--primary-white);
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease forwards;
}

.hero-content p {
    font-size: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.about-section {
    padding: 5rem 0;
    background: var(--primary-dark);
}

.about-section:nth-child(even) {
    background: linear-gradient(135deg, var(--primary-dark), rgba(203, 182, 114, 0.1));
}


.section-container1 {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 0 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 0 2rem;
}

.section-container.reverse {
    direction: rtl;
}

.section-container.reverse > * {
    direction: ltr;
}

.section-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.section-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.section-image:hover img {
    transform: scale(1.05);
}

.section-content {
    color: var(--primary-white);
}

.section-content2 {
    color: var(--primary-white);
}


.section-icon {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.section-icon i {
    font-size: 2rem;
    color: var(--primary-dark);
}

.section-content h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.section-content2 h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.section-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.section-content2 h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.section-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.section-content2 p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.section-content2 a {
    color: white;
    text-decoration: none;
    line-height:1.5;
    transition: background-color 0.3s ease-in, color 0.3s ease-in;
    
}

.section-content2 a:hover {
    color: var(--primary-gold);
    
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .section-features li {
        margin-bottom: 1rem;
        font-size: 1rem;
    }
    
    .section-features li i {
        margin-top: 0.1rem;
    }
}

@media (max-width: 480px) {
    .section-features li {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
}

.section-content2 li{
    line-height:1.6;
    font-size: 1.1rem;
}

.section-team h1{
    font-size: 8rem;
    font-weight: 700;
    color: var(--primary-gold);
    display: grid;
    justify-items: center;
    padding: 0;
}

.section-team {
  height: 50vh;
  display: flex;
  justify-content: center;  /* horizontal */
  align-items: center;      /* vertical */
}

.section-features {
    list-style: none;
    padding: 0;
}

.section-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.section-features li i {
    color: var(--primary-gold);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Tournament Page Specific Styling */
.tournament-page .section-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tournament-page .section-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--primary-white);
}

.tournament-page .section-features li .list-content {
    flex: 1;
    display: inline;
}

.tournament-page .section-features li:last-child {
    margin-bottom: 0;
}

.tournament-page .section-features li i {
    color: var(--primary-gold);
    margin-right: 1rem;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.tournament-page .section-features li a {
    color: var(--primary-white);
    text-decoration: underline;
    text-decoration-color: var(--primary-gold);
    transition: color 0.3s ease;
    text-decoration: none;
}

.tournament-page .section-features li a:hover {
    color: var(--primary-gold);
    text-decoration-color: var(--primary-white);
}

.section-features p{
    text-align: left;
}

.about-cta {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-dark));
    padding: 5rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-white);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    color: var(--primary-white);
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.register-button {
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 8px;
}

.register-button2 {
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 8px 0px;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    min-width: 180px;
}

.cta-btn.primary {
    background: var(--primary-white);
    color: var(--primary-dark);
}

.cta-btn.primary:hover {
    background: var(--primary-dark);
    color: var(--primary-white);
    transform: translateY(-2px);
}

.cta-btn2 {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-btn2.secondary {
    background: transparent;
    color: var(--primary-white);
    border: 2px solid var(--primary-white);
}

.cta-btn2.secondary:hover {
    background: var(--primary-white);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Navigation active state */
.nav-link.active {
    color: var(--primary-gold);
}

/* Recruitment Page Styles */
.recruitment-container {
    padding-top: 80px;
    min-height: 100vh;
}

.recruitment-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.recruitment-hero .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.recruitment-hero .hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
}

.recruitment-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--primary-white);
}

.recruitment-hero .hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease forwards;
}

.recruitment-hero .hero-content p {
    font-size: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.recruitment-info {
    padding: 5rem 0;
    background: var(--primary-dark);
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.info-container h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 3rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(203, 182, 114, 0.3);
    transition: transform 0.3s ease;
    text-align: center;
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.info-icon i {
    font-size: 2rem;
    color: var(--primary-dark);
}

.info-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-white);
}

.info-card p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    color: var(--primary-white);
}

.testimonials-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-dark), rgba(203, 182, 114, 0.1));
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonials-container h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 1rem;
}

.testimonials-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0.9;
    color: var(--primary-white);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(203, 182, 114, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(203, 182, 114, 0.3);
}

.video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail .thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.testimonial-card:hover .video-thumbnail .thumbnail-image {
    transform: scale(1.1);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.testimonial-card:hover .video-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(203, 182, 114, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button i {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-left: 3px;
}

.testimonial-card:hover .play-button {
    background: var(--primary-gold);
    transform: translate(-50%, -50%) scale(1.1);
}

.testimonial-info {
    padding: 1.5rem;
}

.testimonial-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-white);
}

.player-position {
    font-size: 0.9rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-weight: 500;
}

.testimonial-preview {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
    color: var(--primary-white);
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    width: 90%;
    max-width: 800px;
    background: var(--primary-dark);
    border-radius: 15px;
    overflow: hidden;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    color: var(--primary-white);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
}

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

.video-container {
    padding: 2rem;
}

.video-container video {
    width: 100%;
    height: auto;
    max-height: 400px;
    border-radius: 10px;
    background: #000;
    margin-bottom: 1.5rem;
}

.video-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.video-placeholder i {
    font-size: 4rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.video-placeholder p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--primary-white);
}

.video-info h3 {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.video-info p {
    color: var(--primary-white);
    margin-bottom: 1rem;
}

/* Video loading state */
.video-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.video-loading i {
    font-size: 3rem;
    color: var(--primary-gold);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Video error state */
.video-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.video-error i {
    font-size: 3rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.video-error p {
    color: var(--primary-white);
    opacity: 0.8;
}

.application-process {
    padding: 5rem 0;
    background: var(--primary-dark);
}

.process-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.process-container h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 3rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-dark);
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-white);
}

.step p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    color: var(--primary-white);
}

.application-form-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-dark));
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.form-container h2 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-white);
}

.form-container > p {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0.9;
    color: var(--primary-white);
}

.recruitment-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

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

.recruitment-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-white);
}

.recruitment-form .form-group input,
.recruitment-form .form-group select,
.recruitment-form .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-white);
    font-family: inherit;
}

.recruitment-form .form-group input::placeholder,
.recruitment-form .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.recruitment-form .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.recruitment-form .submit-btn {
    width: 100%;
    background: var(--primary-white);
    color: var(--primary-dark);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.recruitment-form .submit-btn:hover {
    background: var(--primary-dark);
    color: var(--primary-white);
    transform: translateY(-2px);
}

/* Responsive Recruitment Page */
@media (max-width: 768px) {
    .recruitment-hero .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-team h1{
    font-size: 5rem;
    font-weight: 700;
    color: var(--primary-gold);
    display: grid;
    justify-items: center;
    padding: 0;
     }

    .section-team {
    height: 35vh;
    display: flex;
    justify-content: center;  /* horizontal */
    align-items: center;      /* vertical */
     }
    
    .recruitment-hero .hero-content p {
        font-size: 1.2rem;
    }
    
    .info-container h2,
    .testimonials-container h2,
    .process-container h2,
    .form-container h2 {
        font-size: 2.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

@media (max-width: 480px) {
    .recruitment-info,
    .testimonials-section,
    .application-process,
    .application-form-section {
        padding: 3rem 0;
    }
    
    .info-container,
    .testimonials-container,
    .process-container,
    .form-container {
        padding: 0 1rem;
    }
    
    .recruitment-form {
        padding: 2rem 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        min-width: unset;
    }
}

/* Responsive About Page */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .section-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .section-container1 {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .section-container.reverse {
        direction: ltr;
    }
    
    .section-image {
        order: -1;
    }
    
    .section-container.reverse .section-image {
        order: 1;
    }
    
    .section-content h2 {
        font-size: 2.5rem;
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Ensure all section images have consistent responsive height */
    .section-image img {
        height: 300px;
    }

    
}

@media (max-width: 480px) {
    .about-section {
        padding: 3rem 0;
    }
    
    .section-container {
        padding: 0 1rem;
        gap: 2rem;
    }

    .section-container1 {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    /* Ensure all section images have consistent responsive height on mobile */
    .section-image img {
        height: 250px;
    }
    
    .section-content h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Fix FFF.jpg image size on very small screens <= 375px */
@media (max-width: 375px) {
    .juniors-section .section-image img {
        height: 250px;
        max-width: 100%;
        object-fit: cover;
    }
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 3rem auto 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(203, 182, 114, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-white);
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: var(--primary-gold);
    color: var(--primary-dark);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--primary-white);
    transform: translateY(-2px);
}

/* Form Message Styles */
.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: center;
    animation: slideInMessage 0.3s ease forwards;
}

.form-message-success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #4caf50;
}

.form-message-error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: #f44336;
}

@keyframes slideInMessage {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Styles */
.site-footer {
    background: #000000;
    color: var(--primary-white);
    padding: 1.5rem 0;
    position: relative;
    z-index: 1000;
}

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

.footer-left p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-white);
}

.footer-right {
    display: flex;
    align-items: center;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-white);
    color: var(--primary-white);
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}



.social-icon i {
    font-size: 1.1rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .footer-left p {
        font-size: 0.9rem;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .social-icon i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 1rem 0;
    }
    
    .footer-container {
        padding: 0 0.5rem;
    }
    
    .social-icons {
        gap: 0.8rem;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
    }
    
    .social-icon i {
        font-size: 0.9rem;
    }
}


@media (max-width: 320px) {
    .fixed-title svg {
        width: 100vw;
        height: 50vh;
        min-height: 250px;
        max-height: 400px;
    }
    
    .fixed-title svg text {
        font-size: 100px;
    }
    
    tspan {
        stroke-width: 2;
    }
}


@media (max-width: 480px) {
    .section-title,
    .fixed-title .section-title {
        padding-top: 80px;
        font-size: clamp(2.8rem, 12vw, 4.5rem);
    }
    
    .fixed-title svg {
        width: 100vw;
        height: 60vh;
        min-height: 320px;
        max-height: 500px;
        padding: 0;
    }
    
    .fixed-title svg text {
        font-size: clamp(120px, 25vw, 160px);
    }
    
    tspan {
        stroke-width: 3;
    }
    
    .section-content {
        padding: 0 1rem;
    }
    
    /* Enhanced mobile cards layout for sophistication */
    .cards-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
        max-width: 100%;
    }
    
    .card {
        padding: 2.5rem 2rem;
        min-height: 280px;
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(15px);
        border-radius: 20px;
        border: 1px solid rgba(203, 182, 114, 0.4);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        position: relative;
        overflow: hidden;
    }
    
    .card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-gold), rgba(203, 182, 114, 0.6));
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }
    
    .card:hover::before {
        transform: scaleX(1);
    }
    
    .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(203, 182, 114, 0.25);
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(203, 182, 114, 0.6);
    }
    
    .card i {
        font-size: 3.2rem;
        margin-bottom: 1.2rem;
        color: var(--primary-gold);
        filter: drop-shadow(0 4px 8px rgba(203, 182, 114, 0.3));
        transition: all 0.3s ease;
    }
    
    .card:hover i {
        transform: scale(1.1);
        filter: drop-shadow(0 6px 12px rgba(203, 182, 114, 0.4));
    }
    
    .card h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
        margin-top: 0.5rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    .card p {
        font-size: 1rem;
        line-height: 1.6;
        opacity: 0.9;
        text-align: center;
        font-weight: 400;
    }
}


@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(35, 31, 32, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .section-title,
    .fixed-title .section-title {
        font-size: 2.5rem;
    }
    
    .fixed-title svg {
        width: 100vw;
        height: 60vh;
        min-height: 300px;
        max-height: 500px;
    }
    
    .fixed-title svg text {
        font-size: 120px;
    }
    
    tspan {
        stroke-width: 2;
    }
    
    .fixtures-container {
        grid-template-columns: 1fr;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    /* Mobile-specific section height adjustments */
    .section-2 {
        height: auto;
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    .carousel-controls {
        bottom: 2rem;
        gap: 1.5rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-card img {
        max-width: 90%;
        max-height: 70%;
    }
}


/* Responsive Design */
@media (max-width: 1024px) {

    
    .fixed-title svg {
        width: 90vw;
        height: 35vh;
        min-height: 180px;
        max-height: 350px;
    }
    
    .fixed-title svg text {
        font-size: 70px;
    }
    
    tspan {
        stroke-width: 1.8;
    }
}


/* SVG Responsive Display Control */
.svg-desktop {
    display: block;
}

.svg-mobile {
    display: none;
}

/* Ensure mobile SVG is hidden on larger screens */
@media (min-width: 769px) {
    .svg-desktop {
        display: block;
    }
    
    .svg-mobile {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .svg-desktop {
        display: none;
    }
    
    .svg-mobile {
        display: block;
    }
    
    /* Increase mobile SVG font sizes significantly */
    .fixed-title .svg-mobile text {
        font-size: clamp(140px, 30vw, 200px) !important;
    }
    
    /* Fix blurry text on mobile - use clean stroke without fill overflow */
    .svg-mobile tspan {
        stroke-width: 1.5 !important;
        /* Clean webkit properties for crisp rendering */
        -webkit-text-stroke-width: 1.5px !important;
        -webkit-text-stroke-color: white !important;
        -webkit-text-fill-color: transparent !important;
        /* Remove shadow effects for consistent rendering */
        text-shadow: none !important;
        filter: none !important;
        box-shadow: none !important;
        /* Ensure stroke-only rendering to prevent fill overflow */
        paint-order: stroke !important;
        /* Force hardware acceleration for smoother rendering */
        transform: translateZ(0) !important;
        -webkit-font-smoothing: antialiased !important;
    }
}

@media (max-width: 480px) {
    /* Even bigger fonts for very small screens */
    .fixed-title .svg-mobile text {
        font-size: clamp(160px, 35vw, 220px) !important;
    }
    
    /* Fix blurry text on very small screens - use clean stroke without fill overflow */
    .svg-mobile tspan {
        stroke-width: 1 !important;
        /* Clean webkit properties for crisp rendering */
        -webkit-text-stroke-width: 1px !important;
        -webkit-text-stroke-color: white !important;
        -webkit-text-fill-color: transparent !important;
        /* Remove shadow effects for consistent rendering */
        text-shadow: none !important;
        filter: none !important;
        box-shadow: none !important;
        /* Ensure stroke-only rendering to prevent fill overflow */
        paint-order: stroke !important;
        /* Force hardware acceleration for smoother rendering */
        transform: translateZ(0) !important;
        -webkit-font-smoothing: antialiased !important;
    }
}

@media (min-width: 1024px){

/* SVG Styles for Handwritten Text */
    .fixed-title svg {
        width: 90vw;
        height: 40vh;
        display: block;
        margin: 0 auto;
        min-width: 320px;
    }

    svg {
        width: 100%;
        height: 100%;
        max-width: 100%;
    }

    .fixed-title .section-title {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

    /* Ensure SVG text takes up consistent space on all devices */
    .fixed-title svg text {
        font-size: 80px;
    }

}




tspan {
    fill: transparent;
    stroke: white;
    stroke-width: 2;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: handwriting 2.5s linear forwards;
    /* Enhanced cross-browser support for consistent rendering */
    paint-order: stroke fill;
    vector-effect: non-scaling-stroke;
    /* Ensure no shadow effects are applied */
    text-shadow: none;
    /* Webkit-specific properties for Chrome consistency */
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: white;
    -webkit-text-fill-color: transparent;
}

@keyframes handwriting {
    0% {
        stroke-dashoffset: 600;
        fill: transparent;
        -webkit-text-fill-color: transparent;
    }
    85% {
        stroke-dashoffset: 0;
        fill: transparent;
        -webkit-text-fill-color: transparent;
    }
    100% { 
        stroke-dashoffset: 0; 
        fill: white;
        /* Ensure solid fill without shadow in all browsers */
        -webkit-text-fill-color: white;
        -webkit-text-stroke-color: white;
        text-shadow: none;
    }
}

/* Desktop Line 1 animation delays */
.line-1 tspan:nth-child(1)  { animation-delay: 1.5s; }
.line-1 tspan:nth-child(2)  { animation-delay: 1.58s; }
.line-1 tspan:nth-child(3)  { animation-delay: 1.66s; }
.line-1 tspan:nth-child(4)  { animation-delay: 1.74s; }
.line-1 tspan:nth-child(5)  { animation-delay: 1.82s; }
.line-1 tspan:nth-child(6)  { animation-delay: 1.90s; }
.line-1 tspan:nth-child(7)  { animation-delay: 1.98s; }
.line-1 tspan:nth-child(8)  { animation-delay: 2.06s; }
.line-1 tspan:nth-child(9)  { animation-delay: 2.14s; }
.line-1 tspan:nth-child(10) { animation-delay: 2.22s; }
.line-1 tspan:nth-child(11) { animation-delay: 2.30s; }

/* Desktop Line 2 animation delays */
.line-2 tspan:nth-child(1)  { animation-delay: 2.5s; }
.line-2 tspan:nth-child(2)  { animation-delay: 2.58s; }
.line-2 tspan:nth-child(3)  { animation-delay: 2.66s; }
.line-2 tspan:nth-child(4)  { animation-delay: 2.74s; }
.line-2 tspan:nth-child(5)  { animation-delay: 2.82s; }
.line-2 tspan:nth-child(6)  { animation-delay: 2.90s; }
.line-2 tspan:nth-child(7)  { animation-delay: 2.98s; }
.line-2 tspan:nth-child(8)  { animation-delay: 3.06s; }
.line-2 tspan:nth-child(9)  { animation-delay: 3.14s; }
.line-2 tspan:nth-child(10) { animation-delay: 3.22s; }
.line-2 tspan:nth-child(11) { animation-delay: 3.30s; }
.line-2 tspan:nth-child(12) { animation-delay: 3.38s; }
.line-2 tspan:nth-child(13) { animation-delay: 3.46s; }
.line-2 tspan:nth-child(14) { animation-delay: 3.54s; }
.line-2 tspan:nth-child(15) { animation-delay: 3.6s; }
.line-2 tspan:nth-child(16) { animation-delay: 3.7s; }
.line-2 tspan:nth-child(17) { animation-delay: 3.8s; }
.line-2 tspan:nth-child(18) { animation-delay: 3.9s; }
.line-2 tspan:nth-child(19) { animation-delay: 4s; }

/* Mobile Line animations for "Playing the beautiful game" - Match desktop timing exactly */
.mobile-line-1 tspan:nth-child(1) { animation-delay: 1.5s; }
.mobile-line-1 tspan:nth-child(2) { animation-delay: 1.58s; }
.mobile-line-1 tspan:nth-child(3) { animation-delay: 1.66s; }
.mobile-line-1 tspan:nth-child(4) { animation-delay: 1.74s; }
.mobile-line-1 tspan:nth-child(5) { animation-delay: 1.82s; }
.mobile-line-1 tspan:nth-child(6) { animation-delay: 1.90s; }
.mobile-line-1 tspan:nth-child(7) { animation-delay: 1.98s; }
.mobile-line-1 tspan:nth-child(8) { animation-delay: 2.06s; }
.mobile-line-1 tspan:nth-child(9) { animation-delay: 2.14s; }
.mobile-line-1 tspan:nth-child(10) { animation-delay: 2.22s; }
.mobile-line-1 tspan:nth-child(11) { animation-delay: 2.30s; }

.mobile-line-2 tspan:nth-child(1) { animation-delay: 2.38s; }
.mobile-line-2 tspan:nth-child(2) { animation-delay: 2.46s; }
.mobile-line-2 tspan:nth-child(3) { animation-delay: 2.54s; }

.mobile-line-3 tspan:nth-child(1) { animation-delay: 2.5s; }
.mobile-line-3 tspan:nth-child(2) { animation-delay: 2.58s; }
.mobile-line-3 tspan:nth-child(3) { animation-delay: 2.66s; }
.mobile-line-3 tspan:nth-child(4) { animation-delay: 2.74s; }
.mobile-line-3 tspan:nth-child(5) { animation-delay: 2.82s; }
.mobile-line-3 tspan:nth-child(6) { animation-delay: 2.90s; }
.mobile-line-3 tspan:nth-child(7) { animation-delay: 2.98s; }
.mobile-line-3 tspan:nth-child(8) { animation-delay: 3.06s; }
.mobile-line-3 tspan:nth-child(9) { animation-delay: 3.14s; }

.mobile-line-4 tspan:nth-child(1) { animation-delay: 3.30s; }
.mobile-line-4 tspan:nth-child(2) { animation-delay: 3.38s; }
.mobile-line-4 tspan:nth-child(3) { animation-delay: 3.46s; }
.mobile-line-4 tspan:nth-child(4) { animation-delay: 3.54s; }

/* Phase-2 Desktop specific animation classes - initially hidden */
.phase-2-line-1 tspan,
.phase-2-line-2 tspan {
    fill: transparent;
    stroke: white;
    stroke-width: 2;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: none; /* No animation initially */
}

/* Phase-2 Desktop animations that trigger when active */
.phase-2.active .phase-2-line-1 tspan {
    animation: handwriting 2.5s linear forwards;
}

.phase-2.active .phase-2-line-2 tspan {
    animation: handwriting 2.5s linear forwards;
}

/* Phase-2 Desktop Line 1 animation delays - start immediately when phase-2 becomes active */
.phase-2.active .phase-2-line-1 tspan:nth-child(1)  { animation-delay: 0.5s; }
.phase-2.active .phase-2-line-1 tspan:nth-child(2)  { animation-delay: 0.58s; }
.phase-2.active .phase-2-line-1 tspan:nth-child(3)  { animation-delay: 0.66s; }
.phase-2.active .phase-2-line-1 tspan:nth-child(4)  { animation-delay: 0.74s; }
.phase-2.active .phase-2-line-1 tspan:nth-child(5)  { animation-delay: 0.82s; }
.phase-2.active .phase-2-line-1 tspan:nth-child(6)  { animation-delay: 0.90s; }
.phase-2.active .phase-2-line-1 tspan:nth-child(7)  { animation-delay: 0.98s; }
.phase-2.active .phase-2-line-1 tspan:nth-child(8)  { animation-delay: 1.06s; }
.phase-2.active .phase-2-line-1 tspan:nth-child(9)  { animation-delay: 1.14s; }
.phase-2.active .phase-2-line-1 tspan:nth-child(10) { animation-delay: 1.22s; }
.phase-2.active .phase-2-line-1 tspan:nth-child(11) { animation-delay: 1.30s; }
.phase-2.active .phase-2-line-1 tspan:nth-child(12) { animation-delay: 1.38s; }

/* Phase-2 Desktop Line 2 animation delays */
.phase-2.active .phase-2-line-2 tspan:nth-child(1)  { animation-delay: 1.5s; }
.phase-2.active .phase-2-line-2 tspan:nth-child(2)  { animation-delay: 1.58s; }
.phase-2.active .phase-2-line-2 tspan:nth-child(3)  { animation-delay: 1.66s; }
.phase-2.active .phase-2-line-2 tspan:nth-child(4)  { animation-delay: 1.74s; }
.phase-2.active .phase-2-line-2 tspan:nth-child(5)  { animation-delay: 1.82s; }
.phase-2.active .phase-2-line-2 tspan:nth-child(6)  { animation-delay: 1.90s; }
.phase-2.active .phase-2-line-2 tspan:nth-child(7)  { animation-delay: 1.98s; }
.phase-2.active .phase-2-line-2 tspan:nth-child(8)  { animation-delay: 2.06s; }
.phase-2.active .phase-2-line-2 tspan:nth-child(9)  { animation-delay: 2.14s; }
.phase-2.active .phase-2-line-2 tspan:nth-child(10) { animation-delay: 2.22s; }
.phase-2.active .phase-2-line-2 tspan:nth-child(11) { animation-delay: 2.30s; }
.phase-2.active .phase-2-line-2 tspan:nth-child(12) { animation-delay: 2.38s; }
.phase-2.active .phase-2-line-2 tspan:nth-child(13) { animation-delay: 2.46s; }
.phase-2.active .phase-2-line-2 tspan:nth-child(14) { animation-delay: 2.54s; }
.phase-2.active .phase-2-line-2 tspan:nth-child(15) { animation-delay: 2.6s; }
.phase-2.active .phase-2-line-2 tspan:nth-child(16) { animation-delay: 2.7s; }
.phase-2.active .phase-2-line-2 tspan:nth-child(17) { animation-delay: 2.8s; }
.phase-2.active .phase-2-line-2 tspan:nth-child(18) { animation-delay: 2.9s; }

/* Phase-2 Mobile specific animation classes - initially hidden */
.phase-2-mobile-line-1 tspan,
.phase-2-mobile-line-2 tspan,
.phase-2-mobile-line-3 tspan,
.phase-2-mobile-line-4 tspan {
    fill: transparent;
    stroke: white;
    stroke-width: 2;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: none; /* No animation initially */
}

/* Phase-2 Mobile animations that trigger when active */
.phase-2.active .phase-2-mobile-line-1 tspan,
.phase-2.active .phase-2-mobile-line-2 tspan,
.phase-2.active .phase-2-mobile-line-3 tspan,
.phase-2.active .phase-2-mobile-line-4 tspan {
    animation: handwriting 2.5s linear forwards;
}

/* Phase-2 Mobile Line animations for "In the most beautiful location" - Match desktop timing exactly */
.phase-2.active .phase-2-mobile-line-1 tspan:nth-child(1) { animation-delay: 0.5s; }
.phase-2.active .phase-2-mobile-line-1 tspan:nth-child(2) { animation-delay: 0.58s; }
.phase-2.active .phase-2-mobile-line-1 tspan:nth-child(3) { animation-delay: 0.66s; }
.phase-2.active .phase-2-mobile-line-1 tspan:nth-child(4) { animation-delay: 0.74s; }
.phase-2.active .phase-2-mobile-line-1 tspan:nth-child(5) { animation-delay: 0.82s; }
.phase-2.active .phase-2-mobile-line-1 tspan:nth-child(6) { animation-delay: 0.90s; }

.phase-2.active .phase-2-mobile-line-2 tspan:nth-child(1) { animation-delay: 0.98s; }
.phase-2.active .phase-2-mobile-line-2 tspan:nth-child(2) { animation-delay: 1.06s; }
.phase-2.active .phase-2-mobile-line-2 tspan:nth-child(3) { animation-delay: 1.14s; }
.phase-2.active .phase-2-mobile-line-2 tspan:nth-child(4) { animation-delay: 1.22s; }

.phase-2.active .phase-2-mobile-line-3 tspan:nth-child(1) { animation-delay: 1.5s; }
.phase-2.active .phase-2-mobile-line-3 tspan:nth-child(2) { animation-delay: 1.58s; }
.phase-2.active .phase-2-mobile-line-3 tspan:nth-child(3) { animation-delay: 1.66s; }
.phase-2.active .phase-2-mobile-line-3 tspan:nth-child(4) { animation-delay: 1.74s; }
.phase-2.active .phase-2-mobile-line-3 tspan:nth-child(5) { animation-delay: 1.82s; }
.phase-2.active .phase-2-mobile-line-3 tspan:nth-child(6) { animation-delay: 1.90s; }
.phase-2.active .phase-2-mobile-line-3 tspan:nth-child(7) { animation-delay: 1.98s; }
.phase-2.active .phase-2-mobile-line-3 tspan:nth-child(8) { animation-delay: 2.06s; }
.phase-2.active .phase-2-mobile-line-3 tspan:nth-child(9) { animation-delay: 2.14s; }

.phase-2.active .phase-2-mobile-line-4 tspan:nth-child(1) { animation-delay: 2.22s; }
.phase-2.active .phase-2-mobile-line-4 tspan:nth-child(2) { animation-delay: 2.30s; }
.phase-2.active .phase-2-mobile-line-4 tspan:nth-child(3) { animation-delay: 2.38s; }
.phase-2.active .phase-2-mobile-line-4 tspan:nth-child(4) { animation-delay: 2.46s; }
.phase-2.active .phase-2-mobile-line-4 tspan:nth-child(5) { animation-delay: 2.54s; }
.phase-2.active .phase-2-mobile-line-4 tspan:nth-child(6) { animation-delay: 2.6s; }
.phase-2.active .phase-2-mobile-line-4 tspan:nth-child(7) { animation-delay: 2.7s; }
.phase-2.active .phase-2-mobile-line-4 tspan:nth-child(8) { animation-delay: 2.8s; }




/* Committee Section Styles */
.committee-section {
    padding: 5rem 0;
    background: var(--primary-dark);
}

.committee-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;

    
    padding: 0 2rem;
}

.committee-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 4rem;
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    justify-items: center;
}

.committee-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(203, 182, 114, 0.3);
    transition: all 0.3s ease;
    text-align: center;
    max-width: 280px;
    width: 100%;
}

.committee-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(203, 182, 114, 0.3);
    background: rgba(203, 182, 114, 0.2);
}

.committee-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-gold);
    box-shadow: 0 8px 25px rgba(203, 182, 114, 0.4);
}

.committee-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.committee-card:hover .committee-image img {
    transform: scale(1.1);
}

.committee-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-white);
    margin: 0;
    line-height: 1.4;
}

.committee-name p{
    color: var(--primary-gold);
}

/* Responsive Committee Section */
@media (max-width: 768px) {
    .committee-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .committee-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .committee-card {
        max-width: 100%;
        padding: 2.5rem 2rem;
    }
    
    .committee-image {
        width: 160px;
        height: 160px;
    }
    
    .committee-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .committee-section {
        padding: 3rem 0;
    }
    
    .committee-container {
        padding: 0 1rem;
    }
    
    .committee-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .committee-grid {
        gap: 2rem;
    }
    
    .committee-card {
        padding: 2rem 1.5rem;
    }
    
    .committee-image {
        width: 140px;
        height: 140px;
        margin-bottom: 1rem;
    }
    
    .committee-name {
        font-size: 1.1rem;
    }
}

/* Handle centering for incomplete rows - Desktop only */
@media (min-width: 769px) {
    /* Center the 9th card (single card in row 3) */
    .committee-grid > .committee-card:nth-child(9) {
        grid-column: 2;
    }
    
    /* If there were only 8 cards, center the last 2 cards in row 3 */
    .committee-grid > .committee-card:nth-child(7):nth-last-child(2) {
        grid-column: 1;
    }
    
    .committee-grid > .committee-card:nth-child(8):nth-last-child(1) {
        grid-column: 3;
    }
}

/* Tournament Images Section Styles */
.tournament-images-section {
    padding: 5rem 0;
    background: var(--primary-dark);
}

.tournament-images-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 0 2rem;
}

.tournament-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.tournament-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tournament-image:hover img {
    transform: scale(1.05);
}

/* Responsive Tournament Images */
@media (max-width: 768px) {
    .tournament-images-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .tournament-image img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .tournament-images-section {
        padding: 3rem 0;
    }
    
    .tournament-images-container {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .tournament-image img {
        height: 250px;
    }
}

/* Academy Structure Section Styles - Centered Full Width Image */
.academy-structure-section {
    padding: 5rem 0;
    background: var(--primary-dark);
}

.academy-structure-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

.academy-structure-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 100%;
}

.academy-structure-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Responsive Academy Structure */
@media (max-width: 768px) {
    .academy-structure-container {
        padding: 0 1rem;
    }
    
    .academy-structure-image {
        max-width: 100%;
    }
    
    .academy-structure-image img {
        height: 400px;
    }
    
    .academy-structure-image::before {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .academy-structure-section {
        padding: 3rem 0;
    }
    
    .academy-structure-image img {
        height: 300px;
    }
    
    .academy-structure-image::before {
        font-size: 2rem;
    }
}

footer{
    height: 15vh;
}

/* Fullscreen Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-in-out;
}

.image-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image-container {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    animation: zoomIn 0.3s ease-out;
}

.close-image-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--primary-white);
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: transparent;
    border-radius: 0;
    width: auto;
    height: auto;
    display: inline-block;
    padding: 0;
    transition: color 0.3s ease;
}

.close-image-modal:hover {
    background: transparent;
    color: var(--primary-gold);
    transform: none;
}

/* Make tournament images clickable */
.tournament-image {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.tournament-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: all 0.3s ease;
    pointer-events: none;
}

.tournament-image:hover::after {
    background: rgba(203, 182, 114, 0.2);
}

.tournament-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(203, 182, 114, 0.3);
}

/* Fullscreen icon overlay */
.tournament-image::before {
    content: '\f065';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-white);
    font-size: 3rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.tournament-image:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Animation keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Academy Section Image Fix */
.academy-section .section-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.academy-section .section-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.academy-section .section-image:hover img {
    transform: scale(1.05);
}

/* Academy Page Responsive Fixes */
.academy-section .section-content2,
.academy-section .section-content2 p,
.academy-section .section-content2 ul,
.academy-section .section-content2 li {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Match padding on subheading paragraph in hero-content on the-academy.html to grassroots.html */
.about-hero .hero-content p {
    padding-left: 20px;
    padding-right: 20px;
}

/* Ensure all academy page containers respect viewport width */
.academy-section .section-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 0 2rem;
    box-sizing: border-box;
}

/* Fix potential text overflow issues on academy page */
@media (max-width: 768px) {
    .academy-section .section-content2 {
        padding: 0 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .academy-section .section-content2 h2 {
        font-size: 2.5rem;
        word-wrap: break-word;
    }
    
    .academy-section .section-content2 h3 {
        font-size: 1.3rem;
        word-wrap: break-word;
    }
    
    .academy-section .section-content2 p {
        font-size: 1rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .academy-section .section-features li {
        font-size: 0.95rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Ensure academy structure image doesn't cause overflow */
    .academy-structure-section {
        width: 100%;
        overflow-x: hidden;
    }
    
    .academy-structure-container {
        width: 100%;
        max-width: 100vw;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    
    .academy-structure-image {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Fix academy section container layout on smaller screens */
    .academy-section .section-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 0 1rem !important;
    }
}

@media (max-width: 480px) {
    .academy-section .section-content2 {
        padding: 0 0.5rem;
    }
    
    .academy-section .section-content2 h2 {
        font-size: 2rem;
    }
    
    .academy-section .section-content2 h3 {
        font-size: 1.2rem;
    }
    
    .academy-section .section-content2 p {
        font-size: 0.95rem;
    }
    
    .academy-structure-container {
        padding: 0 0.5rem;
    }
}

/* Responsive modal styles */
@media (max-width: 768px) {
    .close-image-modal {
        top: 15px;
        right: 20px;
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }
    
    .modal-image-container {
        max-width: 98vw;
        max-height: 98vh;
        padding: 0 10px;
    }
    
    .tournament-image::before {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .close-image-modal {
        top: 10px;
        right: 15px;
        font-size: 1.8rem;
        width: 35px;
        height: 35px;
    }
    
    .tournament-image::before {
        font-size: 2rem;
    }
}
