:root {
  --teal: #008892;
  --teal-dark: #046069;
  --teal-deep: #043e46;
  --ink: #08343a;
  --muted: #4d6468;
  --gold: #fdb815;
  --gold-deep: #e3a40a;
  --cream: #fff8eb;
  --paper: #ffffff;
  --line: rgba(0, 136, 146, 0.16);
  --shadow: 0 16px 40px rgba(4, 62, 70, 0.08);
  --header-h: 84px;
  --radius: 1.35rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  font-size: 1.05rem;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -3rem;
  z-index: 80;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}

.skip:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--gold);
  color: var(--teal-deep);
}

.topbar {
  background: var(--teal-deep);
  color: #fff;
  font-size: 0.92rem;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1.25rem;
  padding: 0.55rem 0;
  align-items: center;
}

.topbar p,
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

.topbar a {
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.topbar svg,
.btn svg,
.info-icon svg,
.slide-btn svg,
.float-btn svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
  flex: 0 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 0 3px var(--gold);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--teal-deep);
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.nav-toggle {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--teal-deep);
  border-radius: 2px;
}

.nav {
  display: none;
  position: absolute;
  inset-inline: 0;
  top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.75rem 1rem 1rem;
  flex-direction: column;
  gap: 0.25rem;
}

.nav.is-open {
  display: flex;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 0.4rem;
  border-radius: 0.7rem;
}

.nav a.is-active {
  color: var(--teal-dark);
  background: rgba(0, 136, 146, 0.08);
}

.nav .btn {
  margin-top: 0.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-gold {
  background: var(--gold);
  color: var(--teal-deep);
}

.btn-gold:hover {
  background: #ffc83a;
}

.btn-teal {
  background: var(--teal-dark);
  color: #fff;
}

.btn-teal:hover {
  background: var(--teal-deep);
}

.btn-line {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}

.btn-line:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  min-height: 38rem;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--teal-deep);
}

.slides,
.slide {
  position: absolute;
  inset: 0;
}

.slide {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.slide.is-active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide.is-active img {
  animation: drift 8s ease-out forwards;
}

@keyframes drift {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(4, 40, 46, 0.92) 0%, rgba(4, 40, 46, 0.55) 48%, rgba(4, 40, 46, 0.28) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 0 7.5rem;
}

.hero-kicker {
  display: inline-flex;
  margin: 0 0 0.7rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: rgba(253, 184, 21, 0.95);
  color: var(--teal-deep);
  font-weight: 800;
  font-size: 0.92rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 6vw, 4.5rem);
  line-height: 1.15;
  font-weight: 800;
}

.hero h1 span {
  color: var(--gold);
}

.hero-tag {
  margin: 0.7rem 0 0;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 700;
}

.hero-lead {
  margin: 0.8rem 0 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.hero-ui {
  position: absolute;
  z-index: 3;
  inset-inline: 0;
  bottom: 1rem;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 0.6rem;
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.8rem;
}

.slide-caption {
  margin: 0;
  background: var(--gold);
  color: var(--teal-deep);
  font-weight: 800;
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  font-size: 0.92rem;
}

.slide-count {
  margin: 0;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  direction: ltr;
}

.dots {
  display: flex;
  gap: 0.35rem;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.dot.is-active {
  background: var(--gold);
  transform: scale(1.15);
}

.slide-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.94);
  color: var(--teal-deep);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.slide-btn svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slide-btn:hover {
  background: var(--gold);
}

.section {
  padding: 4.25rem 0;
  scroll-margin-top: 96px;
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--teal);
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.6rem;
  height: 3px;
  margin-inline-end: 0.45rem;
  background: var(--gold);
  border-radius: 99px;
  vertical-align: middle;
}

h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.35;
  color: var(--teal-deep);
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.intro {
  max-width: 42rem;
  margin-bottom: 1.6rem;
}

.about {
  background: #fff;
}

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about-logo {
  display: grid;
  place-items: center;
}

.about-logo img {
  width: min(280px, 72vw);
  border-radius: 50%;
  filter: drop-shadow(0 16px 28px rgba(4, 62, 70, 0.18));
}

.facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.4rem 0 0;
  padding: 0;
}

.facts li {
  background: var(--cream);
  border-radius: 1rem;
  padding: 0.85rem 0.9rem;
  border-top: 4px solid var(--gold);
}

.facts strong,
.facts span {
  display: block;
}

.facts strong {
  color: var(--teal);
  font-size: 0.85rem;
}

.facts span {
  font-weight: 800;
  color: var(--teal-deep);
}

.vision {
  background:
    radial-gradient(circle at 100% 0%, rgba(253, 184, 21, 0.2), transparent 26%),
    var(--cream);
}

