* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00572A;
    --primary-dark: #003d1e;
    --primary-light: #007038;
    --secondary-color: #000000;
    --accent-color: #ffffff;
    --text-light: #666666;
    --text-dark: #333333;
    --bg-light: #f8f9fa;
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.nav-left, .nav-right {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-left a, .nav-right a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-left a:hover, .nav-right a:hover {
    color: var(--primary-color);
}

.nav-left a::after, .nav-right a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-left a:hover::after, .nav-right a:hover::after {
    width: 100%;
}

.logo {
    text-align: center;
}

.logo img {
    height: 100px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 87, 42, 0.8), rgba(0, 87, 42, 0.9)), url('/api/placeholder/1920/1080');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    background: var(--bg-light);
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-title span {
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Matches Section */
.matches {
    background: var(--gradient);
    color: white;
}

.match-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.match-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*margin-bottom: 1rem;*/
}

.team {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 30%;
}

.team img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.vs {
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0.8;
}

.score {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    /*margin: 1rem 0;*/
}

/* Players Section */
.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.player-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.player-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.player-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.player-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.player-info {
    padding: 1.5rem;
}

.player-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.player-position {
    color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Gallery Section */
.gallery {
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 87, 42, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: white;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.contact-info i {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #888;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-left, .nav-right {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .match-teams {
        flex-direction: column;
        gap: 1rem;
    }
    
    .players-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .feature-card, .match-card {
        padding: 1.5rem;
    }
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}
.hero {
    position: relative;
    overflow: hidden;
}

.kick-slide {
    display: flex;
    transition: transform 0.5s ease;
}

.hero-content {
    min-width: 100%;
    padding: 2rem;
    background-size: cover;
    background-position: center;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}

.dot.active {
    background: white;
}
/* Modal Overlay */
.modal {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Modal Content */
.modal-content {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: white;
}

/* Header */
.modal-header {
    background-color: #2c3e50;
    color: white;
    border-bottom: none;
    padding: 15px 20px;
}

.modal-header .close {
    color: white;
    opacity: 0.8;
    font-size: 1.8rem;
}

/* Player Image */
.player-image-container {
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.player-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Player Details */
.player-details {
    padding: 0 15px;
}

.player-name {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.player-number-position .badge {
    font-size: 1rem;
    padding: 8px 12px;
    margin-right: 8px;
    background-color: #3498db;
}

.player-bio h4 {
    color: #2c3e50;
    margin: 20px 0 10px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
    display: inline-block;
}

/* Footer */
.modal-footer {
    border-top: 1px solid #eee;
    padding: 15px 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .player-image-container {
        height: 200px;
        margin-bottom: 20px;
    }
    
    .modal-dialog {
        margin: 10px;
    }
}

/* Player Cards */
.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.player-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.player-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.player-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.player-number {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.player-info {
    padding: 15px;
}

.player-name {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

.player-position {
    margin: 5px 0 0;
    color: #666;
    font-size: 0.9rem;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    margin: 0;
    font-size: 1.5rem;
}

.close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.modal-body {
    padding: 20px;
}

.player-image-container {
    margin-bottom: 20px;
}

.player-image-container img {
    width: 100%;
    border-radius: 8px;
}

.player-details h2 {
    margin-top: 0;
    color: #333;
}

.badge {
    display: inline-block;
    padding: 5px 10px;
    background: #3498db;
    color: white;
    border-radius: 4px;
    margin-right: 5px;
    font-size: 0.9rem;
}

.player-bio h4 {
    margin-top: 20px;
    color: #333;
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
    display: inline-block;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: right;
}

.btn {
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
}

.btn-secondary {
    background: #666;
    color: white;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
    }
    
    .player-image {
        height: 200px;
    }
}

.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.upcoming-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.upcoming-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.upcoming-date {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 15px;
    text-align: center;
}

.upcoming-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

.upcoming-date .year {
    font-size: 0.9rem;
    opacity: 0.8;
}

.upcoming-teams {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.vs-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
}

.vs {
    background: #e74c3c;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
}

.time {
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
}

.upcoming-venue {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.upcoming-venue i {
    margin-right: 10px;
    color: #e74c3c;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .upcoming-grid {
        grid-template-columns: 1fr;
    }
    
    .team img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 400px) {
    .upcoming-teams {
        flex-direction: column;
    }
    
    .team, .vs-time {
        width: 100%;
        margin-bottom: 15px;
        justify-content: center;
    }
    
    .team:last-child {
        margin-bottom: 0;
    }
}


.hero-content {
    position: relative;
    width: 100%;
    height: 100vh; /* Adjust as needed */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white; /* Ensures text is visible on dark overlay */
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 100, 0, 0.5); /* Greenish overlay (adjust opacity) */
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2; /* Ensures text appears above overlay */
    padding: 20px;
    max-width: 800px;
}



/* Mobile menu styles */
.header {
    position: relative;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.nav-left, .nav-right {
    display: flex;
    gap: 1.5rem;
}

.logo img {
    height: 100px; /* Adjust as needed */
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #333;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile view */
@media (max-width: 768px) {
    .nav-left, .nav-right {
        position: fixed;
        top: 0;
        width: 80%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .nav-left {
        left: -100%;
    }
    
    .nav-right {
        right: -100%;
    }
    
    .nav-left.active {
        left: 0;
    }
    
    .nav-right.active {
        right: 0;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }
    
    .logo {
        order: -1;
    }
}


/* Fix for scroll locking */
body.modal-open {
    overflow: auto !important;
    padding-right: 0 !important;
}

.modal {
    overflow-y: auto;
}




.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #fff;
    border-bottom: 1px solid #ddd;
  }

  /* Logo */
  .logo img {
    height: 50px;
    /*display: block;*/
  }

  /* Navigation */
  .nav-menu {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
  }

  .nav-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
  }

  .nav-menu li a:hover,
  .nav-menu li a:focus {
    color: #007bff; /* Bootstrap primary color */
  }

  /* Mobile Menu Button */
  .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .mobile-menu-btn {
      display: block;
    }

    .nav-menu {
      position: absolute;
      top: 70px; /* below header */
      right: 20px;
      background: white;
      border: 1px solid #ddd;
      border-radius: 5px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      flex-direction: column;
      width: 200px;
      padding: 10px 0;
      display: none; /* hidden by default */
      z-index: 1000;
    }

    .nav-menu.active {
      display: flex;
    }

    .nav-menu li {
      margin: 0;
      padding: 10px 20px;
    }

    .nav-menu li a {
      font-size: 18px;
    }
  }
  
  .btn-primary{
      background-color: var(--primary-color) !important;
      border: 1px solid var(--primary-color) !important;
  }