:root {
    --primary-color: #2B7A78;
    --secondary-color: #3AAFA9;
    --accent-color: #DEF2F1;
    --text-color: #17252A;
    --bg-color: #FEFFFF;
    --highlight-color: #FECEAB;
    --cta-color: #FF6F61;
}

/* Animation and transition styles */
.about-content {
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

.about-content.hidden {
    opacity: 0;
}

.program-dropdown [id$="-content"] {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    overflow: hidden;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .dropdown-menu {
        width: 100%;
        position: static;
        box-shadow: none;
        margin-top: 0.5rem;
    }

    .program-dropdown button {
        flex-wrap: wrap;
    }

    .program-dropdown [id$="-content"] {
        margin-top: 1rem;
    }

    .about-content {
        padding: 1rem;
    }
}

body {
    font-family: 'Nunito', 'Poppins', 'Segoe UI', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    min-height: 100vh;
    letter-spacing: 0.01em;
    font-size: 1.08rem;
    line-height: 1.7;
}
.btn-primary {
    background: linear-gradient(90deg, var(--primary-color) 60%, var(--secondary-color) 100%);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px 0 rgba(42, 122, 120, 0.08);
    border: none;
    transition: background 0.3s, box-shadow 0.3s;
}
.btn-primary:hover {
    background: linear-gradient(90deg, var(--secondary-color) 60%, var(--primary-color) 100%);
    box-shadow: 0 4px 16px 0 rgba(42, 122, 120, 0.15);
}
.text-primary {
    color: var(--primary-color);
}
.bg-primary {
    background-color: var(--primary-color);
}
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary-color);
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(42, 122, 120, 0.08);
    font-family: 'Nunito', 'Poppins', 'Segoe UI', Arial, sans-serif;
}
.section-subtitle {
    font-size: 1.15rem;
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3rem;
    color: #3AAFA9;
    font-weight: 500;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    .section-subtitle {
        font-size: 1rem;
    }
    .gallery-img {
        height: 180px !important;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }
    .section-subtitle {
        font-size: 0.95rem;
    }
}

/* Gallery image hover effect */
.gallery-img {
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px 0 rgba(42, 122, 120, 0.10);
    border-radius: 0.75rem;
    height: 256px;
    object-fit: cover;
}
.gallery-img:hover {
    transform: scale(1.07) rotate(-1deg);
    box-shadow: 0 8px 24px 0 rgba(42, 122, 120, 0.18);
}

/* Footer styling */
footer {
    background: linear-gradient(90deg, var(--primary-color) 60%, var(--secondary-color) 100%);
    color: #fff;
    font-size: 1rem;
}
footer a {
    color: #fff;
    transition: color 0.2s;
}
footer a:hover {
    color: var(--highlight-color);
}

/* Contact form */
form input, form textarea {
    background: var(--accent-color);
    border: 1.5px solid var(--secondary-color);
    color: var(--text-color);
    font-size: 1rem;
}
form input:focus, form textarea:focus {
    border-color: var(--primary-color);
    background: #fff;
}

/* Donate CTA */
#donate {
    background: linear-gradient(90deg, var(--primary-color) 60%, var(--secondary-color) 100%) !important;
    color: #fff !important;
}

/* Accessibility: focus ring */
a:focus, button:focus, input:focus, textarea:focus {
    outline: 2px solid var(--cta-color);
    outline-offset: 2px;
}

/* NGO-style badge */
/* .ngo-badge removed from headline, but kept for other uses if needed */
}
