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

:root {
    --primary-green: #16a34a;
    --primary-green-hover: #471580;
    --dark-green: #064e3b;
    --accent-gold: #eab308;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --font-main: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Account for sticky navbar */
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1rem;
}

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

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

.btn-outline {
    background-color: transparent;
    color: white;
    border-color: white;
}

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

/* --- Section Headers --- */
.section-subtitle {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-desc {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

/* --- Navbar --- */
.navbar {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    background-color: var(--primary-green);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 1.2rem;
}

.logo-text {
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.nav-links ul {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s;
    padding-bottom: 5px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-green);
    transition: width 0.3s ease;
}

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

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-green);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-dark);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    background: linear-gradient(135deg, #064e3b 0%, #16a34a 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-subtitle {
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .highlight {
    color: var(--accent-gold);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.values-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.value-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.value-icon {
    background-color: #dcfce7;
    color: var(--primary-green);
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.value-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.value-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.about-image .image-placeholder {
    background-color: #e5e7eb;
    height: 400px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    position: relative;
}

.est-badge {
    position: absolute;
    bottom: -20px;
    left: 40px;
    background: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
}

.est-badge span {
    color: var(--primary-green);
    font-weight: 800;
    display: block;
    font-size: 1.2rem;
}

.est-badge p {
    font-size: 0.8rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* --- Fixtures Section (Real Rolling Ball) --- */
.coming-soon-container {
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden; /* Prevents ball from going outside the box */
}

.pitch-animation {
    position: relative;
    height: 80px;
    margin-bottom: 20px;
    width: 100%;
}

.soccer-ball {
    width: 60px;
    height: 60px;
    position: absolute;
    top: 0;
    left: 0;
    /* Animation: roll across, pause, roll back */
    animation: rollAcross 4s ease-in-out infinite alternate;
}

.soccer-ball svg {
    width: 100%;
    height: 100%;
    /* This makes the ball look 3D and shiny */
    filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.2));
}

.ball-shadow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 10px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    filter: blur(4px);
    /* Shadow animation matches the ball movement */
    animation: shadowAcross 4s ease-in-out infinite alternate;
}

@keyframes rollAcross {
    0% { left: 0%; transform: rotate(0deg); }
    100% { left: calc(100% - 60px); transform: rotate(1080deg); }
}

@keyframes shadowAcross {
    0% { left: 0%; transform: scale(1); opacity: 0.8; }
    100% { left: calc(100% - 60px); transform: scale(1.1); opacity: 0.4; }
}

.coming-soon-container h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.coming-soon-container p {
    color: var(--text-light);
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay span {
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

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

/* --- Committee Section --- */
.table-responsive {
    overflow-x: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.committee-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.committee-table th, .committee-table td {
    padding: 20px 25px;
    text-align: left;
}

.committee-table thead {
    background-color: var(--primary-green);
    color: white;
}

.committee-table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.committee-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s;
}

.committee-table tbody tr:hover {
    background-color: #f0fdf4;
}

.committee-table tbody tr:last-child {
    border-bottom: none;
}

.committee-table td {
    color: var(--text-light);
    font-weight: 500;
}

.committee-table td:first-child {
    color: var(--text-dark);
    font-weight: 700;
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-icon {
    background-color: #dcfce7;
    color: var(--primary-green);
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 600;
}

.info-item p {
    color: var(--text-light);
    font-weight: 500;
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--primary-green);
}

.contact-form textarea {
    resize: vertical;
}
/* --- Thank You Message --- */
.thank-you-message {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.5s ease;
}

.thank-you-message .check-icon {
    width: 70px;
    height: 70px;
    background-color: #dcfce7;
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 20px auto;
}

.thank-you-message h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.thank-you-message p {
    color: var(--text-light);
    font-size: 1rem;
}

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

/* --- Footer --- */
.footer {
    background-color: #111827;
    color: white;
    padding: 60px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 15px;
}

.footer-tagline {
    color: #9ca3af;
    margin-bottom: 20px;
    font-style: italic;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #1f2937;
    border-radius: 50%;
    color: white;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-green);
}

.footer-links h4, .footer-donate h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #9ca3af;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-donate p {
    color: #9ca3af;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-bottom {
    background-color: #0f172a;
    padding: 20px 0;
    border-top: 1px solid #1f2937;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-bottom strong {
    color: var(--accent-gold);
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-green);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-green-hover);
    transform: translateY(-3px);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .about-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; margin-bottom: 40px; } 
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { 
        display: none; 
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        border-top: 1px solid #e5e7eb;
    }
    
    .nav-links.active {
        display: block;
    }

    .nav-links ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .nav-btn { display: none; }
    .mobile-menu-btn { display: block; }
    
    .hero-title { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; align-items: center; gap: 15px; }
    .section-title { font-size: 2rem; }
    
    .gallery-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
    .footer-bottom .container { flex-direction: column; gap: 10px; text-align: center; }
    
    .contact-form-container { padding: 20px; }
}