:root {
  --brand-green: #075637;
  --brand-green-2: #0b6b41;
  --brand-green-dark: #033a27;
  --brand-navy: #12355a;
  --brand-gold: #d99a22;
  --brand-gold-light: #f2c96d;
  --ink: #263238;
  --muted: #6b7477;
  --surface: #ffffff;
  --surface-soft: #f6f8f6;
  --border: #e2e8e3;
  --shadow-sm: 0 10px 30px rgba(13, 51, 39, 0.08);
  --shadow-md: 0 18px 48px rgba(13, 51, 39, 0.14);
  --heading-font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body-font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  color: var(--ink);
  background: var(--surface);
  font-family: var(--body-font);
  line-height: 1.65;
  overflow-x: hidden;
}

body.modal-open {
  padding-right: 0 !important;
}

a {
  color: inherit;
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--brand-navy);
  font-family: var(--heading-font);
  font-weight: 600;
  line-height: 1.2;
}

::selection {
  color: #fff;
  background: var(--brand-green);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--brand-navy);
  border-radius: 0.35rem;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: relative;
  z-index: 2;
  background:
    radial-gradient(circle at 13% 25%, rgba(217, 154, 34, 0.08), transparent 28%),
    radial-gradient(circle at 85% 65%, rgba(11, 107, 65, 0.06), transparent 30%),
    #fff;
  border-bottom: 1px solid rgba(217, 154, 34, 0.35);
}

.site-logo {
  width: 170px;
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(12, 48, 80, 0.12));
  transition: transform 0.3s ease;
}

.logo-link:hover .site-logo,
.logo-link:focus-visible .site-logo {
  transform: translateY(-3px);
}

.header-title-wrap {
  position: relative;
}

.header-title-wrap::before,
.header-title-wrap::after {
  position: absolute;
  top: 14%;
  width: 1px;
  height: 72%;
  content: "";
  background: linear-gradient(to bottom, transparent, rgba(217, 154, 34, 0.7), transparent);
}

.header-title-wrap::before {
  left: 0;
}

.header-title-wrap::after {
  right: 0;
}

.header-calligraphy {
  display: block;
  width: auto;
  max-width: none;
  height: 29px;
  margin: 0 auto 0.55rem;
  object-fit: contain;
  opacity: 0.92;
}

.site-title {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  font-size: clamp(2.15rem, 4vw, 3.55rem);
  letter-spacing: -0.035em;
}

.site-title span {
  color: var(--brand-green);
}

.site-title strong {
  color: var(--brand-navy);
  font-weight: 700;
}

.title-ornament,
.caption-ornament,
.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.title-ornament {
  margin-top: 0.45rem;
}

.title-ornament span {
  width: 48px;
  height: 1px;
  background: var(--brand-gold);
}

.title-ornament i {
  color: var(--brand-green);
  font-style: normal;
  font-size: 0.85rem;
}

.quran-quote {
  position: relative;
  max-width: 310px;
  padding-left: 1.35rem;
  border-left: 2px solid rgba(217, 154, 34, 0.65);
}

.quote-calligraphy {
  display: block;
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 0.65rem;
  /* Blends the scan's white background into the light header. */
  mix-blend-mode: multiply;
  opacity: 0.9;
}

.quran-quote p {
  margin: 0 0 0.55rem;
  color: #2f3e4b;
  font-family: var(--heading-font);
  font-size: 0.94rem;
  line-height: 1.5;
}

.quran-quote footer {
  color: var(--brand-green);
  font-size: 0.8rem;
  font-weight: 800;
}

