/* General Styles & Reset */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure body takes full viewport height */
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #333; /* Revert paragraph color to a dark shade */
    line-height: 1.6;
    background-color: #fff; /* Default background */
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.8em;
    font-family: 'Poppins', sans-serif; /* Use Poppins for headings */
    color: #086D38; /* Primary green from image */
    font-weight: 700;
}

h2 {
    color: #086D38; /* Set the font color for Vision and Mission headings */
}

.container {
    width: 100%; /* Increased width to 100% */
    max-width: 1440px; /* Further increased width */
    margin: 0 auto;
}

/* Utility Classes */
.light-bg {
    background-color: #F8FFF8; /* Very light green */
}

.dark-bg {
    background-color: #086D38; /* Primary green */
}

.text-light {
    color: #FDFDFD; /* Light text for dark backgrounds */
}

.text-light h1, .text-light h2, .text-light h3, .text-light h4, .text-light h5, .text-light h6 {
    color: #FDFDFD;
}

.centered-text {
    text-align: center;
}

.eyebrow {
    font-size: 0.9em;
    font-weight: 700;
    text-transform: uppercase;
    color: #42B04A; /* Accent green for 'Our' */
    margin-bottom: 0.5em;
}

.eyebrow span {
    color: #086D38; /* Dark green for 'Vision' and 'Mission' */
}

.accent-text {
     color: #B5FF17; /* Accent lime green */
}

.divider {
    height: 2px;
    background-color: #D6E2F8; /* Light blue divider */
    margin: 1em 0;
    width: 100%;
}

.divider.accent {
    background-color: #42B04A; /* Accent green divider */
    width: 50px; /* Short divider */
    margin: 0.5em 0 1.5em; /* Adjust spacing */
}

.dark-bg .divider.accent {
    background-color: #B5FF17; /* Lime green on dark bg */
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    background-color: #42B04A; /* Accent green */
    color: #fff;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #086D38; /* Darker green on hover */
}

.btn-contact {
    background-color: rgba(255, 255, 255, 0.3); /* Semi-transparent white */
    padding: 9px 23px;
    color: #FDFDFD;
}

.btn-contact:hover {
    background-color: rgba(255, 255, 255, 0.5); /* Slightly less transparent on hover */
}

.btn-download {
    background: linear-gradient(180deg, #42B04A 0%, #086D38 100%);
    color: #fff;
    margin-top: 1.5em;
}

.rounded img {
    border-radius: 15px; /* Match image rounding */
}


/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background-color: transparent;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease; /* Added box-shadow to transition */
    /* backdrop-filter: blur(10px); */ /* REMOVED from base state */
}

/* Add class when scrolling */
header.scrolled {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    /* background-color: rgba(8, 109, 56, 0.8); */ /* REMOVED scrolled background */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-align: center;
}

.logo img {
    height: 119px; /* Increased size by 70% */
    margin-bottom: 3px;
}

.logo .tagline {
    font-size: 0.65rem; /* Small tagline text */
    color: rgba(255, 255, 255, 0.8); /* Slightly transparent white */
    display: block;
    letter-spacing: 0.5px;
    margin-top: -5px; /* Adjust vertical position */
}

nav {
    margin-left: auto; /* Push nav towards right */
    margin-right: 30px; /* Space between nav and button */
}

nav ul {
    display: flex;
    gap: 25px;
}

nav a {
    color: #fff;
    font-weight: 500;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
    position: relative; /* Needed for potential icon positioning */
}

nav a.active,
nav a:hover {
    /* border-bottom-color: #fff; */ /* Use pseudo-element for underline */
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
}

/* Style for icon next to Arabic link */
nav a .lang-icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #42B04A; /* Accent green */
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
}

.mobile-nav-toggle {
    display: none; /* Hide on desktop */
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

/* Hero Section */
#hero {
    position: relative;
    min-height: 80vh; /* Adjust height */
    background: url('images/Intro-1.jpg') no-repeat center center/cover; /* Corrected Path */
    display: flex;
    align-items: center;
    padding-top: 100px; /* Adjust for header */
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 109, 56, 0.65); /* Darker, less transparent overlay */
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 40px;
    align-items: center;
}

.hero-text {
    flex: 1;
    max-width: 60%; /* Adjust text width */
}

.hero-text .subtitle {
    background-color: #9bc59e; /* Lighter, less saturated green */
    display: inline-block;
    padding: 8px 15px;
    font-size: 1rem; /* Adjusted size */
    margin-bottom: 1em;
    color: #086D38; /* Dark green text */
    font-weight: 700;
    border-radius: 3px; /* Slightly rounded corners */
}

.hero-text h1 {
    font-size: 3rem; /* Adjust size */
    line-height: 1.2;
    margin-bottom: 0.5em;
    color: #fff;
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 90%; /* Limit paragraph width */
}

