/* ==========================================================================
   Zainab Memorial Welfare Society
   Main stylesheet
   Palette derived from the organisation seal: teal ring, gold rim,
   indigo lettering, lotus rose.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — taken from the logo */
  --teal-800: #1B5C58;
  --teal-700: #22726D;
  --teal-600: #2E8C86;
  --teal-500: #45AEA6;
  --teal-200: #B7DEDA;
  --teal-100: #D9EDEB;
  --teal-050: #F1F8F7;

  --gold-600: #B8862B;
  --gold-500: #D3A343;
  --gold-200: #EFDCAE;
  --gold-050: #FBF5E7;

  --indigo-900: #241C3D;
  --indigo-800: #2C2545;
  --rose-500: #E4577E;

  /* Text — change these two lines to restyle every heading / paragraph */
  --ink: #2C2545;          /* headings */
  --body: #5C6672;         /* paragraphs */
  --muted: #8A939C;        /* meta, captions */

  /* Surfaces */
  --white: #FFFFFF;
  --paper: #F7FAFA;
  --line: #E4EAEA;
  --line-soft: #EFF3F3;

  /* Type */
  --font-head: 'Roboto', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', Arial, sans-serif;

  /* Spacing */
  --gap: 30px;
  --section-y: 110px;
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 22px;

  --shadow-s: 0 4px 18px rgba(34, 114, 109, .07);
  --shadow-m: 0 14px 40px rgba(34, 114, 109, .10);
  --shadow-l: 0 26px 60px rgba(34, 114, 109, .14);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
}

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

a { color: var(--teal-600); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--gold-600); }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink);
  margin: 0 0 18px;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.012em;
}

h1 { font-size: 54px; font-weight: 700; }
h2 { font-size: 40px; }
h3 { font-size: 26px; }
h4 { font-size: 21px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p { margin: 0 0 20px; max-width: 72ch; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 700; color: var(--ink); }

blockquote {
  margin: 34px 0;
  padding: 30px 34px;
  background: var(--teal-050);
  border-left: 4px solid var(--gold-500);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--teal-200); color: var(--indigo-900); }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow { max-width: 880px; }

.section { padding: var(--section-y) 0; }
.section--tight { padding: 78px 0; }
.section--paper { background: var(--paper); }
.section--mint { background: var(--teal-050); }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

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

.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;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 999;
  background: var(--teal-700); color: #fff;
  padding: 12px 20px; border-radius: 0 0 var(--radius-s) var(--radius-s);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* --------------------------------------------------------------------------
   4. Section headings
   -------------------------------------------------------------------------- */
.sec-head { max-width: 720px; margin-bottom: 58px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  color: var(--teal-700);
  margin-bottom: 14px;
}
.sec-eyebrow::before {
  content: '';
  width: 26px; height: 26px;
  border: 1.5px solid var(--gold-500);
  border-radius: 50% 50% 50% 0;
  transform: rotate(45deg);
  flex: none;
}
.sec-head--center .sec-eyebrow { justify-content: center; }

.sec-head h2 { margin-bottom: 16px; }
.sec-head p { color: var(--body); font-size: 17px; }
.sec-head--center p { margin-left: auto; margin-right: auto; }

.sec-head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.sec-head--split > div { max-width: 640px; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  padding: 17px 32px;
  border: 1.5px solid transparent;
  border-radius: 40px;
  cursor: pointer;
  transition: all .3s var(--ease);
  white-space: nowrap;
}
.btn i { font-size: 14px; }

