/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo-container {
    padding: 5px 0;
}

.logo {
    height: 60px;
    width: auto;
}

.desktop-nav ul {
    display: flex;
}

.desktop-nav ul li {
    margin-left: 2rem;
}

.desktop-nav ul li a {
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 10px 0;
    position: relative;
}

.desktop-nav ul li a:hover {
    color: var(--secondary-color);
}

.desktop-nav ul li a.active {
    color: var(--secondary-color);
}

.desktop-nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

.mobile-nav {
    display: none;
    background-color: white;
    padding: 1rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.mobile-nav ul li {
    margin-bottom: 1rem;
}

.mobile-nav ul li a {
    font-weight: 600;
}

.mobile-nav ul li a.active {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/Picture3.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 180px 0 100px;
    margin-top: 70px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 10px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Mission Section */
.mission {
    padding: 80px 0;
    text-align: center;
    background-color: white;
}

.mission p {
    font-size: 1.2rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--primary-color);
}

.mission-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.point {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.point:hover {
    transform: translateY(-10px);
}

.point i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background-color: var(--light-color);
    text-align: center;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Always 2 columns */
    gap: 20px;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-item {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}
/* Contact Section */
.contact {
    padding: 80px 0;
    text-align: center;
    background-color: white;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    flex: 1;
    min-width: 250px;
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: 10px;
}

.contact-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}
/* Remove the existing responsive gallery styles */
@media (max-width: 992px) {
    /* Remove any existing gallery-specific responsive styles */
}

@media (max-width: 768px) {
    /* Keep the 2-column layout for tablets */
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    /* Keep the 2-column layout for mobile */
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item {
        height: 200px; /* Slightly smaller height for mobile */
    }
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    height: 70px;
    width: auto;
}

.footer-links, .footer-partners {
    flex: 1;
    min-width: 200px;
}

.footer-links h3, .footer-partners h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links ul li, .footer-partners ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: var(--light-color);
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    font-size: 0.9rem;
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/image2.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 0 100px;
    margin-top: 70px;
}

.about-hero h1 {
    font-size: 2.5rem;
    color: white;
}

.about {
    padding: 80px 0;
    background-color: white;
}

.about p {
    margin-bottom: 1.5rem;
}

.programs {
    padding: 80px 0;
    background-color: var(--light-color);
}

.program-card {
    display: flex;
    flex-wrap: wrap;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.program-icon {
    flex: 1;
    min-width: 100px;
    max-width: 150px;
    background-color: var(--secondary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.program-icon i {
    font-size: 3rem;
}

.program-content {
    flex: 3;
    min-width: 300px;
    padding: 2rem;
}

.program-content h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.program-content h4 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
}

.partners {
    padding: 80px 0;
    background-color: white;
    text-align: center;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.partner-item {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: 10px;
}

.partner-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1, .about-hero h1 {
        font-size: 2rem;
    }
    
    .hero-content {
        padding: 30px;
    }
    
    .mission-points, .contact-info {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-nav.active {
        display: block;
    }
    
    .hero, .about-hero {
        padding: 120px 0 80px;
    }
    
    .hero h1, .about-hero h1 {
        font-size: 1.8rem;
    }
    
    .point, .contact-item, .partner-item {
        min-width: 100%;
    }
    
    .program-card {
        flex-direction: column;
    }
    
    .program-icon {
        min-width: 100%;
        max-width: 100%;
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero h1, .about-hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p, .mission p {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .gallery-item {
        min-width: 100%;
    }
}



/* Vision Section */
.vision {
    padding: 80px 0;
    background-color: var(--light-color);
    text-align: center;
}

.vision-content {
    max-width: 800px;
    margin: 0 auto;
}

.vision-content p {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
}

/* Update the contact email icon */
.contact-item .fa-envelope {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* About Section with Image */
.about {
    padding: 80px 0;
    background-color: white;
}

.about-image {
    margin: 40px auto;
    max-width: 800px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Objectives List Styling */
.objectives-list {
    margin-left: 20px;
}

.objectives-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.objectives-list .fa-check-circle {
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    top: 5px;
}
/* Add to your CSS file */
.about-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 300px; /* Adjust as needed */
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding: 100px 0;
    margin-top: 70px; /* Adjust if header is fixed */
}
.about-hero {
    position: relative;
    background: url('../images/Picture2.jpg') no-repeat center center;
    background-size: cover;
    min-height: 300px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.about-hero .container {
    position: relative;
    z-index: 2;
    color: white;
}

/* Target Groups Section */
.target-groups {
    padding: 80px 0;
    background-color: var(--light-color);
}

.groups-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.groups-list li {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.groups-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Funding Section */
.funding {
    padding: 80px 0;
    background-color: white;
}

.funders-list {
    margin: 20px 0;
}

.funders-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.funders-list i {
    color: var(--secondary-color);
}

.funder-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.funder-item {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

html {
    scroll-behavior: smooth;
}