/* =========================================================
   WAJ – Welfare Association Jared
   Clean semantic rebuild matching www.waj.org.pk
   ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap");

:root {
  --blue: #0150b3;
  --blue-dark: #013f8f;
  --blue-deep: #0150b3;
  --blue-soft: #e8f1fb;
  --blue-mid: #0150b3;
  --text: #334155;
  --text-muted: #475569;
  --white: #ffffff;
  --bg: #ffffff;
  --line: #e2e8f0;
  --shadow: 0 12px 40px rgba(1, 80, 179, 0.1);
  --radius: 16px;
  --container: 1200px;
  --font: "Poppins", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --header-h: 92px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-dark);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0;
  flex-wrap: wrap;
}

.topbar-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  color: var(--blue);
}

.topbar-contact a,
.topbar-contact span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue);
  font-size: 0.88rem;
}

.tb-icon {
  font-size: 0.95rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.55rem;
}

.btn-donate-top,
.btn-webmail-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.42rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1280d8 0%, #053a86 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 14px rgba(5, 58, 134, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
}

.btn-webmail-top {
  background: linear-gradient(135deg, #0b5e9e 0%, #01265a 100%);
}

.btn-donate-top:hover,
.btn-webmail-top:hover {
  color: #fff;
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 7px 18px rgba(5, 58, 134, 0.38);
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(15, 40, 80, 0.12);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--blue-deep);
}

.brand img {
  width: 230px;
  max-width: 52vw;
  height: auto;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blue);
  margin: 4px auto;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.05rem;
  align-items: center;
  justify-content: flex-end;
}

.main-nav a {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.35rem 0;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue-dark);
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--blue);
}

/* ===== Homepage overlay header + hero (match waj.org.pk) ===== */
.page-home .home-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
}

.page-home .topbar {
  background: rgba(232, 241, 251, 0.55);
  backdrop-filter: blur(8px);
  border-bottom: none;
}

.page-home .topbar-contact a,
.page-home .topbar-contact span {
  color: #013a82;
  font-weight: 600;
}

.page-home .btn-donate-top {
  background: linear-gradient(135deg, #0f74c7 0%, #012f6e 100%);
  box-shadow: 0 4px 16px rgba(1, 47, 110, 0.35);
}

.page-home .site-header {
  background: transparent;
  position: relative;
  box-shadow: none;
  top: auto;
  z-index: auto;
}

.page-home.is-scrolled .home-header {
  box-shadow: none;
  border-bottom: none;
}

.page-home.is-scrolled .topbar {
  background: rgba(236, 244, 255, 0.88);
  border-bottom: none;
}

/* Keep same rounded nav look after scroll — no full-width side fill */
.page-home.is-scrolled .site-header {
  background: transparent;
}

.page-home.is-scrolled .nav-inner {
  border-radius: 0 0 28px 28px;
  background: rgba(236, 244, 255, 0.92);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(15, 40, 80, 0.14);
  border-top: none;
}

.page-home .nav-shell {
  padding: 0;
}

.page-home .nav-inner {
  background: rgba(236, 244, 255, 0.72);
  backdrop-filter: blur(10px);
  border-radius: 0 0 28px 28px;
  border: 1px solid rgba(15, 40, 80, 0.12);
  border-top: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
  padding: 0.35rem 1.25rem;
  min-height: 84px;
}

.page-home .hero-wrap {
  position: relative;
}

.page-home .hero {
  min-height: 780px;
}

.page-home .hero-content {
  min-height: 780px;
  padding: 10.5rem 0 9rem;
  align-items: center;
}

.page-home .hero-copy {
  max-width: 560px;
}

.page-home .hero-copy h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 900;
  text-shadow: 0 2px 18px rgba(0, 30, 80, 0.25);
}

.page-home .hero-copy p {
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 32rem;
}

.page-home .hero .btn-light {
  background: #fff;
  color: #1f2a37;
  border: none;
  padding: 0.85rem 1.7rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.page-home .hero .btn-light:hover {
  background: #f3f7fc;
  color: var(--blue);
}

.page-home .hero-dots {
  bottom: 7.5rem;
}

.page-home .partners {
  margin-top: -5.5rem;
  margin-bottom: 0;
  padding-bottom: 1.5rem;
}

.page-home .partners-card {
  background: linear-gradient(180deg, #ffffff 0%, #f3f6f9 100%);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 40, 90, 0.18);
  padding: 1.15rem 1.6rem;
  grid-template-columns: auto 1fr;
  border: 1px solid rgba(180, 195, 210, 0.65);
  gap: 1.5rem;
}

.page-home .partners h2 {
  font-size: 1.08rem;
  font-weight: 800;
  white-space: nowrap;
  color: #0150b3;
  letter-spacing: 0.01em;
}

.page-home .partners-row img {
  height: 52px;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.page-home .sticky-social {
  top: 42%;
  border-radius: 10px 0 0 10px;
  overflow: hidden;
  background: var(--blue);
}

.page-home .sticky-social a {
  width: 44px;
  height: 44px;
}

.page-home .sticky-social .sticky-wa {
  background: #25d366;
}

.page-home .sticky-social .sticky-fb {
  background: #1877f2;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-light {
  background: #fff;
  color: var(--blue);
}

.btn-light:hover {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.hero .btn-light {
  background: #fff;
  color: var(--blue);
  border-color: #fff;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-dark);
  color: #fff;
}

.btn-outline {
  border-color: #fff;
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  background: #fff;
  color: var(--blue);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 700px;
  color: #fff;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(195deg, rgba(1, 80, 179, 0.28) 51%, rgba(1, 80, 179, 0.88) 72%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 700px;
  display: flex;
  align-items: center;
  padding: 5rem 0 8rem;
}

.hero-copy {
  max-width: 620px;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  line-height: 1.05;
  font-weight: 900;
}

.hero-copy p {
  margin: 0 0 1.6rem;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 34rem;
  opacity: 0.97;
}

.hero-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--blue);
  font-size: 1.4rem;
  cursor: pointer;
}

.hero-nav.prev { left: 1rem; }
.hero-nav.next { right: 1rem; }

.hero-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 5.5rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.hero-dots button.active {
  background: #fff;
}

/* ---------- Partners strip ---------- */
.partners {
  position: relative;
  z-index: 4;
  margin-top: -4.8rem;
  margin-bottom: 1rem;
}

.partners-card {
  background: linear-gradient(180deg, #ffffff 0%, #f3f6f9 100%);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 40, 90, 0.18);
  padding: 1.15rem 1.6rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  border: 1px solid rgba(180, 195, 210, 0.65);
}

.partners h2 {
  margin: 0;
  color: #0150b3;
  font-size: 1.08rem;
  font-weight: 800;
  position: relative;
  white-space: nowrap;
}

.partners h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 8px;
  margin-top: 0.35rem;
  background: url("../images/misc/Untitled-design-11.png") no-repeat left center / contain;
}

.partners-track {
  overflow: hidden;
}

.partners-row {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.partners-row img {
  height: 54px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.1);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: #fff;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-head-row h2 {
  margin-bottom: 0;
}

.news-detail {
  max-width: 860px;
}

.news-detail-image,
.news-detail-media {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 1.4rem;
  display: block;
  box-shadow: 0 14px 34px rgba(1, 50, 120, 0.12);
}

.news-detail-image {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-detail-body {
  margin-top: 1rem;
}

.eyebrow {
  color: var(--blue);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
  font-family: "Poppins", sans-serif;
}

.section-head h2,
.page-hero h1 {
  margin: 0 0 0.75rem;
  color: var(--blue-deep);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
}

.underline-title {
  display: inline-block;
  position: relative;
}

.underline-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 10px;
  margin-top: 0.35rem;
  background: url("../images/misc/Untitled-design-11.png") no-repeat left center / contain;
}

.lead {
  color: var(--text-muted);
  max-width: 70ch;
}

/* ---------- About / intro split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.split img {
  border-radius: 18px;
  width: 100%;
  object-fit: cover;
}

/* Home about + counters (match waj.org.pk) */
.home-about {
  background: #fff;
  padding: 4.5rem 0 3rem;
}

.home-about .split {
  align-items: start;
  gap: 3rem;
}

.home-about .about-copy h2 {
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: clamp(1.7rem, 2.5vw, 1.9rem);
  font-weight: 900;
  font-family: "Poppins", sans-serif;
}

.home-about .about-copy p {
  color: var(--blue);
  font-size: 0.98rem;
  line-height: 1.75;
  margin: 0 0 1rem;
}

.home-about .about-visual img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(1, 80, 179, 0.12);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.stat {
  background: linear-gradient(165deg, #d7e8f7 0%, #c2daf0 100%);
  border: 1px solid rgba(5, 58, 134, 0.16);
  border-radius: 14px;
  padding: 1.15rem 0.75rem 1.05rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(5, 58, 134, 0.1);
}

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.3rem;
  color: #022f6e;
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
}

.stat-number {
  font-size: clamp(2.85rem, 4.4vw, 3.65rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  -webkit-text-stroke: 0.4px currentColor;
}

.stat-suffix {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 900;
}

.stat h3,
.stat span {
  margin: 0;
  color: #022f6e;
  font-size: 1.05rem;
  font-weight: 800;
  font-family: "Poppins", sans-serif;
}

/* Expanding Core Programs accordion */
.programs-section {
  background: #fff;
  padding: 2rem 0 4rem;
}

.programs-head {
  text-align: center;
  position: relative;
  margin-bottom: 2rem;
}

.programs-head .waj-watermark {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 900;
  color: rgba(1, 80, 179, 0.06);
  letter-spacing: 0.08em;
  pointer-events: none;
  font-family: "Poppins", sans-serif;
  line-height: 1;
}

.programs-head h2 {
  position: relative;
  margin: 0;
  color: var(--blue);
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 800;
}

.program-accordion {
  display: flex;
  gap: 0.7rem;
  height: 420px;
}

.program-panel {
  position: relative;
  flex: 0.55;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  background: #01265a center / cover no-repeat;
  transition: flex 0.45s ease;
  min-width: 58px;
  box-shadow: var(--shadow);
}

.program-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 80, 179, 0.15), rgba(1, 50, 120, 0.88));
  transition: opacity 0.3s ease;
}