.btn-primary { background: var(--teal-600); color: #fff; border-color: var(--teal-600); }
.btn-primary:hover { background: var(--teal-800); border-color: var(--teal-800); color: #fff; }

.btn-gold { background: var(--gold-500); color: var(--indigo-900); border-color: var(--gold-500); }
.btn-gold:hover { background: var(--gold-600); border-color: var(--gold-600); color: #fff; }

.btn-outline { background: transparent; color: var(--teal-700); border-color: var(--teal-200); }
.btn-outline:hover { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }

.btn-white { background: #fff; color: var(--teal-700); border-color: #fff; }
.btn-white:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--indigo-900); }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost-light:hover { background: #fff; border-color: #fff; color: var(--teal-700); }

.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 13px 24px; font-size: 14px; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--teal-700);
}
.link-more i { font-size: 12px; transition: transform .25s var(--ease); }
.link-more:hover i { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Top bar
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--indigo-800);
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
  line-height: 1.6;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 48px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar__contact { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.topbar__contact a { color: rgba(255, 255, 255, .82); display: inline-flex; align-items: center; gap: 9px; }
.topbar__contact a:hover { color: var(--gold-500); }
.topbar__contact i { color: var(--teal-500); font-size: 14px; }

.topbar__social { display: flex; align-items: center; gap: 8px; }
.topbar__social span { margin-right: 6px; color: rgba(255, 255, 255, .55); }
.topbar__social a {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
}
.topbar__social a:hover { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }

/* --------------------------------------------------------------------------
   7. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  z-index: 90;
}
.site-header.is-stuck {
  position: fixed;
  top: 0; left: 0; right: 0;
  box-shadow: 0 6px 26px rgba(34, 114, 109, .10);
  animation: dropIn .35s var(--ease);
}
@keyframes dropIn { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 92px;
}

.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand img { width: 62px; height: 62px; border-radius: 50%; }
.brand__text { line-height: 1.2; }
.brand__name {
  display: block;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}
.brand__tag {
  display: block;
  font-size: 12.5px;
  color: var(--teal-700);
  letter-spacing: .04em;
}

.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block;
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  padding: 12px 15px;
  border-radius: var(--radius-s);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 15px; right: 15px; bottom: 4px;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.main-nav a:hover { color: var(--teal-700); }
.main-nav a:hover::after,
.main-nav .is-active a::after { transform: scaleX(1); }
.main-nav .is-active a { color: var(--teal-700); }

.header__actions { display: flex; align-items: center; gap: 12px; flex: none; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-s);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(340px, 86vw);
  background: #fff;
  z-index: 200;
  padding: 26px 26px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .38s var(--ease);
  box-shadow: -20px 0 50px rgba(36, 28, 61, .16);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.mobile-nav__close {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  background: #fff; border-radius: 50%;
  cursor: pointer; color: var(--ink); font-size: 16px;
}
.mobile-nav ul li + li { border-top: 1px solid var(--line-soft); }
.mobile-nav a {
  display: block;
  padding: 14px 2px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
}
.mobile-nav a:hover { color: var(--teal-700); }
/* .mobile-nav a rule is button ko block bana deta tha — yahan wapas
   flex kar ke text ko beech mein la rahe hain, icon kinare par. */
.mobile-nav .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 24px;
  padding: 16px 22px;
  text-align: center;
}
.mobile-nav .btn:hover { color: #fff; }
.mobile-nav .btn i { position: absolute; left: 22px; }

.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(36, 28, 61, .5);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
  z-index: 150;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   8. Hero slider
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--indigo-900);
}
.hero__viewport { position: relative; min-height: 660px; }

.hero__viewport {
  display: grid;
  grid-template-columns: 1fr;
}
.hero__slide {
  position: relative;
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s var(--ease), visibility .9s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }

.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(27, 92, 88, .93) 0%, rgba(27, 92, 88, .78) 42%, rgba(36, 28, 61, .40) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  min-height: 660px;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 120px;
}
.hero__content { max-width: 640px; }

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-200);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 20px;
}
.hero__kicker::before {
  content: '';
  width: 34px; height: 1.5px;
  background: var(--gold-500);
}

.hero h1,
.hero .hero-title {
  color: #fff;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.012em;
  margin-bottom: 22px;
}
.hero p {
  color: rgba(255, 255, 255, .88);
  font-size: 18px;
  line-height: 1.85;
  margin-bottom: 34px;
  max-width: 56ch;
}
.hero p strong { color: #fff; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; }

/* Slider controls */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.hero__arrow:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--indigo-900); }
.hero__arrow--prev { left: 30px; }
.hero__arrow--next { right: 30px; }

.hero__dots {
  position: absolute;
  left: 0; right: 0; bottom: 132px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.hero__dots button {
  width: 34px; height: 4px;
  border: 0; padding: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, .34);
  cursor: pointer;
  transition: background .3s var(--ease), width .3s var(--ease);
}
.hero__dots button.is-active { background: var(--gold-500); width: 52px; }

/* --------------------------------------------------------------------------
   9. Quick action strip
   -------------------------------------------------------------------------- */
.quick-actions { position: relative; z-index: 10; margin-top: -78px; }
.quick-actions__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  overflow: hidden;
}
.quick-action {
  padding: 40px 30px;
  text-align: center;
  border-right: 1px solid var(--line-soft);
  transition: background .3s var(--ease);
}
.quick-action:last-child { border-right: 0; }
.quick-action:hover { background: var(--teal-050); }
.quick-action__icon {
  width: 66px; height: 66px;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  border: 1.5px solid var(--teal-200);
  border-radius: 50% 50% 50% 6px;
  color: var(--teal-600);
  font-size: 24px;
  transition: all .3s var(--ease);
}
.quick-action:hover .quick-action__icon {
  border-color: var(--gold-500);
  color: var(--gold-600);
}
.quick-action h3 { font-size: 19px; margin-bottom: 8px; }
.quick-action p { font-size: 14.5px; margin-bottom: 14px; line-height: 1.7; }

/* --------------------------------------------------------------------------
   10. About
   -------------------------------------------------------------------------- */
