:root {
  --bg: #f4f7f5;
  --surface: #fbfdfa;
  --surface-strong: #ffffff;
  --ink: #13231d;
  --muted: #637169;
  --primary: #0f5d4d;
  --primary-dark: #093f34;
  --accent: #b8842f;
  --accent-soft: #e7d39b;
  --line: #dfe7e2;
  --shadow: 0 24px 70px rgba(24, 37, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 253, 250, 0.95);
  border-bottom: 1px solid rgba(223, 231, 226, 0.84);
  backdrop-filter: blur(18px);
}

.topbar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.84rem;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar a {
  color: #fff;
  font-weight: 600;
}

.navbar {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 46px;
  height: 46px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
  box-shadow: 0 12px 28px rgba(15, 93, 77, 0.22);
}

.brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1.15;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  color: #31453c;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta,
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta,
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(15, 93, 77, 0.24);
}

.btn-light {
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-dark);
  border-color: rgba(255, 255, 255, 0.64);
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.btn:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.btn-full {
  width: 100%;
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #17251f;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 28, 23, 0.92) 0%, rgba(10, 28, 23, 0.68) 36%, rgba(10, 28, 23, 0.18) 72%, rgba(10, 28, 23, 0.02) 100%),
    linear-gradient(0deg, rgba(10, 28, 23, 0.35), rgba(10, 28, 23, 0.04));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 150px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 4.9rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
}

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

.prayer-band {
  position: relative;
  z-index: 2;
  margin-top: -72px;
  padding-bottom: 60px;
}

.prayer-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.8fr;
  gap: 28px;
  align-items: stretch;
  padding: 28px;
  background: var(--surface-strong);
  border: 1px solid rgba(223, 231, 226, 0.92);
  box-shadow: var(--shadow);
}

.section-heading h2 {
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  max-width: 660px;
  margin: 14px 0 0;
  color: var(--muted);
}

.centered {
  text-align: center;
}

.centered p {
  margin-left: auto;
  margin-right: auto;
}

.mawaqit-widget {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: #eef6f1;
  border: 1px solid #dcebe3;
  border-radius: 8px;
}

.mawaqit-widget iframe {
  display: none;
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: 0;
  background: #fff;
}

.mawaqit-widget.is-loaded iframe {
  display: block;
}

.mawaqit-widget.is-loaded .mawaqit-fallback {
  display: none;
}

.mawaqit-fallback {
  min-height: 360px;
  display: grid;
  place-content: center;
  padding: 34px;
  text-align: center;
}

