:root {
  --ink: #17201f;
  --muted: #66716e;
  --paper: #f7f5ef;
  --white: #ffffff;
  --forest: #16463d;
  --green: #2f7a68;
  --blue: #244f73;
  --gold: #d79b3e;
  --copper: #c96d4a;
  --line: rgba(23, 32, 31, 0.12);
  --shadow: 0 18px 42px rgba(23, 32, 31, 0.13);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fdb813;
  border-bottom: 3px solid #06743d;
  backdrop-filter: blur(14px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 1 520px;
  min-width: 0;
}

.brand-logo {
  width: min(520px, 44vw);
  height: 64px;
  object-fit: contain;
  object-position: left center;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: #06743d;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
}

.nav-toggle span::before {
  transform: translateY(-7px);
}

.nav-toggle span::after {
  transform: translateY(5px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: #075531;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a.active {
  background: #06743d;
  color: var(--white);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: stretch;
  position: relative;
  isolation: isolate;
}

.hero.compact {
  min-height: 48vh;
}

.hero-slider,
.slide {
  min-height: inherit;
}

.slide {
  display: none;
  position: relative;
  overflow: hidden;
}

.slide.active {
  display: grid;
}

.slide img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide::after,
.page-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(9, 20, 18, 0.82), rgba(9, 20, 18, 0.4) 52%, rgba(9, 20, 18, 0.1)),
    linear-gradient(0deg, rgba(9, 20, 18, 0.38), rgba(9, 20, 18, 0));
}

.hero-content,
.page-hero-content {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0 110px;
  color: var(--white);
  display: grid;
  align-content: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #f4c873;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-content p,
.page-hero-content p {
  max-width: 690px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.23rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
}

.btn.primary {
  background: var(--gold);
  color: #1d211b;
}

.btn.secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn.dark {
  background: var(--forest);
  color: var(--white);
}

.slider-controls {
  position: absolute;
  right: max(18px, calc((100vw - var(--max)) / 2));
  bottom: 34px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.dots {
  display: flex;
  gap: 8px;
}

.dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.dots button.active {
  width: 28px;
  background: var(--gold);
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: var(--white);
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2,
.split h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head p,
.split p,
.card p,
.value p {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.value,
.person,
.contact-panel,
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(23, 32, 31, 0.06);
}

.card {
  overflow: hidden;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body {
  padding: 24px;
}

.card h3,
.value h3,
.person h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.list {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  display: flex;
  gap: 10px;
  color: #34413e;
}

.list li::before {
  width: 8px;
  height: 8px;
  margin-top: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 48px;
  align-items: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stat {
  min-height: 126px;
  padding: 22px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--forest), var(--blue));
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 2rem;
  line-height: 1;
}

.value {
  padding: 24px;
}

.value b {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--green);
}

.gallery-slider {
  position: relative;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  transition: transform 420ms ease;
}

.gallery-item {
  min-width: 33.333%;
  padding: 0 9px;
}

.gallery-item figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 450ms ease, opacity 450ms ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  opacity: 1;
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 50px 18px 18px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
}

.gallery-item strong {
  display: block;
  font-size: 1.05rem;
}

.gallery-item.contain figure {
  background: #f3f1ea;
}

.gallery-item.contain img {
  object-fit: contain;
  padding: 10px;
  background: #f3f1ea;
}

.gallery-item.contain figcaption {
  background: linear-gradient(0deg, rgba(6, 55, 37, 0.9), rgba(6, 55, 37, 0));
}

.link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.link-tile {
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(23, 32, 31, 0.06);
}

.link-tile strong {
  display: block;
  margin-bottom: 5px;
  color: var(--forest);
}

.link-tile span {
  color: var(--muted);
}

.feature-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.feature-image figcaption {
  padding: 18px 22px;
  color: var(--muted);
  font-weight: 700;
}

.gallery-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.gallery-actions .icon-btn {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 16, 15, 0.88);
}

.lightbox.open {
  display: flex;
}

.lightbox-panel {
  position: relative;
  width: min(1120px, 100%);
  max-height: calc(100vh - 48px);
  display: grid;
  gap: 14px;
}

.lightbox-image {
  width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  border-radius: var(--radius);
  background: #0e1715;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.lightbox-caption {
  min-height: 32px;
  color: var(--white);
  font-weight: 750;
  text-align: center;
}

.lightbox-btn {
  position: absolute;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}

.lightbox-close {
  top: 0;
  right: 0;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: -58px;
}

.lightbox-next {
  right: -58px;
}

.page-hero {
  min-height: 46vh;
  position: relative;
  display: grid;
  isolation: isolate;
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-list {
  column-count: 2;
  column-gap: 34px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: #34413e;
}

.service-list li {
  break-inside: avoid;
  margin-bottom: 8px;
}

.person {
  overflow: hidden;
}

.person-body {
  padding: 22px 24px 24px;
}

.person-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #edf0eb;
}

.person-photo.nasir {
  object-position: center center;
}

.person-photo.monim {
  object-position: center top;
}

.person .photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-size: 2rem;
  font-weight: 900;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 20px;
}

.contact-panel,
.form-panel {
  padding: 28px;
}

.contact-line {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-line:last-child {
  border-bottom: 0;
}

.contact-line span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: #2e3a38;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfaf7;
  font: inherit;
}

textarea {
  min-height: 136px;
  resize: vertical;
}

.site-footer {
  background: #111a18;
  color: rgba(255, 255, 255, 0.78);
  padding: 44px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.site-footer strong {
  color: var(--white);
}

.footer-links {
  display: grid;
  gap: 8px;
}

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

  .nav-links {
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 18px;
    background: #fdb813;
    border-bottom: 3px solid #06743d;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 12px;
  }

  .grid.three,
  .grid.two,
  .split,
  .link-list,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    min-width: 50%;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .service-list {
    column-count: 1;
  }
}

@media (max-width: 620px) {
  .nav {
    width: min(var(--max), calc(100% - 24px));
  }

  .brand {
    flex-basis: 270px;
  }

  .brand-logo {
    width: min(270px, 62vw);
    height: 52px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content,
  .page-hero-content {
    width: min(var(--max), calc(100% - 24px));
    padding: 72px 0 112px;
  }

  .slider-controls {
    left: 12px;
    right: auto;
    bottom: 22px;
  }

  .section {
    padding: 62px 0;
  }

  .wrap {
    width: min(var(--max), calc(100% - 24px));
  }

  .gallery-item {
    min-width: 100%;
  }

  .lightbox {
    padding: 12px;
  }

  .lightbox-image {
    max-height: calc(100vh - 132px);
  }

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