.about__layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 70px;
  align-items: center;
}
.about__figure { position: relative; }
.about__figure > img {
  border-radius: var(--radius-l);
  width: 100%;
}
.about__inset {
  position: absolute;
  right: -34px; bottom: -34px;
  width: 216px;
  border-radius: var(--radius-m);
  border: 8px solid #fff;
  box-shadow: var(--shadow-m);
}
.about__badge {
  position: absolute;
  left: -26px; top: 40px;
  background: var(--gold-500);
  color: var(--indigo-900);
  padding: 20px 26px;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  font-family: var(--font-head);
  text-align: center;
}
.about__badge span { display: block; font-size: 32px; font-weight: 700; line-height: 1; }
.about__badge small { font-size: 13px; font-weight: 500; }

.about__points { display: grid; gap: 20px; margin: 28px 0 34px; }
.about__point { display: flex; gap: 16px; align-items: flex-start; }
.about__point i {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--teal-050);
  color: var(--teal-600);
  font-size: 17px;
}
.about__point h4 { font-size: 18px; margin-bottom: 4px; }
.about__point p { font-size: 15px; margin: 0; }

/* --------------------------------------------------------------------------
   11. Cause cards
   -------------------------------------------------------------------------- */
.cause-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.cause-card:hover { box-shadow: var(--shadow-m); border-color: var(--teal-200); }

.cause-card__media { position: relative; overflow: hidden; }
.cause-card__media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.cause-card__tag {
  position: absolute;
  left: 18px; top: 18px;
  background: var(--gold-500);
  color: var(--indigo-900);
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 15px;
  border-radius: 30px;
}
.cause-card__body { padding: 28px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.cause-card__body h3 { font-size: 21px; margin-bottom: 10px; }
.cause-card__body h3 a { color: inherit; }
.cause-card__body h3 a:hover { color: var(--teal-700); }
.cause-card__body p { font-size: 15px; margin-bottom: 22px; }
.cause-card__foot { margin-top: auto; }

.progress { margin-bottom: 14px; }
.progress__track {
  height: 8px;
  background: var(--teal-050);
  border-radius: 8px;
  overflow: hidden;
}
.progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--teal-600), var(--teal-500));
  border-radius: 8px;
  width: 0;
  transition: width 1.2s var(--ease);
}
.progress__meta {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 8px;
}
.progress__meta strong { color: var(--ink); font-family: var(--font-head); }

.cause-card__stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
}
.cause-card__stats b { font-family: var(--font-head); color: var(--teal-700); }

/* --------------------------------------------------------------------------
   12. Video band
   -------------------------------------------------------------------------- */