.program-panel.active {
  flex: 3.8;
}

.program-panel.active::before {
  background: linear-gradient(180deg, rgba(1, 80, 179, 0.05) 35%, rgba(1, 50, 120, 0.9) 100%);
}

.program-panel .panel-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 0.25rem;
  z-index: 1;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.program-panel.active .panel-label {
  display: none;
}

.program-panel .panel-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.8rem 2rem 2rem;
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  transition: 0.35s ease;
  pointer-events: none;
  max-width: 520px;
}

.program-panel.active .panel-content {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.program-panel .panel-content h3 {
  margin: 0 0 0.7rem;
  font-size: 1.55rem;
  font-weight: 800;
}

.program-panel .panel-content p {
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.95;
}

/* Campaign / activism card — match live 16 Days layout */
.campaign-section {
  background: #fff;
  padding: 3.5rem 0 4rem;
}

.campaign-card {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 0;
  align-items: center;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  overflow: visible;
}

.campaign-title-col {
  padding: 1.5rem 2.5rem 1.5rem 0.25rem;
  align-self: center;
}

.campaign-card h2 {
  margin: 0;
  color: #0150b3;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 800;
  line-height: 1.2;
  max-width: 11.5em;
  white-space: normal;
}

.campaign-card h2 span {
  display: block;
  font-size: 0.78em;
  font-weight: 800;
  color: #012f6e;
  line-height: 1.15;
  margin-top: 0.15rem;
}

.campaign-card .underline-title::after {
  width: 140px;
  height: 14px;
  margin-top: 0.7rem;
}

.campaign-body-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.25rem 2rem 1.75rem;
  margin-left: 0.5rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: -12px 0 32px rgba(1, 80, 179, 0.08), 0 12px 36px rgba(1, 80, 179, 0.06);
}

.campaign-ribbon {
  margin-bottom: 1rem;
  line-height: 0;
}

.campaign-ribbon svg {
  width: 68px;
  height: 68px;
  display: block;
}

.campaign-card p {
  margin: 0 0 1.5rem;
  color: #0150b3;
  line-height: 1.75;
  font-size: 0.98rem;
  font-weight: 500;
  max-width: 38rem;
}

.campaign-play {
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 210, 235, 0.55) 0%, rgba(210, 228, 245, 0.35) 55%, transparent 72%);
  text-decoration: none;
  transition: transform 0.2s ease;
}

.campaign-play:hover {
  transform: scale(1.05);
}

.campaign-play-btn {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #0150b3;
  box-shadow: 0 8px 22px rgba(1, 80, 179, 0.35);
}

.campaign-play-btn::before {
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
}

/* legacy play button (other pages if any) */
.play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: var(--blue);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(1, 80, 179, 0.35);
}

.play-btn:hover {
  background: var(--blue-dark);
}

/* Ramazan Food Distributions – full-bleed banner (match waj.org.pk) */
.ramazan-banner {
  position: relative;
  min-height: 520px;
  color: #fff;
  display: flex;
  align-items: center;
  background: url("../images/hero/ramazan-banner.png") center / cover no-repeat fixed;
  overflow: hidden;
}

.ramazan-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(1, 80, 179, 0.78);
}

.ramazan-banner-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 4.5rem 0;
}

.ramazan-copy {
  max-width: 640px;
}

.ramazan-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 400;
  color: #fff;
  opacity: 0.95;
}

.ramazan-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  display: inline-block;
  width: 100%;
  max-width: 34ch;
}

.ramazan-copy p {
  margin: 1.1rem 0 0;
  font-size: 1.02rem;
  line-height: 1.75;
  color: #fff;
  max-width: 38rem;
}

.ramazan-copy strong {
  font-weight: 700;
}

.ramazan-play {
  justify-self: center;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid #fff;
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.25);
  animation: ramazan-pulse 2.4s ease-out infinite;
}

.ramazan-play:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: scale(1.05);
}

.ramazan-play-icon {
  width: 0;
  height: 0;
  margin-left: 6px;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent #fff;
}

@keyframes ramazan-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35); }
  70% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.news-carousel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.news-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.news-card-media {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(1, 50, 120, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card-media:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(1, 50, 120, 0.14);
}

.news-card-media-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8eef6;
}

.news-card-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.news-card-media:hover .news-card-media-wrap img {
  transform: scale(1.04);
}

.news-card-body {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-body h3 {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue-deep);
  line-height: 1.35;
}

.news-card-body p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-card-body .btn {
  align-self: flex-start;
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
}

.home-event-section {
  background: linear-gradient(180deg, #f7faff 0%, #fff 100%);
}

.event-feature {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.event-feature-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--blue-deep);
  line-height: 1.3;
}

.event-feature-media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(1, 50, 120, 0.16);
  background: #01265a;
}

.event-feature-media .event-banner {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.event-feature-media .video-frame,
.event-feature-media .event-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  max-width: none;
}

.event-feature-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.news-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue);
}

.donate h2 {
  font-weight: 800;
  font-family: "Poppins", sans-serif;
}

