/* =========================================================
   Active Imaan — Hero Section
   White-based palette accented with electric gold.
   ========================================================= */

:root {
  --white: #ffffff;
  --off-white: #fbfaf7;
  --cream: #f6f1e6;

  --ink: #1c1a16;
  --ink-soft: #4c473e;
  --ink-faint: #8a8377;

  --gold: #d4af37;
  --gold-electric: #f5c518;
  --gold-bright: #ffdd66;
  --gold-deep: #b8892f;

  --shadow-gold: rgba(245, 197, 24, 0.35);

  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --nav-height: 78px;
}

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

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  padding-top: var(--nav-height);
}

::selection {
  background: rgba(245, 197, 24, 0.35);
  color: var(--ink);
}

/* ---------------------------------------------------------
   Particle canvas + gradient overlay
   --------------------------------------------------------- */

#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: radial-gradient(
      circle at 20% 15%,
      #fff9e6 0%,
      transparent 45%
    ),
    radial-gradient(circle at 85% 80%, #fff4d6 0%, transparent 50%),
    linear-gradient(160deg, var(--white) 0%, var(--off-white) 55%, var(--cream) 100%);
}

.hero-gradient {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 70%,
    rgba(255, 255, 255, 0.92) 100%
  );
}

/* ---------------------------------------------------------
   Hero layout
   --------------------------------------------------------- */

.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
}

.hero-inner {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Brand mark */

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.12);
  backdrop-filter: blur(6px);
  margin-bottom: 2.25rem;
}

.brand-icon {
  color: var(--gold-electric);
  font-size: 1rem;
  filter: drop-shadow(0 0 6px rgba(245, 197, 24, 0.6));
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Title */

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 7vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  overflow-wrap: break-word;
  max-width: 100%;
}

.hero-title .highlight {
  position: relative;
  display: inline-block;
  background: linear-gradient(100deg, var(--gold-deep) 0%, var(--gold-electric) 45%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title .highlight::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 0.05em;
  height: 0.16em;
  background: linear-gradient(90deg, rgba(245, 197, 24, 0) 0%, rgba(245, 197, 24, 0.55) 50%, rgba(245, 197, 24, 0) 100%);
  filter: blur(2px);
  border-radius: 999px;
}

/* Tagline */

.hero-tagline {
  margin-top: 1.5rem;
  max-width: 560px;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.65;
  color: var(--ink-soft);
  font-weight: 400;
}

/* ---------------------------------------------------------
   CTAs
   --------------------------------------------------------- */

.hero-cta {
  margin-top: 2.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.95rem 2.2rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  border: 1px solid transparent;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px) scale(1.015);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: #241d08;
  background: linear-gradient(105deg, var(--gold-deep) 0%, var(--gold-electric) 50%, var(--gold) 100%);
  box-shadow: 0 10px 30px var(--shadow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 14px 36px rgba(245, 197, 24, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(28, 26, 22, 0.15);
  backdrop-filter: blur(6px);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
  background: rgba(255, 255, 255, 0.85);
}

/* ---------------------------------------------------------
   Scroll cue
   --------------------------------------------------------- */

.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(28, 26, 22, 0.18);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  z-index: 2;
}

.scroll-cue-dot {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold-electric);
  animation: scroll-cue 1.8s ease-in-out infinite;
}

@keyframes scroll-cue {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 520px) {
  .hero {
    padding-top: 5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero-inner {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .hero-cta {
    width: 100%;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-inner,
  .scroll-cue-dot {
    animation: none;
  }
}

/* =========================================================
   About section
   ========================================================= */

.about {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6rem 1.5rem 7rem;
}

.about-inner {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 1.5rem;
}

.about-title .highlight {
  position: relative;
  display: inline-block;
  background: linear-gradient(100deg, var(--gold-deep) 0%, var(--gold-electric) 45%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-copy {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-width: 640px;
}

.about-copy p {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------
   Package includes grid
   --------------------------------------------------------- */

.includes {
  margin-top: 5rem;
  width: 100%;
  max-width: 1140px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.includes-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--ink);
  text-align: center;
}

.includes-sub {
  margin-top: 0.6rem;
  max-width: 520px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
}

.includes-grid {
  margin-top: 2.75rem;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.include-card {
  flex: 1 1 190px;
  max-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding: 2.1rem 1.35rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(28, 26, 22, 0.08);
  box-shadow: 0 10px 28px rgba(28, 26, 22, 0.05);
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.include-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(255, 255, 255, 0.92);
}

.include-icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--gold-deep);
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.16), rgba(212, 175, 55, 0.05));
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.include-card:hover .include-icon {
  transform: scale(1.08);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.45);
}

.include-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.include-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: 0.005em;
  text-align: center;
}

@media (max-width: 720px) {
  .about {
    padding: 5rem 1.25rem 5.5rem;
  }

  .includes {
    margin-top: 3.75rem;
  }

  .include-card {
    flex: 1 1 160px;
    max-width: 220px;
  }
}

@media (max-width: 420px) {
  .includes-grid {
    gap: 0.9rem;
  }

  .include-card {
    flex: 1 1 130px;
    padding: 1.6rem 0.9rem;
  }
}

/* =========================================================
   Shared section heading (Packages, Contact)
   ========================================================= */

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 1.5rem;
  text-align: center;
}

