/* ==========================================================================
   Your NGO Name — Stylesheet
   ========================================================================== */

:root {
  --navy: #073a60;
  --navy-dark: #052a45;
  --navy-light: #0e5588;
  --green: #175f37;
  --green-light: #e8f3ec;
  --gold: #f2a93b;
  --gold-dark: #d98f1f;
  --gray-bg: #f7f9fb;
  --text: #333c44;
  --text-light: #6b7580;
  --white: #ffffff;
  --border: #e4e9ee;
  --shadow: 0 10px 30px rgba(7, 58, 96, 0.08);
  --radius: 10px;
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 80px 0; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.25; color: var(--navy); }

.section-tag {
  display: inline-block;
  color: var(--gold-dark);
  background: #fff4e2;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 14px;
}

.section-title {
  font-size: 36px;
  color: var(--navy);
  margin-bottom: 14px;
}

.section-title span { color: var(--green); }

.section-sub {
  color: var(--text-light);
  max-width: 640px;
  margin-bottom: 40px;
  font-size: 16px;
}

.section-head { margin-bottom: 40px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

.bg-alt { background: var(--gray-bg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-2px); }

.btn-accent { background: var(--gold); color: var(--navy-dark); }
.btn-accent:hover { background: var(--gold-dark); color: var(--white); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: var(--white); color: var(--navy); }

.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: #114a2a; transform: translateY(-2px); }

.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

/* ==========================================================================
   Top utility bar
   ========================================================================== */
.topbar {
  background: var(--navy-dark);
  color: #cfe0ec;
  font-size: 13px;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar-ticker { font-weight: 600; letter-spacing: 0.01em; }
.topbar-ticker strong { color: var(--gold); font-weight: 800; }
.topbar-contact { display: flex; gap: 20px; }
.topbar-contact a { display: flex; align-items: center; gap: 6px; }
.topbar-contact a:hover { color: var(--gold); }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 14px rgba(7,58,96,0.07);
  position: sticky;
  top: 0;
  z-index: 500;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 10px;
  max-width: 1400px;
}

.brand { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--green));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; flex-shrink: 0;
}
.brand-text .name { font-size: 15.5px; font-weight: 800; color: var(--navy); letter-spacing: 0.01em; line-height: 1.2; white-space: nowrap; }
.brand-text .tag { font-size: 12px; color: var(--text-light); white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > ul { display: flex; align-items: center; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block;
  padding: 14px 6px;
  font-weight: 600;
  font-size: 12.5px;
  color: var(--navy);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a { color: var(--green); border-color: var(--gold); }

.has-dropdown > a::after { content: '\f107'; font-family: 'Font Awesome 6 Free'; font-weight: 900; margin-left: 6px; font-size: 11px; }
.dropdown {
  position: absolute; top: 100%; left: 0; background: var(--white);
  min-width: 210px; box-shadow: var(--shadow); border-radius: 0 0 8px 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.2s ease; padding: 8px 0; border-top: 3px solid var(--gold);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: 10px 20px; font-size: 14px; font-weight: 600; color: var(--navy); }
.dropdown li a:hover { background: var(--green-light); color: var(--green); }

.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.header-actions .btn { padding: 9px 10px; font-size: 12px; white-space: nowrap; }
.login-link { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); padding: 10px 6px; font-size: 14px; }
.login-link:hover { color: var(--green); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; }

/* ==========================================================================
   Hero slider (home)
   ========================================================================== */
.hero-slider { position: relative; height: 560px; overflow: hidden; background: var(--navy); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; z-index: 1;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5,42,69,0.88) 0%, rgba(5,42,69,0.55) 55%, rgba(5,42,69,0.25) 100%);
}
.hero-content {
  position: absolute; inset: 0; z-index: 3; display: flex; align-items: center;
}
.hero-content .container { max-width: 640px; }
.hero-content .tag {
  display: inline-block; background: rgba(242,169,59,0.15); color: var(--gold);
  border: 1px solid var(--gold); padding: 6px 16px; border-radius: 30px; font-weight: 700; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px;
}
.hero-content h1 { color: var(--white); font-size: 44px; margin-bottom: 18px; }
.hero-content h1 span { color: var(--gold); }
.hero-content p { color: #dbe6ee; font-size: 17px; margin-bottom: 30px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.slider-dots {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 4;
  display: flex; gap: 10px;
}
.slider-dots button {
  width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--white); background: transparent; cursor: pointer; padding: 0;
}
.slider-dots button.active { background: var(--gold); border-color: var(--gold); }

