/* css/styles.css - Enhanced for better responsiveness and styles */
/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Arial', sans-serif; line-height: 1.6; color: #333; background: #f4f4f4; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }

/* Navigation */
.navbar { background: #228B22; color: white; padding: 1rem 0; position: fixed; width: 100%; top: 0; z-index: 1000; transition: background 0.3s; }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; flex-wrap: wrap; }
.logo { font-size: 1.5rem; font-weight: bold; }
.nav-menu { display: flex; list-style: none; gap: 2rem; flex-wrap: wrap; }
.nav-menu li a { color: white; padding: 0.5rem 1rem; border-radius: 5px; transition: background 0.3s; }
.nav-menu li a:hover { background: rgba(255,255,255,0.2); }
.hamburger { display: none; flex-direction: column; cursor: pointer; }
.hamburger span { width: 25px; height: 3px; background: white; margin: 3px 0; transition: 0.3s; }

/* Hero Sections */
.hero, .about-hero, .advocacy-hero, .programs-hero, .team-hero, .blog-hero, .contact-hero { background: linear-gradient(to right, #228B22, #FFD700); color: white; text-align: center; padding: 150px 0 100px; min-height: 50vh; display: flex; align-items: center; justify-content: center; }
.hero h1, .about-hero h1 { font-size: 3rem; margin-bottom: 1rem; animation: fadeInUp 1s ease-out; }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; }

/* Cards & Grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin: 2rem 0; }
.card, .team-card, .post-card { background: white; padding: 2rem; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: transform 0.3s, box-shadow 0.3s; }
.card:hover, .team-card:hover, .post-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }

/* Sections */
.intro, .objectives, .advocacy-sections, .programs-list, .team-grid, .blog-posts { padding: 80px 0; background: white; }
.intro h2, .objectives h2, .quick-links h2 { text-align: center; margin-bottom: 2rem; color: #228B22; }
.objectives-list { list-style: none; max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.objectives-list li { padding: 1rem; background: #f9f9f9; margin: 1rem 0; border-left: 5px solid #FFD700; transition: background 0.3s; }
.objectives-list li:hover { background: #e8f5e8; }

/* Forms */
.contact-form, .newsletter { display: flex; gap: 1rem; max-width: 600px; margin: 2rem auto; flex-wrap: wrap; }
.contact-form input, .contact-form textarea, .newsletter input { flex: 1 1 200px; padding: 1rem; border: 1px solid #ddd; border-radius: 5px; }
.contact-form button, .newsletter button { padding: 1rem 2rem; background: #228B22; color: white; border: none; border-radius: 5px; cursor: pointer; transition: background 0.3s; flex: 1 1 100px; }
.contact-form button:hover, .newsletter button:hover { background: #1e7a1e; }

/* Buttons */
.cta-button, .donate-btn { display: inline-block; background: #FFD700; color: #228B22; padding: 1rem 2rem; border-radius: 5px; font-weight: bold; transition: transform 0.3s; }
.cta-button:hover, .donate-btn:hover { transform: scale(1.05); }

/* Footer */
footer { background: #333; color: white; text-align: center; padding: 2rem 0; }
.social-links { margin: 1rem 0; display: flex; justify-content: center; gap: 1rem; }
.social-links a { color: #FFD700; transition: color 0.3s; }
.social-links a:hover { color: white; }
.related-searches ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.related-searches a { color: #FFD700; }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeInUp 1s ease-out; }
.animate-slide-up { opacity: 0; transform: translateY(30px); transition: all 0.6s ease-out; }
.animate-slide-up.visible { opacity: 1; transform: translateY(0); }

/* Enhanced Responsive */
@media (max-width: 1024px) {
    .grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
    .hero h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-menu { position: fixed; left: -100%; top: 70px; flex-direction: column; background: #228B22; width: 100%; text-align: center; transition: 0.3s; gap: 0; }
    .nav-menu.active { left: 0; }
    .nav-menu li { margin: 1rem 0; }
    .hero h1 { font-size: 2rem; }
    .grid { grid-template-columns: 1fr; }
    .contact-form, .newsletter { flex-direction: column; }
    .social-links { flex-direction: column; }
}

@media (max-width: 480px) {
    .container { padding: 0 10px; }
    .hero { padding: 100px 0 50px; min-height: 40vh; }
    .cta-button { padding: 0.8rem 1.5rem; }
}

/* Robust Styles Additions */
.hero { background-size: cover; background-position: center; } /* Add background-image if needed */
.card { border: 1px solid #eee; }
.timeline::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #228B22; transform: translateX(-50%); }
.timeline-item { position: relative; margin: 2rem 0; width: 45%; padding: 1rem; background: #f9f9f9; border-radius: 5px; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; padding-right: 2rem; }
.timeline-item:nth-child(even) { left: 55%; padding-left: 2rem; }
@media (max-width: 768px) {
    .timeline::before { left: 20px; }
    .timeline-item { width: 100%; left: 0 !important; text-align: left; padding-left: 40px; padding-right: 0; }
}
.faq-item p { display: none; transition: max-height 0.3s ease; }
.faq-item.active p { display: block; max-height: 500px; } /* For JS toggle */
.map-placeholder { height: 300px; background: #ddd; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }