:root {
  --green-dark: #0d4a2c;
  --green: #155e38;
  --green-mid: #1e7a46;
  --green-light: #2aaa5e;
  --red: #da291c;
  --red-soft: #e05c4b;
  --gold: #c9a84c;
  --gold-light: #f0d080;
  --cream: #fdf8f0;
  --white: #ffffff;
  --text-dark: #1a2a1f;
  --text-mid: #3d5c45;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Sans Bengali", sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}
body.lang-en {
  font-family: "Nunito", sans-serif;
}
.geo-pattern {
  background-image:
    repeating-linear-gradient(45deg, rgba(201, 168, 76, 0.07) 0px, rgba(201, 168, 76, 0.07) 1px, transparent 1px, transparent 14px),
    repeating-linear-gradient(-45deg, rgba(201, 168, 76, 0.07) 0px, rgba(201, 168, 76, 0.07) 1px, transparent 1px, transparent 14px);
}

em {
  font-style: normal;
}
/* ─── LANGUAGE SWITCHER ─── */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 30px;
  padding: 3px;
  gap: 2px;
  flex-shrink: 0;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px 14px;
  border-radius: 24px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  transition:
    background 0.2s,
    color 0.2s;
  font-family: inherit;
  vertical-align: middle;
  line-height: 1.3;
}
#btn-bn {
  font-family: "Noto Sans Bengali", sans-serif;
}
#btn-en {
  font-family: "Nunito", sans-serif;
}
.lang-btn.active {
  background: var(--gold);
  color: var(--green-dark);
}
.lang-btn:hover:not(.active) {
  color: var(--white);
}

header {
  position: sticky;
  top: 0;
  right: 0;
  height: auto;
  background: #08331e; /* Darker green for contrast */
  color: var(--gold-light);
  z-index: 1001; /* Higher than nav to stay on top */
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* ─── TOP DATE BAR ─── */
.top-date-bar {
  background: #08331e; /* Darker green for contrast */
  color: var(--gold-light);
  z-index: 1001; /* Higher than nav to stay on top */
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 10px 0;
  width: 100%;
}

.date-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  width: 100%;
}
.date-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
}
.date-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.date-icon svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .top-date-bar {
    padding: 6px 0;
  }
  .date-container {
    gap: 5px;
    align-items: center;
    flex-wrap: wrap;
  }
  .date-item {
    font-size: 13px;
  }
}