.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.5); color: var(--white); cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.slider-arrow:hover { background: rgba(255,255,255,0.3); }
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

/* ==========================================================================
   Page banner (inner pages)
   ========================================================================== */
.page-banner {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy) 60%, var(--green));
  padding: 70px 0 34px;
  text-align: center;
}
.page-banner h1 { color: var(--white); font-size: 34px; margin-bottom: 10px; }
.breadcrumb { color: #cfe0ec; font-weight: 600; font-size: 14px; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { margin: 0 8px; color: var(--gold); }

/* ==========================================================================
   About section
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-media .badge {
  position: absolute; bottom: -24px; right: -24px; background: var(--white); box-shadow: var(--shadow);
  border-radius: var(--radius); padding: 18px 24px; text-align: center; border: 3px solid var(--gold);
}
.about-media .badge .num { font-size: 30px; font-weight: 800; color: var(--navy); }
.about-media .badge .lbl { font-size: 12px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; }

.focus-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0; }
.focus-item { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--navy); font-size: 14.5px; }
.focus-item i { color: var(--white); background: var(--green); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats-band { background: var(--navy); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.stat-item .num { font-size: 44px; font-weight: 800; color: var(--gold); }
.stat-item .num::after { content: '+'; }
.stat-item .lbl { color: #dbe6ee; font-weight: 600; margin-top: 6px; font-size: 15px; }

/* ==========================================================================
   Cards: activities / projects / events / gallery / team
   ========================================================================== */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.activity-card {
  background: var(--white); border-radius: var(--radius); padding: 34px 26px; text-align: center;
  box-shadow: var(--shadow); border-bottom: 4px solid transparent; transition: all 0.25s ease;
}
.activity-card:hover { border-bottom-color: var(--gold); transform: translateY(-6px); }
.activity-card .icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 18px;
}
.activity-card h4 { font-size: 18px; margin-bottom: 8px; }
.activity-card p { color: var(--text-light); font-size: 14.5px; }

.event-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.event-card .img-wrap { position: relative; height: 200px; }
.event-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.event-card .date-badge {
  position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--navy-dark);
  font-weight: 800; padding: 8px 14px; border-radius: 6px; font-size: 13px; text-align: center;
}
.event-card .body { padding: 22px; }
.event-card h4 { font-size: 18px; margin-bottom: 8px; }
.event-card p { color: var(--text-light); font-size: 14.5px; }

.project-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.project-card .img-wrap { height: 190px; overflow: hidden; }
.project-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.project-card:hover .img-wrap img { transform: scale(1.08); }
.project-card .body { padding: 22px; }
.project-card h4 { font-size: 18px; margin-bottom: 8px; }
.project-card p { color: var(--text-light); font-size: 14.5px; margin-bottom: 14px; }