/* Navigation */
.main-navbar {
  min-height: 64px;
  padding: 0;
  background: linear-gradient(90deg, #043f2a, #075637 50%, #03432d);
  border-bottom: 3px solid var(--brand-gold);
  box-shadow: 0 8px 20px rgba(2, 41, 27, 0.18);
}

.main-navbar .navbar-brand {
  max-width: 250px;
  color: #fff;
  font-family: var(--heading-font);
  font-size: 1rem;
  line-height: 1.2;
  white-space: normal;
}

.main-navbar .navbar-toggler {
  padding: 0.5rem 0;
}

.main-navbar .nav-link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 61px;
  padding: 0 1rem !important;
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--heading-font);
  font-size: 0.98rem;
  font-weight: 700;
  text-align: left;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.main-navbar .nav-link::after {
  border-top-color: currentColor;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link:focus,
.main-navbar .nav-link.active {
  color: var(--brand-gold-light);
  background: rgba(255, 255, 255, 0.045);
}

.main-navbar .nav-link.active::before {
  position: absolute;
  right: 0.65rem;
  bottom: -3px;
  left: 0.65rem;
  height: 3px;
  content: "";
  background: var(--brand-gold);
  border-radius: 5px 5px 0 0;
}

.main-navbar .nav-button {
  width: 100%;
  border: 0;
  background: transparent;
}

.main-navbar .dropdown-menu {
  min-width: 235px;
  margin-top: 0;
  padding: 0.55rem;
  border: 1px solid rgba(217, 154, 34, 0.28);
  border-radius: 0 0 0.75rem 0.75rem;
  box-shadow: var(--shadow-md);
}

.main-navbar .dropdown-item {
  padding: 0.68rem 0.8rem;
  color: var(--ink);
  font-size: 0.9rem;
  border-radius: 0.45rem;
}

.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-item:focus {
  color: var(--brand-green-dark);
  background: #edf7f1;
}

/* Hero */
.hero-section {
  position: relative;
  margin-bottom: 26px;
  background: #edf1ed;
  border-bottom: 3px solid var(--brand-gold);
}

.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
  height: clamp(420px, 33vw, 580px);
}

/* Slow, luxurious crossfade between slides. */
.hero-section .carousel-item {
  overflow: hidden;
  transition: opacity 1.2s ease-in-out;
}

/* Each slide's photo, blurred and scaled, fills the stage behind the content. */
.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(26px) saturate(1.12) brightness(0.85);
  transform: scale(1.2);
}

/* Brand tint + faint gold dot lattice keep the copy readable and on-palette. */
.hero-section .carousel-item::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle, rgba(242, 201, 109, 0.14) 1px, transparent 1.7px),
    linear-gradient(96deg, rgba(2, 53, 35, 0.93) 10%, rgba(2, 53, 35, 0.7) 45%, rgba(2, 53, 35, 0.32) 100%);
  background-size: 26px 26px, auto;
}

/* Ken Burns drift on the backdrop while the slide is on stage. */
.carousel-item.active .hero-backdrop {
  animation: hero-backdrop-drift 9s cubic-bezier(0.23, 0.72, 0.36, 1) both;
}

@keyframes hero-backdrop-drift {
  from {
    transform: scale(1.2) translateX(-1.5%);
  }

  to {
    transform: scale(1.28) translateX(1.5%);
  }
}

.hero-slide {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
}

.hero-slide-inner {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.hero-slide-copy {
  position: relative;
  flex: 1 1 40%;
  max-width: 560px;
  color: #fff;
  text-align: left;
}

/* Soft gold glow anchoring the copy column. */
.hero-slide-copy::before {
  position: absolute;
  top: -60px;
  left: -70px;
  width: 360px;
  height: 360px;
  content: "";
  background: radial-gradient(circle, rgba(242, 201, 109, 0.15), transparent 65%);
  pointer-events: none;
}

.hero-slide-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3.6vw, 3rem);
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.7rem;
  padding: 0.42rem 0.9rem;
  color: var(--brand-gold-light);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(242, 201, 109, 0.4);
  border-radius: 2rem;
  backdrop-filter: blur(3px);
}

.hero-kicker i {
  color: var(--brand-gold);
  font-size: 0.8rem;
  font-style: normal;
}

.hero-points {
  display: grid;
  gap: 0.5rem;
  margin: 1.05rem 0 0;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
}