.video-band { position: relative; overflow: hidden; }
.video-band__bg { position: absolute; inset: 0; }
.video-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.video-band__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(27, 92, 88, .94), rgba(36, 28, 61, .78));
}
.video-band__inner {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 120px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}
.video-band h2, .video-band .sec-eyebrow { color: #fff; }
.video-band .sec-eyebrow { color: var(--gold-200); }
.video-band .sec-eyebrow::before { border-color: var(--gold-500); }
.video-band p { color: rgba(255, 255, 255, .86); }
.video-band .sec-head { margin-bottom: 30px; }

.video-play {
  justify-self: center;
  width: 116px; height: 116px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .1);
  border: 1.5px solid rgba(255, 255, 255, .5);
  color: #fff;
  font-size: 30px;
  position: relative;
}
.video-play:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--indigo-900); }
.video-play::before {
  content: '';
  position: absolute; inset: -18px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  animation: ripple 2.8s var(--ease) infinite;
}
@keyframes ripple {
  0% { transform: scale(.9); opacity: .9; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* --------------------------------------------------------------------------
   13. Services / what we do
   -------------------------------------------------------------------------- */
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 42px 32px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.service-card:hover {
  border-color: var(--teal-200);
  box-shadow: var(--shadow-m);
  transform: translateY(-6px);
}
.service-card__icon {
  width: 74px; height: 74px;
  display: grid; place-items: center;
  border: 1.5px solid var(--teal-200);
  border-radius: 50% 50% 50% 8px;
  color: var(--teal-600);
  font-size: 27px;
  margin-bottom: 24px;
  transition: all .35s var(--ease);
}
.service-card:hover .service-card__icon {
  background: var(--teal-600);
  border-color: var(--teal-600);
  color: #fff;
}
.service-card h3 { font-size: 21px; margin-bottom: 12px; }
.service-card p { font-size: 15px; margin-bottom: 18px; }

/* --------------------------------------------------------------------------
   14. Mission / vision split
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split--reverse .split__figure { order: 2; }
.split__figure img { border-radius: var(--radius-l); width: 100%; }
.split__figure { position: relative; }
.split__figure::before {
  content: '';
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1.5px solid var(--gold-200);
  border-radius: var(--radius-l);
  z-index: -1;
}
.split--reverse .split__figure::before { inset: 22px 22px -22px -22px; }
.split ul { display: grid; gap: 12px; margin: 24px 0 30px; }
.split ul li { position: relative; padding-left: 28px; font-size: 15.5px; }
.split ul li i { position: absolute; left: 0; top: 7px; color: var(--teal-600); font-size: 15px; }

/* --------------------------------------------------------------------------
   15. Donate CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--teal-700);
}
.cta-band__bg { position: absolute; inset: 0; opacity: .18; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__inner {
  position: relative; z-index: 2;
  padding-top: 96px;
  padding-bottom: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; max-width: 18ch; }
.cta-band p { color: rgba(255, 255, 255, .88); max-width: 52ch; margin: 0; }
.cta-band__buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   16. Counters
   -------------------------------------------------------------------------- */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.counter { text-align: center; padding: 34px 18px; border-right: 1px solid var(--line); }
.counter:last-child { border-right: 0; }
.counter i { color: var(--gold-500); font-size: 26px; margin-bottom: 14px; display: block; }
.counter__num {
  font-family: var(--font-head);
  font-size: 46px;
  font-weight: 700;
  color: var(--teal-700);
  line-height: 1;
  letter-spacing: -.02em;
}
.counter__label { font-size: 15px; color: var(--body); margin-top: 8px; }

/* --------------------------------------------------------------------------
   17. Events
   -------------------------------------------------------------------------- */
.event-card {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.event-card:hover { box-shadow: var(--shadow-m); border-color: var(--teal-200); }
.event-card__media { position: relative; }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.event-card__date {
  position: absolute;
  left: 16px; top: 16px;
  background: #fff;
  border-radius: var(--radius-m);
  padding: 12px 16px;
  text-align: center;
  font-family: var(--font-head);
  box-shadow: var(--shadow-s);
}
.event-card__date span { display: block; font-size: 25px; font-weight: 700; color: var(--teal-700); line-height: 1; }
.event-card__date small { font-size: 12px; color: var(--muted); }
.event-card__body { padding: 30px 30px; }
.event-card__body h3 { font-size: 22px; margin-bottom: 12px; }
.event-card__body h3 a { color: inherit; }
.event-card__body h3 a:hover { color: var(--teal-700); }
.event-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.event-meta span { display: inline-flex; align-items: center; gap: 8px; }
.event-meta i { color: var(--teal-500); }
.event-card__body p { font-size: 15px; margin-bottom: 18px; }

/* --------------------------------------------------------------------------
   18. Gallery
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  display: block;
}
.gallery-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(34, 114, 109, .82);
  color: #fff;
  font-size: 24px;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover img { transform: scale(1.06); }

/* --------------------------------------------------------------------------
   19. Blog cards
   -------------------------------------------------------------------------- */
.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.post-card:hover { box-shadow: var(--shadow-m); border-color: var(--teal-200); }
.post-card__media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.post-card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.post-meta span { display: inline-flex; align-items: center; gap: 7px; }
.post-meta i { color: var(--teal-500); }
.post-card__body h3 { font-size: 20px; margin-bottom: 10px; }
.post-card__body h3 a { color: inherit; }
.post-card__body h3 a:hover { color: var(--teal-700); }
.post-card__body p { font-size: 15px; margin-bottom: 20px; }
.post-card__body .link-more { margin-top: auto; align-self: flex-start; }

/* --------------------------------------------------------------------------
   20. Newsletter
   -------------------------------------------------------------------------- */
.newsletter {
  background: var(--indigo-800);
  border-radius: var(--radius-l);
  padding: 60px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.newsletter h2 { color: #fff; font-size: 32px; margin-bottom: 10px; }
.newsletter p { color: rgba(255, 255, 255, .78); margin: 0; font-size: 15.5px; }
.newsletter__form { display: flex; gap: 12px; }
.newsletter__form input {
  flex: 1;
  border: 1.5px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .06);
  border-radius: 40px;
  padding: 16px 24px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
}
.newsletter__form input::placeholder { color: rgba(255, 255, 255, .5); }
.newsletter__form input:focus { outline: none; border-color: var(--gold-500); }

/* --------------------------------------------------------------------------
   21. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--indigo-900); color: rgba(255, 255, 255, .72); padding-top: 90px; }
.site-footer h4 {
  color: #fff;
  font-size: 19px;
  margin-bottom: 26px;
  position: relative;
  padding-bottom: 14px;
}
.site-footer h4::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 38px; height: 2px;
  background: var(--gold-500);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr;
  gap: 50px;
  padding-bottom: 70px;
}
.footer__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.footer__brand img { width: 62px; height: 62px; border-radius: 50%; }
.footer__brand span {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.footer__about p { font-size: 15px; color: rgba(255, 255, 255, .66); }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  color: rgba(255, 255, 255, .8);
  font-size: 15px;
}
.footer__social a:hover { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }

.footer__links li + li { margin-top: 13px; }
.footer__links a { color: rgba(255, 255, 255, .72); font-size: 15px; display: inline-flex; align-items: center; gap: 10px; }
.footer__links a i { font-size: 11px; color: var(--gold-500); }
.footer__links a:hover { color: var(--gold-500); }

.footer__contact li { display: flex; gap: 14px; font-size: 15px; margin-bottom: 18px; align-items: flex-start; }
.footer__contact i { color: var(--teal-500); font-size: 16px; margin-top: 6px; flex: none; }
.footer__contact a { color: rgba(255, 255, 255, .72); }
.footer__contact a:hover { color: var(--gold-500); }

.footer__news li { display: flex; gap: 15px; margin-bottom: 20px; }
.footer__news img { width: 74px; height: 74px; border-radius: var(--radius-s); object-fit: cover; flex: none; }
.footer__news h5 { font-size: 15.5px; margin: 0 0 5px; line-height: 1.5; }
.footer__news h5 a { color: rgba(255, 255, 255, .9); }
.footer__news h5 a:hover { color: var(--gold-500); }
.footer__news time { font-size: 13px; color: rgba(255, 255, 255, .5); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14.5px;
}
.footer__bottom p { margin: 0; color: rgba(255, 255, 255, .6); }
.footer__bottom ul { display: flex; gap: 24px; }
.footer__bottom a { color: rgba(255, 255, 255, .6); }
.footer__bottom a:hover { color: var(--gold-500); }

.to-top {
  position: fixed;
  right: 28px; bottom: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--teal-600);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  z-index: 80;
  opacity: 0; visibility: hidden;
  transform: translateY(14px);
  transition: all .3s var(--ease);
  box-shadow: var(--shadow-m);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gold-500); color: var(--indigo-900); }

/* --------------------------------------------------------------------------
   22. Inner page header + breadcrumb
   -------------------------------------------------------------------------- */
.page-head { position: relative; overflow: hidden; background: var(--indigo-900); }
.page-head__bg { position: absolute; inset: 0; }
.page-head__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-head__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(27, 92, 88, .93), rgba(36, 28, 61, .82));
}
.page-head__inner { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 96px; }
.page-head h1 { color: #fff; font-size: 46px; margin-bottom: 14px; }
.page-head p { color: rgba(255, 255, 255, .82); max-width: 58ch; margin: 0; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 18px; font-size: 14.5px; }
.breadcrumb a { color: var(--gold-200); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255, 255, 255, .62); }
.breadcrumb i { font-size: 10px; color: rgba(255, 255, 255, .45); }

/* --------------------------------------------------------------------------
   23. Forms
   -------------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { display: flex; flex-direction: column; gap: 9px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
}
.form-field input,
.form-field select,
.form-field textarea {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-m);
  background: #fff;
  padding: 15px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  width: 100%;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form-field textarea { min-height: 160px; resize: vertical; line-height: 1.7; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px var(--teal-050);
}
.form-note { font-size: 13.5px; color: var(--muted); }

/* --------------------------------------------------------------------------
   24. Donate page
   -------------------------------------------------------------------------- */
.donate-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 50px; align-items: start; }

.donate-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 42px 40px;
  box-shadow: var(--shadow-s);
}
.donate-step { margin-bottom: 36px; }
.donate-step:last-child { margin-bottom: 0; }
.donate-step__title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head);
  font-size: 19px; font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
}
.donate-step__title b {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--teal-050);
  color: var(--teal-700);
  font-size: 14px;
  flex: none;
}

.amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.amount-option input { position: absolute; opacity: 0; pointer-events: none; }
.amount-option label {
  display: block;
  text-align: center;
  padding: 18px 10px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-m);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  cursor: pointer;
  transition: all .25s var(--ease);
}
.amount-option label:hover { border-color: var(--teal-500); }
.amount-option input:checked + label {
  background: var(--teal-600);
  border-color: var(--teal-600);
  color: #fff;
}
.amount-option input:focus-visible + label { outline: 3px solid var(--gold-500); outline-offset: 3px; }

/* Payment method tiles */
.pay-tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.pay-tile input { position: absolute; opacity: 0; pointer-events: none; }
.pay-tile label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 8px 15px;
  height: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-m);
  cursor: pointer;
  text-align: center;
  transition: all .25s var(--ease);
}
.pay-tile label:hover { border-color: var(--teal-500); }
.pay-tile input:checked + label {
  border-color: var(--teal-600);
  background: var(--teal-050);
  box-shadow: 0 0 0 3px rgba(46, 140, 134, .10);
}
.pay-tile input:focus-visible + label { outline: 3px solid var(--gold-500); outline-offset: 3px; }
.pay-tile__mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1.5px solid var(--teal-200);
  border-radius: var(--radius-s);
  color: var(--teal-600);
  font-size: 18px;
  transition: all .25s var(--ease);
}
.pay-tile input:checked + label .pay-tile__mark {
  border-color: var(--teal-600);
  background: var(--teal-600);
  color: #fff;
}
.pay-tile__name {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
}

