:root {
  --ink: #10201d;
  --muted: #64736e;
  --paper: #fbfaf4;
  --cream: #f2eadc;
  --teal-950: #082d2b;
  --teal-900: #0b3c39;
  --teal-700: #0f726d;
  --mint: #bfe6db;
  --aqua: #72d4c6;
  --accent: #2fc3b5;
  --accent-2: #d7f4ee;
  --sand: #e5efe9;
  --line: rgba(16, 32, 29, 0.12);
  --glass: rgba(255, 255, 255, 0.16);
  --glass-line: rgba(255, 255, 255, 0.28);
  --shadow: 0 28px 80px rgba(8, 45, 43, 0.2);
  --radius: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translate(-50%, -18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

@keyframes softZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@keyframes orbitTurn {
  to { transform: rotate(360deg); }
}

@keyframes floatPanel {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shimmerLine {
  0% { transform: translateX(-120%); opacity: 0; }
  30% { opacity: 0.6; }
  100% { transform: translateX(120%); opacity: 0; }
}

@keyframes gentleGlow {
  0%, 100% { box-shadow: 0 22px 58px rgba(8, 45, 43, 0.14); }
  50% { box-shadow: 0 26px 70px rgba(47, 195, 181, 0.2); }
}

@keyframes flyerFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(114, 212, 198, 0.2), transparent 28rem),
    radial-gradient(circle at 90% 20%, rgba(47, 195, 181, 0.16), transparent 24rem),
    var(--paper);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

section {
  scroll-margin-top: 110px;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 30;
  width: min(1180px, calc(100% - 32px));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  box-shadow: 0 18px 55px rgba(8, 45, 43, 0.14);
  backdrop-filter: blur(22px) saturate(1.25);
  transform: translateX(-50%);
  animation: headerDrop 0.7s cubic-bezier(0.18, 0.9, 0.2, 1) both;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 240px;
  padding-left: 3px;
}

.brand img,
.site-footer img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(114, 212, 198, 0.16);
}

.brand span {
  display: grid;
  line-height: 1.07;
}

.brand strong {
  color: var(--teal-950);
  font-size: 16px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 2px;
}

.nav a {
  padding: 11px 12px;
  color: rgba(16, 32, 29, 0.7);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
  color: var(--teal-950);
  background: rgba(15, 114, 109, 0.1);
  transform: translateY(-1px);
}

.donate-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.donate-link:hover,
.button:hover {
  transform: translateY(-2px);
}

.donate-link,
.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--teal-700));
  color: white;
  box-shadow: 0 14px 32px rgba(47, 195, 181, 0.24);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.34);
  color: white;
  backdrop-filter: blur(16px);
}

.button.ghost.dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: white;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
}

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

.prayer-dock {
  position: fixed;
  right: 28px;
  bottom: 20px;
  z-index: 42;
}

.quick-actions {
  position: fixed;
  right: 28px;
  bottom: 20px;
  z-index: 41;
  display: grid;
  gap: 3px;
}

.quick-actions a,
.quick-actions button {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  color: white;
  background: rgba(8, 45, 43, 0.78);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(8, 45, 43, 0.2);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.quick-actions a:hover,
.quick-actions button:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 30px rgba(8, 45, 43, 0.26);
  filter: saturate(1.12);
}

.quick-actions i,
.prayer-dock-toggle i {
  color: white;
  font-size: 1.5rem;
  line-height: 1;
}

.quick-phone {
  background: #598bc1 !important;
}

.quick-location {
  background: #fbbd05 !important;
}

.quick-whatsapp {
  background: #01e676 !important;
}

.quick-mawaqit {
  background: #1b8f87 !important;
}

.prayer-dock-toggle {
  position: relative;
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, #ff2a1f, #e4140b);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(228, 20, 11, 0.26);
  cursor: pointer;
  animation: prayerPulse 2.4s ease-in-out infinite;
}

