html {
  scroll-behavior: smooth;
}
/* Page-specific navbar color override */
.impact-page .navbar .nav-link,
.community-page .navbar .nav-link,
.team-page .navbar .nav-link {
  color: #111 !important;
}
.impact-page .navbar .nav-cta,
.community-page .navbar .nav-cta,
.team-page .navbar .nav-cta {
  color: #111 !important;
  border-color: #111 !important;
}
.video-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.video-frame {
  padding: 0;
  background: #fff;
  border-radius: 24px;
  border: 6px solid #b22222;
  max-width: 900px;
  margin: 40px auto 0 auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.video-frame video {
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  border: 2px solid #e3e3e3;
  width: 100%;
  max-width: 800px;
  margin-top: 32px;
  margin-bottom: 32px;
}

.video-controls-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-bottom: 32px;
  margin-top: 20px;
  position: static;
  z-index: 2;
}

.video-btn {
  background: var(--red);
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.video-btn:hover {
  background: var(--red);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
/* ========================= MODULE: SDG Tooltip Popup START ========================= */
/* SDG Tooltip Popup */
/* ========================= MODULE: SDG Tooltip Popup END ========================= */
.sdg-tooltip {
  position: absolute;
  z-index: 9999;
  background: #fff;
  color: #222;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.13);
  padding: 0.5em 1em;
  font-size: 0.98em;
  font-family: var(--font-head);
  border: 1px solid #e3e3e3;
  pointer-events: none;
  transition: opacity 0.18s;
  opacity: 0;
}
.sdg-tooltip.show {
  opacity: 1;
  display: block;
}
.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.25em;
}
.icon-wrap.main-icon {
  font-size: 1.4em;
}
.icon-wrap.sdg-icon {
  font-size: 1em;
  flex: 0 0 auto;
  width: 33px;
  height: 33px;
}
.icon-wrap i {
  display: block;
  margin: 0 auto;
}
/* ========================= MODULE: SDG icons in Programs section START ========================= */
/* SDG icons in Programs section */
/* ========================= MODULE: SDG icons in Programs section END ========================= */
/* ========================= MODULE: Program icon flex layout for SDG icons beside main icon START ========================= */
/* Program icon flex layout for SDG icons beside main icon */
/* ========================= MODULE: Program icon flex layout for SDG icons beside main icon END ========================= */
.program-icon-wrap {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
}
.program-main-icon {
  font-size: 2.2em;
}
.program-sdg-icons {
  display: flex;
  gap: 0.2em;
}
.program-sdg-icons i {
  font-size: 1em !important;
  opacity: 0.95;
  margin: 0 1px;
  vertical-align: middle;
}
/* ========================= MODULE: MAIN STYLESHEET START ========================= */
/* ═══════════════════════════════════════════════════════════
   LION CITY YOUTH — MAIN STYLESHEET
   Color Palette:
     Primary:    #AC0807 (Deep Red)
     Secondary:  #FFBD07 (Vivid Gold)
     Dark:       #1a1a2e
     Text:       #2d2d2d
     Light BG:   #f7f7f7
     White:      #ffffff
═══════════════════════════════════════════════════════════ */
/* ========================= MODULE: MAIN STYLESHEET END ========================= */

/* ========================= MODULE: CSS Custom Properties START ========================= */
/* ─── CSS Custom Properties ─────────────────────────────── */
/* ========================= MODULE: CSS Custom Properties END ========================= */
:root {
  --red:        #AC0807;
  --red-dark:   #8a0606;
  --red-light:  #d40b0a;
  --gold:       #FFBD07;
  --gold-dark:  #e0a400;
  --gold-light: #ffd04d;
  --dark:       #1a1a2e;
  --dark-2:     #2d2d44;
  --text:       #2d2d2d;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --bg-white:   #ffffff;
  --bg-gray:    #f7f8fa;
  --bg-gray-2:  #eef0f4;
  --border:     #e5e7eb;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 30px rgba(0,0,0,0.10);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.14);
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  24px;
  --radius-xl:  40px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-head:  'Poppins', sans-serif;
  --font-body:  'Inter', sans-serif;
}

/* ========================= MODULE: Reset & Base START ========================= */
/* ─── Reset & Base ──────────────────────────────────────── */
/* ========================= MODULE: Reset & Base END ========================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: 70px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
}

/* ========================= MODULE: Utility Classes START ========================= */
/* ─── Utility Classes ───────────────────────────────────── */
/* ========================= MODULE: Utility Classes END ========================= */
.text-red  { color: var(--red); }
.text-gold { color: var(--gold); }

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(172, 8, 7, 0.08);
  padding: 0.3em 1em;
  border-radius: 100px;
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 0rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* ========================= MODULE: Scroll Reveal START ========================= */
/* ─── Scroll Reveal ─────────────────────────────────────── */
/* ========================= MODULE: Scroll Reveal END ========================= */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================= MODULE: Buttons START ========================= */
/* ─── Buttons ───────────────────────────────────────────── */
/* ========================= MODULE: Buttons END ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 20px rgba(172, 8, 7, 0.35);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(172, 8, 7, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  transform: translateY(-2px);
  background: rgba(255, 189, 7, 0.06);
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ========================= MODULE: NAVIGATION START ========================= */
/* ═══════════════════════════════════════════════════════════
  NAVIGATION
═══════════════════════════════════════════════════════════ */
/* ========================= MODULE: NAVIGATION END ========================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.6);
  padding: 0.2rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.navbar.scrolled .nav-link {
  color: #222;
  }

  .navbar.scrolled .nav-cta {
    color: var(--red);
}

.navbar.scrolled .nav-link:hover {
  color: var(--red);
  background: rgba(172, 8, 7, 0.06);
}

.navbar.scrolled .logo-text {
  color: #222;
}
.social-link i {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.social-link:hover i {
  color: #fff;
}

.nav-container {
  max-width: 92.188rem;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.nav-logo:hover .logo-icon {
  background: var(--gold-dark);
  transform: rotate(-8deg);
}

/* Logo image (santa-rosa-logo.png) */
.logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
  transition: var(--transition);
}