.hero-points li::before {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 21px;
  height: 21px;
  content: "\2713";
  color: var(--brand-gold-light);
  font-size: 0.64rem;
  font-weight: 800;
  background: rgba(242, 201, 109, 0.16);
  border: 1px solid rgba(242, 201, 109, 0.5);
  border-radius: 50%;
}

.hero-lead {
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.hero-cta .btn {
  padding: 0.62rem 1.15rem;
  font-size: 0.78rem;
}

.hero-cta .btn-outline-light {
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-color: rgba(255, 255, 255, 0.55);
}

/* The sharp original floats beside the copy in a framed card, near its
   native size, so the small source files never get stretched. */
.hero-slide-media {
  position: relative;
  display: flex;
  flex: 1 1 60%;
  justify-content: center;
  min-width: 0;
}

/* Offset gold frame behind the card; the photo floats while it stays put. */
.hero-slide-media::before {
  position: absolute;
  top: -13px;
  left: -13px;
  width: 100%;
  height: 100%;
  content: "";
  border: 2px solid rgba(242, 201, 109, 0.65);
  border-radius: 0.75rem;
}

/* Certification stamp pinned to the card's corner. */
.hero-slide-media::after {
  position: absolute;
  top: -15px;
  right: -8px;
  z-index: 2;
  padding: 0.45rem 0.95rem;
  content: "\2713\00a0 Certified Halal";
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #e4a72f, #c98510);
  border-radius: 2rem;
  box-shadow: 0 10px 24px rgba(201, 133, 16, 0.45);
}

.hero-slide-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(300px, 24vw, 400px);
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(242, 201, 109, 0.85);
  border-radius: 0.6rem;
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.08),
    0 24px 50px rgba(0, 0, 0, 0.35);
}

/* Product collages on white can't be cropped; letterbox them instead. */
.hero-slide-media--contain img {
  object-fit: contain;
}

/* Copy rises in staggered; the photo card follows with a settle-and-float. */
.hero-slide-copy .hero-kicker,
.hero-slide-copy h2,
.hero-slide-copy .hero-lead,
.hero-slide-copy .caption-ornament,
.hero-slide-copy .hero-points,
.hero-slide-copy .hero-cta {
  opacity: 0;
  transform: translateY(26px);
}

.carousel-item.active .hero-slide-copy .hero-points {
  animation: hero-rise 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.95s forwards;
}

.carousel-item.active .hero-slide-copy .hero-cta {
  animation: hero-rise 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 1.1s forwards;
}

.carousel-item.active .hero-slide-copy .hero-kicker {
  animation: hero-rise 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.4s forwards;
}

.carousel-item.active .hero-slide-copy h2 {
  animation: hero-rise 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.55s forwards;
}

.carousel-item.active .hero-slide-copy .hero-lead {
  animation: hero-rise 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.7s forwards;
}

.carousel-item.active .hero-slide-copy .caption-ornament {
  animation: hero-rise 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.85s forwards;
}

@keyframes hero-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-slide-media img {
  opacity: 0;
  transform: translateY(34px) scale(0.94);
}

.carousel-item.active .hero-slide-media img {
  animation:
    hero-media-in 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.5s forwards,
    hero-media-float 5s ease-in-out 1.6s infinite alternate;
}

@keyframes hero-media-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hero-media-float {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-9px);
  }
}

.caption-ornament {
  margin-top: 0.75rem;
}

.hero-slide-copy .caption-ornament {
  justify-content: flex-start;
}

.caption-ornament span {
  width: 92px;
  height: 1px;
  background: rgba(242, 201, 109, 0.9);
}

.caption-ornament i {
  color: var(--brand-gold-light);
  font-style: normal;
}

.hero-section .carousel-indicators {
  bottom: 14px;
  gap: 0.4rem;
  margin-bottom: 0;
}

.hero-section .carousel-indicators [data-bs-target] {
  width: 26px;
  height: 4px;
  margin: 0;
  background-color: rgba(255, 255, 255, 0.45);
  border: 0;
  border-radius: 999px;
  opacity: 1;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.hero-section .carousel-indicators .active {
  width: 42px;
  height: 4px;
  background-color: var(--brand-gold);
}

.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
  top: 50%;
  bottom: auto;
  width: 50px;
  height: 50px;
  margin-inline: 18px;
  background: rgba(2, 53, 35, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transform: translateY(-50%);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease, background-color 0.25s ease;
}

.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
  background: rgba(2, 53, 35, 0.6);
}