.prayer-dock-toggle::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(255, 42, 31, 0.46);
  border-radius: 50%;
  animation: prayerRing 2.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes prayerPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes prayerRing {
  0% { opacity: 0.75; transform: scale(0.92); }
  70%, 100% { opacity: 0; transform: scale(1.18); }
}

.prayer-dock-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(390px, calc(100vw - 32px));
  height: min(620px, calc(100vh - 132px));
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(8, 45, 43, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(24px) saturate(1.2);
}

.prayer-dock.is-open {
  z-index: 60;
}

.prayer-dock.is-open .prayer-dock-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.prayer-dock-panel > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  align-items: center;
  padding: 16px 16px 12px;
  color: var(--teal-950);
  background: linear-gradient(135deg, rgba(215, 244, 238, 0.92), rgba(255, 255, 255, 0.76));
  border-bottom: 1px solid rgba(15, 114, 109, 0.12);
}

.prayer-dock-panel span {
  color: var(--teal-700);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.prayer-dock-panel strong {
  font-size: 20px;
}

.prayer-dock-panel button {
  grid-row: 1 / span 2;
  grid-column: 2;
  width: 38px;
  height: 38px;
  color: var(--teal-950);
  background: white;
  border: 1px solid rgba(15, 114, 109, 0.12);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.prayer-dock-panel iframe {
  display: block;
  width: 100%;
  height: calc(100% - 69px);
  border: 0;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 70;
  width: min(520px, calc(100% - 36px));
  display: none;
  align-items: center;
  gap: 14px;
  padding: 14px;
  color: white;
  background: rgba(8, 45, 43, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(8, 45, 43, 0.22);
  backdrop-filter: blur(18px);
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.45;
}

.cookie-banner div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.cookie-banner a,
.cookie-banner button {
  min-height: 40px;
  padding: 10px 14px;
  color: white;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.cookie-banner a {
  background: rgba(255, 255, 255, 0.12);
}

.cookie-banner button {
  background: var(--teal-700);
}

.cookie-banner .cookie-decline {
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.16);
}

.legal-page {
  min-height: 100vh;
  padding: 150px clamp(18px, 5vw, 72px) 72px;
  background:
    radial-gradient(circle at 12% 8%, rgba(47, 195, 181, 0.2), transparent 28rem),
    var(--paper);
}

.legal-shell {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(26px, 5vw, 54px);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 114, 109, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(8, 45, 43, 0.1);
}

.legal-shell h1 {
  margin-bottom: 28px;
  font-size: clamp(42px, 7vw, 78px);
  color: var(--teal-950);
}

.legal-shell h2 {
  margin: 34px 0 12px;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-shell p,
.legal-shell li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-shell a {
  color: var(--teal-700);
  font-weight: 800;
}

.legal-shell ul {
  padding-left: 20px;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--teal-700);
  font-weight: 850;
}

.subpage-hero {
  min-height: 560px;
  display: grid;
  align-items: end;
  padding: 150px clamp(18px, 5vw, 72px) 56px;
  color: white;
  background:
    linear-gradient(90deg, rgba(8, 45, 43, 0.95), rgba(8, 45, 43, 0.56)),
    url("assets/gallery/moschee-panorama-1.jpg") center / cover;
}

.subpage-hero.school {
  background:
    linear-gradient(90deg, rgba(8, 45, 43, 0.93), rgba(8, 45, 43, 0.5)),
    url("assets/gallery/schule-2.jpg") center / cover;
}

.subpage-hero.hearts {
  background:
    linear-gradient(90deg, rgba(8, 45, 43, 0.94), rgba(8, 45, 43, 0.42)),
    url("assets/gallery/moschee-panorama-2.jpg") center / cover;
}

.subpage-hero > div {
  width: min(900px, 100%);
}

.subpage-hero img {
  width: 86px;
  height: 86px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 42px rgba(8, 45, 43, 0.2);
}

.subpage-hero span,
.content-heading span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.subpage-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.6;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 128px clamp(18px, 5vw, 72px) 64px;
  overflow: hidden;
  background: var(--teal-950);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  filter: saturate(1.06) contrast(1.05);
  animation: softZoom 18s ease-in-out alternate infinite;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 45, 43, 0.95) 0%, rgba(8, 45, 43, 0.76) 38%, rgba(8, 45, 43, 0.22) 74%),
    linear-gradient(0deg, rgba(8, 45, 43, 0.92), transparent 55%);
}