/* Sticky social sidebar (match live site) */
.sticky-social {
  position: fixed;
  right: 0;
  top: 45%;
  z-index: 90;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.sticky-social a,
.sticky-social .sticky-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  border: 0;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.sticky-social .sticky-toggle {
  background: var(--blue);
  font-size: 0.85rem;
}

.sticky-social .sticky-wa {
  background: #25d366;
  font-size: 0.85rem;
}

.sticky-social .sticky-fb {
  background: #1877f2;
  font-size: 1.15rem;
}

.sticky-social.is-collapsed a {
  display: none;
}

@media (max-width: 640px) {
  .sticky-social {
    display: none;
  }

  /* Top bar: keep phone + email, hide address on mobile */
  .topbar-contact > span {
    display: none;
  }

  .topbar-inner {
    gap: 0.5rem;
    padding: 0.4rem 0;
  }

  .topbar-contact {
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
  }

  .topbar-contact a {
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .page-home .hero,
  .page-home .hero-content {
    min-height: 620px;
  }

  .page-home .hero-content {
    padding: 8.5rem 0 8rem;
  }

  .page-home .nav-inner,
  .page-home.is-scrolled .nav-inner {
    border-radius: 0 0 18px 18px;
    padding: 0.4rem 0.8rem;
  }

  .page-home .partners-card {
    border-radius: 16px;
    grid-template-columns: 1fr;
  }

  .page-home .partners {
    margin-top: -3.5rem;
  }
}

/* ---------- Program cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--blue-soft);
}

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

.card-body {
  padding: 1.2rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.card-body h3 {
  margin: 0;
  color: var(--blue-deep);
  font-size: 1.1rem;
}

.card-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
}

.card-body .link {
  font-weight: 700;
}

/* ---------- Feature media blocks ---------- */
.feature-media {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.video-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-frame video,
.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* ---------- News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.news-grid.news-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.news-card h3 {
  margin: 0 0 0.7rem;
  color: var(--blue-deep);
}

.news-card p {
  margin: 0;
  color: var(--text-muted);
}

.news-card.news-card-media {
  padding: 0;
}

/* ---------- Donate banner ---------- */
.donate {
  position: relative;
  color: #fff;
  background: center / cover no-repeat url("../images/hero/donate-bg.jpg");
  min-height: 340px;
  display: flex;
  align-items: center;
}

.donate::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1, 80, 179, 0.92), rgba(1, 80, 179, 0.55));
}

.donate .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.donate h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.donate p {
  margin: 0 0 1.2rem;
  opacity: 0.95;
}

.donate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.donate-actions .or {
  opacity: 0.8;
  font-weight: 700;
}

.donate-side img {
  width: min(100%, 280px);
  margin-inline: auto;
}

/* ---------- FAQ (match waj.org.pk) ---------- */
.faq-section {
  background: #fff;
  padding: 4.5rem 0;
}

.faq-wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.faq-intro {
  position: relative;
  padding: 1rem 0 1.5rem;
}

