/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #333; background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== VARIABLES ===== */
:root {
  --primary: #e63946;
  --primary-dark: #c1121f;
  --secondary: #457b9d;
  --dark: #1d3557;
  --light-bg: #f8f9fa;
  --accent: #f4a261;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --radius: 14px;
}

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.center { text-align: center; }
.mt-20 { margin-top: 20px; }
.highlight { color: var(--accent); }

/* ===== BUTTONS ===== */
.btn { display: inline-block; padding: 12px 28px; border-radius: 8px; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: all 0.3s ease; border: none; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(230,57,70,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); border-radius: 8px; }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-donate { background: var(--accent); color: var(--white); padding: 10px 24px; border-radius: 8px; }
.btn-donate:hover { background: #e07b3a; transform: translateY(-2px); }

/* ===== HEADER ===== */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(29,53,87,0.97); box-shadow: 0 2px 15px rgba(0,0,0,0.2); transition: all 0.3s ease; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 44px; height: 44px; background: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.1rem; }
.logo-text { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 1rem; color: var(--white); display: block; line-height: 1.2; }
.logo-sub { font-family: 'Inter', sans-serif; font-weight: 500; font-size: 0.75rem; color: var(--accent); display: block; }
.nav { display: flex; gap: 28px; }
.nav a { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.9rem; color: rgba(255,255,255,0.85); transition: color 0.3s; }
.nav a:hover { color: var(--accent); }
.hamburger { display: none; background: none; border: none; font-size: 1.5rem; color: var(--white); cursor: pointer; }

/* ===== MOBILE MENU ===== */
.mobile-overlay { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.6); }
.mobile-overlay.active { display: flex; justify-content: flex-end; }
.mobile-menu { background: var(--dark); width: 280px; height: 100%; padding: 40px 30px; display: flex; flex-direction: column; gap: 20px; animation: slideIn 0.3s ease; }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.mobile-link { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1.1rem; color: rgba(255,255,255,0.85); padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-link:hover { color: var(--accent); }
.close-btn { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: rgba(255,255,255,0.7); align-self: flex-end; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; margin-top: 70px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(29,53,87,0.9) 0%, rgba(69,123,157,0.7) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 700px; padding: 100px 0 60px; }
.hero-badge { display: inline-block; background: var(--primary); color: var(--white); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.5px; padding: 6px 16px; border-radius: 6px; margin-bottom: 20px; }
.hero-content h1 { font-size: 3.2rem; font-weight: 900; line-height: 1.15; margin-bottom: 20px; }
.hero-content p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 32px; opacity: 0.92; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats { position: relative; z-index: 2; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,0.2); }
.hero-stats-inner { display: flex; justify-content: space-around; padding: 24px 0; }
.hero-stat { text-align: center; color: var(--white); }
.stat-num { display: block; font-size: 2.2rem; font-weight: 900; color: var(--accent); }
.stat-label { font-size: 0.82rem; opacity: 0.85; font-weight: 500; }

/* ===== SECTION TAGS ===== */
.section-tag { display: inline-block; background: #ffeaea; color: var(--primary); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 2px; padding: 6px 16px; border-radius: 6px; margin-bottom: 12px; }
.section-tag.center { display: block; text-align: center; }

/* ===== ABOUT ===== */
.about { background: var(--light-bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 460px; object-fit: cover; }
.about-text h2 { font-size: 2.2rem; font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.about-text h3 { font-size: 1rem; color: var(--primary); margin: 20px 0 8px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.about-text p { line-height: 1.8; color: var(--text-light); }

/* ===== PROGRAMS ===== */
.programs { background: var(--white); }
.programs h2 { font-size: 2.2rem; font-weight: 800; color: var(--dark); margin-bottom: 40px; }
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 50px; }
.program-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s; position: relative; }
.program-card:hover { transform: translateY(-6px); }
.program-icon { position: absolute; top: 12px; right: 12px; background: var(--primary); color: var(--white); width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; z-index: 1; }
.program-card img { width: 100%; height: 210px; object-fit: cover; }
.program-body { padding: 22px; }
.event-date { font-size: 0.82rem; color: var(--secondary); font-weight: 700; display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.program-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.program-body p { font-size: 0.9rem; line-height: 1.7; color: var(--text-light); }

.involve-box { background: var(--dark); border-radius: var(--radius); padding: 50px 40px; text-align: center; color: var(--white); }
.involve-box h3 { font-size: 1.8rem; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.involve-desc { color: rgba(255,255,255,0.75); margin-bottom: 30px; font-size: 1rem; }
.involve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.involve-item { padding: 24px 20px; background: rgba(255,255,255,0.08); border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.1); }
.involve-item i { font-size: 2.5rem; color: var(--accent); margin-bottom: 12px; }
.involve-item h4 { font-weight: 700; margin-bottom: 8px; color: var(--white); }
.involve-item p { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.7; }

/* ===== FOOTER ===== */
.footer { background: #111827; color: #ccc; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-bottom: 40px; }
.footer-col h4 { font-weight: 700; font-size: 1rem; color: var(--white); margin-bottom: 16px; }
.footer-col p { font-size: 0.9rem; line-height: 1.8; margin-bottom: 8px; display: flex; align-items: flex-start; gap: 8px; }
.footer-col p i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.footer-col a { display: block; font-size: 0.9rem; color: #ccc; margin-bottom: 8px; transition: color 0.3s; }
.footer-col a:hover { color: var(--accent); }
.footer-email { color: var(--accent) !important; font-size: 1rem !important; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom p { font-size: 0.85rem; }
.scroll-top { background: var(--primary); color: var(--white); border: none; width: 40px; height: 40px; border-radius: 8px; cursor: pointer; font-size: 1rem; transition: background 0.3s; }
.scroll-top:hover { background: var(--accent); }

/* ===== MODALS ===== */
.modal-overlay { display: none; position: fixed; inset: 0; z-index: 3000; background: rgba(0,0,0,0.65); align-items: center; justify-content: center; }
.modal-overlay.active { display: flex; }
.modal { background: var(--white); border-radius: var(--radius); padding: 40px; max-width: 500px; width: 90%; position: relative; animation: fadeUp 0.3s ease; }
.modal-small { max-width: 380px; text-align: center; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.modal h2 { font-size: 1.6rem; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.modal p { color: var(--text-light); margin-bottom: 20px; }
.modal .close-btn { position: absolute; top: 15px; right: 20px; font-size: 1.3rem; color: var(--text-light); }
.modal form { display: flex; flex-direction: column; gap: 14px; }
.modal input, .modal textarea { border: 1.5px solid #ddd; border-radius: 8px; padding: 12px 16px; font-family: 'Inter', sans-serif; font-size: 0.95rem; outline: none; transition: border-color 0.3s; }
.modal input:focus, .modal textarea:focus { border-color: var(--primary); }
.success-icon { font-size: 3.5rem; color: var(--primary); margin-bottom: 16px; }
.thank-you-content { display: flex; flex-direction: column; align-items: center; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img img { height: 300px; }
  .programs-grid { grid-template-columns: 1fr 1fr; }
  .involve-grid { grid-template-columns: 1fr; }
  .hero-stats-inner { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .btn-donate { display: none; }
  .hamburger { display: block; }
  .hero-content h1 { font-size: 2.2rem; }
  .programs-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
