/* ============================================================
   STYLES.CSS
   1. Design Tokens
   2. Global Resets & Base
   3. Layout: Topbar
   4. Layout: Navbar (Desktop)
   5. Layout: Mobile Menu
   6. Hero
   7. Stats Bar
   8. Section Helpers (reusable)
   9. About / Who We Are
  10. Mission Box
  11. Core Focus / Cards
  12. Timeline
  13. Board
  14. Services
  15. Impact Banner
  16. Gallery
  17. News Preview
  18. CTA Banner
  19. Contact
  20. Footer
  21. Buttons (shared)
  22. Animations (@keyframes)
  23. Responsive (992px -> 768px -> 640px -> 480px, plus 993px+)
============================================================ */


/* ============================================================
   1. DESIGN TOKENS
============================================================ */
:root {
  --blue: #1a3a8f;
  --blue-dark: #0f2460;
  --blue-mid: #2456c7;
  --blue-light: #4a8cdb;
  --blue-pale: #e8f0fc;
  --accent: #e8a020;
  --white: #ffffff;
  --text: #1a1a2e;
  --text-light: #4a4a6a;
  --gray-bg: #f4f7ff;
}


/* ============================================================
   2. GLOBAL RESETS & BASE
============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  overflow-x: hidden;
}


/* ============================================================
   3. TOPBAR
============================================================ */
.topbar {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 8px 0;
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left { display: flex; gap: 24px; align-items: center; }
.topbar-left span { display: flex; align-items: center; gap: 6px; }
.topbar-left svg { width: 14px; height: 14px; opacity: 0.7; }
.topbar-right { display: flex; gap: 12px; align-items: center; }

.social-link {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; text-decoration: none;
  transition: background 0.2s;
  font-size: 0.75rem; font-weight: 700;
}
.social-link:hover { background: gold; }


/* ============================================================
   4. NAVBAR (Desktop)
============================================================ */
.navbar {
  background: var(--blue-dark);
  box-shadow: 0 2px 20px rgba(26,58,143,0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: relative;
  gap: 12px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  z-index: 10;
}
.nav-logo img {
  height: 80px;
  width: 60px;
  filter: brightness(1.1);
}
.nav-logo-text { line-height: 1.2; }
.nav-logo-text strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: white;
}
.nav-logo-text span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 12px;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: gold;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  background: gold;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 70%;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-switcher {
  display: flex;
  border: 2px solid white;
  border-radius: 24px;
  overflow: hidden;
}
.lang-btn {
  padding: 6px 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: white;
  font-weight: 700;
}
.lang-btn.active {
  background: white;
  color: var(--blue-dark);
}

.donate-btn {
  background: gold;
  color: var(--blue-dark);
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
}

.donate-btn:hover {
  background: #ffd700;
  transform: translateY(-2px);
}

/* Hamburger - Visible on dark navbar */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: white;
  transition: all 0.3s ease;
  border-radius: 2px;
}
.hamburger:hover span { 
  background: gold; 
}


