body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255,255,255,0.16);
}

.btn:hover {
    background: #1b5e20;
    transform: translateY(-1px);
}



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

/* BODY */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* HEADER */
header {
    background: #2e7d32;
    color: white;
    padding: 20px;
    text-align: center;
}

nav {
    margin-top: 10px;
}

nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: orange;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/community.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero h2 {
    font-size: 40px;
}

.hero p {
    margin-top: 15px;
    font-size: 18px;
}

/* SECTIONS */
section {
    padding: 50px 20px;
    max-width: 1000px;
    margin: auto;
}

/* FOOTER */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 15px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 28px;
    }

    .navbar {
        justify-content: center;
        padding: 15px 20px;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .nav-links a {
        width: 100%;
        max-width: 320px;
        text-align: center;
        margin: 6px 0;
    }

    .btn {
        width: 100%;
        max-width: 320px;
        box-sizing: border-box;
    }
}


/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px 30px;
    background: #b30000;
    color: white;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    display: inline-block;
    padding: 10px 14px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.nav-links a.active {
    border-bottom: none;
    background: rgba(255,255,255,0.16);
}

/* HERO */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('images/image2.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 2.5rem;
}

.hero-buttons {
    margin-top: 20px;
}

.btn {
    display: inline-block;
    background: #2e7d32;
    color: white;
    padding: 12px 24px;
    margin: 20px 10px 0;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
}

/* ABOUT */
.about-preview {
    padding: 40px 20px;
    text-align: center;
}

/* PROGRAMS */
.programs {
    padding: 40px 20px;
    text-align: center;
}

.program-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* CTA */
.cta {
    background: #b30000;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 15px;
    background: #222;
    color: white;
}

/* PAGE HEADER */
.page-header {
    text-align: center;
    padding: 50px 20px;
    background: #f5f5f5;
}

/* DETAILED PROGRAMS */
.programs-detailed {
    padding: 40px 20px;
    display: grid;
    gap: 20px;
}

.program-box {
    background: #ffffff;
    padding: 25px;
    border-left: 5px solid #b30000;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* GALLERY */
.gallery {
    padding: 40px 20px;
}

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

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
}

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

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

/* ABOUT PAGE */
.about-section {
    padding: 40px 20px;
    max-width: 900px;
    margin: auto;
}

.about-section h2 {
    margin-top: 20px;
    color: #b30000;
}

.values {
    list-style: none;
    padding: 0;
}

.values li {
    background: #f5f5f5;
    padding: 10px;
    margin: 5px 0;
    border-left: 4px solid #2e7d32;
}

/* CONTACT */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 40px 20px;
}

.contact-info {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
}

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

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.contact-form button {
    border: none;
    cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

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

.logo-container img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.card, .program-box, .gallery-item {
    animation: fadeIn 1s ease;
}

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