:root {
  --bg-1: #f7f4ec;
  --bg-2: #ede5d4;
  --ink: #1d2b24;
  --muted: #5f6d66;
  --brand: #0f766e;
  --brand-2: #d4af37;
  --card: rgba(255, 255, 255, 0.8);
  --line: rgba(17, 57, 50, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  font-family: "Tajawal", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1300px 700px at 85% -10%, rgba(15, 118, 110, 0.22), transparent 65%),
    radial-gradient(1100px 650px at 8% -15%, rgba(212, 175, 55, 0.24), transparent 60%),
    linear-gradient(160deg, var(--bg-1), var(--bg-2));
}

.animate__animated {
  --animate-duration: 1s;
}

.hero-delay-1 {
  animation-delay: 0.2s;
}

.hero-delay-2 {
  animation-delay: 0.45s;
}

.hero-delay-3 {
  animation-delay: 0.7s;
}

.landing-shell {
  position: relative;
  overflow: hidden;
}

.landing-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to left, rgba(15, 118, 110, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 118, 110, 0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
  opacity: 0.35;
}

.hero-card {
  position: relative;
  z-index: 1;
  border-radius: 2rem;
  padding: 2rem 1rem;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.74));
  box-shadow:
    0 22px 45px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
}

.glow-a {
  width: 220px;
  height: 220px;
  top: -70px;
  right: -60px;
  background: rgba(15, 118, 110, 0.22);
  animation: drift 8s ease-in-out infinite;
}

.glow-b {
  width: 250px;
  height: 250px;
  left: -80px;
  bottom: -80px;
  background: rgba(212, 175, 55, 0.2);
  animation: drift 10s ease-in-out infinite reverse;
}

.hero-badge {
  width: fit-content;
  margin-inline: auto;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(15, 118, 110, 0.25);
  color: #0b5d56;
  background: rgba(15, 118, 110, 0.08);
  font-weight: 700;
}

.hero-title {
  font-family: "Aref Ruqaa Ink", serif;
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  line-height: 1.45;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  color: var(--muted);
  font-weight: 500;
}

.hero-stats {
  position: relative;
  z-index: 2;
}

.stat-tile {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: center;
  border-radius: 1rem;
  border: 1px solid rgba(15, 118, 110, 0.2);
  background: rgba(255, 255, 255, 0.75);
  padding: 0.85rem 0.75rem;
}

.stat-tile strong {
  color: #0b5d56;
  font-size: 1.05rem;
}

.stat-tile span {
  color: var(--muted);
  font-size: 0.95rem;
}

.content-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}

.content-card {
  border-radius: 1.3rem;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  padding: 1.25rem 1.15rem;
  backdrop-filter: blur(3px);
  animation: rise-in 0.65s ease both;
}

.card-title {
  margin-bottom: 0.8rem;
  font-family: "Aref Ruqaa Ink", serif;
  font-size: 1.9rem;
  color: #0b5d56;
}

.card-text {
  margin: 0;
  color: #24322c;
  line-height: 1.95;
  font-size: 1.06rem;
}

.goal-list {
  display: grid;
  gap: 0.8rem;
  padding-right: 1rem;
}

.goal-list li {
  color: #24322c;
  line-height: 1.9;
}

.goal-list li::marker {
  color: #0f766e;
}

.reveal-1 {
  animation-delay: 0.08s;
}

.reveal-2 {
  animation-delay: 0.18s;
}

.reveal-3 {
  animation-delay: 0.28s;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem;
}

.footer-icon-link {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.footer-icon-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  color: #fff;
}

.footer-icon-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.footer-facebook {
  background: linear-gradient(120deg, #1877f2, #0f5ec7);
}

.footer-youtube {
  background: linear-gradient(120deg, #ff3131, #c10f0f);
}

.footer-map {
  background: linear-gradient(120deg, #16a34a, #0f7a38);
}

@media (min-width: 992px) {
  .hero-card {
    padding: 2.3rem 2.5rem;
  }

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

  .content-card-wide {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate__animated {
    animation: none !important;
  }

  .glow-a,
  .glow-b {
    animation: none !important;
  }
}

@keyframes drift {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-8px, 10px) scale(1.06);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