.faq-watermark {
  position: absolute;
  left: 0;
  top: 0.2rem;
  font-size: clamp(4.5rem, 9vw, 7rem);
  font-weight: 800;
  font-family: "Poppins", sans-serif;
  color: rgba(1, 80, 179, 0.08);
  line-height: 1;
  letter-spacing: 0.02em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.faq-intro h2 {
  position: relative;
  z-index: 1;
  margin: 1.8rem 0 0;
  color: var(--blue);
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  font-family: "Poppins", sans-serif;
}

.faq-intro h2::after {
  content: "";
  display: block;
  width: 140px;
  height: 14px;
  margin-top: 0.85rem;
  background: url("../images/misc/Untitled-design-11.png") no-repeat left center / contain;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.faq-item {
  background: transparent;
  border: none;
  border-radius: 0;
  margin: 0;
  overflow: visible;
}

.faq-item summary {
  cursor: pointer;
  padding: 0.15rem 0 0.35rem;
  font-weight: 600;
  color: var(--blue);
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.05rem;
  line-height: 1.45;
  border-bottom: 1px solid rgba(1, 80, 179, 0.45);
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "+";
  flex: 0 0 auto;
  width: 1.1rem;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--blue);
}

.faq-item[open] summary::before {
  content: "-";
  font-size: 1.7rem;
  line-height: 1;
}

.faq-item[open] summary {
  background: transparent;
  border-bottom-color: var(--blue);
}

.faq-item summary:hover {
  color: var(--blue-dark);
}

.faq-item p {
  margin: 0;
  padding: 0.85rem 0 0.35rem 1.85rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* ---------- Page hero (inner) ---------- */
.page-hero {
  background:
    linear-gradient(180deg, rgba(1, 80, 179, 0.08), rgba(245, 248, 252, 1)),
    radial-gradient(circle at top right, rgba(1, 80, 179, 0.12), transparent 45%);
  padding: 3rem 0 2rem;
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
  max-width: 60ch;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.team-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
}

.team-card .info {
  padding: 1rem;
}

.team-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: var(--blue-deep);
}

.team-card .role {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.team-card .meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.ceo-block {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  align-items: start;
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.ceo-block img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
}

.objectives {
  columns: 2;
  gap: 1.5rem;
}

.objectives li {
  break-inside: avoid;
  margin-bottom: 0.7rem;
  padding-left: 1.2rem;
  position: relative;
  color: var(--text-muted);
}

.objectives li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

/* ---------- Challenges ---------- */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.challenge {
  background: #fff;
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.challenge h3 {
  margin: 0 0 0.5rem;
  color: var(--blue-deep);
}

.challenge p {
  margin: 0;
  color: var(--text-muted);
}

.area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.area-pills span {
  background: var(--blue-soft);
  color: var(--blue-deep);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------- Gallery / filters ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filters button,
.search-box input,
.job-filters select,
.job-filters input {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font: inherit;
}

.filters button.active,
.filters button:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  cursor: pointer;
}

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

.gallery-item,
.cert-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.gallery-item img,
.cert-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cert-item img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #fafafa;
  padding: 0.75rem;
}

.gallery-item:hover img,
.cert-item:hover img {
  transform: scale(1.04);
}

.gallery-item .caption,
.cert-item .caption {
  padding: 0.8rem 1rem;
  font-weight: 700;
  color: var(--blue-deep);
  font-size: 0.95rem;
}

.gallery-category-card .caption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.gallery-count {
  font-weight: 500;
  font-size: 0.82rem;
  color: #567;
}

.gallery-item.hidden,
.cert-item.hidden {
  display: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  place-items: center;
  z-index: 200;
  padding: 1.5rem;
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-width: min(960px, 100%);
  max-height: 85vh;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 2;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #01265a;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-caption {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  color: #fff;
  font-weight: 600;
  text-align: center;
  max-width: min(720px, 90%);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* ---------- Publications ---------- */
.pub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.pub-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pub-card h3 {
  margin: 0;
  color: var(--blue-deep);
}

.pub-card p {
  margin: 0;
  color: var(--text-muted);
  flex: 1;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
}

.contact-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin: 0 0 1rem;
  color: var(--blue-deep);
}

.contact-list li {
  margin-bottom: 0.9rem;
  color: var(--text-muted);
}

.contact-list strong {
  display: block;
  color: var(--blue-deep);
}

.map-embed {
  border: 0;
  width: 100%;
  min-height: 360px;
  border-radius: 16px;
}

/* ---------- Donate page ---------- */
.donate-page {
  display: grid;
  gap: 1.75rem;
}

.donate-intro h2 {
  margin: 0 0 0.75rem;
  color: var(--blue-deep);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}

.donate-intro p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 48rem;
}

.donate-panels {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 1.25rem;
}

.donate-panel {
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(240, 247, 252, 0.95));
  border: 1px solid rgba(5, 58, 134, 0.1);
  border-radius: 18px;
  padding: 1.6rem 1.5rem;
  box-shadow: 0 14px 34px rgba(5, 58, 134, 0.08);
}