.pillars {
  display: grid;
  gap: 1rem;
}

.pillar {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.35rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.pillar-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: #fff;
  margin-bottom: 0.8rem;
  box-shadow: 0 0 0 6px rgba(253, 184, 21, 0.28);
}

.pillar-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.pillar h3 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  color: var(--teal-deep);
}

.pillar p {
  margin: 0;
  color: var(--muted);
}

.bases {
  list-style: none;
  counter-reset: base;
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0 0;
  padding: 0;
}

.bases li {
  counter-increment: base;
  background: #fff;
  border-radius: 1rem;
  padding: 0.95rem 1rem 0.95rem 0.95rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.8rem;
  border: 1px solid var(--line);
}

.bases li::before {
  content: counter(base);
  grid-row: 1 / span 2;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--teal-deep);
  font-weight: 800;
  display: grid;
  place-items: center;
  align-self: center;
}

.bases strong {
  color: var(--teal-deep);
}

.bases span {
  color: var(--muted);
  grid-column: 2;
}

.departments {
  background: #fff;
}

.depts {
  display: grid;
  gap: 1rem;
}

.dept {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.dept img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.dept-body {
  padding: 1.1rem 1.15rem 1.3rem;
}

.dept h3 {
  margin: 0 0 0.35rem;
  color: var(--teal-deep);
  font-size: 1.3rem;
}

.dept p {
  margin: 0;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #fff;
  color: inherit;
  text-decoration: none;
  border-radius: 1.1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(4, 62, 70, 0.04);
}

.info-card:hover {
  border-color: var(--teal);
}

.info-card small,
.info-card strong {
  display: block;
}

.info-card small {
  color: var(--teal);
  font-weight: 800;
}

.info-card strong {
  color: var(--teal-deep);
  font-size: 1.05rem;
  line-height: 1.45;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: #fff;
  flex: 0 0 auto;
}

.info-icon-wa {
  background: #0f8f78;
}

.contact-cards {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.coords {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.map-wrap {
  background: #fff;
  border-radius: var(--radius);
  padding: 0.7rem;
  border: 3px solid var(--gold);
  display: grid;
  gap: 0.7rem;
}

.map-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 0.9rem;
  background: #e7f3f3;
}

.map-link {
  width: 100%;
}

.footer {
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.88);
  padding-top: 2.5rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 1.8rem;
}

.footer h2 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}

.footer a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 0.2rem 0;
  font-weight: 600;
}

.brand-footer strong {
  color: #fff;
}

.brand-footer small,
.footer p {
  color: rgba(255, 255, 255, 0.8);
}

.brand-footer img {
  width: 64px;
  height: 64px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.9rem 0 1.1rem;
  font-size: 0.9rem;
}

.footer-bottom .container {
  display: grid;
  gap: 0.2rem;
}

.footer-bottom p {
  margin: 0;
}

.float-actions {
  position: fixed;
  z-index: 35;
  bottom: 1rem;
  inset-inline-start: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.float-actions.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 24px rgba(4, 62, 70, 0.25);
}

.float-btn svg {
  width: 1.45rem;
  height: 1.45rem;
}

.float-call {
  background: var(--gold);
  color: var(--teal-deep);
}

.float-wa {
  background: #0f8f78;
}

@media (min-width: 720px) {
  .pillars,
  .bases,
  .depts {
    grid-template-columns: 1fr 1fr;
  }

  .bases {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: calc(100svh - 132px);
    align-items: center;
  }

  .hero-shade {
    background: linear-gradient(to left, rgba(4, 36, 42, 0.9) 0%, rgba(4, 36, 42, 0.55) 48%, rgba(4, 36, 42, 0.18) 100%);
  }

  .hero-content {
    padding: 3rem 0 5rem;
  }

  .map-wrap iframe {
    height: 440px;
  }
}

@media (min-width: 980px) {
  .nav-toggle {
    display: none;
  }

  .nav,
  .nav.is-open {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .nav a {
    padding: 0.45rem 0.7rem;
    background: transparent;
  }

  .nav a.is-active {
    background: transparent;
    box-shadow: inset 0 -3px 0 var(--gold);
    border-radius: 0;
  }

  .nav .btn {
    margin-top: 0;
    margin-inline-start: 0.4rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
  }

  .pillars,
  .depts {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.9fr;
  }
}

@media (max-width: 719px) {
  .facts {
    grid-template-columns: 1fr;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 36rem;
  }

  .float-actions {
    inset-inline-start: auto;
    inset-inline-end: 0.8rem;
    bottom: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .slide,
  .slide.is-active img {
    animation: none;
    transition: none;
  }
}
