/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f1f1f1;
    color: #333;
    animation: fadeInBody 1s ease-out;  /* Fade in body on load */
}

/* Header */
header {
    background-color: #004B87;  /* Deep blue for a formal, government-like appearance */
    color: white;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    animation: slideDown 1s ease-out;  /* Header slides in from top */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header .logo img {
    width: 180px;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

header nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

header .cta .btn-primary {
    padding: 10px 20px;
    background-color: #FF7F00;  /* Bright orange for calls to action */
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: transform 0.3s ease; /* Smooth hover effect */
}

header .cta .btn-primary:hover {
    transform: scale(1.05); /* Scale up on hover */
}

/* Hero Section */
.hero {
    background-image: url('hero-image.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 20px;
    text-align: center;
    color: white;
    margin-top: 60px;
    animation: fadeInUp 1.5s ease-out;  /* Fade-in with upward motion */
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero .btn-primary {
    padding: 15px 30px;
    background-color: #FF7F00;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero .btn-primary:hover {
    background-color: #e67300;
    transform: scale(1.1);
}

/* About Section */
.about {
    background-color: white;
    padding: 50px 0;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 2s ease-out forwards;  /* Fade-in with upward motion */
}

.about h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

/* Programs Section */
.programs {
    background-color: #f9f9f9;
    padding: 50px 0;
    animation: fadeInUp 1.5s ease-out forwards;  /* Fade-in with upward motion */
}

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

.programs .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.programs .program-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Hover effect */
}

.programs .program-card:hover {
    transform: translateY(-10px); /* Lift effect on hover */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); /* Stronger shadow */
}

.programs .program-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.programs .program-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.programs .program-card p {
    font-size: 16px;
    margin-bottom: 15px;
}

.programs .program-card a {
    text-decoration: none;
    color: #004B87;
    font-weight: bold;
    transition: color 0.3s ease;
}

.programs .program-card a:hover {
    color: #FF7F00; /* Change color on hover */
}

/* Impact Section */
.impact {
    background-color: #004B87;  /* Deep blue background for emphasis */
    color: white;
    padding: 50px 0;
    text-align: center;
    animation: fadeInUp 2s ease-out forwards;  /* Fade-in with upward motion */
}

.impact h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.impact .impact-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
}

.impact .stat {
    font-size: 28px;
    font-weight: bold;
    padding: 10px;
    border-radius: 8px;
    background-color: #FF7F00;  /* Orange background for stats */
    color: white;
    width: 200px;
    opacity: 0;
    animation: fadeInUp 2s ease-out forwards 1s;  /* Delayed fade-in for stats */
}

.impact .stat p {
    font-size: 18px;
    margin-top: 10px;
}

/* Footer Section */
footer {
    background-color: #003366;  /* Dark blue footer */
    color: white;
    padding: 30px 0;
    text-align: center;
    animation: fadeInUp 2s ease-out forwards;  /* Fade-in with upward motion */
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer .footer-left p {
    font-size: 14px;
}

footer .footer-right {
    display: flex;
    gap: 20px;
}

footer .footer-right a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 14px;
    transition: color 0.3s ease;
}

footer .footer-right a:hover {
    color: #FF7F00;
}

/* Button Styles */
.btn-primary {
    padding: 15px 30px;
    background-color: #FF7F00;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: #e67300;
    transform: scale(1.1);
}

.btn-secondary {
    padding: 10px 20px;
    background-color: #004B87;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

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

/* General Layout Adjustments */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero .btn-primary {
        padding: 12px 24px;
    }

    .programs .grid {
        grid-template-columns: 1fr;
    }

    .impact .impact-stats {
        flex-direction: column;
    }

    .footer-left p {
        font-size: 12px;
    }

    footer .footer-right a {
        font-size: 12px;
    }
}

/* Animation Keyframes */
@keyframes fadeInBody {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes slideDown {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
