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

/* ===== VARIABLES ===== */
:root {
  --primary: #c0392b;
  --primary-dark: #96281b;
  --accent: #f39c12;
  --dark: #1a1a2e;
  --light-bg: #fff5f5;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --shadow: 0 4px 20px rgba(0,0,0,0.12);
  --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: 50px;
  font-family: 'Poppins', 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(192,57,43,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-join { background: var(--accent); color: var(--white); padding: 10px 24px; }
.btn-join:hover { background: #d68910; transform: translateY(-2px); }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(26,26,46,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: 42px; height: 42px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.1rem; }
.logo-text { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1rem; color: var(--white); display: block; line-height: 1.2; }
.logo-sub { font-family: 'Poppins', sans-serif; font-weight: 400; font-size: 0.75rem; color: var(--accent); display: block; }
.nav { display: flex; gap: 28px; }
.nav a { font-family: 'Poppins', 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: 'Poppins', 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; height: 100vh; min-height: 620px;
  display: flex; align-items: 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(26,26,46,0.88) 0%, rgba(192,57,43,0.6) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 700px; }
.hero-badge { display: inline-block; background: var(--primary); color: var(--white); font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.5px; padding: 6px 16px; border-radius: 50px; margin-bottom: 20px; }
.hero-content h1 { font-family: 'Poppins', sans-serif; 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; }

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

/* ===== ABOUT ===== */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-family: 'Poppins', sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.about-text h3 { font-family: 'Poppins', sans-serif; font-size: 1rem; color: var(--primary); margin: 20px 0 8px; display: flex; align-items: center; gap: 8px; }
.about-text p { line-height: 1.8; color: var(--text-light); }
.about-img { position: relative; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 450px; object-fit: cover; }
.about-badge { position: absolute; bottom: -20px; right: -20px; background: var(--primary); color: var(--white); border-radius: var(--radius); padding: 20px 24px; text-align: center; box-shadow: var(--shadow); }
.big-num { display: block; font-family: 'Poppins', sans-serif; font-size: 2.5rem; font-weight: 900; }
.about-badge span:last-child { font-size: 0.85rem; opacity: 0.9; }

/* ===== PROGRAMS ===== */
.programs { background: var(--light-bg); }
.programs h2 { font-family: 'Poppins', sans-serif; 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; }
.program-card:hover { transform: translateY(-6px); }
.program-img { position: relative; overflow: hidden; }
.program-img img { width: 100%; height: 210px; object-fit: cover; transition: transform 0.4s; }
.program-card:hover .program-img img { transform: scale(1.05); }
.program-overlay { position: absolute; inset: 0; background: rgba(192,57,43,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.program-card:hover .program-overlay { opacity: 1; }
.program-overlay i { font-size: 3rem; color: var(--white); }
.program-body { padding: 22px; }
.program-body h3 { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.program-body p { font-size: 0.9rem; line-height: 1.7; color: var(--text-light); margin-bottom: 12px; }
.program-tag { display: inline-block; background: var(--light-bg); color: var(--primary); font-size: 0.78rem; font-weight: 700; padding: 4px 12px; border-radius: 50px; }

.involve-box { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); text-align: center; }
.involve-box h3 { font-family: 'Poppins', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--dark); margin-bottom: 30px; }
.involve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.involve-item { padding: 20px; }
.involve-item i { font-size: 2.5rem; color: var(--primary); margin-bottom: 12px; }
.involve-item h4 { font-family: 'Poppins', sans-serif; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.involve-item p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); 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-family: 'Poppins', sans-serif; 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: 50%; 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-family: 'Poppins', sans-serif; font-size: 1.6rem; color: var(--primary); 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: 'Lato', 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; }
  .about-badge { right: 0; bottom: -10px; }
  .programs-grid { grid-template-columns: 1fr 1fr; }
  .involve-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .btn-join { display: none; }
  .hamburger { display: block; }
  .hero-content h1 { font-size: 2.2rem; }
  .programs-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