.section-title .highlight {
  position: relative;
  display: inline-block;
  background: linear-gradient(100deg, var(--gold-deep) 0%, var(--gold-electric) 45%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-sub {
  margin-top: 1rem;
  max-width: 560px;
  text-align: center;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.7;
}

/* =========================================================
   Packages section
   ========================================================= */

.packages {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem 7rem;
}

.packages-inner {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.packages-grid {
  margin-top: 3.5rem;
  width: 100%;
  max-width: 1140px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.package-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(28, 26, 22, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(28, 26, 22, 0.06);
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.package-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(212, 175, 55, 0.22);
  border-color: rgba(212, 175, 55, 0.35);
}

.package-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.package-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.package-card:hover .package-image img {
  transform: scale(1.07);
}

.package-duration {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--gold-deep);
  box-shadow: 0 6px 16px rgba(28, 26, 22, 0.14);
}

.package-body {
  padding: 1.75rem 1.6rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.package-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
}

.package-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(28, 26, 22, 0.08);
}

.package-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
}

.package-price-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}

.package-date {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--gold-deep);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}

.package-date svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.package-desc {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.package-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.15rem 0 1.4rem;
}

.tag {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.28);
  color: var(--gold-deep);
  letter-spacing: 0.01em;
}

.package-btn {
  margin-top: auto;
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-size: 0.94rem;
}

@media (max-width: 720px) {
  .packages {
    padding-top: 1rem;
    padding-bottom: 5.5rem;
  }

  .packages-grid {
    margin-top: 2.75rem;
  }
}

/* =========================================================
   Contact section
   ========================================================= */

.contact {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem 8rem;
}