.mawaqit-fallback span {
  width: max-content;
  margin: 0 auto 14px;
  padding: 6px 10px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mawaqit-fallback strong {
  color: var(--primary-dark);
  font-size: 1.55rem;
}

.mawaqit-fallback p {
  max-width: 460px;
  margin: 12px auto 0;
  color: var(--muted);
}

.mawaqit-fallback code {
  padding: 2px 5px;
  background: rgba(15, 93, 77, 0.1);
  border-radius: 5px;
  color: var(--primary-dark);
}

.section {
  padding: 92px 0;
}

.is-hidden {
  display: none !important;
}

.announcements-ticker {
  background: #f0f7f3;
  border-top: 1px solid #dcebe3;
  border-bottom: 1px solid #dcebe3;
}

.announcements-ticker-inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.announcements-ticker-label {
  color: var(--primary-dark);
  font-size: 0.95rem;
  white-space: nowrap;
}

.announcements-ticker-track {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  flex: 1;
}

.announcements-ticker-marquee {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 10px;
  animation: announcements-marquee var(--ticker-duration, 36s) linear infinite;
  will-change: transform;
}

.announcements-ticker-sequence {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding-right: 10px;
}

.announcements-ticker-placeholder {
  color: var(--muted);
  font-size: 0.93rem;
}

.announcements-ticker-item {
  white-space: nowrap;
  color: #0f4f41;
  text-decoration: none;
  border: 1px solid #cfe2d8;
  background: #ffffff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.92rem;
  font-weight: 600;
}

.announcements-ticker-item:hover,
.announcements-ticker-item:focus-visible {
  border-color: #0f5d4d;
  color: #0f5d4d;
}

.announcements-ticker-track:hover .announcements-ticker-marquee,
.announcements-ticker-track:focus-within .announcements-ticker-marquee {
  animation-play-state: paused;
}

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

@media (prefers-reduced-motion: reduce) {
  .announcements-ticker-track {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .announcements-ticker-marquee {
    animation: none;
  }
}

.announcements-section {
  background: var(--surface);
}

.announcements-panel {
  margin-top: 28px;
  padding: 24px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.announcements-status {
  margin: 0;
  min-height: 24px;
  color: var(--muted);
  font-weight: 700;
}

.announcements-list {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.announcement-item {
  border: 1px solid #dcebe3;
  background: #eef6f1;
  border-radius: 8px;
  padding: 16px;
}

.announcement-item h3 {
  margin: 0;
  font-size: 1.05rem;
}

.announcement-item p {
  margin: 10px 0 0;
  color: #2f463d;
}

.announcement-meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.announcement-media {
  width: 100%;
  margin-top: 12px;
  border-radius: 6px;
  border: 1px solid #d7e6de;
  background: #fff;
  object-fit: cover;
}

.announcement-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

.announcements-panel .text-link {
  margin-top: 20px;
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.feature-card,
.news-grid article,
.contact-form,
.don-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card {
  min-height: 264px;
  padding: 28px;
}

.icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 28px;
  background: #e9f2ed;
  color: var(--primary);
  border-radius: 50%;
  font-size: 1.35rem;
}

.feature-card h3,
.schedule-list h3,
.news-grid h3,
.don-card h3 {
  margin: 0;
  font-size: 1.18rem;
}

.feature-card p,
.schedule-list p,
.news-grid p,
.don-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.program-section {
  padding: 92px 0;
  background: var(--primary-dark);
  color: #fff;
}

.program-section .section-heading p:not(.eyebrow),
.program-section .schedule-list p {
  color: rgba(255, 255, 255, 0.72);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  color: #fff;
  font-weight: 800;
  border-bottom: 2px solid var(--accent);
}

.schedule-list {
  display: grid;
  gap: 14px;
}

.schedule-list article {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.schedule-list time {
  color: var(--accent-soft);
  font-weight: 800;
}

.project-section {
  background: #eef6f1;
}

.project-panel {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 28px;
  align-items: stretch;
  padding: 44px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: 0 22px 60px rgba(24, 37, 31, 0.08);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.stats div {
  padding: 18px;
  background: #eef6f1;
  border: 1px solid #dcebe3;
}

.stats strong {
  display: block;
  color: var(--primary);
  font-size: 1.24rem;
  line-height: 1.25;
  font-weight: 800;
}

.stats span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.don-card {
  padding: 28px;
}

.don-frequency {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 22px;
  padding: 5px;
  background: #eef6f1;
  border: 1px solid #dcebe3;
  border-radius: 8px;
}

.don-frequency button,
.don-options {
  display: grid;
}

.don-frequency button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.don-frequency button.is-active {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 8px 22px rgba(24, 37, 31, 0.08);
}

.don-options {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0;
}

.don-options button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef6f1;
  color: var(--primary-dark);
  font-weight: 800;
  cursor: pointer;
}

.don-options button.is-selected {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.custom-donation {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: #31453c;
  font-size: 0.9rem;
  font-weight: 800;
}

.custom-donation span {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.custom-donation input {
  min-width: 0;
  border: 0;
  outline: none;
  padding: 13px 14px;
}

.custom-donation strong {
  padding: 0 14px;
  color: var(--muted);
}

.donation-status {
  min-height: 44px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.donation-status.is-ready {
  color: var(--primary);
}

.donation-status.is-warning {
  color: #8a5b11;
}

.don-contact-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.don-methods {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.don-methods span {
  padding-left: 16px;
  position: relative;
}

.don-methods span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.news-section {
  background: var(--bg);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.news-grid article {
  min-height: 260px;
  padding: 26px;
}

.news-grid span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.news-grid a {
  display: inline-flex;
  margin-top: 20px;
  color: var(--primary);
  font-weight: 800;
}

.contact-section {
  background: var(--surface);
}

.receipt-section {
  background: #eef6f1;
}

.receipt-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.receipt-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.receipt-form label {
  display: grid;
  gap: 8px;
  color: #31453c;
  font-size: 0.9rem;
  font-weight: 800;
}

.receipt-form input,
.receipt-form select,
.receipt-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

.receipt-form input:focus,
.receipt-form select:focus,
.receipt-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 93, 77, 0.12);
}

.receipt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkbox-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 42px;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-details p {
  margin: 0;
  padding: 18px;
  background: #eef6f1;
  border: 1px solid #dcebe3;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: #31453c;
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 93, 77, 0.12);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--primary);
  font-weight: 700;
}

.footer {
  padding: 62px 0 22px;
  background: #0b241e;
  color: rgba(255, 255, 255, 0.74);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.5fr 0.5fr;
  gap: 34px;
}

.footer-brand {
  color: #fff;
}

.footer .brand small {
  color: rgba(255, 255, 255, 0.62);
}

.footer p {
  max-width: 420px;
}

.footer h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1rem;
}

.footer a:not(.brand) {
  display: block;
  margin-top: 9px;
}

.copyright {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

@media (max-width: 1080px) {
  .navbar {
    grid-template-columns: auto auto;
  }

  .menu-btn {
    display: inline-block;
    justify-self: end;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 116px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: #fbfdfa;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 15px;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .hero h1 {
    font-size: 3.9rem;
  }

  .prayer-layout,
  .split,
  .project-panel,
  .receipt-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .topbar {
    display: none;
  }

  .navbar {
    min-height: 72px;
  }

  .nav-links {
    top: 84px;
    left: 14px;
    right: 14px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 0.94rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .hero {
    min-height: 650px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(10, 28, 23, 0.93), rgba(10, 28, 23, 0.54));
  }

  .hero-content {
    padding: 84px 0 138px;
  }

  .hero h1 {
    font-size: 2.72rem;
    line-height: 1.04;
  }

  .hero-copy {
    font-size: 1rem;
  }

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

  .prayer-band {
    margin-top: -54px;
    padding-bottom: 36px;
  }

  .prayer-layout,
  .project-panel {
    padding: 22px;
  }

  .section,
  .program-section {
    padding: 64px 0;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .feature-grid,
  .news-grid,
  .stats,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .schedule-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-form {
    padding: 22px;
  }

  .receipt-form {
    padding: 22px;
  }

  .receipt-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 2.35rem;
  }

  .section-heading h2 {
    font-size: 1.76rem;
  }
}