.hero-orbit {
  position: absolute;
  right: -140px;
  top: 120px;
  z-index: -1;
  width: min(54vw, 680px);
  aspect-ratio: 1;
  border: 1px solid rgba(191, 230, 219, 0.22);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(114, 212, 198, 0.16), transparent 58%),
    conic-gradient(from 120deg, rgba(114, 212, 198, 0.02), rgba(234, 216, 181, 0.24), rgba(114, 212, 198, 0.04));
  backdrop-filter: blur(2px);
  animation: orbitTurn 38s linear infinite;
}

.hero-orbit::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(215, 244, 238, 0.22);
  border-radius: 50%;
  clip-path: polygon(50% 0, 58% 34%, 100% 50%, 58% 66%, 50% 100%, 42% 66%, 0 50%, 42% 34%);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(320px, 760px) minmax(240px, 330px);
  gap: clamp(24px, 6vw, 80px);
  align-items: end;
}

.hero-copy {
  color: white;
  animation: revealUp 0.85s 0.15s cubic-bezier(0.18, 0.9, 0.2, 1) both;
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-kicker span,
.section-heading span,
.program-copy span,
.school-title span,
.donation-section span,
.contact-section span,
.section-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-kicker span {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  transition: transform 0.22s ease, background 0.22s ease;
}

.hero-kicker span:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.17);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  width: min(880px, 100%);
  margin-bottom: 22px;
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-copy p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.58;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-panel {
  position: relative;
  display: grid;
  gap: 9px;
  padding: 24px;
  color: white;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07));
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(1.25);
  overflow: hidden;
  animation: revealUp 0.85s 0.32s cubic-bezier(0.18, 0.9, 0.2, 1) both, floatPanel 6s 1.4s ease-in-out infinite;
}

.hero-panel::before,
.program-note::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 24%, rgba(255, 255, 255, 0.28), transparent 42%);
  transform: translateX(-120%);
  animation: shimmerLine 6s ease-in-out infinite;
  pointer-events: none;
}

.hero-panel img {
  width: 72px;
  height: 72px;
  margin-bottom: 8px;
  border-radius: 50%;
}

.hero-panel strong {
  font-size: 22px;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.72);
}

.hero-panel a {
  margin-top: 14px;
  color: var(--accent-2);
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf8;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(47, 195, 181, 0.72);
  box-shadow: 0 0 0 4px rgba(47, 195, 181, 0.14);
  transform: translateY(-1px);
}

.about-section,
.services-section,
.program-section,
.blog-section,
.guidance-section,
.school-section,
.donation-section,
.faq-section,
.contact-section {
  padding: clamp(72px, 9vw, 120px) clamp(18px, 5vw, 72px);
}

.about-section {
  position: relative;
  margin-top: -1px;
  padding-top: clamp(120px, 12vw, 170px);
  background:
    linear-gradient(180deg, rgba(191, 230, 219, 0.22), transparent 48%),
    var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 86px);
  margin-top: 16px;
}

.about-grid p,
.program-copy p,
.school-title p,
.donation-section p,
.contact-section p,
.faq-list p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.values article {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 114, 109, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(8, 45, 43, 0.08);
  backdrop-filter: blur(14px);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.values article:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 114, 109, 0.22);
  box-shadow: 0 24px 64px rgba(8, 45, 43, 0.12);
}

.values strong {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-950);
  font-size: 18px;
}