/* ─── NAVBAR ─── */
nav {
  position: sticky;
  top: 0;
  right: 0;
  height: auto;
  background: rgba(13, 74, 44, 0.97);
  backdrop-filter: blur(10px);

  height: auto;
  border-bottom: 2px solid var(--gold);
  gap: 1rem;
  transition: top 0.3s;
  width: 100%;
  padding: 10px 20px;
  z-index: 999;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 768px) {
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  justify-content: center;
}
.nav-logo-circle {
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-circle img {
  width: 60px;
  height: auto;
  border-radius: 9999px;
  flex-shrink: 0;
}
.nav-logo-text {
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.nav-logo-text span {
  display: block;
}
.nav-logo-text .name {
  font-family: "Hind Siliguri", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 25px;
}
.nav-logo-text .tagline {
  font-size: 0.8rem;
  color: var(--gold-light);
  line-height: 16px;
}
body.lang-en .nav-logo-text .name {
  font-family: "Nunito", serif;
  font-size: 26px;
}
.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:hover {
  color: var(--gold-light);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-donate {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 7px 18px !important;
  border-radius: 30px;
  font-weight: 700 !important;
}
.nav-donate:hover {
  background: var(--red-soft) !important;
}
.nav-donate::after {
  display: none !important;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
}

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  background: linear-gradient(155deg, var(--green-dark) 0%, var(--green) 45%, #0a3520 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg-ornament {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 60% 80% at 75% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 70%),
    repeating-linear-gradient(0deg, transparent 0px, transparent 39px, rgba(255, 255, 255, 0.025) 39px, rgba(255, 255, 255, 0.025) 40px),
    repeating-linear-gradient(90deg, transparent 0px, transparent 39px, rgba(255, 255, 255, 0.025) 39px, rgba(255, 255, 255, 0.025) 40px);
}
.hero-ornament-ring {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 650px;
  height: 650px;
  border-radius: 50%;
  border: 2px dashed rgb(201 168 76 / 15%);
  animation: spin-slow 60s linear infinite;
}
.hero-ornament-ring::before {
  content: "";
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 1px dashed rgb(201 168 76 / 20%);
}
@keyframes spin-slow {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 0rem 80px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: center;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease both;
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}
.hero-eyebrow {
  font-family: "Amiri", serif;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
  animation: fadeUp 0.7s ease both 0.1s;
}
h1.hero-title {
  font-family: "Hind Siliguri", sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 2.8rem);
  line-height: 1.4;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease both 0.2s;
  font-weight: 700;
}
body.lang-en h1.hero-title {
  font-family: "Nunito", serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.12;
}
h1.hero-title .accent {
  color: var(--gold);
  display: block;
}
.hero-desc {
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s ease both 0.35s;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease both 0.5s;
}
.btn-primary {
  background: var(--gold);
  color: var(--green-dark);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.45);
  background: var(--gold-light);
}
.btn-ghost {
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: fadeUp 1s ease both 0.3s;
}
.hero-logo-frame {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(201, 168, 76, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
.hero-logo-frame::before {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px dashed rgba(201, 168, 76, 0.2);
}
.hero-logo-frame::after {
  content: "";
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  border: 1px dashed rgba(201, 168, 76, 0.1);
}
.hero-logo-inner {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  border: 4px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.1);
}
.hero-logo-inner img {
  border-radius: 999px;
  width: 100%;
}
.hero-logo-hands {
  font-size: 3rem;
}
.hero-logo-name {
  font-family: "Amiri", serif;
  font-size: 2rem;
  color: var(--white);
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.hero-logo-sub {
  font-size: 0.65rem;
  color: var(--gold-light);
  letter-spacing: 0.12em;
}
.hero-stats {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 2.5rem;
  animation: fadeUp 1s ease both 0.7s;
  width: 100%;
}
.stat-item {
  text-align: center;
}
.stat-num {
  font-family: "Nunito", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 14px;
  color: rgb(255 255 255 / 80%);
  text-transform: uppercase;
  margin-top: 4px;
}
.stat-div {
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  animation: bounce-down 2s ease infinite;
  cursor: pointer;
  transition:
    color 0.3s,
    opacity 0.3s;
}
.scroll-hint:hover {
  color: var(--white);
  opacity: 1;
}
.scroll-hint .arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.3);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  transform: rotate(45deg);
  transition: border-color 0.3s;
}
.scroll-hint:hover .arrow {
  border-color: var(--white);
}
@keyframes bounce-down {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── BISMILLAH ─── */
.bismillah-banner {
  background: var(--green-dark);
  text-align: center;
  padding: 1.2rem 2rem;
  border-bottom: 2px solid var(--gold);
}
.bismillah-banner p {
  font-family: "Amiri", serif;
  font-size: 1.3rem;
  color: var(--gold-light);
}
.bismillah-banner small {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
  font-weight: 500;
}

/* ─── SECTIONS COMMON ─── */
section {
  padding: 90px 20px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--green-mid);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.section-label::before {
  content: "◆ ";
  color: var(--gold);
  font-size: 0.6rem;
}
h2.section-title {
  font-family: "Hind Siliguri", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--green-dark);
  line-height: 1.2;
  margin-bottom: 1.2rem;
  font-weight: 700;
}
body.lang-en h2.section-title {
  font-family: "Nunito", serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
}
h2.section-title em {
  color: var(--green-mid);
  font-style: normal;
}
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  border-radius: 2px;
  margin: 0 0 1.5rem;
}
.section-intro {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-mid);
  max-width: 640px;
}
.ornament-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}
.ornament-line::before,
.ornament-line::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ornament-line span {
  color: var(--gold);
  font-size: 0.9rem;
  white-space: nowrap;
}

