/* ==========================================================================
   Elephant Monitors Assam (EMA) - CSS Design System & Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties & Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette - Natural & Earthy Conservation Theme */
  --clr-primary-dark: #0d2116;
  --clr-primary: #183e28;
  --clr-primary-light: #285d3f;
  --clr-accent: #d99738;
  --clr-accent-hover: #c48325;
  --clr-accent-soft: rgba(217, 151, 56, 0.15);

  --clr-bg: #fbf9f4;
  --clr-bg-alt: #f1ede3;
  --clr-surface: #ffffff;
  --clr-surface-translucent: rgba(255, 255, 255, 0.85);

  --clr-text-main: #1d2520;
  --clr-text-muted: #536259;
  --clr-text-light: #f8fbf9;

  --clr-border: #e2dcd0;
  --clr-border-light: rgba(255, 255, 255, 0.2);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(16, 40, 27, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 40, 27, 0.1);
  --shadow-lg: 0 16px 38px rgba(16, 40, 27, 0.16);
  --shadow-glow: 0 0 25px rgba(217, 151, 56, 0.35);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions & Radii */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --nav-height: 80px;
}

/* --------------------------------------------------------------------------
   2. Reset & Base Styles (Airtight Box Containment)
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--clr-bg);
  color: var(--clr-text-main);
  line-height: 1.6;
  max-width: 100vw;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
  overflow-wrap: anywhere;
  word-break: break-word;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  max-width: 100%;
  box-sizing: border-box;
}

/* Container Utility */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* Section Common Layout */
.section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.section-alt {
  background-color: var(--clr-bg-alt);
}

.section-dark {
  background-color: var(--clr-primary-dark);
  color: var(--clr-text-light);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: var(--clr-accent-soft);
  color: var(--clr-accent);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  border: 1px solid rgba(217, 151, 56, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.badge-dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--clr-accent);
  border-color: rgba(217, 151, 56, 0.4);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--clr-primary-dark);
  overflow-wrap: break-word;
  word-break: break-word;
}

.section-dark .section-title {
  color: var(--clr-text-light);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--clr-text-muted);
  overflow-wrap: break-word;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

/* Subpage Hero Header Banner */
.page-banner {
  position: relative;
  padding: 8rem 0 4rem 0;
  background-color: var(--clr-primary-dark);
  color: #ffffff;
  overflow: hidden;
}

.page-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: contrast(1.1) brightness(0.6);
}

.page-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(13, 33, 22, 0.85) 0%, rgba(13, 33, 22, 0.95) 100%);
}

.page-banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-banner-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  overflow-wrap: break-word;
}

.page-banner-desc {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  overflow-wrap: break-word;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--clr-accent);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.btn-primary {
  background-color: var(--clr-accent);
  color: var(--clr-primary-dark);
  box-shadow: 0 4px 14px rgba(217, 151, 56, 0.35);
}

.btn-primary:hover {
  background-color: var(--clr-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 151, 56, 0.45);
}

.btn-secondary {
  background-color: var(--clr-primary);
  color: var(--clr-text-light);
}

.btn-secondary:hover {
  background-color: var(--clr-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--clr-text-light);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   3. Header & Navigation (Flexible Containment)
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  background: rgba(13, 33, 22, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar.scrolled {
  background: rgba(13, 33, 22, 0.97);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  height: 70px;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  max-width: calc(100% - 65px);
}

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform var(--transition-bounce);
}

.logo-brand:hover .logo-img {
  transform: scale(1.06);
}

.brand-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
  line-height: 1.1;
  overflow-wrap: break-word;
}

.brand-subtitle {
  font-size: 0.68rem;
  color: var(--clr-accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--clr-accent);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 0.5rem;
}

/* Hamburger Toggle */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.6rem;
  z-index: 1001;
  flex-shrink: 0;
}

.hamburger-box {
  width: 28px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  border-radius: 3px;
  transition: all var(--transition-normal);
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   4. Hero Section & Unified Glassmorphic Hero Badge
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background-color: var(--clr-primary-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.45) contrast(1.1);
  transform: scale(1.05);
  animation: heroPulse 20s infinite alternate linear;
}

@keyframes heroPulse {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(13, 33, 22, 0.8) 0%,
      rgba(13, 33, 22, 0.5) 50%,
      rgba(13, 33, 22, 0.95) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  padding: 4rem 0;
  max-width: 900px;
}

/* Unified Hero Badge Container */
.hero-badge-container {
  display: flex;
  align-items: center;
  margin-bottom: 1.8rem;
  width: 100%;
}

.hero-unified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem 1.3rem;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(217, 151, 56, 0.45);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  max-width: 100%;
  box-sizing: border-box;
}

.hero-badge-logo-img {
  height: 28px;
  width: auto;
  border-radius: 4px;
  flex-shrink: 0;
}