.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.hero-section:hover .carousel-control-prev,
.hero-section:hover .carousel-control-next,
.hero-section .carousel-control-prev:focus,
.hero-section .carousel-control-next:focus {
  opacity: 0.75;
}

/* Shared sections */
.section-space {
  padding: 52px 0;
}

.section-heading {
  max-width: 860px;
}

.section-heading h2,
.about-copy h2,
.cta-copy h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
}

.section-heading h2 span {
  color: var(--brand-green);
}

.section-heading p {
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.section-ornament {
  margin-bottom: 0.9rem;
}

.section-ornament span {
  width: 54px;
  height: 1px;
  background: var(--brand-gold);
}

.section-ornament i {
  color: var(--brand-green);
  font-style: normal;
  font-size: 0.9rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--brand-gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.btn {
  border-radius: 0.22rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.btn-brand {
  padding: 0.65rem 1.25rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-green-2), var(--brand-green));
  border-color: var(--brand-green);
  box-shadow: 0 8px 18px rgba(7, 86, 55, 0.18);
}

.btn-brand:hover,
.btn-brand:focus-visible {
  color: #fff;
  background: var(--brand-green-dark);
  border-color: var(--brand-green-dark);
  transform: translateY(-1px);
}

.btn-gold {
  padding: 0.8rem 1.55rem;
  color: #fff;
  background: linear-gradient(135deg, #e4a72f, #c98510);
  border: 1px solid #c98510;
  box-shadow: 0 10px 24px rgba(201, 133, 16, 0.24);
  text-transform: uppercase;
}

.btn-gold:hover,
.btn-gold:focus-visible {
  color: #fff;
  background: #b7770d;
  border-color: #b7770d;
  transform: translateY(-1px);
}

.btn-arrow span {
  display: inline-block;
  margin-left: 0.35rem;
  transition: transform 0.2s ease;
}

.btn-arrow:hover span {
  transform: translateX(4px);
}

/* Service cards */
.intro-section {
  background:
    radial-gradient(circle at 50% 0, rgba(11, 107, 65, 0.045), transparent 24%),
    #fff;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.4rem 1.45rem;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(12, 86, 56, 0.1);
  border-radius: 0.55rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card:hover {
  border-color: rgba(217, 154, 34, 0.45);
  box-shadow: var(--shadow-md);
  transform: translateY(-7px);
}

.service-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 1.1rem;
  color: var(--brand-green-2);
}

.service-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.service-card h3 {
  min-height: 3.2rem;
  margin-bottom: 0.65rem;
  font-size: 1.18rem;
}

.service-card p {
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.service-card .btn {
  min-width: 118px;
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
}

/* About */
.about-section {
  overflow: hidden;
  background: #eef3f0;
}

.about-copy-wrap {
  display: flex;
  align-items: center;
}

.about-copy {
  width: 100%;
  max-width: 640px;
}

.about-copy h2 {
  position: relative;
  margin-bottom: 1.4rem;
  color: var(--brand-green-dark);
}

.about-copy h2::after {
  position: absolute;
  bottom: -0.55rem;
  left: 0;
  width: 44px;
  height: 2px;
  content: "";
  background: var(--brand-gold);
}

.about-copy p {
  color: #5d6764;
}

.about-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo-frame {
  position: relative;
  width: 100%;
}

.about-photo-frame::before {
  position: absolute;
  top: -14px;
  left: -14px;
  z-index: 0;
  width: 100%;
  height: 100%;
  content: "";
  border: 2px solid var(--brand-gold);
  border-radius: 0.9rem;
}

.about-photo-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center 54%;
  border: 6px solid #fff;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-md);
}

/* Certified categories */
.categories-section {
  background: var(--surface-soft);
}

.category-card {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
  border-radius: 0.55rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.category-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(3, 58, 39, 0.82), rgba(3, 58, 39, 0.05) 55%);
}

.category-card span {
  position: absolute;
  right: 0.9rem;
  bottom: 0.75rem;
  left: 0.9rem;
  z-index: 1;
  color: #fff;
  font-family: var(--heading-font);
  font-size: 1.05rem;
  font-weight: 700;
}

/* Contact */
.contact-section {
  background: #fff;
}

.contact-info-card {
  position: relative;
  overflow: hidden;
  padding: 2.4rem 2.1rem;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(135deg, var(--brand-green-dark), var(--brand-green) 60%, var(--brand-green-2));
  border-radius: 0.9rem;
  box-shadow: var(--shadow-md);
}

.contact-info-card::after {
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 210px;
  height: 210px;
  content: "";
  opacity: 0.14;
  background: repeating-conic-gradient(from 0deg, var(--brand-gold) 0 8deg, transparent 8deg 16deg);
  border: 1px solid var(--brand-gold);
  border-radius: 50%;
  pointer-events: none;
}

.contact-info-card .section-ornament.light {
  justify-content: flex-start;
  margin-bottom: 0.8rem;
}

.contact-info-card .section-ornament.light span {
  width: 38px;
  background: var(--brand-gold-light);
}

.contact-info-card .section-ornament.light i {
  color: var(--brand-gold-light);
}

.contact-card-title {
  margin-bottom: 0.7rem;
  color: #fff;
  font-size: 1.75rem;
}

.contact-card-lead {
  margin-bottom: 1.6rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.93rem;
}

.contact-info-card .contact-list {
  position: relative;
  z-index: 1;
  margin-bottom: 1.6rem;
}

.contact-info-card .contact-list li {
  margin-bottom: 1.05rem;
  font-size: 0.93rem;
}

.contact-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.contact-card-note {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.9rem 1.1rem;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--brand-gold);
  border-radius: 0.45rem;
}