/* ─── ABOUT ─── */
#about {
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-card-big {
  background: linear-gradient(140deg, var(--green-dark), var(--green));
  border-radius: 20px;
  padding: 3rem 2.5rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(13, 74, 44, 0.3);
}
.about-card-big::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.08);
}
.about-card-big .arabic-text {
  font-family: "Amiri", serif;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.about-card-big p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.8);
}
.about-card-big cite {
  display: block;
  margin-top: 1rem;
  color: var(--gold-light);

  font-size: 0.85rem;
}
.about-float-card {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--white);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  border-left: 4px solid var(--gold);
  min-width: 200px;
}
.about-float-card .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mid);
  font-weight: 600;
}
.about-float-card .value {
  font-family: "Nunito", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-dark);
}
.about-float-card .sub {
  font-size: 0.78rem;
  color: var(--text-mid);
}
.about-text .section-intro {
  margin-bottom: 2rem;
}
.values-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.values-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  padding: 1.1rem 1.4rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border-left: 3px solid var(--green-mid);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.values-list li:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.values-list .icon {
  flex-shrink: 0;
  margin-top: 4px;
  width: 28px;
  height: 28px;
  color: var(--green-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}
.values-list .icon svg {
  width: 100%;
  height: 100%;
}
.values-list .text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--green-dark);
  margin-bottom: 2px;
  font-weight: 700;
}
.values-list .text span {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
  font-weight: 500;
}

/* ─── PROGRAMS ─── */
#programs {
  background: linear-gradient(170deg, #f0f7f3 0%, var(--cream) 100%);
}
.programs-header {
  text-align: center;
  margin-bottom: 4rem;
}
.programs-header .section-divider {
  margin: 0 auto 1.5rem;
}
.programs-header .section-intro {
  margin: 0 auto;
  text-align: center;
}
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.program-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.14);
}
.program-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white);
}
.program-card-top {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.program-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.5s ease;
}
.program-card:hover .program-card-img {
  transform: scale(1.1);
}
.program-card.featured .program-card-top {
  height: 260px;
}
.program-card-top.ramadan {
  background: linear-gradient(135deg, #1a5c6e, #0e3d4f);
}
.program-card-top.flood {
  background: linear-gradient(135deg, #1a3a6e, #0e2550);
}
.program-card-top.health {
  background: linear-gradient(135deg, #5c1a1a, #3d0e0e);
}
.program-card-top.marriage {
  background: linear-gradient(135deg, #5c461a, #3d2d0e);
}
.program-card-top.education {
  background: linear-gradient(135deg, #1a5c2e, #0e3d1c);
}
.program-card-top.social {
  background: linear-gradient(135deg, #3a1a5c, #250e3d);
}
.program-card-top.blood-camp {
  background: linear-gradient(135deg, #a61c1c, #7a1414);
}
.program-card-top.blood-bank {
  background: linear-gradient(135deg, #8a1414, #5a0e0e);
}
.program-card-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(255, 255, 255, 0.07), transparent 60%);
}
.program-card-body {
  padding: 1.8rem;
}
.program-card.featured .program-card-body {
  padding: 2rem 2.5rem;
}
.program-card h3 {
  font-family: "Hind Siliguri", sans-serif;
  font-size: 1.15rem;
  color: var(--green-dark);
  margin-bottom: 0.6rem;
  font-weight: 700;
}
body.lang-en .program-card h3 {
  font-family: "Nunito", serif;
  font-size: 1.2rem;
}
.program-card.featured h3 {
  color: var(--white);
  font-size: 1.35rem;
}
.program-card p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-mid);
  font-weight: 500;
}
.program-card.featured p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}
.program-tag {
  display: inline-block;
  margin-top: 1rem;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.program-tag.primary {
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold);
}
.program-tag.featured-tag {
  background: rgba(255, 255, 255, 0.15);
  color: var(--gold-light);
}

/* ─── HOW IT WORKS ─── */
#how-it-works {
  background: var(--green-dark);
}
#how-it-works .section-label {
  color: var(--gold-light);
}
#how-it-works h2.section-title {
  color: var(--white);
}
#how-it-works .section-intro {
  color: rgba(255, 255, 255, 0.7);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  position: relative;
}
.steps-grid::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--green-light), var(--gold), transparent);
  opacity: 0.3;
}
.step-item {
  text-align: center;
}
.step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgb(42 90 54);
  border: 2px solid rgba(201, 168, 76, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Nunito", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.step-item:hover .step-num {
  background: var(--gold);
  color: var(--green-dark);
  border-color: var(--gold);
}
.step-item h4 {
  font-family: "Hind Siliguri", sans-serif;
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}
body.lang-en .step-item h4 {
  font-family: "Nunito", serif;
  font-size: 1.05rem;
}
.step-item p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
}

