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

:root {
  --primary: #0077b6;
  --primary-dark: #005580;
  --accent: #00b4d8;
  --sand: #f4a261;
  --light-bg: #e0f7ff;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --shadow: 0 4px 20px rgba(0,0,0,0.12);
  --radius: 14px;
}

.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); }

.btn { display: inline-block; padding: 12px 28px; border-radius: 50px; font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 1rem; letter-spacing: 0.5px; 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(0,119,182,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-donate { background: var(--sand); color: var(--white); padding: 10px 24px; }
.btn-donate:hover { background: #d4813a; transform: translateY(-2px); }

.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(0,20,40,0.95); box-shadow: 0 2px 15px rgba(0,0,0,0.3); }
.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(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.2rem; }
.logo-text { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 1rem; color: var(--white); display: block; letter-spacing: 0.5px; }
.logo-sub { font-family: 'Open Sans', sans-serif; font-weight: 400; font-size: 0.72rem; color: var(--accent); display: block; }
.nav { display: flex; gap: 28px; }
.nav a { font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 0.95rem; color: rgba(255,255,255,0.85); transition: color 0.3s; letter-spacing: 0.5px; }
.nav a:hover { color: var(--accent); }
.hamburger { display: none; background: none; border: none; font-size: 1.5rem; color: var(--white); cursor: pointer; }

.mobile-overlay { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.7); }
.mobile-overlay.active { display: flex; justify-content: flex-end; }
.mobile-menu { background: #001428; 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: 'Oswald', sans-serif; font-weight: 500; 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 { 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(0,20,60,0.85) 0%, rgba(0,119,182,0.55) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 700px; }
.hero-badge { display: inline-block; background: rgba(0,180,216,0.25); color: var(--accent); font-weight: 700; font-size: 0.82rem; padding: 6px 16px; border-radius: 50px; margin-bottom: 20px; border: 1px solid rgba(0,180,216,0.4); }
.hero-content h1 { font-family: 'Oswald', sans-serif; font-size: 3.8rem; font-weight: 700; line-height: 1.1; margin-bottom: 20px; letter-spacing: 1px; }
.hero-content p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 32px; opacity: 0.93; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.section-tag { display: inline-block; background: var(--light-bg); color: var(--primary); 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 { background: #f0fbff; }
.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-family: 'Oswald', sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 16px; letter-spacing: 0.5px; }
.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); margin-bottom: 10px; }

.events { background: var(--white); }
.events h2 { font-family: 'Oswald', sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 40px; letter-spacing: 0.5px; }
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 50px; }
.event-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s; }
.event-card:hover { transform: translateY(-6px); }
.event-img-wrap { position: relative; overflow: hidden; }
.event-img-wrap img { width: 100%; height: 210px; object-fit: cover; transition: transform 0.4s; }
.event-card:hover .event-img-wrap img { transform: scale(1.05); }
.wave-tag { position: absolute; top: 12px; left: 12px; background: var(--accent); color: var(--white); font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 50px; }
.event-body { padding: 22px; }
.event-date { font-size: 0.82rem; color: var(--primary); font-weight: 700; display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.event-body h3 { font-family: 'Oswald', sans-serif; font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; color: var(--primary-dark); letter-spacing: 0.3px; }
.event-body p { font-size: 0.9rem; line-height: 1.7; color: var(--text-light); }

.involve-box { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); border-radius: var(--radius); padding: 50px 40px; text-align: center; color: var(--white); }
.involve-box h3 { font-family: 'Oswald', sans-serif; font-size: 2rem; font-weight: 700; color: var(--white); margin-bottom: 30px; letter-spacing: 1px; }
.involve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.involve-item { padding: 24px 20px; background: rgba(255,255,255,0.1); border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.2); }
.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.75); line-height: 1.7; }

.footer { background: #001428; 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: 'Oswald', sans-serif; font-weight: 600; font-size: 1.1rem; letter-spacing: 0.5px; 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); }

.modal-overlay { display: none; position: fixed; inset: 0; z-index: 3000; background: rgba(0,0,0,0.7); 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: 'Oswald', sans-serif; font-size: 1.8rem; 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: 'Open Sans', 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(--accent); margin-bottom: 16px; }
.thank-you-content { display: flex; flex-direction: column; align-items: center; }

@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img img { height: 300px; }
  .events-grid { grid-template-columns: 1fr 1fr; }
  .involve-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .btn-donate { display: none; }
  .hamburger { display: block; }
  .hero-content h1 { font-size: 2.8rem; }
  .events-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