.contact-card-note strong {
  color: var(--brand-gold-light);
}

.contact-form {
  height: 100%;
  padding: 2.2rem;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand-gold);
  border-radius: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.contact-form textarea.form-control {
  min-height: 130px;
}

.contact-form .form-control::placeholder {
  color: #a9b3ae;
  font-size: 0.88rem;
}

.contact-form .req {
  color: #c0392b;
}

.btn-send span {
  display: inline-block;
  margin-left: 0.4rem;
  transition: transform 0.2s ease;
}

.btn-send:hover span {
  transform: translateX(4px);
}

.form-privacy-note {
  max-width: 380px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

#contactAlert:not(.d-none) {
  margin-bottom: 1.25rem;
}

/* Partners */
.partners-section {
  background: #fff;
}

.partners-section .section-heading h2 {
  color: var(--brand-green-dark);
}

.partner-card {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.45rem;
  box-shadow: 0 8px 20px rgba(13, 51, 39, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.partner-card:hover {
  border-color: rgba(217, 154, 34, 0.45);
  box-shadow: 0 14px 32px rgba(13, 51, 39, 0.1);
  transform: translateY(-4px);
}

.partner-card img {
  width: 100%;
  height: 94px;
  max-width: 180px;
  object-fit: contain;
}

.partner-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.partner-dots span {
  width: 9px;
  height: 9px;
  background: #d3d7d4;
  border-radius: 50%;
}

.partner-dots .active {
  width: 11px;
  height: 11px;
  background: var(--brand-green);
}

/* CTA */
.cta-section {
  padding: 0 0 1.4rem;
  background: #fff;
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.4rem;
  padding: 1.75rem 2.6rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 0 100%, rgba(217, 154, 34, 0.12), transparent 32%),
    radial-gradient(circle at 100% 0, rgba(11, 107, 65, 0.09), transparent 32%),
    linear-gradient(90deg, #fffaf0, #fff, #fffaf0);
  border: 1px solid rgba(217, 154, 34, 0.7);
  border-radius: 0.4rem;
}

.cta-panel::before,
.cta-panel::after {
  position: absolute;
  width: 130px;
  height: 130px;
  content: "";
  opacity: 0.16;
  background:
    repeating-conic-gradient(from 0deg, var(--brand-gold) 0 8deg, transparent 8deg 16deg);
  border: 1px solid var(--brand-gold);
  border-radius: 50%;
}

.cta-panel::before {
  bottom: -82px;
  left: -55px;
}

.cta-panel::after {
  top: -82px;
  right: -55px;
}

.cta-icon {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  padding: 0.7rem;
  color: var(--brand-gold);
  background: #fff;
  border: 1px solid rgba(217, 154, 34, 0.35);
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(217, 154, 34, 0.16);
}

.cta-copy,
.cta-panel .btn {
  position: relative;
  z-index: 1;
}

.cta-copy h2 {
  margin-bottom: 0.25rem;
  color: var(--brand-green-dark);
}

.cta-copy p {
  margin: 0;
  color: var(--muted);
}

/* Footer */
.site-footer {
  color: #33413b;
  background:
    radial-gradient(circle at 50% 0, rgba(217, 154, 34, 0.08), transparent 25%),
    linear-gradient(125deg, #eef4f0, #f7faf7 50%, #ebf2ed);
  border-top: 3px solid var(--brand-gold);
}

.footer-title {
  margin-bottom: 1.25rem;
  color: var(--brand-green-dark);
  font-size: 1.55rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.92rem;
}

.contact-list svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: #fff;
}

.site-footer .contact-list svg {
  fill: var(--brand-green);
}

.contact-list a,
.footer-links a,
.footer-links button {
  color: rgba(255, 255, 255, 0.87);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.site-footer .contact-list a,
.site-footer .footer-links a,
.site-footer .footer-links button {
  color: #33413b;
}

.contact-list a:hover,
.contact-list a:focus,
.footer-links a:hover,
.footer-links a:focus,
.footer-links button:hover,
.footer-links button:focus {
  color: var(--brand-gold-light);
}

.site-footer .contact-list a:hover,
.site-footer .contact-list a:focus,
.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus,
.site-footer .footer-links button:hover,
.site-footer .footer-links button:focus {
  color: var(--brand-green);
}

.footer-brand img {
  width: 210px;
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.18));
}

.footer-brand p {
  max-width: 360px;
  margin: 0 auto;
  font-size: 0.86rem;
}

.footer-links li {
  border-bottom: 1px solid rgba(7, 86, 55, 0.14);
}

.footer-links a,
.footer-links button {
  display: block;
  width: 100%;
  padding: 0.43rem 0;
  font-size: 0.84rem;
  text-align: left;
  background: transparent;
  border: 0;
}

.footer-links a::before,
.footer-links button::before {
  margin-right: 0.5rem;
  color: var(--brand-gold);
  content: "›";
}

.footer-links a:hover,
.footer-links button:hover {
  padding-left: 0.25rem;
}

.footer-bottom {
  padding: 1rem 0;
  color: #55645d;
  font-size: 0.82rem;
  background: rgba(7, 86, 55, 0.06);
  border-top: 1px solid rgba(217, 154, 34, 0.35);
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1030;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--brand-green);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(3, 58, 39, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--brand-gold);
}