/* ============================================================
   5. MOBILE MENU
============================================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: white;
  display: flex;
  flex-direction: column;
  padding: 90px 30px 40px;
  transition: left 0.45s cubic-bezier(0.32, 0.72, 0, 1);
  z-index: 999;
  overflow-y: auto;
  box-shadow: 0 0 0 100vw rgba(0,0,0,0.35);
}
.mobile-menu.open { left: 0; }

.close-btn {
  position: absolute;
  top: 25px;
  right: 28px;
  font-size: 36px;
  background: none;
  border: none;
  color: var(--blue-dark);
  cursor: pointer;
}

.mobile-menu .nav-links {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 24px;
  margin: 30px 0;
}
.mobile-menu .nav-links a {
  font-size: 1.28rem;
  padding: 14px 0;
  color: var(--blue-dark);
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s ease;
}
.mobile-menu .nav-links a:hover {
  color: gold;
  padding-left: 16px;
}

/* Mobile Language Switcher - Updated Active State */
.lang-switcher-mobile {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.lang-switcher-mobile .lang-switcher {
  border: 2px solid var(--blue-mid);
  border-radius: 30px;
  overflow: hidden;
  background: #f8f9fc;
}
.lang-switcher-mobile .lang-btn {
  padding: 10px 22px;
  font-weight: 700;
  color: var(--blue-dark);
}
.lang-switcher-mobile .lang-btn.active {
  background: gold;
  color: var(--blue-dark);
  box-shadow: 0 2px 8px rgba(232, 160, 32, 0.3);
}


/* ============================================================
   6. HERO
============================================================ */
.hero {
  position: relative;
  height: 88vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(10,25,80,0.82) 0%, rgba(10,25,80,0.45) 60%, transparent 100%);
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-tag {
  display: inline-block;
  background: gold;
  color: white;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 4px;
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease both;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  max-width: 680px;
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.15s ease both;
}
.hero-title em { color: gold; font-style: normal; }

.hero-subtitle {
  color: rgba(255,255,255,0.9);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 38px;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-ctas {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.45s ease both;
}

/* Hero slide dots */
.hero-dots {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
}
.hero-dot.active {
  background: gold;
  transform: scale(1.3);
}


/* ============================================================
   7. STATS BAR
============================================================ */
.stats-bar {
  background: var(--blue-dark);
  padding: 32px 24px;
}
.stats-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item { text-align: center; color: white; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; font-weight: 900;
  color: gold;
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem; letter-spacing: 0.08em;
  text-transform: uppercase; opacity: 0.75;
  margin-top: 6px;
}


/* ============================================================
   8. SECTION HELPERS
============================================================ */
section { padding: 80px 24px; }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px;
}
.section-inner h2 {
  font-size: 4rem;
  color: #0A1950;
}

.section-tag {
  display: inline-block;
  background: gold;
  color: var(--blue-mid);
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.95rem;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--blue-dark);
  margin-bottom: 16px;
}
.section-title em { color: var(--blue-mid); font-style: normal; }

.section-lead {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 640px;
}

.divider {
  width: 56px; height: 4px;
  background: gold;
  border-radius: 2px;
  margin: 16px 0;
}

.gold-underline {
  position: relative;
  display: inline-block;
}
.gold-underline::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 50%;
  height: 4px;
  background: gold;
  border-radius: 2px;
}


/* ============================================================
   9. ABOUT / WHO WE ARE
============================================================ */
.about-hero {
  height: 520px;
  background: linear-gradient(rgba(10,25,80,0.75), rgba(10,25,80,0.75)),
              url('https://via.placeholder.com/1920x520/0A1950/FFFFFF?text=ERA+Community') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
}
.hero-overlay {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  color: gold;
  margin: 16px 0 20px;
  line-height: 1.1;
}
.hero-content p {
  font-size: 1.25rem;
  max-width: 700px;
  opacity: 0.95;
}

.who-we-are .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-main {
  width: 100%;
  border-radius: 8px;
  box-shadow: 12px 12px 0 var(--blue-pale);
}
.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--blue-dark);
  margin-bottom: 24px;
  line-height: 1.1;
}
.about-text p {
  font-size: 1.3rem;
  line-height: 2rem;
}

/* Intro grid (alternate about-style block) */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.intro-text { padding-right: 20px; }
.intro-text h2 {
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 1.15;
  color: #0f2460;
  margin-bottom: 24px;
}
.intro-text p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #333;
}
.intro-image { position: relative; }
.intro-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 24px 24px 0 var(--blue-pale);
  transition: transform 0.6s ease;
}
.intro-img:hover { transform: scale(1.04); }


/* ============================================================
   10. MISSION BOX
============================================================ */
.mission-section { background: var(--gray-bg); }

.mission-box {
  max-width: 820px;
  margin: 0 auto;
  background: white;
  padding: 60px 50px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(10,25,80,0.08);
  border-top: 5px solid var(--blue-mid);
}
.mission-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--blue-dark);
  margin: 20px 0 24px;
}
.mission-box p {
  font-size: 1.25rem;
  line-height: 2rem;
}


/* ============================================================
   11. CORE FOCUS / CARDS
============================================================ */
.core-focus { background: white; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.card {
  background: white;
  padding: 32px 28px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(26,58,143,0.08);
  transition: all 0.4s ease;
  text-align: center;
  border-top: 5px solid gold;
}
.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(26,58,143,0.15);
}
.card-icon {
  font-size: 3.2rem;
  margin-bottom: 18px;
  display: block;
}
.card h3 {
  margin-bottom: 14px;
  color: var(--blue-dark);
  font-size: 1.35rem;
}
.card p {
  color: var(--text-light);
  font-size: 0.98rem;
  line-height: 1.75;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 50px;
}
.focus-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 40px 28px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.focus-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 40px rgba(26,58,143,0.15);
  border-color: gold;
}
.focus-icon {
  font-size: 3.2rem;
  margin-bottom: 24px;
  transition: transform 0.4s ease;
}
.focus-card:hover .focus-icon {
  transform: scale(1.15) rotate(8deg);
}
.focus-card h3 {
  font-family: 'Playfair Display', serif;
  color: gold;
  margin-bottom: 14px;
  font-size: 1.6rem;
}
.focus-card p {
  font-size: 1rem;
  font-weight: bold;
  color: #0A1950;
}
.main-text {
  font-size: 6rem;
  font-weight: bold;
  color: #0A1950;
  line-height: 1;
}