.values span,
.service p,
.site-footer p,
.site-footer small {
  color: var(--muted);
  line-height: 1.55;
}

.services-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%, rgba(114, 212, 198, 0.28), transparent 24rem),
    linear-gradient(135deg, #073230, #105d57 62%, #d3b06d 180%);
  color: white;
}

.services-section::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  pointer-events: none;
}

.services-section::after {
  content: "";
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  top: 58px;
  width: 118px;
  aspect-ratio: 1;
  border: 1px solid rgba(215, 244, 238, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle at 68% 42%, transparent 0 28%, rgba(215, 244, 238, 0.14) 29% 42%, transparent 43%),
    conic-gradient(from 45deg, transparent, rgba(215, 244, 238, 0.16), transparent);
  animation: orbitTurn 26s linear infinite reverse;
  pointer-events: none;
}

.section-heading {
  position: relative;
  max-width: 760px;
  margin-bottom: 34px;
}

.services-section .section-heading h2,
.program-section h2,
.contact-section h2 {
  color: white;
}

.services-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service {
  position: relative;
  min-height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  backdrop-filter: blur(18px) saturate(1.16);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  transition: transform 0.24s ease, background 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service > i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: white;
  background: rgba(215, 244, 238, 0.16);
  border: 1px solid rgba(215, 244, 238, 0.28);
  border-radius: 16px;
  font-size: 22px;
  box-shadow: 0 14px 34px rgba(8, 45, 43, 0.16);
  transition: transform 0.24s ease, background 0.24s ease;
}

.service:hover > i {
  transform: translateY(-3px) scale(1.04);
  background: rgba(47, 195, 181, 0.24);
}

.service img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  margin-bottom: 16px;
  border-radius: 16px;
}

.service:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-7px);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.16);
}

.service p {
  color: rgba(255, 255, 255, 0.72);
}

.program-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.44fr) minmax(420px, 1fr);
  gap: 34px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(8, 45, 43, 0.93), rgba(11, 60, 57, 0.86)),
    url("assets/gallery/moschee-panorama-3.jpg") center / cover;
  color: white;
}

.program-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.program-note {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 4px;
  margin-top: 24px;
  padding: 16px 18px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  backdrop-filter: blur(16px);
}

.program-note strong {
  font-size: 18px;
}

.program-note span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.45;
  text-transform: none;
}

.program-flyers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  perspective: 900px;
}

.program-flyers img,
.school-gallery img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(8, 45, 43, 0.22);
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.program-flyers img.reveal {
  opacity: 1;
  filter: none;
  transform: none;
}

.program-flyers img:nth-child(1) {
  transform: rotate(-3deg);
  animation: flyerFloat 5.8s ease-in-out infinite;
}

.program-flyers img.reveal:nth-child(1) {
  transform: rotate(-3deg);
}

.program-flyers img:nth-child(3) {
  transform: rotate(3deg);
  animation: flyerFloat 6.4s 0.5s ease-in-out infinite;
}

.program-flyers img.reveal:nth-child(3) {
  transform: rotate(3deg);
}

.program-flyers img:hover,
.school-gallery img:hover {
  transform: translateY(-8px) rotate(0deg) scale(1.015);
  box-shadow: 0 34px 80px rgba(8, 45, 43, 0.26);
  filter: saturate(1.06);
}

.blog-section {
  background:
    radial-gradient(circle at 8% 14%, rgba(47, 195, 181, 0.2), transparent 24rem),
    var(--paper);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.blog-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 114, 109, 0.14);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(8, 45, 43, 0.09);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 114, 109, 0.24);
  box-shadow: 0 30px 82px rgba(8, 45, 43, 0.14);
}

.blog-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 18px;
}