.back-to-top svg {
  width: 23px;
  height: 23px;
}

/* Modals and forms */
.brand-modal {
  overflow: hidden;
  border: 0;
  border-radius: 0.75rem;
  box-shadow: 0 24px 70px rgba(2, 43, 28, 0.28);
}

.brand-modal .modal-header {
  padding: 1.25rem 1.4rem;
  background: linear-gradient(100deg, #f5fbf7, #fffaf0);
  border-bottom: 1px solid rgba(217, 154, 34, 0.28);
}

.brand-modal .modal-body {
  padding: 1.4rem;
}

.brand-modal .modal-footer {
  padding: 1rem 1.4rem;
  background: #fafcfb;
}

.modal-kicker {
  color: var(--brand-green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-label {
  color: var(--brand-navy);
  font-size: 0.86rem;
  font-weight: 750;
}

.form-control,
.form-select {
  min-height: 46px;
  border-color: #d8e1da;
  border-radius: 0.35rem;
}

textarea.form-control {
  min-height: auto;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-green-2);
  box-shadow: 0 0 0 0.22rem rgba(11, 107, 65, 0.13);
}

.verification-result {
  padding: 0.9rem 1rem;
  border-radius: 0.4rem;
}

.verification-result.is-pending {
  color: #795a14;
  background: #fff8df;
  border: 1px solid #efd483;
}

/* Gold ring flash on the exact card an anchor link points to */
.anchor-flash {
  animation: anchor-flash 1.7s ease;
}

@keyframes anchor-flash {
  0%,
  55% {
    border-color: var(--brand-gold);
    box-shadow: 0 0 0 4px rgba(217, 154, 34, 0.35);
  }

  100% {
    box-shadow: 0 0 0 4px transparent;
  }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Staggered cascade for grid rows (categories, services, why-us, partners) */
.row > .col.reveal:nth-child(2) { transition-delay: 0.08s; }
.row > .col.reveal:nth-child(3) { transition-delay: 0.16s; }
.row > .col.reveal:nth-child(4) { transition-delay: 0.24s; }
.row > .col.reveal:nth-child(5) { transition-delay: 0.32s; }
.row > .col.reveal:nth-child(6) { transition-delay: 0.4s; }

/* Button micro-interactions */
.btn-brand,
.btn-gold,
.category-card,
.service-icon svg,
.nav-link {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn-brand:active,
.btn-gold:active {
  transform: translateY(0) scale(0.98);
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .carousel-item.active .hero-backdrop {
    animation: none;
  }

  .hero-slide-copy .hero-kicker,
  .hero-slide-copy h2,
  .hero-slide-copy .hero-lead,
  .hero-slide-copy .caption-ornament,
  .hero-slide-copy .hero-points,
  .hero-slide-copy .hero-cta,
  .hero-slide-media img {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}

/* Responsive */
@media (max-width: 1199.98px) {
  .main-navbar .nav-link {
    padding-inline: 0.75rem !important;
    font-size: 0.92rem;
  }

  .site-logo {
    width: 155px;
  }

  .quran-quote p {
    font-size: 0.87rem;
  }

  .cta-panel {
    grid-template-columns: auto 1fr;
  }

  .cta-panel .btn {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 991.98px) {
  html {
    scroll-padding-top: 72px;
  }

  .site-logo {
    width: 145px;
  }

  .header-title-wrap::before,
  .header-title-wrap::after {
    display: none;
  }

  .site-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .header-calligraphy {
    height: 27px;
  }

  .quran-quote {
    max-width: 560px;
    padding: 0.8rem 1rem 0.8rem 1.2rem;
    text-align: center;
    background: rgba(247, 250, 247, 0.72);
    border: 0;
    border-top: 1px solid rgba(217, 154, 34, 0.38);
    border-bottom: 1px solid rgba(217, 154, 34, 0.38);
  }

  .quote-calligraphy {
    margin-inline: auto;
  }

  .main-navbar {
    min-height: 58px;
    padding: 0.35rem 0;
  }

  .main-navbar .navbar-collapse {
    margin-top: 0.35rem;
    padding: 0.45rem 0 0.7rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-navbar .nav-link {
    min-height: 46px;
    padding: 0.55rem 0.85rem !important;
    border-radius: 0.35rem;
  }

  .main-navbar .nav-link.active::before {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 0;
    width: 3px;
    height: 26px;
    transform: translateY(-50%);
  }

  .main-navbar .dropdown-menu {
    margin: 0 0 0.45rem 0.75rem;
    border-radius: 0.5rem;
    box-shadow: none;
  }

  .hero-section .carousel,
  .hero-section .carousel-inner,
  .hero-section .carousel-item {
    height: 570px;
  }

  .hero-slide-inner {
    flex-direction: column;
    justify-content: center;
    gap: 1.1rem;
    text-align: center;
  }

  .hero-slide-copy {
    max-width: 100%;
    text-align: center;
  }

  .hero-slide-copy .caption-ornament {
    justify-content: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-points,
  .hero-slide-copy::before {
    display: none;
  }

  .hero-slide-media {
    width: 100%;
  }

  .hero-slide-media img {
    height: 260px;
  }

  .section-space {
    padding: 36px 0;
  }

  .about-copy {
    max-width: 100%;
  }

  .about-photo-frame {
    max-width: 420px;
  }

  .about-photo-frame img {
    height: 360px;
  }

  .cta-panel {
    grid-template-columns: auto 1fr;
    padding: 1.6rem 1.8rem;
  }
}

@media (max-width: 767.98px) {
  .hero-slide-media img {
    height: 240px;
  }

  .hero-kicker {
    font-size: 0.64rem;
  }

  .caption-ornament span {
    width: 64px;
  }

  .category-card {
    height: 180px;
  }

  .service-card {
    padding-top: 1.7rem;
  }

  .partner-card {
    min-height: 132px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1rem;
    text-align: center;
  }

  .cta-panel .btn {
    grid-column: auto;
    justify-self: center;
  }

  .site-footer,
  .footer-links a,
  .footer-links button {
    text-align: center;
  }

  .contact-list {
    display: inline-block;
    text-align: left;
  }

  .footer-links a::before,
  .footer-links button::before {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .site-header .container {
    padding-inline: 1.15rem;
  }

  .site-logo {
    width: 126px;
  }

  .header-calligraphy {
    height: 23px;
    margin-bottom: 0.4rem;
  }

  .site-title {
    font-size: 2.05rem;
  }

  .title-ornament {
    margin-top: 0.3rem;
  }

  .quran-quote p {
    font-size: 0.83rem;
  }

  .main-navbar .navbar-brand {
    max-width: 210px;
    font-size: 0.9rem;
  }

  .hero-section .carousel,
  .hero-section .carousel-inner,
  .hero-section .carousel-item {
    height: 540px;
  }

  .hero-slide-copy h2 {
    font-size: 1.65rem;
  }

  .hero-slide-media img {
    height: 190px;
  }

  .hero-slide-media::after {
    top: -12px;
    padding: 0.35rem 0.75rem;
    font-size: 0.6rem;
  }

  .hero-cta {
    margin-top: 0.9rem;
  }

  .hero-cta .btn-outline-light {
    width: 100%;
  }

  .hero-lead {
    font-size: 0.85rem;
  }

  .hero-kicker {
    display: none;
  }

  .caption-ornament {
    margin-top: 0.55rem;
  }

  .caption-ornament span {
    width: 48px;
  }

  .hero-section .carousel-control-prev,
  .hero-section .carousel-control-next {
    display: none;
  }

  .section-space {
    padding: 26px 0;
  }

  .section-heading h2,
  .about-copy h2,
  .cta-copy h2 {
    font-size: 1.75rem;
  }

  .section-heading p {
    font-size: 0.9rem;
  }

  .service-card h3 {
    min-height: auto;
  }

  .about-photo-frame {
    max-width: 340px;
  }

  .about-photo-frame img {
    height: 300px;
  }

  .category-card {
    height: 150px;
  }

  .category-card span {
    font-size: 0.92rem;
  }

  .contact-info-card {
    padding: 1.8rem 1.4rem;
  }

  .contact-form {
    padding: 1.5rem 1.15rem;
  }

  .footer-brand img {
    width: 170px;
  }

  .partner-card {
    min-height: 120px;
    padding: 0.45rem;
  }

  .cta-section {
    padding-inline: 0.75rem;
  }

  .cta-panel {
    padding: 1.55rem 1rem;
  }

  .cta-icon {
    width: 62px;
    height: 62px;
  }

  .btn-gold {
    width: 100%;
    padding-inline: 0.8rem;
    font-size: 0.8rem;
  }

  .back-to-top {
    right: 0.9rem;
    bottom: 0.9rem;
    width: 41px;
    height: 41px;
  }
}