.hero-image {
    flex: 1;
    max-width: 40%; /* Adjust image width */
    text-align: right;
}

.hero-image img {
     max-height: 87.5vh; /* Increased max-height by 25% */
}

/* Two Column Section (Vision/Mission, Goals, Values) */
.two-col-section {
    padding: 80px 0;
}

.two-col-container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.two-col-container.reverse {
    flex-direction: row-reverse;
}

.col-text {
    flex: 1;
}

.col-image {
    flex: 1;
}

#vision-mission hr {
    border: 0;
    height: 2px;
    background-color: #D6E2F8; /* Light blue divider */
    margin: 2em 0;
}

/* Partners Section */
#partners {
    padding: 60px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.partners-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.partners-title {
    flex-basis: 20%; /* Adjust width */
    flex-shrink: 0;
}

.partners-logos {
    flex-grow: 1;
    display: flex;
    justify-content: space-around; /* Distribute logos */
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 20px;
}

.partners-logos img {
    width: 120px; /* Reverted size */
    height: auto;
    margin: 10px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partners-logos img:hover {
    opacity: 1;
}

/* Services Intro */
#services-intro {
    padding: 60px 0;
}

/* Services Split Section */
.split-section {
    display: flex;
    min-height: 60vh; /* Adjust height */
}

.split-image {
    flex-basis: 50%;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-content {
    flex-basis: 50%;
    padding: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5em;
}

.split-content p {
    font-size: 1.1rem;
    max-width: 80%;
}

.dots-graphic {
    margin-top: 2em;
    color: #B5FF17; /* Accent lime green */
    font-size: 2rem;
    letter-spacing: 5px; /* Space out dots */
}


/* Services Grid Section */
#services-grid {
    padding: 80px 0;
}

#services-grid .services-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for larger screens */
    gap: 40px;
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden; /* Contain image border-radius */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.service-card img {
    width: 100%;
    height: 200px; /* Fixed height for images */
    object-fit: cover;
}

.service-card h3 {
    font-size: 1.25rem; /* Increased size to 1.25rem */
    line-height: 1.2; /* Keep decreased line height */
    padding: 20px 20px 5px 20px;
    max-width: 80%; /* Keep width reduced for two lines */
}

.service-card p {
    padding: 0 20px 20px 20px;
    color: #555;
    font-size: 0.95rem;
}

/* Conclusion Section */
#conclusion-wrapper {
    padding: 80px 0;
    background-color: #f0f0f0; /* Light grey background for contrast */
}

.conclusion-box {
    background-color: #42B04A; /* Accent Green */
    color: #fff;
    border-radius: 20px;
    padding: 50px;
    display: flex;
    gap: 40px;
    align-items: center;
}

.conclusion-text {
    flex: 1;
}

.conclusion-text h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.5em;
}

.conclusion-logo {
    flex-basis: 30%; /* Adjust size */
    text-align: center;
}

.conclusion-logo img {
    max-height: 180px; /* Increased size by 80% */
    margin-left: auto; /* Center image horizontally */
    margin-right: auto; /* Center image horizontally */
}


/* Footer */
footer {
    background-color: #086D38; /* Fallback */
    color: #eee;
    padding-top: 60px;
    position: relative; /* Needed for overlay */
    background-image: url('images/footer-bg.jpg'); /* Placeholder */
    background-size: cover;
    background-position: center;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 109, 56, 0.85); /* Dark Green Overlay */
    z-index: 1;
}

.footer-container {
    position: relative; /* Ensure content is above overlay */
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    padding-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px; /* Prevent columns from becoming too narrow */
}

.footer-info {
    /* Reverted text-align: center; */
}

.footer-info img {
    height: 90px; /* Reverted footer logo size */
    margin-bottom: 1.5em;
}