.donate-panel-accent {
  background:
    linear-gradient(160deg, #053a86 0%, #0a5cad 100%);
  color: #e8f1fb;
  border: none;
}

.donate-panel h3 {
  margin: 0 0 0.85rem;
  color: var(--blue-deep);
  font-size: 1.25rem;
}

.donate-panel-accent h3 {
  color: #fff;
}

.donate-panel > p {
  margin: 0 0 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.donate-panel-accent > p,
.donate-panel-accent .donate-note {
  color: #d7e6f7;
}

.donate-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.donate-list li {
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.donate-list strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--blue-deep);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.donate-panel-accent .donate-list strong {
  color: rgba(255, 255, 255, 0.75);
}

.donate-list a {
  color: var(--blue);
  font-weight: 600;
}

.donate-panel-accent .donate-list a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.donate-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.btn-outline-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  background: transparent;
}

.btn-outline-blue:hover {
  background: var(--blue);
  color: #fff;
}

.donate-note {
  margin: 1.1rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.donate-impact {
  padding: 1.4rem 1.5rem;
  border-radius: 16px;
  background: #f3f8fd;
  border: 1px solid rgba(5, 58, 134, 0.08);
}

.donate-impact h3 {
  margin: 0 0 0.75rem;
  color: var(--blue-deep);
}

.donate-impact ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.donate-impact li + li {
  margin-top: 0.35rem;
}

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

/* ---------- Careers ---------- */
.job-filters {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.job-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.job-card h3 {
  margin: 0 0 0.4rem;
  color: var(--blue-deep);
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.job-meta span {
  background: var(--blue-soft);
  color: var(--blue-deep);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}

/* ---------- Subscribe CTA (above footer) ---------- */
.subscribe-cta {
  position: relative;
  padding: 3.5rem 0 2.5rem;
  background:
    radial-gradient(ellipse 80% 70% at 10% 20%, rgba(56, 148, 220, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 60% at 90% 80%, rgba(5, 58, 134, 0.12), transparent 50%),
    linear-gradient(165deg, #e8f2fb 0%, #f4f8fc 45%, #eef5fb 100%);
  overflow: hidden;
}

.subscribe-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(5, 58, 134, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 58, 134, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
  pointer-events: none;
}

.subscribe-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 2.25rem 2rem 2.4rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(5, 58, 134, 0.1);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(5, 58, 134, 0.1);
  backdrop-filter: blur(6px);
}

.subscribe-cta-inner h2 {
  margin: 0 0 0.65rem;
  color: var(--blue-deep, #053a86);
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  line-height: 1.2;
}

.subscribe-cta-inner > p {
  margin: 0 auto 1.4rem;
  max-width: 34rem;
  color: var(--text-muted, #5a6b80);
  line-height: 1.65;
}

.subscribe-cta .subscribe {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 520px;
  margin: 0 auto;
}

.subscribe-cta .subscribe input {
  flex: 1;
  min-width: 200px;
  border: 1px solid rgba(5, 58, 134, 0.18);
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  background: #fff;
  font: inherit;
  color: var(--text, #1a2a3a);
  box-shadow: inset 0 1px 2px rgba(5, 58, 134, 0.04);
}

.subscribe-cta .subscribe input:focus {
  outline: 2px solid rgba(5, 58, 134, 0.35);
  outline-offset: 1px;
}

.subscribe-cta .subscribe .btn {
  border-radius: 999px;
  padding: 0.85rem 1.55rem;
  white-space: nowrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #053a86, #01265a);
  color: #dce8f8;
  padding-top: 3.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.9fr 1.1fr;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  align-items: start;
}

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

.footer-logo {
  display: block;
  width: min(210px, 100%);
  height: auto;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  padding: 0.65rem 0.85rem;
}

.footer-brand p {
  margin: 0;
  max-width: 20rem;
  color: #c7d8ef;
  line-height: 1.6;
  font-size: 0.95rem;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.site-footer p {
  margin: 0 0 1rem;
  color: #c7d8ef;
}

.site-footer a {
  color: #dce8f8;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer li {
  margin-bottom: 0.55rem;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li {
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-menu a {
  display: block;
  padding: 0.28rem 0;
}

.subscribe {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.subscribe input {
  flex: 1;
  min-width: 180px;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1rem;
}

.footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  background: #fff;
  color: #053a86;
  transform: translateY(-2px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #011a3f;
  padding: 1rem 0;
  font-size: 0.9rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-credit {
  margin: 0;
  color: #c7d8ef;
  text-align: right;
}

.footer-credit a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.footer-credit a:hover {
  text-decoration: underline;
}

.social-row {
  display: flex;
  gap: 0.75rem;
}

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }

.banner-strip {
  margin: 2rem 0 0;
}

.banner-strip img {
  width: 100%;
  border-radius: 16px;
  max-height: 420px;
  min-height: 300px;
  object-fit: contain;
  background: #eef5fc;
}

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
  .subscribe-cta {
    padding: 2.5rem 0 1.75rem;
  }

  .subscribe-cta-inner {
    padding: 1.6rem 1.15rem 1.75rem;
    border-radius: 16px;
  }

  .subscribe-cta .subscribe {
    flex-direction: column;
  }

  .subscribe-cta .subscribe .btn {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .partners-card,
  .split,
  .feature-media,
  .faq-wrap,
  .ceo-block,
  .donate .container,
  .contact-grid,
  .footer-top,
  .campaign-card,
  .ramazan-banner-inner {
    grid-template-columns: 1fr;
  }

  .campaign-title-col {
    padding: 0 0 1.25rem;
  }

  .campaign-card h2 {
    max-width: none;
  }

  .campaign-body-col {
    margin-left: 0;
    padding: 1.75rem 1.25rem 1.5rem;
    box-shadow: 0 10px 28px rgba(1, 80, 179, 0.08);
  }

  .ramazan-banner {
    background-attachment: scroll;
    min-height: 460px;
  }

  .ramazan-play {
    justify-self: start;
    width: 88px;
    height: 88px;
  }

  .program-accordion {
    flex-direction: column;
    height: auto;
  }

  .program-panel {
    flex: none !important;
    min-height: 72px;
    height: 72px;
  }

  .program-panel.active {
    height: 360px;
  }

  .program-panel .panel-label {
    writing-mode: horizontal-tb;
    transform: none;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem 1.2rem;
  }

  .cards,
  .team-grid,
  .gallery-grid,
  .cert-grid,
  .pub-grid,
  .news-grid,
  .news-carousel,
  .challenge-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid.news-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .job-filters {
    grid-template-columns: 1fr 1fr;
  }

  .nav-toggle {
    display: inline-block;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1rem;
  }

  .page-home .main-nav {
    left: 1rem;
    right: 1rem;
    border-radius: 0 0 16px 16px;
    border: 1px solid var(--line);
    border-top: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-home .nav-inner {
    position: relative;
  }

  .faq-wrap {
    gap: 1.5rem;
  }

  .faq-intro h2 {
    margin-top: 1.2rem;
  }
}

@media (max-width: 640px) {
  .cards,
  .team-grid,
  .gallery-grid,
  .cert-grid,
  .pub-grid,
  .news-grid,
  .news-grid-3,
  .news-carousel,
  .challenge-grid,
  .stats,
  .job-filters {
    grid-template-columns: 1fr;
  }

  .partners {
    margin-top: -2.5rem;
  }

  .partners-card {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .job-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .hero-content {
    min-height: 560px;
  }

  .hero-content {
    padding-bottom: 8rem;
  }

  .objectives {
    columns: 1;
  }

  .hero-nav {
    display: none;
  }
}

/* ---------- Job detail pages ---------- */
.job-layout {
  max-width: 860px;
}

.job-detail h2 {
  margin: 0.35rem 0 0.5rem;
  color: var(--blue-deep);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  line-height: 1.25;
}

.job-back {
  margin: 0 0 0.75rem;
}

.job-back a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

.job-back a:hover {
  text-decoration: underline;
}

.job-byline {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.job-body h3 {
  margin: 1.75rem 0 0.65rem;
  color: var(--blue-deep);
  font-size: 1.2rem;
}

.job-body p,
.job-body li {
  color: var(--text);
  line-height: 1.7;
}

.job-body ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

.job-body li + li {
  margin-top: 0.35rem;
}

.job-meta-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.1rem 1.25rem;
  background: var(--bg-alt, #f5f8fc);
  border-radius: 12px;
}

.job-meta-bar span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.job-meta-bar strong {
  color: var(--blue-deep);
  font-size: 1rem;
}

.job-apply {
  margin-top: 0.5rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(15, 45, 90, 0.08);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.job-apply h3 {
  margin: 0 0 1rem;
  color: var(--blue-deep);
}

.job-apply-form .form-row {
  margin-bottom: 1rem;
}

.job-apply-form .form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.job-apply-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: var(--blue-deep);
  font-size: 0.92rem;
}

.job-apply-form input[type="text"],
.job-apply-form input[type="email"],
.job-apply-form input[type="tel"],
.job-apply-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #d5dde8;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

.job-apply-form input[type="file"] {
  width: 100%;
  font: inherit;
}

.job-related {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(15, 45, 90, 0.1);
}

.job-related h3 {
  margin: 0 0 0.65rem;
  color: var(--blue-deep);
  font-size: 1.1rem;
}

.job-related-link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.job-related-link:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .job-meta-bar {
    grid-template-columns: 1fr;
  }

  .job-apply-form .form-row.two {
    grid-template-columns: 1fr;
  }
}