/* ============================================================
   12. TIMELINE
============================================================ */
.timeline {
  max-width: 800px;
  margin: 60px auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 48px;
  top: 0; bottom: 0;
  width: 5px;
  background: var(--blue-pale);
  border-radius: 10px;
}
.timeline-item {
  position: relative;
  margin-bottom: 60px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.year {
  width: 96px; height: 96px;
  background: var(--blue-mid);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 700;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(10,25,80,0.3);
}
.year:hover {
  background: gold;
  transform: scale(1.1);
}
.timeline-content {
  flex: 1;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  padding-top: 12px;
}
.timeline-item:hover .timeline-content {
  opacity: 1;
  max-height: 300px;
}
.timeline-content p {
  background: white;
  padding: 24px 28px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  line-height: 1.7;
  font-size: 1.1rem;
  color: #0A1950;
}


/* ============================================================
   13. BOARD
============================================================ */
.board { background: white; }

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}
.board-card {
  background: white;
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.board-card:hover { transform: translateY(-8px); }
.board-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.board-card h3 {
  margin: 20px 0 8px;
  color: var(--blue-dark);
  font-size: 1.35rem;
}
.board-card span {
  color: var(--blue-mid);
  font-weight: 500;
}


/* ============================================================
   14. SERVICES
============================================================ */
.services { background: white; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.service-card {
  background: var(--gray-bg);
  border-radius: 6px;
  padding: 32px 28px;
  border-top: 4px solid transparent;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  cursor: default;
}
.service-card:hover {
  border-top-color: var(--blue-mid);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26,58,143,0.12);
}
.service-icon {
  width: 56px; height: 56px;
  background: var(--blue-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
}
.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--blue-dark);
  margin-bottom: 12px;
}
.service-card p {
  color: var(--text-light);
  font-size: 0.93rem;
  line-height: 1.7;
}


/* ============================================================
   15. IMPACT BANNER
============================================================ */
.impact-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.impact-banner::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.impact-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.impact-text {
  color: white;
  max-width: 520px;
}
.impact-text .section-tag { color: gold; }
.impact-text .section-title { color: white; }
.impact-text .section-lead {
  color: rgba(255,255,255,0.8);
  max-width: 100%;
}


/* ============================================================
   16. GALLERY
============================================================ */
.gallery {
  background: var(--gray-bg);
  padding: 80px 24px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 25px rgba(26,58,143,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(26,58,143,0.15);
}
.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery .section-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.15;
}
.gallery .section-tag { font-size: 0.9rem; }


/* ============================================================
   17. NEWS PREVIEW
============================================================ */
.news { background: var(--gray-bg); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.news-card {
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(26,58,143,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(26,58,143,0.14);
}
.news-img { height: 200px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 24px; }
.news-date {
  font-size: 0.78rem;
  color: var(--blue-mid);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.news-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--blue-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.news-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-mid);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  margin-top: 14px;
  transition: gap 0.2s;
}
.read-more:hover { gap: 10px; }


/* ============================================================
   18. CTA BANNER
============================================================ */
.cta-banner {
  width: 100%;
  padding: 100px 20px;
  background: linear-gradient(135deg, #0f4c81 0%, #1a6a9c 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: shine 15s linear infinite;
  pointer-events: none;
}
.cta-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.cta-heading {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}
.cta-subtext {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  opacity: 0.95;
  margin: 0 auto 40px;
  max-width: 600px;
}
.cta-text p {
  margin-top: 2rem;
  font-size: 1.3rem;
}
.cta-text h1 { font-size: 2.65rem; }


/* ============================================================
   19. CONTACT
============================================================ */
.contact { background: white; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
}
.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--blue-dark);
  margin-bottom: 8px;
}
.contact-info p {
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 28px;
}
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.contact-detail-icon {
  width: 40px; height: 40px;
  background: var(--blue-pale);
  border-radius: 8px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.contact-detail-text strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-mid);
  margin-bottom: 2px;
}
.contact-detail-text span {
  color: var(--text);
  font-size: 0.95rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.04em;
}
.form-group input,
.form-group textarea,
.form-group select {
  border: 1.5px solid #d0d8ef;
  border-radius: 4px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--text);
  background: white;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-mid);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-success {
  background: #e8f8f0;
  border: 1.5px solid #4caf50;
  color: #2e7d32;
  border-radius: 4px;
  padding: 14px 18px;
  font-size: 0.93rem;
  display: none;
}