.person-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; padding: 30px 20px; }
.person-avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px; background: linear-gradient(135deg, var(--navy), var(--green));
  color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800;
  overflow: hidden;
}
.person-avatar img { width: 100%; height: 100%; object-fit: cover; }
.person-card h4 { font-size: 16.5px; margin-bottom: 4px; }
.person-card .role { color: var(--gold-dark); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { position: relative; border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .overlay {
  position: absolute; inset: 0; background: rgba(7,58,96,0.55); opacity: 0; display: flex; align-items: center;
  justify-content: center; transition: opacity 0.25s; color: var(--white); font-size: 22px;
}
.gallery-item:hover .overlay { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; background: rgba(5,20,32,0.92); z-index: 2000; display: none;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 86vw; max-height: 82vh; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-close, .lightbox-nav { position: absolute; color: var(--white); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.35); cursor: pointer; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.lightbox-close { top: 24px; right: 30px; width: 42px; height: 42px; font-size: 18px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 50px; height: 50px; font-size: 20px; }
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }

.video-card { background: var(--navy-dark); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-card video { display: block; width: 100%; aspect-ratio: 16/9; background: #000; }
.video-card .play {
  width: 62px; height: 62px; border-radius: 50%; background: var(--gold); color: var(--navy-dark);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.video-card span { display: block; padding: 12px 16px; color: #cfe0ec; font-weight: 600; font-size: 13.5px; }

/* ==========================================================================
   Notice / placeholder box
   ========================================================================== */
.notice-box {
  background: #fff4e2; border: 1px dashed var(--gold-dark); color: #7a5410; border-radius: 8px;
  padding: 16px 20px; font-size: 14px; margin-bottom: 34px; display: flex; gap: 10px; align-items: flex-start;
}
.notice-box i { margin-top: 2px; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; font-size: 13.5px; color: var(--navy); margin-bottom: 7px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--border); border-radius: 6px; font-family: inherit;
  font-size: 14.5px; color: var(--text); background: var(--gray-bg); transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--green); background: var(--white); }
.form-note { font-size: 13px; color: var(--text-light); margin-top: 14px; }
.form-success { display: none; background: var(--green-light); color: var(--green); border-radius: 6px; padding: 14px 18px; font-weight: 700; margin-top: 16px; }
.form-success.show { display: block; }

.contact-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 50px; align-items: start; }
.contact-info-card { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 40px 34px; }
.contact-info-card h3 { color: var(--white); font-size: 24px; margin-bottom: 20px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-info-item i { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gold); }
.contact-info-item .lbl { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; color: #9fb8ca; margin-bottom: 4px; }
.contact-info-item .val { font-weight: 600; font-size: 14.5px; }
.social-row { display: flex; gap: 10px; margin-top: 26px; }
.social-row a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; color: var(--white); transition: background 0.2s; }
.social-row a:hover { background: var(--gold); color: var(--navy-dark); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-dark); color: #c3d5e2; }
.footer-top { padding: 70px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 40px; }
.footer-col h4 { color: var(--white); font-size: 17px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 38px; height: 3px; background: var(--gold); }
.footer-col p { font-size: 14px; color: #9fb8ca; margin-bottom: 14px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .name { color: var(--white); font-weight: 800; font-size: 17px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: #9fb8ca; }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 16px; font-size: 13.5px; color: #9fb8ca; }
.footer-contact i { color: var(--gold); margin-top: 3px; }
.footer-map { border-radius: 8px; overflow: hidden; margin-top: 4px; height: 140px; }
.footer-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #83a0b4; }
.footer-bottom a:hover { color: var(--gold); }

/* Back to top */
.back-to-top {
  position: fixed; right: 26px; bottom: 26px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); z-index: 400; opacity: 0; visibility: hidden; transition: all 0.25s; border: none; cursor: pointer;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--green); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-split { grid-template-columns: 1fr; }
}

@media (max-width: 1340px) {
  .topbar-ticker { display: none; }
  .header-actions .btn span, .header-actions .btn.btn-accent span { display: none; }
  .main-nav { position: fixed; top: 0; right: -320px; width: 300px; height: 100vh; background: var(--white);
    flex-direction: column; align-items: stretch; padding: 90px 24px 30px; box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    transition: right 0.3s ease; z-index: 600; overflow-y: auto; }
  .main-nav.open { right: 0; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li > a { padding: 13px 4px; border-bottom: 1px solid var(--border) !important; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding-left: 14px; border-top: none; }
  .has-dropdown.open .dropdown { display: block; }
  .nav-toggle { display: flex; }
  .nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 550; }
  .nav-overlay.show { display: block; }
  .hero-content h1 { font-size: 32px; }
  .grid-3, .grid-4, .team-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  section { padding: 56px 0; }
  .hero-slider { height: 520px; }
  .hero-content h1 { font-size: 26px; }
  .stats-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .grid-4, .team-grid, .gallery-grid, .focus-list, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .about-media .badge { position: static; margin-top: -30px; margin-left: 20px; display: inline-block; }
  .contact-info-card { padding: 30px 22px; }
}
