:root {
  --blue-deep: #00303a;
  --blue: #0b3a4a;
  --teal: #18697c;
  --light-teal: #76a7b3;
  --red: #a8181e;
  --gold: #fb991c;
  --cream: #f5f6f7;
  --slate: #4d565f;
  --text: #1b252f;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

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

a:hover {
  text-decoration: none;
}

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

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--teal);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 999;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 10;
  backdrop-filter: blur(12px);
}

.site-header.scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--blue);
  padding: 0.35rem 0;
}

.brand-mark {
  display: block;
  height: 50px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
}

.site-nav a {
  color: var(--text);
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.site-nav a:focus-visible,
.site-nav a:hover {
  color: var(--teal);
}

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

.site-nav a.active {
  color: var(--teal);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button {
  background: linear-gradient(120deg, var(--teal), var(--blue));
  color: #fff;
  box-shadow: 0 8px 20px rgba(5, 63, 82, 0.25);
}

.button.secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  box-shadow: none;
}

.ghost-button {
  border: 1px solid rgba(24, 105, 124, 0.5);
  color: var(--teal);
  background: transparent;
}

.button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 999px;
  background: transparent;
  padding: 0.35rem 1rem;
  font-weight: 600;
  display: none;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.hero {
  background: linear-gradient(150deg, rgba(0, 48, 58, 0.9), rgba(8, 46, 69, 0.95)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 400 400"><g fill="none" stroke="%2376a7b3" stroke-opacity="0.2" stroke-width="1"><path d="M0 200h400M200 0v400"/><circle cx="200" cy="200" r="160"/></g></svg>');
  color: #fff;
  padding: 5rem 0;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-copy span {
  color: var(--gold);
}

.hero-copy .lede {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  color: #f7f7f7;
}

.hero-panel h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.hero-panel a {
  color: #fff;
  text-decoration: none;
}

.hero-panel p + p {
  margin-top: 0.75rem;
}

.hero-panel ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.hero-panel li + li {
  margin-top: 0.35rem;
}

.hero-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.panel-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.15);
  color: #fff;
}

.panel-card .small {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.5rem;
}

.hero-logo {
  width: 96px;
  height: auto;
  display: block;
  margin: 0 auto 1.25rem;
}

.qris-card img,
.qris-inline {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: #fff;
  padding: 0.5rem;
}

.wa-card {
  text-align: center;
}

.wa-button {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-weight: 600;
}

.wa-button img {
  width: 32px;
  height: 32px;
}

.wa-alt {
  margin-top: 0.5rem;
}

.reading-hero .hero-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.reading-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.reading-controls label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
}

.reading-controls input[type=\"date\"] {
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  padding: 0.6rem 0.9rem;
}

.reading-nav {
  display: flex;
  gap: 0.5rem;
}

.reading-nav button {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.reading-meta {
  margin-top: 1rem;
}

.reading-text {
  font-size: 1.2rem;
  font-weight: 600;
}

.sharing-card .sharing-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: #e0f7ff;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.eyebrow--teal {
  color: var(--teal);
}

.section-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.section-heading.white .eyebrow,
.section-heading.white h2,
.section-heading.white p {
  color: #fff;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-heading .lede {
  max-width: 640px;
  margin: 0.5rem auto 0;
  color: rgba(27, 37, 47, 0.8);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.info-card,
.news-card {
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.info-card h3,
.news-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.info-card p,
.news-card p {
  margin-bottom: 1rem;
}

.info-card a,
.news-card a {
  font-weight: 600;
}

.icon-circle {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--cream);
  color: var(--teal);
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 1rem;
}

.gospel {
  padding: 4rem 0;
  background: var(--cream);
}

.impact {
  padding: 4rem 0;
  background: radial-gradient(circle at top left, rgba(118, 167, 179, 0.3), transparent), var(--blue);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1.25rem;
  padding: 1.5rem;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
}

.stat-label {
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.mission {
  padding: 4rem 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.mission-card {
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 1.2rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: linear-gradient(180deg, rgba(118, 167, 179, 0.08), #fff);
}

.mission-card ul {
  padding-left: 1.25rem;
  color: rgba(27, 37, 47, 0.85);
}

.mission-card li + li {
  margin-top: 0.5rem;
}

.mission-card a {
  font-weight: 600;
  color: var(--red);
}

.testimonies {
  padding: 4rem 0;
  background: #fef8f3;
}

.testimony-slider {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.slider-control {
  background: transparent;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
  cursor: pointer;
}

.testimony-track {
  flex: 1;
  overflow: hidden;
}

.testimony {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.testimony.active {
  opacity: 1;
  transform: translateX(0);
}

.testimony .quote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.news {
  padding: 4rem 0;
}

.news-card {
  border-left: 4px solid var(--teal);
}

.reading-section {
  padding: 4rem 0;
  background: var(--cream);
}

.reading-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.reading-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.reading-card h3 {
  margin-bottom: 0.5rem;
}

.info-note {
  margin-top: 2rem;
  text-align: center;
  color: rgba(0, 0, 0, 0.7);
  font-size: 0.95rem;
}

.contact {
  padding: 4rem 0;
  background: linear-gradient(120deg, rgba(24, 105, 124, 0.1), rgba(248, 153, 28, 0.08));
}

.contact .qris-inline {
  max-width: 200px;
  border-color: rgba(0, 0, 0, 0.1);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.contact-list .label {
  font-weight: 700;
  color: var(--blue);
  display: block;
}

.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: 1.25rem;
  box-shadow: 0 25px 50px rgba(16, 62, 74, 0.1);
  display: grid;
  gap: 1rem;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.contact-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-card .small {
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.65);
  margin-top: 0.5rem;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
}

input,
textarea {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 1.5rem;
  font-size: 0.95rem;
  color: var(--teal);
}

.site-footer {
  background: var(--blue-deep);
  color: #fff;
  padding: 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.site-footer .eyebrow {
  color: #fff;
  letter-spacing: 0.15em;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .mobile-nav.open {
    display: flex;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 4rem;
  }
  .hero-panel {
    padding: 1.5rem;
  }
  .testimony-slider {
    flex-direction: column;
  }
  .slider-control {
    order: 1;
  }
}