/* ============================================================
   20. FOOTER
============================================================ */
footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 24px 0;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-about img {
  height: 200px;
  width: 200px;
  margin-bottom: 16px;
  filter: brightness(1) drop-shadow(0 0 0px transparent);
  background: white;
  border-radius: 6px;
  padding: 4px;
}
.footer-about p {
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 0.2s;
}
.footer-social a:hover { background: gold; }

.footer-col h4 {
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col ul a:hover { color: gold; }

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
}
.footer-contact-item span:first-child { font-size: 1rem; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 8px;
}


/* ============================================================
   21. BUTTONS (shared)
============================================================ */
.btn-primary,
.btn-outline {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.btn-primary {
  background: gold;
  color: var(--blue-dark);
}
.btn-primary:hover {
  background: #ffd700;
  transform: translateY(-3px);
}
.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.75);
}
.btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
}

.cta-button {
  font-family: 'Inter', sans-serif;
  background: gold;
  color: var(--blue-dark);
  padding: 18px 48px;
  font-size: 1.25rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(232, 185, 35, 0.3);
}
.cta-button:hover {
  background: #ffd700;
  transform: translateY(-2px);
}
.cta-button:active { transform: scale(0.96); }

/* Scroll-triggered fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.9s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   22. ANIMATIONS
============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes shine {
  0%   { transform: translateX(-30%) translateY(-30%); }
  100% { transform: translateX(30%)  translateY(30%);  }
}

@media (max-width: 1100px) {

  #desktopNav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .lang-switcher {
    display: none;
  }

  .donate-btn {
    display: none;
  }

  .nav-inner {
    justify-content: space-between;
  }
}
/* ============================================================
   23. RESPONSIVE
============================================================ */