/* Payment details panel */
.pay-panel {
  margin-top: 22px;
  padding: 26px 26px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
}
.pay-panel[hidden] { display: none; }
.pay-panel__badge {
  display: inline-block;
  background: var(--indigo-800);
  color: #fff;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .02em;
  padding: 7px 16px;
  border-radius: 30px;
  margin-bottom: 22px;
}
.pay-panel__grid {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 30px;
  align-items: start;
}
.pay-fields { display: grid; }
.pay-field {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.pay-field:last-child { border-bottom: 0; }
.pay-field__label {
  grid-column: 1 / -1;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: .03em;
  margin-bottom: 2px;
}
.pay-field__value {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  word-break: break-word;
}

.copy-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-s);
  color: var(--teal-700);
  font-size: 14px;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.copy-btn:hover { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.copy-btn.is-copied { background: var(--gold-500); border-color: var(--gold-500); color: var(--indigo-900); }

.pay-qr {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 16px 16px 12px;
  text-align: center;
}
.pay-qr img { width: 100%; height: auto; border-radius: var(--radius-s); }
.pay-qr figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; }

.pay-panel__note {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--body);
  max-width: none;
}

.donate-aside { display: grid; gap: 24px; }
.aside-card {
  background: var(--teal-050);
  border-radius: var(--radius-l);
  padding: 32px 30px;
}
.aside-card h3 { font-size: 20px; margin-bottom: 14px; }
.aside-card p { font-size: 15px; }
.aside-card ul { display: grid; gap: 12px; }
.aside-card ul li { position: relative; padding-left: 26px; font-size: 15px; }
.aside-card ul li i { position: absolute; left: 0; top: 7px; color: var(--teal-600); font-size: 14px; }

.bank-list { display: grid; gap: 16px; }
.bank-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}
.bank-row:last-child { border-bottom: 0; padding-bottom: 0; }
.bank-row span { color: var(--muted); }
.bank-row strong { font-family: var(--font-head); color: var(--ink); }

/* --------------------------------------------------------------------------
   25. Sidebar widgets (blog / cause detail)
   -------------------------------------------------------------------------- */
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }

.widget {
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 30px 28px;
  margin-bottom: 28px;
}
.widget:last-child { margin-bottom: 0; }
.widget h3 { font-size: 19px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }

.widget-search { display: flex; gap: 10px; }
.widget-search input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-m);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15px;
}
.widget-search input:focus { outline: none; border-color: var(--teal-500); }
.widget-search button {
  border: 0; background: var(--teal-600); color: #fff;
  width: 48px; border-radius: var(--radius-m); cursor: pointer;
}
.widget-search button:hover { background: var(--teal-800); }

.widget-list li + li { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.widget-list a { display: flex; justify-content: space-between; gap: 12px; color: var(--body); font-size: 15px; }
.widget-list a:hover { color: var(--teal-700); }
.widget-list span { color: var(--muted); font-size: 13.5px; }

.widget-posts li { display: flex; gap: 14px; }
.widget-posts li + li { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.widget-posts img { width: 76px; height: 76px; object-fit: cover; border-radius: var(--radius-s); flex: none; }
.widget-posts h4 { font-size: 15.5px; margin: 0 0 5px; line-height: 1.5; }
.widget-posts h4 a { color: var(--ink); }
.widget-posts h4 a:hover { color: var(--teal-700); }
.widget-posts time { font-size: 13px; color: var(--muted); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-cloud a {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 13.5px;
  color: var(--body);
}
.tag-cloud a:hover { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }

/* Article body */
.article-body h2 { font-size: 30px; margin-top: 40px; }
.article-body h3 { font-size: 23px; margin-top: 34px; }
.article-body img { border-radius: var(--radius-m); margin: 30px 0; }
.article-body ul { display: grid; gap: 12px; margin: 22px 0 28px; }
.article-body ul li { position: relative; padding-left: 28px; }
.article-body ul li i { position: absolute; left: 0; top: 8px; color: var(--teal-600); font-size: 14px; }
.article-body p { max-width: none; }

.article-foot {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  align-items: center;
  margin-top: 44px; padding-top: 26px;
  border-top: 1px solid var(--line);
}
.share-links { display: flex; gap: 10px; align-items: center; }
.share-links span { font-family: var(--font-head); font-size: 14.5px; color: var(--ink); margin-right: 4px; }
.share-links a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--body);
  font-size: 14px;
}
.share-links a:hover { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }

/* --------------------------------------------------------------------------
   26. Team
   -------------------------------------------------------------------------- */
.team-card { text-align: center; }
.team-card__media { position: relative; border-radius: var(--radius-l); overflow: hidden; margin-bottom: 20px; }
.team-card__media img { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; }
.team-card__social {
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  display: flex; justify-content: center; gap: 9px;
  opacity: 0; transform: translateY(12px);
  transition: all .35s var(--ease);
}
.team-card:hover .team-card__social { opacity: 1; transform: translateY(0); }
.team-card__social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: #fff; border-radius: 50%;
  color: var(--teal-700); font-size: 14px;
}
.team-card__social a:hover { background: var(--gold-500); color: var(--indigo-900); }
.team-card h3 { font-size: 19px; margin-bottom: 3px; }
.team-card span { font-size: 14.5px; color: var(--teal-700); }

