@font-face {
  font-family: "Tajawal";
  src: url("assets/fonts/tajawal-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Tajawal";
  src: url("assets/fonts/tajawal-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Tajawal";
  src: url("assets/fonts/tajawal-black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: "Tajawal", system-ui, sans-serif;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #faf8f2;
  transition: opacity .55s ease, visibility .55s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-card {
  position: relative;
  display: grid;
  place-items: center;
  gap: 1rem;
  color: #1f7a3d;
  font-weight: 900;
}

.loader-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 999px;
  animation: pulseLogo 1.6s ease-in-out infinite;
}

.loader-ring {
  width: 124px;
  height: 124px;
  position: absolute;
  top: -14px;
  border: 3px solid rgba(31, 122, 61, .14);
  border-top-color: #f1bd38;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.nav-link {
  transition: color .25s ease;
}

.nav-link:hover {
  color: #1f7a3d;
}

.hero {
  isolation: isolate;
}

.brand-badge {
  width: min(360px, 80vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 32px;
  background: rgba(255, 255, 255, .16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
  animation: floatBadge 4.5s ease-in-out infinite;
}

.brand-badge img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .28));
}

.section-kicker {
  color: #1f7a3d;
  font-weight: 900;
  margin-bottom: .65rem;
}

.section-title {
  color: #17211a;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.2;
  font-weight: 900;
}

.info-card,
.contact-card {
  border: 1px solid #ece4d4;
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  padding: 1.35rem;
  box-shadow: 0 18px 45px rgba(23, 33, 26, .08);
}

.info-card span {
  color: #f1bd38;
  font-size: 1.85rem;
  font-weight: 900;
}

.info-card h3 {
  margin-top: .8rem;
  font-size: 1.25rem;
  font-weight: 900;
}

.info-card p {
  margin-top: .45rem;
  color: #667066;
  line-height: 1.8;
}

.gallery-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(23, 33, 26, .13);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform .7s ease;
}

.gallery-card:hover img {
  transform: scale(1.1);
}

.gallery-card figcaption {
  position: absolute;
  inset-inline: 1rem;
  bottom: 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: #17211a;
  padding: .75rem 1rem;
  font-weight: 900;
  text-align: center;
  backdrop-filter: blur(12px);
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(31, 122, 61, .10), transparent 36%),
    linear-gradient(315deg, rgba(241, 189, 56, .20), transparent 38%),
    #faf8f2;
}

.contact-card {
  display: grid;
  gap: .45rem;
  text-align: center;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 122, 61, .36);
  box-shadow: 0 24px 70px rgba(31, 122, 61, .13);
}

.contact-card span {
  color: #6b756c;
  font-weight: 700;
}

.contact-card strong {
  color: #1f7a3d;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: .12s;
}

.reveal-delay-2 {
  transition-delay: .22s;
}

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

@keyframes pulseLogo {
  50% { transform: scale(1.06); }
}

@keyframes floatBadge {
  50% { transform: translateY(-14px); }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
  }

  .gallery-card,
  .gallery-card img {
    min-height: 260px;
  }
}

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