.blog-card span {
  color: var(--teal-700);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-card h3 {
  margin-bottom: 0;
  color: var(--teal-950);
}

.blog-card p {
  color: var(--muted);
  line-height: 1.55;
}

.blog-hero {
  position: relative;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
  padding: 150px clamp(18px, 5vw, 72px) 76px;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 16%, rgba(47, 195, 181, 0.24), transparent 26rem),
    linear-gradient(135deg, #082d2b, #0f726d 86%);
  color: white;
}

.blog-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -160px;
  width: min(48vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(215, 244, 238, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(215, 244, 238, 0.1), transparent 58%),
    conic-gradient(from 40deg, transparent, rgba(215, 244, 238, 0.2), transparent 36%);
  animation: orbitTurn 42s linear infinite;
}

.blog-hero-copy,
.blog-hero-media {
  position: relative;
  z-index: 1;
}

.blog-hero .legal-back {
  color: var(--accent-2);
}

.blog-hero-copy > span,
.blog-meta span,
.blog-article-header span,
.blog-action-card > span,
.related-posts > span {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-hero-copy h1 {
  max-width: 820px;
  margin: 12px 0 24px;
  font-size: clamp(54px, 7vw, 104px);
  line-height: 0.92;
}

.blog-hero-copy p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.55;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.blog-meta span {
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.blog-hero-media {
  margin: 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 34px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  animation: floatPanel 6.5s ease-in-out infinite;
}

.blog-hero-media img {
  width: 100%;
  height: min(58vh, 520px);
  object-fit: cover;
  border-radius: 24px;
}

.blog-hero-media figcaption {
  padding: 14px 8px 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.blog-detail-section {
  padding: clamp(72px, 8vw, 120px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 90% 10%, rgba(47, 195, 181, 0.18), transparent 24rem),
    var(--paper);
}

.blog-detail-shell {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  margin: 0 auto;
}

.blog-article {
  padding: clamp(26px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 114, 109, 0.14);
  border-radius: 30px;
  box-shadow: 0 24px 72px rgba(8, 45, 43, 0.1);
  backdrop-filter: blur(16px);
}

.blog-article-header {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(15, 114, 109, 0.12);
}

.blog-article-header span,
.blog-action-card > span,
.related-posts > span {
  color: var(--teal-700);
}

.blog-article-header h2 {
  margin-bottom: 0;
  color: var(--teal-950);
}

.blog-article p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.82;
}

.blog-quote {
  display: grid;
  gap: 6px;
  margin: 28px 0;
  padding: 22px;
  background: rgba(215, 244, 238, 0.64);
  border: 1px solid rgba(15, 114, 109, 0.12);
  border-radius: 22px;
}

.blog-quote strong {
  color: var(--teal-950);
  font-size: 18px;
}

.blog-quote span {
  color: var(--muted);
  line-height: 1.6;
}

.blog-sidebar {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 16px;
}

.blog-action-card,
.related-posts {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 114, 109, 0.14);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(8, 45, 43, 0.09);
}

.blog-action-card h3 {
  color: var(--teal-950);
}

.blog-action-card p {
  color: var(--muted);
  line-height: 1.55;
}

.blog-action-card .button {
  width: 100%;
}

.related-posts a {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.related-posts a:hover {
  background: rgba(15, 114, 109, 0.08);
  transform: translateY(-2px);
}

.related-posts img {
  width: 72px;
  height: 58px;
  object-fit: cover;
  border-radius: 12px;
}

.related-posts strong {
  color: var(--teal-950);
  line-height: 1.2;
}

.guidance-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(420px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 24%, rgba(47, 195, 181, 0.28), transparent 24rem),
    radial-gradient(circle at 88% 16%, rgba(215, 244, 238, 0.42), transparent 26rem),
    linear-gradient(135deg, #f7f4ec, #e7f3ef);
}

.guidance-section::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -120px;
  width: min(38vw, 440px);
  aspect-ratio: 1;
  border: 1px solid rgba(15, 114, 109, 0.12);
  border-radius: 50%;
  background: conic-gradient(from 45deg, transparent, rgba(47, 195, 181, 0.16), transparent 38%);
  animation: orbitTurn 34s linear infinite;
  pointer-events: none;
}

.guidance-copy {
  position: relative;
  z-index: 1;
}

.guidance-copy span {
  color: var(--teal-700);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.guidance-copy p {
  max-width: 520px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.guidance-board {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(190px, 0.38fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.44)),
    rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(15, 114, 109, 0.14);
  border-radius: 32px;
  box-shadow: 0 28px 80px rgba(8, 45, 43, 0.13);
  backdrop-filter: blur(22px) saturate(1.18);
}

.guidance-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.36), transparent 42%);
  transform: translateX(-120%);
  animation: shimmerLine 7s ease-in-out infinite;
  pointer-events: none;
}