/* ---------- Tablet: max-width 992px ---------- */
@media (max-width: 992px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .lang-switcher { display: none; }

  .hero { height: 78vh; min-height: 520px; }
  .hero-content { padding: 0 20px; }
  .hero-ctas { gap: 12px; }
  .hero-content h1 { font-size: 2.6rem; }

  .section-inner { padding: 80px 30px; }
  .about-text h2 { font-size: 3rem; }
  .who-we-are .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .board-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .board-card img { height: 280px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .gallery-item img { height: 240px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}


/* ---------- Mobile: max-width 768px ---------- */
@media (max-width: 768px) {
  .section-inner { padding: 70px 24px; }
  .section-title { font-size: 2.1rem; }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .intro-text { padding-right: 0; order: 2; }
  .intro-image { order: 1; }
  .intro-img { height: 420px; }
  .hero-subtitle { font-size: 1.1rem; }

  .about-text h2 { font-size: 3.4rem; }
  .about-text p { font-size: 1.15rem; line-height: 1.8; }

  .mission-box { padding: 50px 30px; }
  .mission-box h2 { font-size: 1rem; }   /* You can adjust if needed */

  .card-grid { grid-template-columns: 1fr; }
  .focus-card h3, .board-card h3 { font-size: 1.45rem; }

  .timeline::before { left: 38px; }
  .timeline-item { gap: 25px; margin-bottom: 50px; }
  .year { width: 78px; height: 78px; font-size: 1.5rem; }

  .board-grid { grid-template-columns: 1fr; gap: 24px; }
  .board-card img { height: 260px; }

  .cta-banner { padding: 80px 15px; }
  .cta-heading { font-size: 2.4rem; }
  .cta-button { padding: 16px 40px; font-size: 1.1rem; }

  .news-grid { grid-template-columns: 1fr; gap: 20px; }
  .news-img { height: 180px; }

  .contact-grid { gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form .btn-primary { width: 100%; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; text-align: left; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}


/* ---------- Small mobile: max-width 640px ---------- */
@media (max-width: 640px) {
  .gallery { padding: 60px 20px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 16px; }
  .gallery-item img { height: 220px; }
}


/* ---------- Phones: max-width 480px ---------- */
@media (max-width: 480px) {
  .hero { height: 75vh; min-height: 480px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .intro-img { height: 360px; }

  .section-inner { padding: 60px 18px; }
  .section-inner h2 { font-size: 2.5rem; }
  .section-title { font-size: 1.9rem; }

  .about-text h2 { font-size: 2.8rem; margin-bottom: 18px; }
  .about-text p { font-size: 1.08rem; line-height: 1.75; }

  .mission-box { padding: 40px 20px; }
  .mission-box h2 { font-size: 1.65rem; }

  .focus-card { padding: 32px 20px; }
  .focus-card h3 { font-size: 1.3rem; }
  .focus-icon { font-size: 2.8rem; }

  .timeline { margin: 40px auto; }
  .timeline::before { left: 32px; width: 4px; }
  .timeline-item { padding-left: 85px; margin-bottom: 45px; gap: 20px; }
  .year { width: 68px; height: 68px; font-size: 1.35rem; }

  .contact-info p { font-size: 0.95rem; line-height: 1.6; }
  .footer { padding: 50px 18px 0; }
}


/* ---------- Desktop only: min-width 993px ---------- */
@media (min-width: 1101px) {
  .mobile-menu {
    display: none;
  }
}
/* ============================================================
   24. DONATE SECTION
============================================================ */
.donate-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.donate-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.donate-section .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}
.donate-header { max-width: 680px; }
.donate-header .section-tag {
  background: rgba(255,255,255,0.15);
  color: gold;
  border-color: transparent;
}
.donate-header .section-title { color: white; }
.donate-header .section-title em { color: gold; }
.donate-header .divider { margin: 16px auto; background: rgba(255,255,255,0.25); }
.donate-header p { color: rgba(255,255,255,0.82); font-size: 1rem; line-height: 1.7; }

.donate-card {
  background: white;
  border-radius: 16px;
  padding: 48px 56px;
  width: 100%;
  max-width: 680px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  text-align: center;
}
.donate-card-icon {
  width: 64px; height: 64px;
  background: var(--blue-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--blue);
}
.donate-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--blue-dark);
  margin-bottom: 28px;
}

.bank-details {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid #e0e8f8;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
  text-align: left;
}
.bank-row {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  gap: 12px;
  border-bottom: 1px solid #e0e8f8;
  transition: background 0.15s;
}
.bank-row:last-child { border-bottom: none; }
.bank-row:hover { background: var(--blue-pale); }
.bank-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--blue-mid);
  min-width: 90px;
}
.bank-value {
  font-size: 0.97rem;
  color: var(--text);
  font-weight: 600;
  flex: 1;
  font-family: 'Courier New', monospace;
}
.copy-btn {
  background: none;
  border: 1px solid #cdd8f0;
  border-radius: 5px;
  padding: 4px 9px;
  cursor: pointer;
  color: var(--blue-mid);
  font-size: 0.9rem;
  transition: all 0.2s;
  flex-shrink: 0;
}
.copy-btn:hover { background: var(--blue-mid); color: white; border-color: var(--blue-mid); }
.copy-btn.copied { background: #4caf50; color: white; border-color: #4caf50; }

.donate-note {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
}

/* ============================================================
   25. CURRENT PROJECTS 2026
============================================================ */
.projects-section {
  background: var(--gray-bg);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.project-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(26,58,143,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26,58,143,0.15);
}
.project-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.project-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.project-card:hover .project-img img { transform: scale(1.05); }
.project-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: gold;
  color: var(--blue-dark);
  border-radius: 20px;
  padding: 5px 13px;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}
.project-body {
  padding: 28px 26px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.project-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--blue-pale);
  line-height: 1;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}
.project-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  color: var(--blue-dark);
  margin-bottom: 12px;
  line-height: 1.35;
}
.project-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 18px;
}
.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}
.project-tags span {
  background: var(--blue-pale);
  color: var(--blue-mid);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================================
   26. DONATE HERO BUTTON & CTA DONATE BUTTON
============================================================ */
.btn-donate-hero {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  background: transparent;
  color: gold;
  border: 2px solid gold;
}
.btn-donate-hero:hover {
  background: gold;
  color: var(--blue-dark);
  transform: translateY(-3px);
}
.cta-donate-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--blue-dark);
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  margin-top: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.cta-donate-btn:hover {
  background: gold;
  color: var(--blue-dark);
  transform: translateY(-2px);
}
.btn { display: flex; flex-direction: column; align-items: center; gap: 0; margin-top: 20px; }
.cta-btn-row {
  flex-direction: row !important;
  gap: 16px !important;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0 !important;
}
.cta-btn-row .cta-donate-btn { margin-top: 0 !important; }