.hero-badge-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  letter-spacing: 0.3px;
  line-height: 1;
}

.hero-badge-divider {
  color: var(--clr-accent);
  font-size: 0.9rem;
  line-height: 1;
  opacity: 0.8;
}

.hero-badge-tag {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--clr-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  line-height: 1;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
  overflow-wrap: break-word;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, var(--clr-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2.5rem;
  max-width: 780px;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Key Stats Counters Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  padding: 1.8rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  box-sizing: border-box;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--clr-accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   5. About Us Section & Features
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-card-wrapper {
  position: relative;
  width: 100%;
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.about-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.about-image-card:hover img {
  transform: scale(1.03);
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--clr-primary);
  color: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--clr-accent);
  max-width: 240px;
  box-sizing: border-box;
}

.about-experience-badge p {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.about-text-content p {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  overflow-wrap: break-word;
}

.mission-vision-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.mv-card {
  background-color: var(--clr-surface);
  padding: 1.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-sizing: border-box;
}

.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mv-icon {
  width: 48px;
  height: 48px;
  background: var(--clr-accent-soft);
  color: var(--clr-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.mv-card h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--clr-primary-dark);
}

.mv-card p {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  margin-bottom: 0;
}

.feature-box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-box {
  background: var(--clr-surface);
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
  box-sizing: border-box;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-box-icon {
  width: 56px;
  height: 56px;
  background: var(--clr-primary);
  color: var(--clr-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.feature-box h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--clr-primary-dark);
  margin-bottom: 0.8rem;
}

.feature-box p {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   6. Featured Campaign (Durga Elephant Advocacy)
   -------------------------------------------------------------------------- */
.campaign-card {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--clr-border);
  margin-bottom: 3.5rem;
  width: 100%;
}

.campaign-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  width: 100%;
}

.campaign-content {
  padding: 3.5rem;
  box-sizing: border-box;
}

.campaign-media {
  position: relative;
  background-color: var(--clr-primary-dark);
  width: 100%;
}

.campaign-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campaign-meta-tag {
  display: inline-block;
  background: #e74c3c;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.campaign-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--clr-primary-dark);
  margin-bottom: 1.2rem;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.campaign-desc {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
  overflow-wrap: break-word;
}

.officials-block-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-primary-dark);
  margin-bottom: 1.2rem;
}

.officials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  width: 100%;
}

.official-card {
  background: var(--clr-bg-alt);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  border: 1px solid var(--clr-border);
  transition: transform var(--transition-fast);
  box-sizing: border-box;
  width: 100%;
}

.official-card:hover {
  transform: translateY(-3px);
  background: #ffffff;
}

.official-img {
  width: 75px;
  height: 75px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.official-info h5 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-primary-dark);
  margin-bottom: 0.2rem;
  overflow-wrap: break-word;
}

.official-info p {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  overflow-wrap: break-word;
}

.media-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  width: 100%;
}

.press-card {
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.press-source {
  font-weight: 700;
  color: var(--clr-accent);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.press-card h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--clr-primary-dark);
  margin-bottom: 1rem;
  overflow-wrap: break-word;
}

.press-card p {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  margin-bottom: 1.5rem;
  overflow-wrap: break-word;
}

/* --------------------------------------------------------------------------
   7. Leadership & Trustees Team Section
   -------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  width: 100%;
}

.team-card {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--clr-border);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  box-sizing: border-box;
  width: 100%;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  background-color: var(--clr-primary-dark);
}

.team-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.team-card:hover .team-img-wrapper img {
  transform: scale(1.05);
}

.team-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.team-role {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clr-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-primary-dark);
  margin-bottom: 1rem;
  overflow-wrap: break-word;
}

.team-bio {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
  flex: 1;
  overflow-wrap: break-word;
}

.team-credit {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--clr-border);
  font-size: 0.75rem;
  color: #889988;
}

/* --------------------------------------------------------------------------
   8. Interactive Photo & Field Gallery
   -------------------------------------------------------------------------- */
.gallery-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  width: 100%;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--clr-primary);
  color: #ffffff;
  border-color: var(--clr-primary);
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(13, 33, 22, 0.85) 0%, transparent 60%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: opacity var(--transition-fast);
  box-sizing: border-box;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  overflow-wrap: break-word;
}

.gallery-credit {
  color: var(--clr-accent);
  font-size: 0.8rem;
  overflow-wrap: break-word;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 1000px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-caption {
  color: #ffffff;
  margin-top: 1rem;
  text-align: center;
}

.lightbox-caption h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--clr-accent);
}

.lightbox-caption p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   9. Emergency Helplines & Contact Section
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  width: 100%;
}

.contact-info-card {
  background: var(--clr-primary-dark);
  color: #ffffff;
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
}