.nav-logo:hover .logo-img {
  transform: rotate(-8deg) scale(1.08);
}

.logo-text {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 500;
  color: #222;
}

.logo-text strong {
  font-weight: 800;
  color: var(--red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-link {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.90);
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  position: relative;
}

.nav-link:hover {
  color: var(--gold);
  background: rgba(255,255,255,0.10);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 60%;
}

.nav-link.nav-cta {
  background: var(--red);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-weight: 600;
}

.nav-link.nav-cta:hover {
  background: var(--red-dark);
  color: #fff;
}

.nav-link.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 998;
  backdrop-filter: blur(4px);
}

.mobile-overlay.active {
  display: block;
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════ */
/* ─── Hero Background Slideshow ─────────────────────────── */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
  will-change: transform, opacity;
}

.slide.active {
  opacity: 1;
  animation: kbZoomOut 10s ease-out forwards;
}

.slide-1 { background-image: url('/Assets/Image/cover.png');  }
.slide-2 { background-image: url('/Assets/Image/cover2.jpg'); }

@keyframes kbZoomOut {
  from { transform: scale(1.14); }
  to   { transform: scale(1.0);  }
}

/* Dark vignette — bottom-heavy like Angat Buhay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top,  rgba(0,0,0,0.72) 0%,  rgba(0,0,0,0.35) 45%, transparent 75%),
    linear-gradient(to right, rgba(0,0,0,0.30) 0%, transparent 60%);
  pointer-events: none;
}

/* ─── Hero Section ───────────────────────────────────────── */
.hero {
  min-height: 100svh;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* Inner content wrapper — bottom-left, single column */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  padding: 0 clamp(1.5rem, 5vw, 3.5rem) clamp(3rem, 6vh, 5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Hide floating cards — not used in this layout */
.hero-visual {
  display: none !important;
}

/* Hide decorative bg shapes on the hero */
.hero .hero-bg-shapes {
  display: none;
}

.hero-bg-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.035;
}

.shape-1 {
  width: 700px;
  height: 700px;
  background: var(--red);
  top: -200px;
  right: -200px;
}

.shape-2 {
  width: 500px;
  height: 500px;
  background: var(--gold);
  bottom: -150px;
  left: -150px;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: var(--red);
  top: 60%;
  right: 20%;
}

.hero-container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.4em 1em;
  border-radius: 100px;
  margin-bottom: 1.4rem;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: rgba(255,255,255,0.88);
  max-width: 620px;
  line-height: 1.75;
  margin-bottom: 2.4rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-scroll {
  display: flex;
  margin-top: 0.5rem;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.scroll-indicator span {
  display: block;
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 100px;
  position: relative;
}

.scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--red);
  border-radius: 2px;
  animation: scrollBounce 1.8s infinite;
}