.guidance-orb {
  position: relative;
  min-height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle, rgba(47, 195, 181, 0.28), transparent 55%),
    linear-gradient(160deg, rgba(8, 45, 43, 0.94), rgba(15, 114, 109, 0.72));
  border-radius: 24px;
}

.guidance-orb::before,
.guidance-orb::after,
.guidance-orb span {
  content: "";
  position: absolute;
  border: 1px solid rgba(215, 244, 238, 0.26);
  border-radius: 50%;
}

.guidance-orb::before {
  width: 76%;
  aspect-ratio: 1;
  animation: orbitTurn 22s linear infinite;
}

.guidance-orb::after {
  width: 48%;
  aspect-ratio: 1;
  border-radius: 34% 66% 34% 66%;
  background: rgba(215, 244, 238, 0.1);
  transform: rotate(45deg);
  animation: orbitTurn 18s linear infinite reverse;
}

.guidance-orb span {
  width: 22%;
  aspect-ratio: 1;
  background: rgba(215, 244, 238, 0.82);
  box-shadow: 0 0 38px rgba(114, 212, 198, 0.58);
  animation: floatPanel 4.8s ease-in-out infinite;
}

.guidance-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.guidance-option {
  position: relative;
  min-height: 176px;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 114, 109, 0.14);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(8, 45, 43, 0.08);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.guidance-option::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 18px;
  width: 34px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 62% 40%, transparent 0 31%, var(--teal-700) 32% 44%, transparent 45%),
    rgba(47, 195, 181, 0.16);
}

.guidance-option strong {
  color: var(--teal-950);
  font-size: 20px;
  line-height: 1.12;
}

.guidance-option span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.48;
}

.guidance-option:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 114, 109, 0.24);
  box-shadow: 0 28px 70px rgba(8, 45, 43, 0.14);
}

.school-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(191, 230, 219, 0.22)),
    var(--paper);
}

.school-title {
  display: grid;
  grid-template-columns: 112px minmax(0, 760px);
  gap: 24px;
  align-items: center;
  margin-bottom: 30px;
}

.school-title img {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(114, 212, 198, 0.12);
  animation: floatPanel 5.6s ease-in-out infinite;
}

.school-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.school-gallery img {
  height: 330px;
  object-fit: cover;
  border-color: rgba(15, 114, 109, 0.12);
}

.course-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.course-strip span {
  padding: 10px 13px;
  background: rgba(15, 114, 109, 0.1);
  border: 1px solid rgba(15, 114, 109, 0.12);
  border-radius: 999px;
  color: var(--teal-900);
  font-weight: 850;
}

.donation-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(340px, 0.7fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 20%, rgba(47, 195, 181, 0.18), transparent 24rem),
    linear-gradient(135deg, #fbfaf4, #e7f3ef);
}

.donation-section::before {
  content: "";
  position: absolute;
  left: -110px;
  bottom: -160px;
  width: min(42vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(15, 114, 109, 0.1);
  border-radius: 50%;
  background: conic-gradient(from 110deg, transparent, rgba(47, 195, 181, 0.18), transparent 42%);
  animation: orbitTurn 40s linear infinite reverse;
  pointer-events: none;
}

.donation-visual {
  position: relative;
  display: grid;
  align-items: center;
}

.donation-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: white;
  border: 1px solid rgba(15, 114, 109, 0.12);
  border-radius: 28px;
  box-shadow: 0 26px 80px rgba(8, 45, 43, 0.12);
}