.contact-info-card::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(217, 151, 56, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 2rem;
  width: 100%;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--clr-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-details {
  overflow: hidden;
}

.contact-details h5 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.contact-details p,
.contact-details a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-details a:hover {
  color: var(--clr-accent);
}

.contact-form-container {
  background: var(--clr-surface);
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-md);
  box-sizing: border-box;
  width: 100%;
}

.form-group {
  margin-bottom: 1.5rem;
  width: 100%;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--clr-primary-dark);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  background: var(--clr-bg);
  color: var(--clr-text-main);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(24, 62, 40, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   10. Footer (Fixed & High Contrast Logo Badge)
   -------------------------------------------------------------------------- */
.footer {
  background: #08140d;
  color: rgba(255, 255, 255, 0.75);
  padding: 5rem 0 2rem 0;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
  width: 100%;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(217, 151, 56, 0.4);
  border-radius: var(--radius-md);
  max-width: 100%;
  box-sizing: border-box;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-logo-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  line-height: 1.1;
  overflow-wrap: break-word;
}

.footer-logo-subtitle {
  font-size: 0.65rem;
  color: var(--clr-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-about {
  line-height: 1.65;
  max-width: 340px;
  color: rgba(255, 255, 255, 0.7);
  overflow-wrap: break-word;
}

.footer-heading {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-links a:hover {
  color: var(--clr-accent);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.credits-block {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  overflow-wrap: break-word;
}

.credits-block span {
  color: var(--clr-accent);
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--clr-accent);
  color: var(--clr-primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  background: var(--clr-accent-hover);
}

/* --------------------------------------------------------------------------
   11. Thorough Tablet & Mobile Responsiveness Breakpoints
   -------------------------------------------------------------------------- */
/* Tablet & Large iPad Breakpoint Range (768px to 1120px) */
@media (max-width: 1120px) {
  .container {
    width: 92%;
    padding: 0 1rem;
  }

  .hamburger {
    display: block;
  }

  .logo-brand {
    max-width: calc(100% - 60px);
  }

  .brand-title {
    font-size: 1rem;
    white-space: normal;
    line-height: 1.15;
  }

  .brand-subtitle {
    font-size: 0.65rem;
    white-space: normal;
  }

  /* Mobile & Tablet Slide-out Drawer Menu */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    background: var(--clr-primary-dark);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3.5rem 2.5rem;
    gap: 1.8rem;
    transition: right var(--transition-normal);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-cta {
    margin-left: 0;
    width: 100%;
  }

  .hero-title {
    font-size: 2.7rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .page-banner-title {
    font-size: 2.4rem;
  }

  .page-banner {
    padding: 7.5rem 0 3.5rem 0;
  }

  .about-grid,
  .campaign-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .campaign-content {
    padding: 2.5rem 2rem;
  }

  .contact-info-card,
  .contact-form-container {
    padding: 2.5rem 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {

  /* Generous Top Padding for Hero Section on Mobile so Content Never Touches Translucent Navbar */
  .hero {
    padding-top: calc(var(--nav-height) + 2.5rem) !important;
    min-height: auto;
  }

  .hero-content {
    padding-top: 1.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  /* Hide Hero Badge completely on mobile devices (<768px) for clean hero layout */
  .hero-badge-container {
    display: none !important;
  }

  .hero-title {
    font-size: 2.2rem;
    margin-top: 0.5rem;
  }

  .hero-description {
    font-size: 1.05rem;
  }

  .page-banner-title {
    font-size: 2.1rem;
  }

  .page-banner {
    padding: 8rem 0 3.5rem 0;
  }

  .mission-vision-container,
  .media-links-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .about-experience-badge {
    position: relative;
    bottom: 0;
    right: 0;
    max-width: 100%;
    width: 100%;
    margin-top: 1rem;
  }

  .team-grid,
  .gallery-grid,
  .feature-box-grid,
  .officials-grid {
    grid-template-columns: 1fr;
  }

  .campaign-content {
    padding: 1.8rem 1.2rem;
  }

  .contact-info-card,
  .contact-form-container {
    padding: 1.8rem 1.2rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: 95%;
    padding: 0 0.5rem;
  }

  .logo-img {
    height: 34px;
  }

  .brand-title {
    font-size: 0.88rem;
  }

  .brand-subtitle {
    display: none;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 3rem) !important;
  }

  .hero-content {
    padding-top: 2rem !important;
    padding-bottom: 4rem !important;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.22;
    margin-top: 0.5rem;
  }

  .hero-description {
    font-size: 0.98rem;
    margin-bottom: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-bottom: 2.5rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stats-bar {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .campaign-content {
    padding: 1.25rem;
  }

  .campaign-title {
    font-size: 1.45rem;
  }

  .contact-info-card,
  .contact-form-container {
    padding: 1.5rem 1rem;
  }

  .filter-btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
    width: 100%;
    text-align: center;
  }

  .official-card {
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
  }

  .official-img {
    width: 55px;
    height: 55px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}