/* --------------------------------------------------------------------------
   27. FAQ / accordion
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 14px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  text-align: left;
  background: #fff;
  border: 0;
  padding: 22px 26px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.faq__q i { color: var(--teal-600); font-size: 14px; transition: transform .3s var(--ease); flex: none; }
.faq__item.is-open .faq__q { background: var(--teal-050); }
.faq__item.is-open .faq__q i { transform: rotate(45deg); }
.faq__a { display: none; padding: 4px 26px 24px; font-size: 15.5px; }
.faq__item.is-open .faq__a { display: block; }

/* --------------------------------------------------------------------------
   28. Pagination
   -------------------------------------------------------------------------- */
.pagination { display: flex; justify-content: center; gap: 9px; margin-top: 56px; }
.pagination a, .pagination span {
  min-width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--body);
  padding: 0 12px;
}
.pagination a:hover { background: var(--teal-050); border-color: var(--teal-200); color: var(--teal-700); }
.pagination .is-current { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }

/* --------------------------------------------------------------------------
   29. Contact
   -------------------------------------------------------------------------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 38px 32px;
  text-align: center;
}
.contact-card i {
  width: 68px; height: 68px;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  border: 1.5px solid var(--teal-200);
  border-radius: 50% 50% 50% 8px;
  color: var(--teal-600);
  font-size: 23px;
}
.contact-card h3 { font-size: 19px; margin-bottom: 10px; }
.contact-card p, .contact-card a { font-size: 15.5px; color: var(--body); margin: 0; }
.contact-card a:hover { color: var(--teal-700); }

.map-embed {
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  line-height: 0;
}
.map-embed iframe { width: 100%; height: 440px; border: 0; }

/* --------------------------------------------------------------------------
   30. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   31. Alerts & misc (Laravel)
   -------------------------------------------------------------------------- */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 18px 22px;
  border-radius: var(--radius-m);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 8px;
}
.alert i { margin-top: 5px; flex: none; }
.alert ul { display: grid; gap: 6px; }
.alert-success { background: var(--teal-050); border: 1px solid var(--teal-200); color: var(--teal-800); }
.alert-error { background: #FDF1F3; border: 1px solid #F3C9D2; color: #9B2A45; }
.alert-info { background: var(--gold-050); border: 1px solid var(--gold-200); color: var(--gold-600); }

.check-inline {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15.5px;
  color: var(--body);
  cursor: pointer;
}
.check-inline input { width: 18px; height: 18px; accent-color: var(--teal-600); }

.form-field input[type="file"] {
  padding: 11px 14px;
  font-size: 14.5px;
}

/* Laravel pagination (Bootstrap 5 markup) */
.pagination { list-style: none; }
.pagination .page-item { display: inline-block; }
.pagination .page-link {
  min-width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--body);
  padding: 0 12px;
}
.pagination .page-link:hover { background: var(--teal-050); border-color: var(--teal-200); color: var(--teal-700); }
.pagination .active .page-link { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.pagination .disabled .page-link { opacity: .45; pointer-events: none; }
.pagination svg { width: 14px; height: 14px; fill: currentColor; }

/* --------------------------------------------------------------------------
   32. Video cards (gallery page)
   -------------------------------------------------------------------------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.video-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.video-card:hover { box-shadow: var(--shadow-m); border-color: var(--teal-200); }

.video-card__media {
  position: relative;
  display: block;
  overflow: hidden;
}
.video-card__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.video-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 28, 61, 0) 40%, rgba(36, 28, 61, .45) 100%);
}
.video-card:hover .video-card__media img { transform: scale(1.05); }

.video-card__play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 66px; height: 66px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--teal-700);
  font-size: 20px;
  padding-left: 4px;
  transition: all .3s var(--ease);
}
.video-card:hover .video-card__play {
  background: var(--gold-500);
  color: var(--indigo-900);
  transform: translate(-50%, -50%) scale(1.08);
}

.video-card__body { padding: 24px 24px 26px; }
.video-card__body h3 { font-size: 19px; margin-bottom: 8px; }
.video-card__body p { font-size: 15px; margin: 0; }

/* --------------------------------------------------------------------------
   33. Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  background: rgba(31, 26, 77, .94);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }

/* Toolbar — upar dayen taraf */
.lightbox__bar {
  position: absolute;
  top: 18px; right: 22px;
  z-index: 3;
  display: flex;
  gap: 10px;
}
.lightbox__btn {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: all .25s var(--ease);
  text-decoration: none;
}
.lightbox__btn:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--indigo-900);
}
.lightbox__btn:disabled { opacity: .32; pointer-events: none; }
.lightbox__btn[hidden] { display: none; }
.lightbox__btn.is-done { background: var(--teal-500); border-color: var(--teal-500); color: #fff; }

/* Stage aur viewport */
.lightbox__stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 84px 96px 0;
  position: relative;
}