/* Hero explore button — shorter width */
.hero-explore-btn {
  padding-left: 28px !important;
  padding-right: 28px !important;
}

/* Hero CTAs pair: Get in Touch + Donate side by side */
.hero-ctas-pair {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}


/* ============================================================
   RESPONSIVE ADDITIONS
============================================================ */
@media (max-width: 992px) {
  .projects-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .donate-card { padding: 36px 32px; }
}
@media (max-width: 768px) {
  .projects-grid { grid-template-columns: 1fr; gap: 20px; }
  .project-img { height: 200px; }
  .donate-card { padding: 28px 20px; }
  .bank-value { font-size: 0.88rem; }
  .bank-label { min-width: 72px; }
  .btn-donate-hero { padding: 12px 24px; font-size: 0.93rem; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .btn-donate-hero { width: auto; }
  .donate-card { padding: 22px 16px; }
  .bank-row { padding: 12px 14px; flex-wrap: wrap; }
  .bank-value { font-size: 0.82rem; min-width: 0; }
}


/* ============================================================
   27. PARTNERS SLIDER SECTION
============================================================ */

/* ── Section shell ──────────────────────────────────────────── */
.partners-section {
  background: var(--gray-bg);
  padding: 90px 0;
  overflow: hidden;
}

.partners-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ─────────────────────────────────────────────────── */
.partners-header {
  text-align: center;
  margin-bottom: 52px;
}

.partners-header .section-tag {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue-mid);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: none;
}

.partners-header .section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--blue-dark);
  line-height: 1.2;
  margin-bottom: 14px;
}

.partners-header .divider {
  margin: 0 auto 18px;
}

.partners-header p {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Slider wrapper ─────────────────────────────────────────── */
.partners-slider-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

/* ── Arrow nav buttons ──────────────────────────────────────── */
.partners-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--blue-pale);
  background: var(--white);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s;
  z-index: 2;
}

.partners-nav svg {
  width: 20px;
  height: 20px;
}

.partners-nav:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: scale(1.08);
}

/* ── Clipping window + track ────────────────────────────────── */
.partners-track-outer {
  flex: 1;
  overflow: hidden;
}

.partners-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Individual partner card ────────────────────────────────── */
.partner-card {
  flex: 0 0 calc(100% / 4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 20px;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 14px;
  background: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  cursor: pointer;
}

.partner-card:hover {
  border-color: var(--blue-pale);
  box-shadow: 0 8px 28px rgba(26, 58, 143, 0.10);
  transform: translateY(-4px);
}

/* ── Logo container ─────────────────────────────────────────── */
.partner-logo-wrap {
  width: 160px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
  background: var(--gray-bg);
  transition: background 0.25s;
}

.partner-card:hover .partner-logo-wrap {
  background: var(--blue-pale);
}

.partner-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(40%);
  transition: filter 0.3s;
}

.partner-card:hover .partner-logo-wrap img {
  filter: grayscale(0%);
}

/* Placeholder — remove once real logos are in place */
.partner-logo-placeholder {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue-mid);
  opacity: 0.6;
}

/* ── Partner name ───────────────────────────────────────────── */
.partner-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
  transition: color 0.25s;
}

.partner-card:hover .partner-name {
  color: var(--blue);
}

/* ── Dot indicators ─────────────────────────────────────────── */
.partners-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.partners-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--blue-pale);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  padding: 0;
}

.partners-dot.active {
  background: var(--blue);
  transform: scale(1.25);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .partner-card { flex-basis: calc(100% / 3); }
}

@media (max-width: 768px) {
  .partners-section { padding: 70px 0; }
  .partner-card { flex-basis: calc(100% / 2); }
  .partners-nav { width: 38px; height: 38px; }
  .partners-nav svg { width: 17px; height: 17px; }
  .partner-logo-wrap { width: 130px; height: 74px; }
}

@media (max-width: 480px) {
  .partners-section { padding: 56px 0; }
  .partner-card { flex-basis: 100%; padding: 22px 16px; }
  .partner-logo-wrap { width: 140px; height: 80px; }
  .partners-nav { width: 34px; height: 34px; }
}