.donation-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: clamp(18px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 114, 109, 0.14);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(8, 45, 43, 0.1);
  backdrop-filter: blur(18px) saturate(1.14);
}

.donation-content > span {
  color: var(--teal-700);
  font-size: 11px;
}

.donation-content h2 {
  margin-bottom: 6px;
  color: var(--teal-950);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1;
}

.donation-content p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.donation-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.donation-pill-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  color: var(--teal-950);
  background: rgba(15, 114, 109, 0.08);
  border: 1px solid rgba(15, 114, 109, 0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  text-transform: none;
}

.donation-pill-row i {
  color: var(--teal-700);
}

.donation-card {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  padding: clamp(14px, 2vw, 20px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.62)),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 114, 109, 0.14);
  border-radius: 22px;
  box-shadow: 0 18px 54px rgba(8, 45, 43, 0.1);
  backdrop-filter: blur(20px) saturate(1.18);
}

.stripe-donation-card {
  justify-items: stretch;
  background: rgba(255, 255, 255, 0.96);
}

.stripe-donation-card stripe-buy-button {
  display: block;
  width: 100%;
}

.donation-secure {
  margin: -4px 0 0;
  color: var(--muted) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

.content-section {
  padding: clamp(72px, 8vw, 110px) clamp(18px, 5vw, 72px);
}

.content-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.content-heading {
  position: sticky;
  top: 122px;
}

.content-heading p,
.feature-card p,
.course-card p,
.form-note,
.content-copy p,
.content-copy li {
  color: var(--muted);
  line-height: 1.65;
}

.feature-grid,
.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.course-card,
.subpage-form,
.content-copy {
  padding: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 114, 109, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 20px 62px rgba(8, 45, 43, 0.09);
  backdrop-filter: blur(16px);
}

.feature-card img {
  width: 72px;
  max-height: 72px;
  object-fit: contain;
  margin-bottom: 14px;
}

.form-section {
  background:
    radial-gradient(circle at 84% 18%, rgba(114, 212, 198, 0.18), transparent 26rem),
    var(--cream);
}

.subpage-form {
  display: grid;
  gap: 16px;
}

.subpage-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.subpage-form label {
  display: grid;
  gap: 8px;
  color: var(--teal-950);
  font-weight: 800;
}

.subpage-form input,
.subpage-form select,
.subpage-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: none;
}

.subpage-form textarea {
  resize: vertical;
}

.subpage-form .wide,
.subpage-form .check-row,
.subpage-form button {
  grid-column: 1 / -1;
}

.check-row {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 10px !important;
  align-items: flex-start;
  color: var(--muted) !important;
  font-weight: 650 !important;
  line-height: 1.45;
}

.check-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.form-note {
  padding: 16px;
  background: rgba(215, 244, 238, 0.58);
  border: 1px solid rgba(15, 114, 109, 0.12);
  border-radius: 16px;
}

.content-copy ul {
  padding-left: 20px;
}

.faq-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(114, 212, 198, 0.2), transparent 22rem),
    #edf5f1;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  padding: 21px 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 114, 109, 0.14);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

details:hover,
details[open] {
  transform: translateY(-3px);
  border-color: rgba(15, 114, 109, 0.24);
  box-shadow: 0 18px 44px rgba(8, 45, 43, 0.1);
}

summary {
  cursor: pointer;
  color: var(--teal-950);
  font-size: 18px;
  font-weight: 850;
}

details p {
  margin: 14px 0 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.46fr) minmax(340px, 1fr);
  gap: 40px;
  background:
    radial-gradient(circle at 86% 20%, rgba(114, 212, 198, 0.22), transparent 22rem),
    linear-gradient(135deg, var(--teal-950), var(--teal-900));
  color: white;
}

