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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo img {
    width: 40px;        /* Small size */
    height: 40px;       /* Keep square */
    border-radius: 50%; /* Makes it round */
    object-fit: cover;  /* Prevents stretching */
}

/* Navigation Bar */
nav {
    background: linear-gradient(135deg, #c41e3a 0%, #007a5e 50%, #fcd116 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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


.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23d4af37" width="1200" height="600"/><circle cx="200" cy="150" r="80" fill="%23c41e3a" opacity="0.3"/><circle cx="1000" cy="450" r="120" fill="%23c41e3a" opacity="0.2"/><polygon points="600,50 750,200 500,200" fill="%23fcd116" opacity="0.2"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 8rem 2rem;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    max-width: 800px;
}

.cta-button {
    background: #fcd116;
    color: #333;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* About Section */
.about {
    padding: 4rem 0;
    border-bottom: 3px solid #d4af37;
    scroll-margin-top: 70px;
}

.about h2 {
    font-size: 2.5rem;
    color: #c41e3a;
    margin-bottom: 2rem;
    text-align: center;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}


/* Mission, Vision, Values */
.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.card {
    background: #f4f4f4;
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid #d4af37;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: #c41e3a;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    line-height: 1.8;
}

/* Programs Section */
.programs {
    padding: 4rem 0;
    border-bottom: 3px solid #d4af37;
    scroll-margin-top: 70px;
}

.programs h2 {
    font-size: 2.5rem;
    color: #c41e3a;
    margin-bottom: 3rem;
    text-align: center;
}

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

.program-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.program-card:hover {
    border-color: #d4af37;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.program-card h3 {
    color: #c41e3a;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.program-card p {
    color: #666;
    line-height: 1.8;
}

/* Impact Section */
.impact {
    padding: 4rem 0;
    background: #f9f9f9;
    margin: 2rem 0;
    border-radius: 10px;
}

.impact h2 {
    font-size: 2.5rem;
    color: #c41e3a;
    margin-bottom: 3rem;
    text-align: center;
}

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

.stat {
    padding: 2rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #d4af37;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 1.1rem;
}

/* Get Involved Section */
.get-involved {
    padding: 4rem 0;
    text-align: center;
    border-bottom: 3px solid #d4af37;
}

.get-involved h2 {
    font-size: 2.5rem;
    color: #c41e3a;
    margin-bottom: 2rem;
}

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

.involvement-option {
    padding: 2rem;
    background: #f4f4f4;
    border-radius: 10px;
    transition: transform 0.3s;
}

.involvement-option:hover {
    transform: scale(1.05);
    background: #d4af37;
    color: white;
}

.involvement-option h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #d4af37;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #d4af37;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

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

    .hero p {
        font-size: 1.1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .hero {
        padding: 3rem 1rem;
        min-height: auto;
    }

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

    .hero p {
        font-size: 0.95rem;
    }

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

.about-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-icons {
    font-size: 4rem;
    line-height: 1.5;
}

/* Contact Form Styling */
.contact {
    max-width: 1200px;
    width: 100%;
    margin: 4rem auto;
    padding: 3rem;
    background: linear-gradient(135deg, #f9f9f9 0%, #fff 100%);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #c41e3a;
    scroll-margin-top: 120px;
}

.contact h2 {
    color: #c41e3a;
    margin-bottom: 0.5rem;
    font-size: 2rem;
    text-align: center;
}

.contact > p {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, #c41e3a 0%, #007a5e 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(196, 30, 58, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Captcha Images Styling */
.captcha-images {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 1rem;
    justify-items: center;
}

.captcha-image-option {
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: center;
}

.captcha-image-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 10;
}

.captcha-image-option label {
    display: block;
    position: relative;
    border: 3px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.captcha-image-option label img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.captcha-image-option input[type="checkbox"]:checked + label {
    border-color: #c41e3a;
    box-shadow: 0 0 10px rgba(196, 30, 58, 0.4), inset 0 0 0 3px #c41e3a;
}

.captcha-image-option input[type="checkbox"]:checked + label img {
    transform: scale(0.95);
}

/* Responsive captcha grid */
@media (max-width: 768px) {
    .captcha-images {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .captcha-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .captcha-image-option label img {
        width: 80px;
        height: 80px;
    }
}

/* Footer Policy Links */
.footer-bottom .grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom .grid a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.footer-bottom .grid a:hover {
    color: #d4af37;
    cursor: pointer;
}

.footer-bottom .grid a + * {
    color: #ccc;
}


#captchaContainer {
    text-align: center;
}

#captchaContainer label {
    display: inline-block;
    margin: 6px;
    cursor: pointer;
}

#captchaContainer input[type="radio"] {
    display: none;
}

#captchaContainer img {
    border: 3px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

#captchaContainer input[type="radio"]:checked + label img {
    border-color: #c41e3a;
    box-shadow: 0 0 10px rgba(196, 30, 58, 0.4);
}

#captchaContainer p {
    color: #333;
    font-size: 1rem;
    margin-bottom: 1rem;
}

#captchaContainer strong {
    color: #c41e3a;
    font-weight: 600;
}

.messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
}

.alert {
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-in;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-close {
    float: right;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
    color: inherit;
    opacity: 0.7;
}

.alert-close:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}