@keyframes scrollBounce {
  0%, 100% { top: 6px; opacity: 1; }
  50%       { top: 16px; opacity: 0.3; }
}

/* Hero-specific button overrides for dark background */
.hero-inner .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.55);
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,0.08);
}

.hero-inner .btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(255,189,7,0.12);
}

.hero-inner .scroll-indicator span::after {
  background: var(--gold);
}

/* Hero Visual ─ Stat Card Stack */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-stack {
  position: relative;
  width: 280px;
  height: 320px;
}

.hero-stat-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.4rem 1.8rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 160px;
  border-left: 4px solid var(--red);
  transition: var(--transition);
}

.hero-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.16);
}

.hero-stat-card i {
  font-size: 1.4rem;
  color: var(--red);
  margin-bottom: 0.3rem;
}

.hero-stat-card strong {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

.hero-stat-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.card-1 {
  top: 0;
  left: 0;
  border-left-color: var(--red);
  transform: rotate(-4deg);
}

.card-2 {
  top: 80px;
  left: 80px;
  border-left-color: var(--gold);
  z-index: 2;
}

.card-2 i { color: #1877f2; }

.card-3 {
  bottom: 0;
  right: 0;
  border-left-color: #16a34a;
  transform: rotate(3deg);
}

.card-3 i { color: #16a34a; }

/* ═══════════════════════════════════════════════════════════
   MISSION & VISION SECTION
═══════════════════════════════════════════════════════════ */
.mv-section {
  padding: 4rem 0;
  background: var(--bg-light, #f9f9f9);
}

.mv-section .section-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mv-card {
  display: flex;
  align-items: stretch;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
  background: #fff;
  min-height: 280px;
}

.mv-card--reverse {
  flex-direction: row-reverse;
}

.mv-image {
  flex: 0 0 50%;
  position: relative;
  overflow: hidden;
}

.mv-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.mv-card:hover .mv-image img {
  transform: scale(1.04);
}

/* fade-out edge toward text */
.mv-card:not(.mv-card--reverse) .mv-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 55%, #fff 100%);
}

.mv-card--reverse .mv-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, transparent 55%, #fff 100%);
}

.mv-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 3rem;
}

.mv-label {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--red, #cc0000);
  margin: 0 0 1rem;
}

.mv-text p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: #444;
  line-height: 1.7;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .mv-card,
  .mv-card--reverse {
    flex-direction: column;
  }

  .mv-image {
    flex: 0 0 220px;
    height: 220px;
  }

  .mv-card:not(.mv-card--reverse) .mv-image::after,
  .mv-card--reverse .mv-image::after {
    background: linear-gradient(to bottom, transparent 55%, #fff 100%);
  }

  .mv-text {
    padding: 1.5rem 1.75rem;
    align-items: center;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   IMPACT TRACKER SECTION
═══════════════════════════════════════════════════════════ */
.impact {
  background: var(--bg-gray);
  padding: 3rem 0;
  position: relative;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.impact-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.impact-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.impact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 189, 7, 0.3);
}

.impact-card:hover::before {
  transform: scaleX(1);
}

.impact-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.3rem;
}

.facebook-icon { background: rgba(24, 119, 242, 0.1); color: #1877f2; }
.member-icon   { background: rgba(172, 8, 7, 0.1); color: var(--red); }
.event-icon    { background: rgba(255, 189, 7, 0.12); color: var(--gold-dark); }
.eco-icon      { background: rgba(22, 163, 74, 0.1); color: #16a34a; }
.crop-icon     { background: rgba(5, 150, 105, 0.1); color: #059669; }
.hours-icon    { background: rgba(124, 58, 237, 0.1); color: #7c3aed; }

.impact-number-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.15rem;
  margin-bottom: 0.4rem;
}

.impact-number {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.impact-unit {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  padding-bottom: 0.3rem;
}

.impact-label {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.impact-sub {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
}

.impact-update-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-light);
  background: var(--bg-gray);
  padding: 0.25em 0.7em;
  border-radius: 100px;
}

/* ═══════════════════════════════════════════════════════════
   COMMUNITY MAP SECTION
═══════════════════════════════════════════════════════════ */
.map-section {
  padding: 3rem 0;
  background: var(--bg-white);
}

.map-wrapper {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 1px rgba(255, 189, 7, 0.2), var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.map-legend {
  display: flex;
  gap: 1.5rem;
  padding: 0.9rem 1.4rem;
  background: var(--bg-gray);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-head);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-red  { background: var(--red); }
.dot-gold { background: var(--gold); }
.dot-gray { background: var(--text-light); }

/* SVG Map Container */
.svg-map-container {
  position: relative;
  width: 100%;
  background: #f0f2f8;
  overflow: hidden;
}

.svg-map {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
}

/* All barangay paths — uniform red colour */
.svg-map path {
  fill: var(--red) !important;
  stroke: #ffffff;
  stroke-width: 0.4px;
  cursor: pointer;
  transition: opacity 0.18s ease, filter 0.18s ease;
}
.svg-map path:hover {
  opacity: 0.72;
  filter: brightness(1.28);
}

/* Hover tooltip */
.map-tooltip {
  position: absolute;
  background: var(--dark);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.38rem 0.75rem;
  border-radius: 6px;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 10;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.map-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Click info panel */
.map-info-panel {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #fff;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--red);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 1.1rem 0.75rem 1rem;
  min-width: 200px;
  max-width: 280px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
}

.map-info-panel.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.map-info-panel h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 0.25rem;
  padding-right: 1.4rem;
}

.map-info-panel p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

.map-info-close {
  position: absolute;
  top: 0.4rem;
  right: 0.55rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  transition: color 0.15s;
}

.map-info-close:hover { color: var(--red); }

.map-caption {
  padding: 0.8rem 1.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg-gray);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ═══════════════════════════════════════════════════════════
   PROGRAMS GRID SECTION
═══════════════════════════════════════════════════════════ */
.programs {
  background: var(--bg-gray);
  padding: 3rem 0;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.program-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.program-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: var(--transition);
  pointer-events: none;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(255, 189, 7, 0.18), var(--shadow-md);
  border-color: rgba(255, 189, 7, 0.4);
}

.program-card:hover::after {
  border-color: var(--gold);
}

.program-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.program-card:hover .program-icon-wrap {
  transform: scale(1.12) rotate(-6deg);
}

.eco-bg    { background: rgba(22, 163, 74, 0.1);  color: #16a34a; }
.vege-bg   { background: rgba(5, 150, 105, 0.1);  color: #059669; }
.civic-bg  { background: rgba(172, 8, 7, 0.1);    color: var(--red); }
.leader-bg { background: rgba(255, 189, 7, 0.12); color: var(--gold-dark); }
.clean-bg  { background: rgba(2, 132, 199, 0.1);  color: #0284c7; }
.connect-bg{ background: rgba(219, 39, 119, 0.1); color: #db2777; }

.program-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(172, 8, 7, 0.07);
  padding: 0.25em 0.7em;
  border-radius: 100px;
  margin-bottom: 0.6rem;
  align-self: flex-start;
}

.program-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

.program-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.2rem;
  flex: 1;
}

.program-stats {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
}

.program-stats li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 500;
}

.program-stats li i {
  color: var(--gold-dark);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: auto;
  transition: var(--transition);
}

.program-link:hover {
  color: var(--gold-dark);
  gap: 0.7rem;
}

/* ═══════════════════════════════════════════════════════════
   VIDEO SECTION
═══════════════════════════════════════════════════════════ */
.video-section {
  padding: 5rem 0;
  background: var(--bg-light);
}

.video-header-bar {
  margin-bottom: 2rem;
  text-align: center;
}

.video-wrapper {
    background: #222;
    border-radius: 32px;
    padding: 0px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 340px;
    max-width: 900px;
    margin: 0 auto;

  
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ═══════════════════════════════════════════════════════════
   JOIN SECTION
═══════════════════════════════════════════════════════════ */
#join-section {
  background: var(--dark);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.join-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 10% 50%, rgba(172, 8, 7, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 90% 20%, rgba(255, 189, 7, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.join-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.join-icon {
  width: 70px;
  height: 70px;
  background: rgba(172, 8, 7, 0.2);
  border: 1px solid rgba(172, 8, 7, 0.4);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold);
  margin: 0 auto 1.6rem;
  overflow: hidden;
}

.join-icon img {
  width: 73%;
  height: 59%;
  object-fit: contain;
  padding: 0;
  background: #ffffff00;
  border-radius: 24px;
  border: 4px solid #b2222200;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.join-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

/* Join Form */
.join-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: left;
  backdrop-filter: blur(10px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 0.9rem;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(255, 189, 7, 0.15);
}

.form-group select option {
  background: var(--dark-2);
  color: #fff;
}

.join-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  background: #111120;
  color: rgba(255,255,255,0.7);
  padding-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem) 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-logo .logo-text {
  color: rgba(255,255,255,0.9);
}

.footer-logo .logo-text strong {
  color: var(--gold);
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.6rem;
  margin-bottom: 1.4rem;
  font-style: italic;
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
}

.social-link {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.06);
  border: 2px solid #e3e3e3;
  border-radius: 20%;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fff;
  margin: 0 0.18em 0 0;
}

.social-link:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-3px);
}

.footer-links-col h4 {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.2rem;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
}

.footer-links-col a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

.footer-contact li i {
  color: var(--gold);
  font-size: 0.8rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  padding: 1.2rem clamp(1rem, 4vw, 2.5rem);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.28);
}

/* ═══════════════════════════════════════════════════════════
   TOAST NOTIFICATION
═══════════════════════════════════════════════════════════ */
.lcy-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--dark);
  color: #fff;
  padding: 0.85rem 1.8rem;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
}

.lcy-toast i {
  color: var(--gold);
}

.lcy-toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1.8rem;
  width: 44px;
  height: 44px;
  background: var(--red);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(172, 8, 7, 0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  font-size: 0.9rem;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(224, 164, 0, 0.45);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner {
    max-width: 100%;
    padding-bottom: clamp(2.5rem, 5vh, 4rem);
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Nav */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: min(320px, 85vw);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 3rem;
    gap: 0.4rem;
    box-shadow: -10px 0 40px rgba(0,0,0,0.12);
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    width: 100%;
    font-size: 1rem;
    padding: 0.7rem 1rem;
  }

  .nav-link.nav-cta {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero-inner {
    padding-bottom: 2.5rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    max-width: 320px;
  }

  /* Impact */
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .impact-card {
    padding: 1.4rem 1rem;
  }

  /* Map */
  .svg-map {
    max-height: 340px;
  }

  /* Programs */
  .programs-grid {
    grid-template-columns: 1fr;
  }

  /* Join Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: auto;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤480px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .impact-card {
    padding: 1.6rem 1.2rem;
  }

  .impact-number {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .join-form {
    padding: 1.4rem 1rem;
  }

  .hero-badge {
    font-size: 0.72rem;
  }

  .btn {
    padding: 0.78rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* ═══════════════════════════════════════════════
   DIRECTORS SECTION
═══════════════════════════════════════════════ */
.directors-section {
  padding: 3rem 0;
  background: var(--bg-light);
  overflow: visible;
}

.directors-carousel-outer-prev {
  position: relative;
  padding: -1 4rem;
}

.directors-carousel-outer-next {
  position: relative;
  padding: 0 4rem;
}

.directors-carousel-wrap {
  position: relative;
  overflow: hidden;
  padding-bottom: 3rem;
}

.directors-track {
  display: flex;
  transition: transform 0.8s ease-in-out;
  will-change: transform;
}

.directors-page {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 16px 8px;
  min-width: 100%;
  flex-shrink: 0;
}

/* ── Director Card ── */
.director-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 1px 10px;
  min-height: 200px;
}

.director-card-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  color: #111;
  letter-spacing: 0.01em;
  line-height: 1.4;
  text-align: center;
  width: 100%;
  margin: 0 0 1.4rem 0;
}

.director-name-pill {
  background: #e5e7eb;
  border-radius: 50px;
  padding: 0.6rem 1.3rem;
  width: 100%;
  text-align: center;
  margin-bottom: 0.7rem;
}

.director-name-pill span {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--red, #cc0000);
  line-height: 1.2;
}

.director-role {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  color: #555;
  margin: 0;
  text-align: center;
  width: 100%;
}

/* ── Nav Buttons ── */
.directors-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-80%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red, #cc0000);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.directors-prev {
  left: -60px;
  visibility: hidden;
}

.directors-next {
  right: -60px;
}

.directors-nav-btn:hover {
  background: #a00000;
}

.directors-prev:hover {
  transform: translateY(-80%) scale(1.08);
}

.directors-next:hover {
  transform: translateY(-80%) scale(1.08);
}

.directors-nav-btn:disabled {
  background: #ccc;
  cursor: default;
  box-shadow: none;
}

/* ── Dots ── */
.directors-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.directors-dot {
  width: 36px;
  height: 5px;
  border-radius: 3px;
  background: #d8d8d8;
  cursor: pointer;
  transition: background 0.3s ease;
  display: inline-block;
}

.directors-dot.active {
  background: var(--red, #cc0000);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .directors-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .directors-page {
    grid-template-columns: 1fr;
  }

  .directors-prev {
    left: 0;
    top: auto;
    bottom: 3.5rem;
    transform: none;
  }

  .directors-next {
    right: 0;
    top: auto;
    bottom: 3.5rem;
    transform: none;
  }

  .directors-prev:hover,
  .directors-next:hover {
    transform: scale(1.08);
  }
}

/* ═══════════════════════════════════════════════
   PROJECTS SECTION
═══════════════════════════════════════════════ */
/* ════════════════════════ PROJECTS SECTION ════════════════════════ */
.projects-section {
    padding: 0rem 0;
    background: var(--bg-light);
    overflow: visible;
}
.projects-header-bar {
  margin-bottom: 1.5rem;
  text-align: center;
}

.projects-main-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #111;
  margin: 0 0 0.6rem;
}

