@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root { 
    --red: #b22222; 
    --dark: #2c3e50; 
    --light: #f8f9fa;
    --text: #444;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; color: var(--text); line-height: 1.6; background: #fff; }

/* SHARED HEADER STYLE */
nav { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 1rem 8%; background: white; position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.logo { font-size: 1.5rem; font-weight: 700; color: var(--dark); text-decoration: none; }
.logo span { color: var(--red); }
nav ul { display: flex; list-style: none; gap: 20px; align-items: center; }
nav a { text-decoration: none; color: var(--dark); font-weight: 500; font-size: 0.9rem; transition: 0.3s; }
nav a:hover { color: var(--red); }
.donate-btn { background: var(--red); color: white !important; padding: 8px 20px; border-radius: 50px; }

/* HERO SECTIONS */
.hero { 
    height: 45vh; background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center; text-align: center; color: white;
    position: relative;
}
.hero::after { content: ''; position: absolute; width: 100%; height: 100%; background: rgba(0,0,0,0.5); }
.hero-text { z-index: 1; padding: 0 20px; }
.hero h1 { font-size: 2.5rem; }

/* PAGE CONTENT */
section { padding: 60px 8%; max-width: 1200px; margin: auto; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 30px; }
.card { background: var(--light); border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border: 1px solid #eee; }
.card img { width: 100%; height: 250px; object-fit: cover; }
.card-content { padding: 25px; }

/* FOOTER */
footer { background: #1a1a1a; color: white; text-align: center; padding: 40px; margin-top: 50px; }

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    nav { flex-direction: column; padding: 1rem; }
    nav ul { margin-top: 15px; gap: 10px; flex-wrap: wrap; justify-content: center; }
}