.contact-section p,
.contact-section address,
.contact-section a {
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid var(--glass-line);
  color: white;
  border-radius: var(--radius);
  backdrop-filter: blur(22px) saturate(1.15);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.contact-form textarea {
  resize: vertical;
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
}

.subpage-form .form-status {
  color: var(--teal-950);
}

.form-status[data-state="success"] {
  color: #19b58f;
}

.form-status[data-state="error"] {
  color: #d94a38;
}

.button:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
  line-height: 1.45;
}

.check input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 28px;
  align-items: center;
  padding: 34px clamp(18px, 5vw, 72px);
  background: #061f1e;
  color: white;
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer small {
  color: rgba(255, 255, 255, 0.55);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(8px);
}

.reveal.is-visible {
  animation: revealUp 0.72s cubic-bezier(0.18, 0.9, 0.2, 1) forwards;
  animation-delay: var(--reveal-delay, 0ms);
}

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

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 24px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
  }

  .nav.is-open {
    display: flex;
  }

  .hero-shell,
  .about-grid,
  .program-section,
  .blog-grid,
  .blog-hero,
  .blog-detail-shell,
  .guidance-section,
  .donation-section,
  .contact-section,
  .content-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .content-heading {
    position: static;
  }

  .blog-sidebar {
    position: static;
  }

  .hero-panel {
    width: min(420px, 100%);
  }

  .guidance-board {
    grid-template-columns: 1fr;
  }

  .guidance-orb {
    min-height: 220px;
  }

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

@media (max-width: 680px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    gap: 10px;
    padding: 9px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand small,
  .donate-link {
    display: none;
  }

  .hero {
    min-height: 860px;
    padding: 98px 18px 34px;
  }

  .blog-hero {
    min-height: auto;
    padding: 128px 18px 48px;
  }

  .blog-hero-copy h1 {
    font-size: clamp(48px, 14vw, 70px);
  }

  .blog-hero-media img {
    height: 320px;
  }

  .blog-article {
    padding: 22px;
    border-radius: 24px;
  }

  .blog-article p {
    font-size: 17px;
  }

  .prayer-dock {
    right: 10px;
    bottom: 10px;
  }

  .quick-actions {
    right: 10px;
    bottom: 10px;
    gap: 3px;
  }

  .quick-actions a,
  .quick-actions button {
    width: 2.5rem;
    height: 2.5rem;
  }

  .prayer-dock-toggle {
    width: 2.5rem;
    height: 2.5rem;
  }

  .cookie-banner {
    left: 10px;
    bottom: 10px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    width: calc(100% - 78px);
    padding: 12px;
  }

  .cookie-banner div {
    justify-content: stretch;
  }

  .cookie-banner a,
  .cookie-banner button {
    justify-content: center;
    text-align: center;
  }

  .cookie-banner.is-visible {
    display: flex;
  }

  .prayer-dock-panel {
    width: calc(100vw - 24px);
    height: min(600px, calc(100vh - 120px));
  }

  h1 {
    font-size: clamp(54px, 16vw, 74px);
  }

  .values,
  .services-grid,
  .program-flyers,
  .blog-grid,
  .guidance-options,
  .feature-grid,
  .course-grid,
  .subpage-form .form-grid,
  .school-title,
  .school-gallery {
    grid-template-columns: 1fr;
  }

  .subpage-hero {
    min-height: 520px;
    padding: 128px 18px 44px;
  }

  .hero-panel {
    padding: 20px;
  }

  .guidance-board {
    padding: 12px;
    border-radius: 24px;
  }

  .guidance-option {
    min-height: 150px;
  }

  .donation-visual img {
    min-height: auto;
    height: auto;
  }

  .donation-content {
    padding: 18px;
    border-radius: 24px;
  }

  .site-footer div {
    align-items: flex-start;
  }
}