.projects-title-line {
  height: 3px;
  background: var(--red, #cc0000);
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 2px;
}

/* ── Events container ── */
.proj-events-container {
  min-height: 500px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background: white;
}

/* ── Tab nav ── */
.proj-events-nav {
  display: flex;
  border-bottom: 1px solid #ddd;
  padding: 0 20px;
}

.proj-nav-tab {
  padding: 15px 25px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: #666;
  font-family: 'Poppins', sans-serif;
  position: relative;
  transition: color 0.3s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.proj-nav-tab:hover {
  color: var(--red, #cc0000);
}

.proj-nav-tab.active {
  color: var(--red, #cc0000);
}

.proj-nav-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--red, #cc0000);
}

/* ── Sections ── */
.proj-events-section {
  display: none;
  padding: 20px;
}

.proj-events-section.active {
  display: block;
}

/* ── Banner ── */
.proj-banner {
  position: relative;
  width: 100%;
  min-height: 600px;
  padding: 0 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  background: #111;
  background-size: cover;
  border-radius: 5px;
  overflow: hidden;
}

.proj-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

/* ── Background slide layers ── */
.proj-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

@keyframes projBgInRight {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}
@keyframes projBgInLeft {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}
@keyframes projBgOutLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}
@keyframes projBgOutRight {
  from { transform: translateX(0); }
  to   { transform: translateX(100%); }
}

.proj-bg-in-right  { animation: projBgInRight  0.65s cubic-bezier(0.4,0,0.2,1) forwards; }
.proj-bg-in-left   { animation: projBgInLeft   0.65s cubic-bezier(0.4,0,0.2,1) forwards; }
.proj-bg-out-left  { animation: projBgOutLeft  0.65s cubic-bezier(0.4,0,0.2,1) forwards; }
.proj-bg-out-right { animation: projBgOutRight 0.65s cubic-bezier(0.4,0,0.2,1) forwards; }

/* ── Left text content ── */
.proj-content-left {
  position: relative;
  max-width: 400px;
  color: #f6f6f6;
  order: 1;
  z-index: 3;
  border-left: 4px solid var(--red, #cc0000);
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.proj-event-date {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 10px;
  padding: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.proj-event-title {
  font-family: 'Poppins', sans-serif;
  font-size: 38px;
  line-height: 1.2;
  font-weight: 900;
  color: #fff;
  margin: 0 0 15px;
  text-transform: uppercase;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.proj-event-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  margin: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Text transition classes */
.proj-text-out {
  opacity: 0 !important;
  transform: translateY(20px) !important;
}

.proj-text-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* View Gallery button */
.proj-gallery-link {
  display: inline-block;
  margin-top: 0;
  background: #fff;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  color: var(--red, #cc0000);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  width: fit-content;
  transition: background 0.2s ease, color 0.2s ease;
}

.proj-gallery-link:hover {
  background: var(--red, #cc0000);
  color: #fff;
}

/* ── Materialize carousel overrides ── */
.proj-banner .carousel {
  order: 2;
  width: 300px !important;
  height: 400px !important;
  z-index: 3;
  overflow: visible !important;
  flex-shrink: 0;
}

.proj-banner .carousel .carousel-item {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proj-banner .carousel .carousel-item img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  border: 5px solid white;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.proj-banner .carousel .carousel-item img:hover {
  transform: scale(1.03);
}

/* ── Bottom controls row (View Gallery + Prev/Next) ── */
.proj-bottom-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 300px;
  position: fixed;
  flex-wrap: wrap;
}

/* ── Prev / Next buttons ── */
.proj-slide-btns {
  display: flex;
  gap: 10px;
}

.proj-slide-btns button {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
}

.proj-slide-btns button:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: scale(1.1);
}

/* ── Upcoming section ── */
.proj-upcoming-wrap {
  padding: 20px;
}

.proj-upcoming-title {
  color: var(--red, #cc0000);
  border-bottom: 2px solid var(--red, #cc0000);
  padding-bottom: 10px;
  margin-top: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-align: center;
  font-size: 40px;
}

.proj-upcoming-title span {
  color: #111;
}

/* ── Calendar Grid ── */
.proj-calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 30px 0 10px;
}

.proj-month-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,0.09);
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.proj-month-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}

.proj-month-header {
  background: var(--red, #cc0000);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.proj-month-events {
  list-style: none;
  padding: 14px 16px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.proj-month-events li {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  padding: 8px 12px;
  background: #f7f7f7;
  border-radius: 6px;
  border-left: 3px solid var(--gold, #FFBD07);
  line-height: 1.4;
}

/* December full-width card */
.proj-month-full {
  grid-column: 1 / -1;
}

.proj-month-events--row {
  flex-direction: row;
  flex-wrap: wrap;
}

.proj-month-events--row li {
  flex: 1 1 200px;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .proj-banner {
    flex-direction: column;
    padding: 30px 20px;
    min-height: auto;
    gap: 20px;
  }
  .proj-content-left {
    max-width: 100%;
  }
  .proj-banner .carousel {
    width: 100% !important;
    height: 260px !important;
    order: 1;
  }
  .proj-upcoming-title { font-size: 28px; }
  .proj-calendar-grid  { grid-template-columns: repeat(2, 1fr); }
  .proj-month-full     { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .proj-events-container { border-radius: 0; }
  .proj-banner { padding: 20px 15px; }
  .proj-event-title { font-size: 26px; }
  .proj-event-date  { font-size: 17px; }
  .proj-event-desc  { font-size: 14px; }
  .proj-calendar-grid { grid-template-columns: 1fr; }
  .proj-month-events--row { flex-direction: column; }
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  background: #fff;
  margin: 0;
  padding: 0;
}

.officials-section {
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 24px;
  text-align: center;
}

.officials-section h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0;
  letter-spacing: 1px;
}

.officials-section h2 span {
  color: var(--red);
}

.officials-section p {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 40px;
  margin-top: 8px;
}

.officials-carousel-container {
    position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.officials-arrow-btn {
  background: #e60000;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
/* Move left/right arrows further from cards */
.officials-arrow-btn#officialsPrevBtn {
  left: -70px;
}
.officials-arrow-btn#officialsNextBtn {
  right: -70px;
}

.officials-arrow-btn:disabled {
  background: #eee;
  color: #bbb;
  cursor: not-allowed;
}

.officials-cards-viewport {
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
}

.officials-cards-row {
  display: flex;
  transition: transform 0.4s cubic-bezier(.4, 0, .2, 1);
  gap: 32px;
  padding: 16px 0;
}

.official-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  width: 300px;
  min-width: 300px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  margin-bottom: 8px;
}

.official-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  background: #eee;
  display: block;
}

.official-card .official-info {
  background: #e60000;
  color: #fff;
  width: 100%;
  padding: 18px 10px 12px 10px;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  border-top: 4px solid #c0c0c0;
  box-sizing: border-box;
}

.official-card .official-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.official-card .official-position {
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
  letter-spacing: 1px;
}

.official-card .official-name.big {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.carousel-indicators {
  margin: 24px 0 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  margin-top: 0;
  position: static;
  z-index: 2;

  height: 6px;
  border-radius: 3px;
  background: #e0e0e0;
  transition: background 0.2s;
}

.carousel-indicator.active {
  background: #e60000;
}

@media (max-width: 1300px) {
  .officials-cards-viewport {
    max-width: 900px;
  }

  .official-card {
    width: 240px;
    min-width: 240px;
    max-width: 240px;
  }

  .official-card img {
    height: 220px;
  }
}

@media (max-width: 1000px) {
  .officials-cards-viewport {
    max-width: 600px;
  }

  .official-card {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
  }

  .official-card img {
    height: 140px;
  }
}

@media (max-width: 700px) {
  .officials-section h2 {
    font-size: 2rem;
  }

  .officials-cards-viewport {
    max-width: 320px;
  }

  .official-card {
    width: 90vw;
    min-width: 90vw;
    max-width: 90vw;
  }

  .official-card img {
    height: 100px;
  }

  .officials-arrow-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}
/* ── Sector section ── */
.sectors {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0px 0px 45px;
  text-align: center;
}

.sectors h2 {
  font-size: var(--header-medium);
}

.sectors h2 span {
  color: var(--primary-color);
}

.sectors .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: auto;
  width: 100%;
  max-width: 1200px;
}

.sectors .container .card {
  position: relative;
  flex: 1;
  border-radius: 15px;
  min-width: 200px;
  height: 300px;
  overflow: hidden;
  box-shadow: 0px 1px 10px rgba(0, 0, 0, .5);
  transition: transform .2s ease-in-out;
}

.sectors .container .card:hover {
  transform: scale(1.05, 1.05);
}

.sectors .container .card:hover .red-blend {
  opacity: 0;
}

.sectors .container .impact .bg-image {
  background: url(./Assets/Image/harana.jpg) -70px no-repeat;
}

.sectors .container .community .bg-image {
  background: url(./Assets/Image/mcdo.jpg) center no-repeat;
}

.sectors .container .theteam .bg-image {
  background: url(./Assets/Image/painting.jpg) center no-repeat;
}

.sectors .container .join .bg-image {
  background: url(./Assets/Image/sikhayan.jpg) center no-repeat;
}

.sectors .container .membership .bg-image {
  background: url(./Assets/Image/summit.jpg) center no-repeat;
}

.sectors .container .card .bg-image {
  position: absolute;
    inset: 0;
    background-size: cover;
    /* This is crucial */
    background-position: center;
    z-index: 0;
    /* Sits at the very bottom */
}

.sectors .container .card .red-blend {
  position: absolute;
    inset: 0;
    /* Change transparent to the solid red from the first example */
    background-color: rgba(240, 150, 6, 0.807);
    /* This creates the 'Photo Tint' effect */
    mix-blend-mode: color;
    opacity: 0.8;
    transition: opacity .2s ease-in-out;
    /* z-index: 1; */
    /* Sits above the image */
}

.sectors .container .card .content {
  background-color: rgba(0, 0, 0, .3);
  position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    color: white;
    padding: 0px 5px 12px;
    text-align: center;
}

.sectors .container .card .content h3 {
  font-size: var(--headline-small);
  font-weight: normal;
}
.sectors .section-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--red);
  margin-bottom: 0rem;
}

.sectors .section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* storis */
@import url(../styles/header-footer.css);

header {
  box-shadow: 0px 1px 10px rgba(0, 0, 0, .5);
}

.feature-article {
  min-height: 80vh;
  padding: 24px;
}

.feature-article>.container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: auto;
  max-width: 1200px;
}

.feature-article>.container>button {
  align-self: flex-start;
}

.feature-article>.container>h1 {
  font-size: var(--header-medium);
}

.feature-article>.container>h1>span {
  color: var(--primary-color);
}

.feature-article>.container>.content {
  display: flex;
  flex-direction: column;
  gap: 12px;

}

.feature-article>.container>.content>.side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-article>.container>.content>.side-1 {
  order: 2;
}

.feature-article>.container>.content>.side-2 {
  order: 1;
}

.feature-article>.container>.content>.side>img {
  display: block;
  border-radius: 15px;
  width: 100%;
}

.feature-article>.container>.content>.side>p {
  text-align: justify;
}

.feature-article>.container>.content>.side>p span {
  color: var(--primary-color);
}

.feature-article>.container>.content>.side-2>p {
  order: 2;
}

.feature-article>.container>.content>.side-2>img {
  order: 1;
}

/* ================================================================== */
/* Tablet breakpoint */
@media only screen and (min-width: 920px) {
  .feature-article {
    padding: 24px 48px;
  }

  .feature-article>.container>.content {
    flex-direction: row;
    gap: 24px;
  }

  .feature-article>.container>.content>.side-1 {
    order: 1;
  }

  .feature-article>.container>.content>.side-2 {
    order: 2;
  }

  .feature-article>.container>.content>.side-2>p {
    order: 1;
  }

  .feature-article>.container>.content>.side-2>img {
    order: 2;
  }
}

