/* Main Styles */
:root {
    --primary-color:  #15803d ;
    --secondary-color: #1e40af;
    --success-color: #dc2626;
    --background-color: #f3f4f6;
    --text-color: #1f2937;
    --text-light: #6b7280;
}

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

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    border: none;
    transition: background-color 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #b91c1c;
}

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

.btn-secondary:hover {
    background-color: #f3f4f6;
}

/* Navbar */
.navbar {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    display: block;
    align-items: center;
    justify-content: space-between;
}

.navbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

.navbar li {
    margin: 0 1rem;
}

.navbar a {
    color: white;
    text-decoration: none;
}

.navbar a:hover {
    text-decoration: underline;
}

/* put button in navbar at the end of the list */
.navbar .btn-secondary {
    display: block;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}






/* Hero Section */
.hero {
    height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    background-image: url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?ixlib=rb-1.2.1&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Mission Section */
.mission {
    padding: 5rem 0;
}

.mission h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 4rem;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.mission-card {
    text-align: center;
}

.icon-wrapper {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.icon-wrapper img {
    width: 2rem;
    height: 2rem;
}

.red { background-color: #fee2e2; }
.blue { background-color: #dbeafe; }
.green { background-color: #dcfce7; }


/* About Section */
.about {
    padding: 5rem 0;
}

.about h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 4rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.about-img {
    border-radius: 10px;
    overflow: hidden;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Impact Section */
.impact {
    background-color: var(--background-color);
    padding: 5rem 0;
}

.impact h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 4rem;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta p {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: #111827;
    color: white;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

footer h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

footer h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

footer p {
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.footer-bottom{
    text-align: center;
    margin-top: 2rem;
}

.social-icons{
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}
.social-icons img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .mission-grid,
    .impact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}