.lightbox__viewport {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
}
.lightbox__viewport.is-zoomed { cursor: grab; }
.lightbox__viewport.is-dragging { cursor: grabbing; }

.lightbox__content {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  will-change: transform;
}
.lightbox__content img,
.lightbox__content video {
  max-width: 100%;
  max-height: calc(100vh - 220px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-m);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox__frame {
  width: min(1100px, 90vw);
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 220px);
  border: 0;
  border-radius: var(--radius-m);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
  background: #000;
}

/* Arrows */
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.lightbox__nav:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--indigo-900); }
.lightbox__nav--prev { left: 26px; }
.lightbox__nav--next { right: 26px; }
.lightbox__nav[hidden] { display: none; }

/* Caption */
.lightbox__foot {
  flex: none;
  padding: 22px 22px 36px;
  text-align: center;
  color: rgba(255, 255, 255, .92);
}
.lightbox__caption {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 500;
  max-width: none;   /* global p ki 72ch limit yahan nahi chahiye */
  margin: 0 0 6px;
}
.lightbox__count {
  font-size: 14.5px;
  color: rgba(255, 255, 255, .58);
}

body.lightbox-open { overflow: hidden; }

@media (max-width: 992px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .lightbox__stage { padding: 76px 62px 0; }
  .lightbox__nav { width: 46px; height: 46px; font-size: 15px; }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
}

@media (max-width: 768px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-card__play { width: 56px; height: 56px; font-size: 17px; }
  .lightbox__bar { top: 12px; right: 12px; gap: 7px; }
  .lightbox__btn { width: 40px; height: 40px; font-size: 14px; }
  .lightbox__stage { padding: 68px 12px 0; }
  .lightbox__nav { width: 40px; height: 40px; font-size: 13px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__content img,
  .lightbox__content video { max-height: calc(100vh - 190px); }
  .lightbox__foot { padding: 16px 16px 24px; }
  .lightbox__caption { font-size: 15.5px; }
}

/* --------------------------------------------------------------------------
   34. Form submit alignment + Turnstile
   -------------------------------------------------------------------------- */
.form-field--submit { align-items: center; text-align: center; }
.form-field--submit .btn { align-self: center; justify-content: center; }
.form-field--submit .form-note { margin-top: 4px; }

/* Turnstile bayen taraf, submit button dayen taraf — ek hi row mein */
.form-row-split {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.form-row-split__left { flex: 0 1 auto; }
.form-row-split__right {
  flex: 0 0 auto;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.form-row-split__right .form-note { margin: 0; text-align: right; }

.cf-turnstile { display: flex; }

@media (max-width: 640px) {
  .form-row-split { flex-direction: column; align-items: stretch; }
  .form-row-split__left { display: flex; justify-content: center; }
  .form-row-split__right { margin-left: 0; align-items: stretch; }
  .form-row-split__right .btn { width: 100%; justify-content: center; }
  .form-row-split__right .form-note { text-align: center; }
}

/* --------------------------------------------------------------------------
   Toasts — neeche se slide hoke aate hain
   -------------------------------------------------------------------------- */
.toast-stack {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(520px, calc(100vw - 32px));
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--indigo-900);
  color: #fff;
  font-size: 15.5px;
  line-height: 1.65;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .30);
  pointer-events: auto;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .32s var(--ease), transform .32s var(--ease);
}
.toast.is-in { opacity: 1; transform: translateY(0); }
.toast.is-out { opacity: 0; transform: translateY(24px); }

.toast--error { background: #9B2A45; }

.toast__icon { flex: none; margin-top: 3px; font-size: 16px; }
.toast--success .toast__icon { color: var(--teal-500); }
.toast--error .toast__icon { color: #FFC9D4; }

.toast__body { flex: 1; min-width: 0; }
.toast__body ul { display: grid; gap: 4px; }
.toast__body li { list-style: none; }

.toast__close {
  flex: none;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.toast__close:hover { background: rgba(255, 255, 255, .26); }

@media (max-width: 640px) {
  .toast-stack { bottom: 16px; width: calc(100vw - 24px); }
  .toast { padding: 14px 16px; font-size: 15px; }
}