/* ─── LEADERSHIP ─── */
#leadership {
  background: var(--cream);
}
.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 3rem;
}
.leader-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.13);
}
.leader-card.main {
  background: linear-gradient(160deg, var(--green-dark), var(--green-mid));
  color: var(--white);
}
.leader-avatar {
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.leader-card.main .leader-avatar {
  height: 400px;
  background: rgba(0, 0, 0, 0.1);
}
.leader-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center;
  transition: transform 0.5s ease;
}
.leader-card:hover .leader-avatar img {
  transform: scale(1.08);
}
.leader-avatar .badge-ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--green-dark);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.leader-body {
  padding: 1.5rem 1.8rem;
}
.leader-card.main .leader-body {
  padding: 2rem;
}
.leader-body h3 {
  font-family: "Hind Siliguri", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.3rem;
}
body.lang-en .leader-body h3 {
  font-family: "Nunito", serif;
  font-size: 1.1rem;
}
.leader-card.main .leader-body h3 {
  color: var(--white);
  font-size: 1.2rem;
}
.leader-role {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-mid);
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.leader-card.main .leader-role {
  color: var(--gold);
}
.leader-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-mid);
}
.leader-card.main .leader-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}
.leader-quals {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.leader-quals li {
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold-light);
  border: 1px solid rgba(201, 168, 76, 0.3);
  font-size: 0.68rem;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ─── REACH ─── */
#reach {
  background: linear-gradient(135deg, #f7fdf9 0%, #edf7f1 100%);
}
.reach-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}
.branches-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.branch-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid rgba(21, 94, 56, 0.1);
  border-radius: 50px;
  padding: 8px 14px;
  font-size: 0.82rem;
  color: var(--text-dark);
  font-weight: 600;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.2s;
}
.branch-pill:hover {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
  transform: scale(1.02);
}
.branch-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-light);
  flex-shrink: 0;
}
.reach-text .section-intro {
  margin-bottom: 2rem;
}
.reach-callout {
  background: var(--green-dark);
  border-radius: 16px;
  padding: 2rem;
  color: var(--white);
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}
.reach-callout::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 16px;
  font-family: "Nunito", serif;
  font-size: 8rem;
  color: rgba(201, 168, 76, 0.1);
  line-height: 1;
}
.reach-callout p {
  font-family: "Hind Siliguri", sans-serif;

  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 1;
}
body.lang-en .reach-callout p {
  font-family: "Nunito", serif;
}
.reach-callout cite {
  display: block;
  margin-top: 1rem;
  color: var(--gold);
  font-style: normal;
  font-size: 0.82rem;
}