.contact-inner {
  max-width: 640px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-form {
  margin-top: 2.75rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(28, 26, 22, 0.08);
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: 0 14px 34px rgba(28, 26, 22, 0.05);
  backdrop-filter: blur(6px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.field-hint {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: normal;
  color: var(--ink-faint);
}

.form-field input,
.form-field textarea,
.form-field select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(28, 26, 22, 0.14);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--ink-faint);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234c473e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 16px;
}

.contact-submit {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.form-success {
  display: none;
  margin-top: 0.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  background: rgba(245, 197, 24, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}

.form-success.visible {
  display: block;
}

.form-error {
  display: none;
  margin-top: 0.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  background: rgba(200, 60, 48, 0.08);
  border: 1px solid rgba(200, 60, 48, 0.3);
  color: #a53a2f;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}

.form-error a {
  color: inherit;
  text-decoration: underline;
}

.form-error.visible {
  display: block;
}

.contact-submit[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 620px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.75rem;
  }

  .contact-submit {
    width: 100%;
  }
}

/* =========================================================
   Sticky navigation
   ========================================================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28, 26, 22, 0.05);
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
  padding: 0.6rem 1.5rem;
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(212, 175, 55, 0.2);
  box-shadow: 0 10px 30px rgba(28, 26, 22, 0.08);
}

.navbar-inner {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.navbar-brand-icon {
  color: var(--gold-electric);
  font-size: 1rem;
  filter: drop-shadow(0 0 6px rgba(245, 197, 24, 0.6));
}

.navbar-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}

.navbar-link {
  position: relative;
  padding: 0.3rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.25s ease;
}

.navbar-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-electric));
  transition: right 0.3s ease;
}

.navbar-link:hover {
  color: var(--ink);
}

.navbar-link:hover::after,
.navbar-link.active::after {
  right: 0;
}

.navbar-link.active {
  color: var(--gold-deep);
}

.navbar-cta {
  padding: 0.6rem 1.4rem;
  font-size: 0.86rem;
  margin-left: 0.25rem;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(28, 26, 22, 0.12);
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  flex-shrink: 0;
}

.navbar-toggle-bar {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-toggle[aria-expanded="true"] .navbar-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-toggle[aria-expanded="true"] .navbar-toggle-bar:nth-child(2) {
  opacity: 0;
}

.navbar-toggle[aria-expanded="true"] .navbar-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .navbar-toggle {
    display: flex;
  }

  .navbar-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    padding: 0.5rem 1.5rem 1.75rem;
    border-top: 1px solid rgba(28, 26, 22, 0.08);
    box-shadow: 0 20px 40px rgba(28, 26, 22, 0.12);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .navbar-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .navbar-link {
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(28, 26, 22, 0.06);
    font-size: 1rem;
  }

  .navbar-link::after {
    display: none;
  }

  .navbar-cta {
    width: 100%;
    justify-content: center;
    margin: 1rem 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .navbar,
  .navbar-menu,
  .navbar-toggle-bar {
    transition: none;
  }
}

/* =========================================================
   FAQ — accordion. Answers are collapsed by default and
   revealed with a smooth height animation via the
   grid-template-rows trick, no JS height measuring needed.
   ========================================================= */

.faq {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem 8rem;
}

.faq-inner {
  max-width: 720px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-list {
  margin-top: 2.75rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  width: 100%;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(28, 26, 22, 0.08);
  box-shadow: 0 10px 28px rgba(28, 26, 22, 0.05);
  backdrop-filter: blur(6px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  overflow: hidden;
}

.faq-item:has(.faq-answer[aria-hidden="false"]),
.faq-item.open {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(212, 175, 55, 0.16);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: none;
  border: none;
  padding: 1.35rem 1.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.faq-question:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--gold-deep);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.faq-icon::before {
  width: 100%;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 100%;
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleY(0);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-question[aria-expanded="true"] + .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-answer-inner p,
.faq-answer-inner ul {
  padding: 0 1.6rem 1.5rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-answer-inner ul {
  padding-top: 0.35rem;
  padding-left: 2.9rem;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.faq-answer-inner p + ul {
  padding-top: 0;
}

.faq-answer-inner ul li strong {
  color: var(--ink);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .faq-answer {
    transition: none;
  }

  .faq-icon::before,
  .faq-icon::after {
    transition: none;
  }
}

@media (max-width: 620px) {
  .faq {
    padding: 1.5rem 1.25rem 6rem;
  }

  .faq-question {
    padding: 1.15rem 1.25rem;
    font-size: 1rem;
  }

  .faq-answer-inner p,
  .faq-answer-inner ul {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .faq-answer-inner ul {
    padding-left: 2.35rem;
  }
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 3.5rem 1.5rem 2.5rem;
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(28, 26, 22, 0.08);
  backdrop-filter: blur(6px);
}

.footer-inner {
  max-width: 640px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.footer-brand-icon {
  color: var(--gold-electric);
  font-size: 1.05rem;
  filter: drop-shadow(0 0 6px rgba(245, 197, 24, 0.6));
}

.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}

.footer-tagline {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
  margin-top: 0.4rem;
}

.footer-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--gold-deep);
}

.footer-divider {
  width: 100%;
  max-width: 220px;
  height: 1px;
  margin: 0.6rem 0;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
}

.footer-copy {
  color: var(--ink-faint);
  font-size: 0.85rem;
}

@media (max-width: 520px) {
  .site-footer {
    padding: 3rem 1.25rem 2.25rem;
  }

  .footer-links {
    gap: 1.1rem 1.5rem;
  }
}

/* =========================================================
   Hero framing imagery — Al-Masjid an-Nabawi (left) and the
   Kaaba (right), bleeding off the hero's edges and joined by
   a thin gold arc. Purely decorative, desktop only: hidden
   below the width where they'd start crowding the headline.
   ========================================================= */

.hero {
  overflow-x: hidden;
}

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

.hero-photo {
  position: absolute;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.95;
  animation: photo-fade 1.4s ease both;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* Each image fades toward its inner-top corner (away from the
   page's outer edge and away from the sky) using ONE radial
   gradient anchored near its outer-bottom corner. A single mask
   layer renders consistently everywhere, including iOS Safari —
   layering two gradients with mask-composite to get the same
   two-directional fade is what silently blanked the images on
   real phones before, so that approach is intentionally avoided. */

.hero-photo-left img {
  -webkit-mask-image: radial-gradient(
    ellipse 130% 125% at 8% 96%,
    #000 42%,
    transparent 92%
  );
  mask-image: radial-gradient(
    ellipse 130% 125% at 8% 96%,
    #000 42%,
    transparent 92%
  );
}

.hero-photo-right img {
  -webkit-mask-image: radial-gradient(
    ellipse 130% 125% at 92% 96%,
    #000 42%,
    transparent 92%
  );
  mask-image: radial-gradient(
    ellipse 130% 125% at 92% 96%,
    #000 42%,
    transparent 92%
  );
}

.hero-photo-left {
  left: -60px;
  width: 300px;
}

.hero-photo-right {
  right: -70px;
  width: 420px;
}

.hero-arc {
  position: absolute;
  top: 14%;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
  animation: photo-fade 1.6s ease both;
}

@keyframes photo-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 0.95;
    transform: translateY(0);
  }
}

/* Below the desktop breakpoint the photos scale down and tuck
   further into the corners instead of disappearing, so the
   hero still reads as "framed" on tablets and phones. The
   connecting arc is desktop-only — at these narrower widths it
   would sit too close to the headline. */

@media (max-width: 1240px) {
  .hero-arc {
    display: none;
  }

  .hero-photo-left {
    left: -45px;
    width: 220px;
  }

  .hero-photo-right {
    right: -55px;
    width: 310px;
  }
}

@media (max-width: 860px) {
  .hero-photo-left {
    left: -32px;
    width: 165px;
  }

  .hero-photo-right {
    right: -40px;
    width: 230px;
  }
}

@media (max-width: 620px) {
  .hero-photo {
    opacity: 0.8;
  }

  .hero-photo-left {
    left: -20px;
    width: 120px;
  }

  .hero-photo-right {
    right: -26px;
    width: 165px;
  }
}

@media (max-width: 380px) {
  .hero-photo-left {
    width: 100px;
  }

  .hero-photo-right {
    width: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo,
  .hero-arc {
    animation: none;
  }
}