.footer-info p {
    font-size: 0.9rem;
    margin-bottom: 0.8em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col h4 {
    margin-bottom: 20px; /* Increased space below heading */
    font-weight: 700; /* Make heading bolder */
    font-size: 1.1rem; /* Slightly larger heading */
    color: #fff; /* Ensure white heading */
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px; /* Increased space between links */
}

.footer-links a {
    color: #ccc; /* Lighter link color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5em;
}

.social-icons a {
    display: inline-flex; /* Use flex for alignment */
    justify-content: center;
    align-items: center;
    width: 40px; /* Icon container width */
    height: 40px; /* Icon container height */
    background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent background */
    color: #fff;
    border-radius: 50%; /* Circular background */
    margin-right: 10px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.copyright {
    margin-top: 25px; /* More space above copyright */
    font-size: 0.85rem; /* Slightly smaller font size */
    color: #aaa; /* Dimmer color */
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
    .two-col-container {
        flex-direction: column;
    }
    .two-col-container.reverse {
        flex-direction: column; /* Keep column order */
    }
    .partners-container {
        flex-direction: column;
        text-align: center;
    }
    .split-section {
        flex-direction: column;
    }
    .conclusion-box {
        flex-direction: column;
        text-align: center;
    }
    #services-grid .services-grid-container {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for medium screens */
    }
}

@media (max-width: 768px) {
    .container {
        width: 90%; /* Add horizontal space */
        padding-left: 15px;
        padding-right: 15px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }

    body {
        font-size: 15px; /* Slightly smaller base font */
    }

    .two-col-section, #partners, #services-intro, #services-grid, #conclusion-wrapper, #contact-details {
        padding-top: 40px;
        padding-bottom: 40px; /* Reduced vertical padding */
    }

    #contact-hero {
        padding: 100px 0 50px; /* Reduced hero padding */
    }

    .header-container {
        position: relative; /* Needed for absolute positioning of mobile menu */
        padding-left: 15px; /* Ensure padding matches container */
        padding-right: 15px;
        width: 100%; /* Override container width for header */
    }
    nav {
        display: none; /* Hide desktop nav */
        /* Basic mobile menu styles - implement properly with JS */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #086D38;
        padding: 20px;
        z-index: 1001; /* Ensure menu is above content */
    }
    nav.active { /* Add this class via JS */
        display: block;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    .btn-contact {
        display: none; /* Hide contact button on small screens (or move to menu) */
    }
    .mobile-nav-toggle {
        display: block;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 30px; /* Add space below header */
    }
    .hero-text,
    .hero-image {
        max-width: 100%;
    }
    .hero-text h1 {
        font-size: 2rem; /* Adjusted from previous media query */
    }
     .hero-image img {
         max-height: 40vh; /* Reduce hero image height further on mobile */
     }

    #services-grid .services-grid-container { /* Increased specificity */
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 25px; /* Reduce gap */
    }
    .footer-container {
        grid-template-columns: 1fr;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    .footer-info p {
        justify-content: center; /* Center icon + text block */
    }
    .footer-links ul {
        text-align: center; /* Center the quick links */
    }
    .footer-col.footer-social {
        /* Social content should already be centered by .footer-container text-align */
    }
    .social-icons {
       justify-content: center; /* Ensure icons themselves are centered */
    }

    #sports-empowerment h2 {
        max-width: 95%; /* Allow more width on mobile */
        font-size: 1.8rem; /* Adjust size */
    }

    #sports-empowerment p { /* Target paragraph specifically */
        max-width: none; /* Ensure full width */
        width: 100%;
    }
}

.text-white {
    color: #fff;
}

.text-white h2 {
    color: #fff;
}

.text-white p {
    color: #fff;
}

.sports-eyebrow {
    color: #42B04A; /* Accent green */
    font-weight: 700;
    margin-bottom: 1em;
}

.service-icons img {
    margin-top: 30px;
    width: 100%; /* Make image take full container width */
    height: auto;
}

#sports-empowerment h2 {
    max-width: 75%; /* Adjust width to force two lines */
}

/* Contact Page Styles */
#contact-hero {
    padding: 180px 0 100px; /* Increased vertical padding for more height */
    text-align: center;
    position: relative; /* Needed for overlay */
    background: url('images/contact-hero-bg.jpg') no-repeat center center/cover; /* Placeholder BG */
    color: #fff; /* Text color for dark background */
}

#contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 109, 56, 0.7); /* Green overlay */
    z-index: 1;
}

#contact-hero .container {
    position: relative; /* Ensure content is above overlay */
    z-index: 2;
}

#contact-hero h1,
#contact-hero p {
    color: #fff; /* Ensure text is white */
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.contact-item {
    padding: 20px;
    background-color: #f9f9f9; /* Light background for each item */
    border-radius: 8px;
}

.contact-icon {
    font-size: 2.5rem;
    color: #086D38; /* Primary green */
    margin-bottom: 15px;
}

.contact-item h3 {
    margin-bottom: 10px;
    color: #086D38;
}

.contact-item p {
    color: #555; /* Slightly darker text for details */
}

.contact-item a {
    color: #42B04A; /* Accent green for links */
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

main {
    flex-grow: 1; /* Allow main content to grow and push footer down */
}

.col-image img,
.service-card img,
.hero-image img {
    transition: transform 0.3s ease, filter 0.3s ease; /* Smooth transition */
    display: block; /* Ensure images behave as blocks for transform */
    width: 100%; /* Ensure images are responsive */
    height: auto;
}

.col-image:hover img,
.service-card:hover img,
.hero-image:hover img {
    transform: scale(1.03); /* Slight zoom */
    filter: brightness(95%); /* Slightly dim */
} 