/* ─── DONATE ─── */
#donate {
  background: linear-gradient(135deg, var(--red) 0%, #8b1a12 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 100px 2rem;
}
#donate::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 20px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 20px);
}
#donate .container {
  position: relative;
  z-index: 1;
}
#donate h2 {
  font-family: "Hind Siliguri", sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
}
body.lang-en #donate h2 {
  font-family: "Nunito", serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
}
#donate p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.85;
}
#donate .arabic {
  font-family: "Amiri", serif;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.3rem;
}
.donate-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-donate-white {
  background: var(--white);
  color: var(--red);
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.btn-donate-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.btn-donate-ghost {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.btn-donate-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}
.btn-donate-white svg,
.btn-donate-ghost svg {
  width: 20px;
  height: 20px;
}

/* ─── FOOTER ─── */
#contact {
  background: #0a3520;
  padding: 80px 20px 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand .logo-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.footer-brand h3 {
  font-family: "Hind Siliguri", sans-serif;
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  font-weight: 700;
}
body.lang-en .footer-brand h3 {
  font-family: "Nunito", serif;
  font-size: 1.3rem;
}
.footer-brand .tagline-small {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.6);
}
.footer-section h4 {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}
.footer-section ul {
  list-style: none;
}
.footer-section ul li + li {
  margin-top: 0.6rem;
}
.footer-section ul a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-section ul a:hover {
  color: var(--gold);
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1rem;
}
.footer-contact-item .icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.footer-contact-item .icon-box svg {
  width: 18px;
  height: 18px;
}
.footer-contact-item .info {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}
.footer-contact-item .info strong {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 2px;
}
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}
.footer-dev {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-dev a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-dev a:hover {
  color: var(--white);
  text-decoration: underline;
}
.founded-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: var(--gold-light);
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 20px;
}
.footer-socials {
  display: flex;
  gap: 12px;
  align-items: center;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  text-decoration: none;
}
.social-icon svg {
  width: 18px;
  height: 18px;
}
.social-icon.fb:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(24, 119, 242, 0.3);
}
.social-icon.yt:hover {
  background: #ff0000;
  border-color: #ff0000;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

/* ─── REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ─── YOUTUBE VIDEOS ─── */
#youtube-videos {
  background: var(--cream);
}
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.video-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.13);
}
.video-thumbnail {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #f0f0f0;
  overflow: hidden;
}
.video-thumbnail iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Skeleton Loaders */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite linear;
}
@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.skeleton-card .video-thumbnail {
  background: #f0f0f0;
}
.skeleton-title {
  height: 1.2rem;
  width: 90%;
  margin-bottom: 0.8rem;
  border-radius: 4px;
}
.skeleton-meta {
  height: 0.8rem;
  width: 50%;
  border-radius: 4px;
}

.video-body {
  padding: 1.5rem;
}
.video-body h3 {
  font-family: "Hind Siliguri", sans-serif;
  font-size: 1rem;
  color: var(--green-dark);
  margin-bottom: 0.6rem;
  font-weight: 700;
  line-height: 1.4;
  height: 2.8rem; /* Line clamp equivalent space */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.lang-en .video-body h3 {
  font-family: "Nunito", serif;
  font-size: 1.05rem;
}
.video-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-mid);
}
.video-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.yt-channel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
  box-shadow: 0 4px 20px rgba(192, 57, 43, 0.35);
  margin-top: 2.5rem;
}
.yt-channel-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(192, 57, 43, 0.45);
  background: var(--red-soft);
}
.yt-channel-link svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.yt-channel-link:hover svg {
  transform: scale(1.1);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .programs-grid {
    grid-template-columns: 1fr 1fr;
  }
  .program-card.featured {
    grid-column: span 1;
  }
  .leadership-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps-grid::before {
    display: none;
  }
  .videos-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hamburger {
    display: flex;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    background: rgba(13, 74, 44, 0.98);
    padding: 2rem;
    gap: 1.5rem;
    z-index: 998;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--gold);
  }
  .nav-links.active {
    display: flex;
  }
}
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 0;
  }
  .hero-desc {
    margin: 0 auto 2.5rem;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-ornament-ring {
    display: none;
  }
  .hero-stats {
    justify-content: center;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-float-card {
    position: static;
    margin-top: 1rem;
  }
  .reach-grid {
    grid-template-columns: 1fr;
  }
  .programs-grid {
    grid-template-columns: 1fr;
  }
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .leader-avatar,
  .leader-card.main .leader-avatar {
    height: auto;
    aspect-ratio: 4 / 4;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .videos-grid {
    grid-template-columns: 1fr;
  }
  .nav-logo-circle img {
    width: 55px;
  }
  .footer-dev {
    order: 3;
  }
}
/* ─── GALLERY ─── */
#random-gallery,
#full-gallery {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  background: #eee;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(13, 74, 44, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 74, 44, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

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

.see-more-container {
  text-align: center;
}

.btn-see-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 2px solid var(--gold);
  color: var(--green-dark);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-see-more:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 168, 76, 0.3);
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  cursor: pointer;
}

