* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #2e7d32;
    --secondary: #d32f2f;
    --accent: #ff6b35;
    --light: #f8f9fa;
    --dark: #1b5e20;
    --text: #333333;
    --white: #ffffff;
    --gray: #6c757d;
    --border: #e9ecef;
}
/* ===== PLAYERS PAGE SPECIFIC FIXES ===== */

/* Players Section */
.coaches {
    padding: 150px 0 80px 0;
    background-color: var(--white);
}

.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    width: 100%;
}

.player-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid var(--border);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.player-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* FIXED: Player Image Container */
.player-image {
    position: relative;
    width: 100%;
    height: 300px; /* Fixed height for consistency */
    overflow: hidden;
    background: linear-gradient(135deg, var(--light) 0%, #e8f5e8 100%);
    flex-shrink: 0;
}

/* FIXED: Player Image Styling */
.player-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.player-card:hover .player-image img {
    transform: scale(1.08);
}

.player-info {
    padding: 25px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.player-info h3 {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.2;
}

.player-info p {
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.player-info p:first-of-type {
    color: var(--secondary);
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 12px;
}

/* Stats styling */
.player-info strong {
    color: var(--dark);
}

/* ===== RESPONSIVE FIXES FOR PLAYERS PAGE ===== */

/* Large Desktop */
@media (min-width: 1400px) {
    .players-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop */
@media (min-width: 1200px) {
    .players-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .player-image {
        height: 280px;
    }
}

/* Tablet */
@media (max-width: 1199px) and (min-width: 768px) {
    .players-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .player-image {
        height: 260px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .coaches {
        padding: 120px 0 60px 0;
    }
    
    .players-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .player-image {
        height: 250px;
    }
    
    .player-info {
        padding: 20px 15px;
    }
    
    .player-info h3 {
        font-size: 1.3rem;
    }
    
    .player-info p {
        font-size: 0.9rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .coaches {
        padding: 100px 0 50px 0;
    }
    
    .players-grid {
        gap: 15px;
    }
    
    .player-image {
        height: 220px;
    }
    
    .player-info {
        padding: 15px 12px;
    }
    
    .player-info h3 {
        font-size: 1.2rem;
    }
    
    .player-info p {
        font-size: 0.85rem;
    }
}

/* ===== FORCE IMAGE FIXES - ADD THIS TO OVERRIDE ANY EXISTING STYLES ===== */
.player-image img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Ensure no image overflow */
.player-card {
    overflow: hidden !important;
}

.player-image {
    overflow: hidden !important;
}

html {
    scroll-behavior: smooth;
}


body {
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    margin-bottom: 20px;
    color: var(--dark);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
    line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 30px;
    background-color: var(--secondary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: white;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1002;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    border: 2px solid var(--accent);
}

.logo h1 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    margin-bottom: 0;
    color: white;
}

.logo span {
    color: var(--accent);
}

/* Desktop Navigation */
nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 10px 16px;
    border-radius: 6px;
    display: block;
    position: relative;
}

nav ul li a:hover, 
nav ul li a.active {
    color: var(--accent);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1002;
    transition: color 0.3s;
}

.mobile-menu:hover {
    color: var(--accent);
}

/* ===== HERO CAROUSEL SECTION ===== */
.hero-carousel {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 80px !important;
}

.carousel-container {
    position: relative;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    visibility: hidden;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-image {
    position: absolute;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: -1;
    transform: scale(1.1);
    transition: transform 10s ease-in-out;
}

.carousel-slide:nth-child(1) .slide-image {
    background-position: center 30%;
}

.carousel-slide:nth-child(2) .slide-image {
    background-position: center 40%;
}

.carousel-slide:nth-child(3) .slide-image {
    background-position: center 35%;
}

.carousel-slide:nth-child(4) .slide-image {
    background-position: center 45%;
}

.carousel-slide.active .slide-image {
    transform: scale(1);
}

.slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(0, 0, 0, 0.4) 50%, 
        rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.slide-content {
    color: white;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    color: white;
    font-weight: 700;
    line-height: 1.2;
}

.slide-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 35px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.6;
    opacity: 0.95;
}

.slide-content .hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 0.3s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.5rem;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.carousel-control.prev {
    left: 30px;
}

.carousel-control.next {
    right: 30px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.8);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* ===== RESPONSIVE FIXES FOR LAPTOP/DESKTOP ===== */
@media (min-width: 769px) {
    .hero-carousel {
        height: 100vh;
        min-height: 700px;
    }
    
    .slide-image {
        background-attachment: fixed;
    }
    
    .carousel-slide:nth-child(1) .slide-image {
        background-position: center 25%;
    }
    
    .carousel-slide:nth-child(2) .slide-image {
        background-position: center 35%;
    }
    
    .carousel-slide:nth-child(3) .slide-image {
        background-position: center 30%;
    }
    
    .carousel-slide:nth-child(4) .slide-image {
        background-position: center 40%;
    }
    
    .slide-content {
        padding: 60px 20px;
    }
    
    .slide-content h1 {
        font-size: 3.5rem;
    }
    
    .slide-content p {
        font-size: 1.4rem;
    }
}

/* ===== TABLET STYLES ===== */
@media (max-width: 768px) and (min-width: 577px) {
    .hero-carousel {
        height: 80vh;
        min-height: 500px;
    }
    
    .slide-image {
        background-position: center 40% !important;
    }
    
    .slide-content h1 {
        font-size: 2.8rem;
    }
    
    .slide-content p {
        font-size: 1.3rem;
    }
    
    .carousel-control {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .carousel-control.prev {
        left: 20px;
    }
    
    .carousel-control.next {
        right: 20px;
    }
}

/* ===== MOBILE STYLES ===== */
@media (max-width: 576px) {
    .hero-carousel {
        height: 70vh;
        min-height: 400px;
    }
    
    .slide-image {
        background-position: center 45% !important;
        background-attachment: scroll;
    }
    
    .slide-content {
        padding: 30px 15px;
    }
    
    .slide-content h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .slide-content p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .slide-content .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .slide-content .btn {
        min-width: 200px;
        padding: 14px 25px;
    }
    
    .carousel-control {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .carousel-control.prev {
        left: 15px;
    }
    
    .carousel-control.next {
        right: 15px;
    }
    
    .carousel-indicators {
        bottom: 25px;
    }
    
    .indicator {
        width: 14px;
        height: 14px;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(rgba(43, 43, 43, 0.85), rgba(43, 43, 43, 0.9)), 
                url('https://images.unsplash.com/photo-1575361204480-aadea25e6e68?ixlib=rb-4.0.3&auto=format&fit=crop&w=1471&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 180px 0 100px;
    margin-top: 80px;
    position: relative;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 25px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.95;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== ABOUT SECTION - FIXED ===== */
/* ===== ABOUT CAROUSEL FIX ===== */
.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
    height: auto; /* Remove fixed height */
}

.about-image:hover {
    transform: translateY(-5px);
}

.about-carousel {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: auto; /* Remove fixed height */
    min-height: 400px; /* Minimum height instead of fixed */
    background: var(--light);
    width: 100%;
}

.about-carousel-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4/3; /* Maintain aspect ratio */
}

.about-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
}

.about-carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.about-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Change from 'cover' to 'contain' to show full image */
    object-position: center;
    display: block;
}

/* About Carousel Controls */
.about-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--primary);
    font-size: 1.2rem;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.about-carousel-control:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.about-carousel-control.prev {
    left: 15px;
}

.about-carousel-control.next {
    right: 15px;
}

/* About Carousel Indicators */
.about-carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.about-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.about-indicator.active {
    background: white;
    transform: scale(1.2);
    border-color: var(--primary);
}

.about-indicator:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-carousel-container {
        aspect-ratio: 3/2; /* Slightly different ratio for mobile */
    }
    
    .about-carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .about-carousel-control.prev {
        left: 10px;
    }
    
    .about-carousel-control.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .about-carousel-container {
        aspect-ratio: 1/1; /* Square ratio for very small screens */
    }
    
    .about-carousel-control {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* ===== FIXED PROGRAM IMAGES - FULLY RESPONSIVE ===== */
.programs {
    background: linear-gradient(135deg, var(--light) 0%, #e8f5e8 100%);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.program-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.program-image {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
    background: linear-gradient(135deg, var(--light) 0%, #e8f5e8 100%);
    flex-shrink: 0;
}

.program-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.program-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.program-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.program-content .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* ===== PLAYERS SECTION - FIXED ===== */
.coaches {
    background-color: var(--white);
    padding: 80px 0;
}

.coaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.coach-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid var(--border);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.coach-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Square aspect ratio */
    overflow: hidden;
    background: linear-gradient(135deg, var(--light) 0%, #e8f5e8 100%);
    flex-shrink: 0;
}

.coach-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.coach-card:hover .coach-image img {
    transform: scale(1.08);
}

.coach-info {
    padding: 20px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.coach-info h3 {
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.2;
}

.coach-info p {
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.coach-info p:first-of-type {
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

/* ===== STAFF IMAGES - FULLY RESPONSIVE ===== */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.staff-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid var(--border);
    display: flex;
    flex-direction: column;
    min-height: 450px;
}

.staff-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light) 0%, #e8f5e8 100%);
    flex-shrink: 0;
}

.staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.5s ease;
}

.staff-card:hover .staff-image img {
    transform: scale(1.08);
}

.staff-info {
    padding: 25px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.staff-info h3 {
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 600;
}

.staff-info p {
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.5;
}

.staff-role {
    color: var(--secondary) !important;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 15px !important;
}

/* ===== FACILITIES SECTION ===== */
.facilities {
    background: linear-gradient(135deg, var(--light) 0%, #e8f5e8 100%);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.facility-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--secondary);
    transition: transform 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-5px);
}

.facility-image {
    position: relative;
    width: 100%;
    padding-bottom: 66.67%; /* 3:2 Aspect ratio */
    overflow: hidden;
}

.facility-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.facility-card:hover .facility-image img {
    transform: scale(1.1);
}

.facility-content {
    padding: 20px;
}

.facility-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* ===== TESTIMONIALS SECTION - FIXED ===== */
.testimonials {
    background: linear-gradient(135deg, var(--light) 0%, #e8f5e8 100%);
    padding: 80px 0;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    border-left: 4px solid var(--primary);
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial-text:before,
.testimonial-text:after {
    content: '"';
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.3;
    position: absolute;
    font-family: serif;
}

.testimonial-text:before {
    top: -15px;
    left: -10px;
}

.testimonial-text:after {
    bottom: -35px;
    right: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    flex-shrink: 0;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--primary);
    text-align: left;
}

.author-info p {
    margin-bottom: 0;
    color: var(--gray);
    text-align: left;
}

/* ===== GALLERY SECTION - FIXED ===== */
.gallery {
    background: linear-gradient(135deg, var(--light) 0%, #e8f5e8 100%);
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--white);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    width: 100%;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-info h3 {
    color: white;
    margin-bottom: 8px;
    font-size: 1.2rem;
    line-height: 1.3;
}

.gallery-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.gallery-cta {
    text-align: center;
    margin-top: 30px;
}

/* ===== VIDEOS SECTION - FIXED ===== */
.videos {
    background-color: var(--white);
    padding: 80px 0;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.video-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--secondary);
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    overflow: hidden;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.video-placeholder i {
    font-size: 3rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.video-card:hover .video-placeholder i {
    transform: scale(1.1);
    opacity: 1;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: none;
    cursor: pointer;
    z-index: 2;
}

.video-card:hover .video-play-btn {
    background: var(--primary);
    color: white;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-content {
    padding: 20px;
}

.video-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
    line-height: 1.3;
}

.video-content p {
    color: var(--text);
    margin-bottom: 15px;
    line-height: 1.6;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.video-category {
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.video-duration {
    background: var(--gray);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.video-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-sizing: border-box;
}

.modal-video {
    width: 100%;
    height: auto;
    display: block;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.close-modal:hover {
    background: var(--secondary);
    transform: scale(1.1);
}

/* ===== MATCHES SECTION ===== */
.matches-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.match-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--primary);
    transition: transform 0.3s ease;
}

.match-card:hover {
    transform: translateY(-5px);
}

.match-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 20px;
}

.team {
    text-align: center;
    flex: 1;
}

.team-logo {
    width: 70px;
    height: 70px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    border: 3px solid var(--accent);
}

.vs {
    font-weight: bold;
    margin: 0 20px;
    color: var(--secondary);
    font-size: 1.3rem;
}

.match-score {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--primary);
    margin-top: 8px;
}

.match-details {
    padding: 18px 20px;
    background-color: var(--light);
    border-top: 1px solid var(--border);
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-links a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #bbb;
}

/* ===== RESPONSIVE DESIGN - FIXED ===== */

/* Large Desktop */
@media (min-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .videos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop */
@media (min-width: 1024px) and (max-width: 1199px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .videos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet */
@media (max-width: 1023px) and (min-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .about-carousel {
        height: 350px;
    }
    
    .about-carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .coaches-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    section {
        padding: 50px 0;
    }
    
    h2 {
        margin-bottom: 40px;
    }
    
    h2:after {
        bottom: -12px;
    }
    
    .container {
        width: 92%;
        padding: 0 10px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    /* Mobile Navigation */
    .mobile-menu {
        display: block;
    }
    
    nav ul {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
        overflow-y: auto;
        z-index: 999;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 5px 0;
    }
    
    nav ul li a {
        padding: 16px 20px;
        margin: 0;
        border-radius: 8px;
        font-size: 1.1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* About Section Mobile */
    .about {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-text h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .about-text p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-carousel {
        height: 300px;
        margin-bottom: 20px;
    }
    
    .about-carousel-control {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        padding: 10px;
    }
    
    .about-carousel-control.prev {
        left: 10px;
    }
    
    .about-carousel-control.next {
        right: 10px;
    }
    
    .about-carousel-indicators {
        bottom: 15px;
    }
    
    .about-indicator {
        width: 8px;
        height: 8px;
    }
    
    /* Players Section Mobile */
    .coaches {
        padding: 60px 0;
    }
    
    .coaches-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .coach-card {
        margin: 0 auto;
        max-width: 400px;
    }
    
    .coach-info {
        padding: 15px;
    }
    
    .coach-info h3 {
        font-size: 1.2rem;
    }
    
    .coach-info p {
        font-size: 0.9rem;
    }
    
    /* Gallery & Videos */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-item {
        aspect-ratio: 3/2;
    }
    
    .video-content {
        padding: 15px;
    }
    
    .video-content h3 {
        font-size: 1.2rem;
    }
    
    .video-play-btn {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }
    
    .video-placeholder i {
        font-size: 2.5rem;
    }
    
    /* Testimonials */
    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial {
        padding: 20px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .author-info h4,
    .author-info p {
        text-align: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .about-carousel {
        height: 250px;
    }
    
    .coach-card {
        max-width: 100%;
    }
    
    .coach-info {
        padding: 12px;
    }
    
    .coach-info h3 {
        font-size: 1.1rem;
    }
    
    .coach-info p {
        font-size: 0.85rem;
    }
    
    .gallery-grid {
        gap: 12px;
    }
    
    .videos-grid {
        gap: 15px;
    }
    
    .video-content h3 {
        font-size: 1.1rem;
    }
    
    .video-content p {
        font-size: 0.9rem;
    }
    
    .video-play-btn {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .video-placeholder i {
        font-size: 2rem;
    }
    
    .video-category,
    .video-duration {
        font-size: 0.75rem;
        padding: 3px 10px;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .testimonial-text:before,
    .testimonial-text:after {
        font-size: 2rem;
    }
}

/* ===== ENSURE ALL IMAGES ARE RESPONSIVE ===== */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for any overflowing images */
.player-image,
.coach-image,
.staff-image,
.program-image,
.facility-image,
.gallery-image {
    position: relative;
    overflow: hidden;
}

/* ===== GALLERY PAGE STYLES ===== */
.gallery-page {
    background: linear-gradient(135deg, var(--light) 0%, #e8f5e8 100%);
    padding: 100px 0 80px;
    margin-top: 80px;
    min-height: 100vh;
}

.gallery-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    padding: 0 10px;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text);
    font-size: 0.9rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
}

.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    width: 100%;
}

.gallery-page-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--white);
}

.gallery-page-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.gallery-page-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-page-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-page-item:hover .gallery-page-image img {
    transform: scale(1.1);
}

.gallery-page-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-page-item:hover .gallery-page-overlay {
    opacity: 1;
}

.gallery-page-info {
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    width: 100%;
}

.gallery-page-item:hover .gallery-page-info {
    transform: translateY(0);
}

.gallery-page-info h3 {
    color: white;
    margin-bottom: 8px;
    font-size: 1.2rem;
    line-height: 1.3;
}

.gallery-page-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-category {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: capitalize;
}

.load-more {
    text-align: center;
    margin-top: 30px;
}

/* ===== ADMIN PANEL STYLES ===== */
.admin-panel {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    background: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.admin-container {
    display: flex;
    min-height: calc(100vh - 80px);
    width: 100%;
}

.admin-sidebar {
    width: 280px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    padding: 30px 0;
    position: fixed;
    height: calc(100vh - 80px);
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.admin-sidebar h3 {
    color: white;
    text-align: center;
    margin-bottom: 30px;
    padding: 0 20px;
    font-size: 1.3rem;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.admin-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-nav li {
    margin-bottom: 5px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 15px 25px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-weight: 500;
    font-size: 0.95rem;
}

.admin-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: var(--accent);
    color: var(--accent);
    transform: translateX(5px);
}

.admin-nav a.active {
    background-color: rgba(255, 255, 255, 0.15);
    border-left-color: var(--accent);
    color: var(--accent);
    font-weight: 600;
}

.admin-nav i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.admin-content {
    flex: 1;
    margin-left: 280px;
    padding: 30px;
    background-color: #f8f9fa;
    min-height: calc(100vh - 80px);
    width: calc(100% - 280px);
}

.admin-header {
    background: white;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border-left: 4px solid var(--primary);
}

.admin-header h2 {
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 1.8rem;
    font-weight: 700;
}

.admin-header p {
    color: var(--gray);
    margin-bottom: 0;
    font-size: 1rem;
}

.admin-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border: 1px solid var(--border);
    transition: transform 0.2s ease;
}

.admin-card:hover {
    transform: translateY(-2px);
}

.admin-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light);
    font-size: 1.4rem;
    font-weight: 600;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    text-align: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 2rem;
    font-weight: 700;
    border: none;
    padding: 0;
}

.stat-card p {
    color: var(--gray);
    margin: 0;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Table Styles */
.table-responsive {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.data-table th,
.data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-table th {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tr:hover {
    background-color: rgba(46, 125, 50, 0.02);
}

/* Status Badges */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.success {
    background: #d4edda;
    color: #155724;
}

.status-badge.info {
    background: #d1ecf1;
    color: #0c5460;
}

.status-badge.warning {
    background: #fff3cd;
    color: #856404;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    background: linear-gradient(135deg, var(--light) 0%, #e8f5e8 100%);
    border: 2px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
    text-align: center;
}

.action-btn:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
    border-color: var(--primary);
}

.action-btn i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.action-btn span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== CONTACT & REGISTER FORM STYLES ===== */
.contact {
    background: linear-gradient(135deg, var(--light) 0%, #e8f5e8 100%);
    padding: 100px 0;
    margin-top: 80px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.5);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.contact-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--secondary);
}

.contact-form h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.contact-form h4 {
    color: var(--dark);
    margin: 25px 0 15px 0;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--light);
    padding-bottom: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

select.form-control {
    cursor: pointer;
}

/* Success and Error Messages */
.alert {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== RESPONSIVE FIXES FOR ADMIN PANEL ===== */
@media (max-width: 1024px) {
    .admin-sidebar {
        width: 250px;
    }
    
    .admin-content {
        margin-left: 250px;
        width: calc(100% - 250px);
    }
}

@media (max-width: 768px) {
    .admin-container {
        flex-direction: column;
    }
    
    .admin-sidebar {
        position: static;
        width: 100%;
        height: auto;
        padding: 20px 0;
    }
    
    .admin-content {
        margin-left: 0;
        width: 100%;
        padding: 20px;
    }
    
    .admin-sidebar h3 {
        margin-bottom: 20px;
        font-size: 1.2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    /* Contact Form Responsive */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-icon {
        align-self: center;
    }
}

@media (max-width: 576px) {
    .admin-content {
        padding: 15px;
    }
    
    .admin-card {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .data-table th,
    .data-table td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
    
    /* Contact Form Small Mobile */
    .contact {
        padding: 70px 0;
    }
    
    .contact-form {
        padding: 20px;
        margin: 0 10px;
    }
    
    .contact-form h3 {
        font-size: 1.3rem;
    }
    
    .contact-form h4 {
        font-size: 1.1rem;
    }
}

/* ===== RESPONSIVE FIXES FOR GALLERY PAGE ===== */
@media (min-width: 1400px) {
    .gallery-page-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

@media (min-width: 1200px) {
    .gallery-page-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .gallery-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .gallery-filters {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 767px) {
    .gallery-page {
        padding: 90px 0 60px;
    }
    
    .gallery-page-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 15px;
        margin-bottom: 30px;
    }
    
    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .gallery-page-item {
        aspect-ratio: 3/2;
    }
    
    .gallery-page-overlay {
        padding: 15px;
    }
    
    .gallery-page-info h3 {
        font-size: 1.1rem;
    }
    
    .gallery-page-info p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .gallery-page-grid {
        gap: 12px;
    }
    
    .gallery-intro {
        font-size: 1rem;
        margin-bottom: 30px;
    }
}
/* ===== FORCE RESPONSIVE FIXES - ADD THIS TO THE END OF YOUR CSS ===== */

/* Clear browser cache force */
.about-content,
.coaches-grid,
.about-carousel,
.coach-card {
    transform: translateZ(0);
}

/* About Section - FORCED FIX */
.about-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 60px !important;
    align-items: center !important;
    width: 100% !important;
}

.about-image {
    width: 100% !important;
    display: block !important;
}

.about-carousel {
    width: 100% !important;
    height: 400px !important;
    position: relative !important;
}

.about-carousel-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Players Section - FORCED FIX */
.coaches-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 30px !important;
    width: 100% !important;
}

.coach-card {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.coach-image {
    width: 100% !important;
    padding-bottom: 100% !important;
    position: relative !important;
}

.coach-image img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Mobile Responsive - FORCED */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .about-image {
        order: -1 !important;
    }
    
    .about-carousel {
        height: 300px !important;
    }
    
    .coaches-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .about-carousel {
        height: 250px !important;
    }
}
/* ===== FIXED FEATURED PLAYERS ON INDEX PAGE ===== */
.coaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
}

.coach-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid var(--border);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.coach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.coach-image {
    position: relative;
    width: 100%;
    height: 250px; /* Fixed height for featured players */
    overflow: hidden;
    background: linear-gradient(135deg, var(--light) 0%, #e8f5e8 100%);
    flex-shrink: 0;
}

.coach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.coach-card:hover .coach-image img {
    transform: scale(1.05);
}

.coach-info {
    padding: 20px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.coach-info h3 {
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.2;
}

.coach-info p {
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.4;
    font-size: 0.9rem;
}

.coach-info p:first-of-type {
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Responsive for featured players */
@media (max-width: 768px) {
    .coaches-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .coach-image {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .coaches-grid {
        grid-template-columns: 1fr;
    }
    
    .coach-image {
        height: 200px;
    }
}