/* ─── LIGHTBOX ─── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-out;
  backdrop-filter: blur(8px);
}

.lightbox.active {
  display: flex !important;
  animation: fadeIn 0.3s ease;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  position: relative;
  cursor: default;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  min-height: 100px;
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  border: 4px solid var(--gold);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: -40px;
  background: var(--gold);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 2001;
}

.lightbox-close:hover {
  background: var(--red);
  transform: scale(1.1);
}

.lightbox-close svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .lightbox-close {
    top: -50px;
    right: 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ─── BACK TO TOP ─── */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--green-dark);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(13, 74, 44, 0.3);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

/* ─── PROGRAM ACCORDION ─── */
.prog-accordion-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: self-start;
}

.prog-cat-card {
  background: var(--white);
  border-radius: 16px;
  border-left: 4px solid var(--gold);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.prog-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.prog-cat-header {
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  cursor: pointer;
  user-select: none;
  background: var(--white);
  transition: background 0.2s;
}

.prog-cat-header:hover {
  background: #fcfaf5;
}

.prog-cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}

.prog-cat-icon svg {
  width: 24px;
  height: 24px;
}

/* Category Specific Colors */
.food-icon {
  background: #14b8a6;
}
.clothing-icon {
  background: #6366f1;
}
.essentials-icon {
  background: #f59e0b;
}
.shelter-icon {
  background: #8b4513;
}
.education-icon {
  background: #10b981;
}
.health-icon {
  background: #ef4444;
}
.religious-icon {
  background: #8b5cf6;
}
.rescue-icon {
  background: #f97316;
}
.civic-icon {
  background: #14b8a6;
}

.prog-cat-title {
  flex-grow: 1;
}

.prog-cat-num {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.6;
  display: block;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.prog-cat-title h3 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--green-dark);
}

.prog-cat-sub {
  font-size: 0.75rem;
  color: var(--text-mid);
  margin: 2px 0 0;
  font-weight: 500;
}

.prog-chevron {
  width: 20px;
  height: 20px;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.prog-cat-card.open .prog-chevron {
  transform: rotate(180deg);
}

.prog-cat-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fafdfb;
}

.prog-cat-card.open .prog-cat-body {
  max-height: 1200px; /* Large enough to fit content */
}

.prog-sub-list {
  padding: 1rem 1.5rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.prog-sub-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.4;
}

.prog-bullet {
  color: var(--gold);
  font-size: 0.8rem;
  margin-top: 3px;
}

.featured-sub {
  background: rgba(201, 168, 76, 0.08);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  margin-left: -1rem;
  border-left: 3px solid var(--gold);
}

.featured-sub strong {
  display: block;
  color: var(--green-dark);
  font-weight: 700;
  margin-bottom: 2px;
}

.featured-sub span {
  font-size: 0.8rem;
  color: var(--text-mid);
}

.star-icon {
  margin-top: 2px;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .prog-accordion-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .prog-sub-list {
    padding-left: 1.5rem;
  }
  .prog-cat-header {
    padding: 1rem;
    gap: 0.8rem;
  }
  .prog-cat-icon {
    width: 40px;
    height: 40px;
  }
}

.prog-cat-img-box {
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  aspect-ratio: 16/9;
}

.prog-cat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
  transition: transform 0.5s ease;
}

.prog-cat-card.open .prog-cat-img {
  transform: scale(1.05);
}

.prog-sub-list {
  padding-top: 1.2rem;
}
