﻿:root {
  --ink: #0a1628;
  --ink-soft: #132338;
  --navy: #16304f;
  --gold: #e8c17a;
  --gold-deep: #b8893a;
  --sand: #f3eee6;
  --mist: #e8eef5;
  --text: #1a2433;
  --muted: #5a6678;
  --white: #ffffff;
  --radius: 4px;
  --max: 1120px;
  --header-h: 78px;
  --font: "Cairo", sans-serif;
  --display: "El Messiri", "Cairo", sans-serif;
  --shadow: 0 18px 50px rgba(10, 22, 40, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 100% -10%, rgba(232, 193, 122, 0.12), transparent 55%),
    radial-gradient(900px 420px at 0% 20%, rgba(22, 48, 79, 0.08), transparent 50%),
    var(--sand);
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-logo {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
}

.brand-logo.sm {
  width: 42px;
  height: 42px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  color: var(--white);
  line-height: 1.2;
  font-weight: 700;
}

.brand-tag {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42vw;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.site-nav a:hover {
  color: var(--gold);
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--ink) !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}

.nav-cta:hover {
  filter: brightness(1.05);
  color: var(--ink) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 2rem) 0 4.5rem;
  color: var(--white);
  overflow: hidden;
}

.slideshow,
.slide {
  position: absolute;
  inset: 0;
}

.slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s ease, transform 6s ease;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 22, 40, 0.55) 0%, rgba(10, 22, 40, 0.72) 45%, rgba(10, 22, 40, 0.92) 100%),
    linear-gradient(90deg, rgba(10, 22, 40, 0.55), transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-bottom: 1rem;
}

.hero-brand {
  margin: 0 0 0.6rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  line-height: 1.15;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 3.4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.45;
  max-width: 16ch;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: rgba(255, 255, 255, 0.86);
  max-width: 36ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--ink);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.slide-dots {
  position: absolute;
  z-index: 3;
  inset-inline: 0;
  bottom: 1.4rem;
  display: flex;
  justify-content: center;
  gap: 0.55rem;
}

.slide-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: width 0.3s ease, background 0.3s ease, border-radius 0.3s ease;
}

.slide-dots button.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--gold);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-eyebrow {
  margin: 0 0 0.55rem;
  color: var(--gold-deep);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-head.light .section-eyebrow,
.section-head.light h2,
.section-head.light .section-lead {
  color: var(--white);
}

.section-head.light .section-eyebrow {
  color: var(--gold);
}

.section-head h2,
.about-copy h2,
.contact-copy h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  line-height: 1.35;
  color: var(--ink);
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* About */
.about {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(243, 238, 230, 0.9));
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.about-copy p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.about-visual {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
  aspect-ratio: 5 / 4;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s ease;
}

.about-visual:hover img {
  transform: scale(1.08);
}

/* Purpose */
.purpose {
  background:
    linear-gradient(160deg, var(--ink) 0%, var(--navy) 55%, #1c3d5f 100%);
  color: var(--white);
}

.purpose .section-eyebrow {
  color: var(--gold);
}

.purpose h2,
.purpose .section-lead {
  color: var(--white);
}

.purpose .section-lead {
  opacity: 0.82;
}

.purpose-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.purpose-item {
  padding: 1.5rem 0.25rem 0;
  border-top: 1px solid rgba(232, 193, 122, 0.35);
}

.purpose-index {
  display: block;
  font-family: var(--display);
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.purpose-item h3 {
  margin: 0 0 0.7rem;
  font-size: 1.35rem;
}

.purpose-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

/* Marketing */
.marketing {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink-soft);
}

.marketing-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(10, 22, 40, 0.88), rgba(10, 22, 40, 0.72)),
    url("https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=1800&q=70") center / cover;
  transform: scale(1.04);
  animation: slowZoom 18s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

.marketing .container {
  position: relative;
  z-index: 1;
}

.marketing-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.m-point h3 {
  margin: 0 0 0.55rem;
  color: var(--gold);
  font-size: 1.2rem;
}

.m-point p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.marketing-quote {
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(232, 193, 122, 0.35);
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--gold);
  max-width: 34ch;
}


/* Gallery */
.gallery {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(232, 238, 245, 0.95));
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.gallery-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  box-shadow: 0 12px 28px rgba(10, 22, 40, 0.12);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-item figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.4rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(10, 22, 40, 0.88));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.gallery-item:hover img {
  transform: scale(1.07);
}
/* Contact */
.contact {
  background: linear-gradient(180deg, #fff 0%, var(--mist) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact-copy p {
  color: var(--muted);
}

.contact-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.contact-list li {
  display: grid;
  gap: 0.15rem;
}

.contact-list li > span:first-child {
  font-size: 0.85rem;
  color: var(--gold-deep);
  font-weight: 700;
}

.contact-list a {
  font-weight: 700;
  color: var(--ink);
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.8);
  padding: 1.35rem;
  border: 1px solid rgba(22, 48, 79, 0.08);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(22, 48, 79, 0.15);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  background: #fff;
  color: var(--text);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(184, 137, 58, 0.35);
  border-color: var(--gold-deep);
}

.contact-form .btn {
  justify-self: start;
  margin-top: 0.35rem;
}


.map-wrap {
  margin-top: 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(22, 48, 79, 0.08);
  aspect-ratio: 16 / 10;
  background: #d9e2ec;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-grid {
  align-items: stretch;
}

.contact-copy {
  display: flex;
  flex-direction: column;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #fff;
  transition: transform 0.25s ease, filter 0.25s ease, background 0.25s ease;
}

.social-facebook {
  background: #1877f2;
}

.social-icon:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.contact-list .social-icon {
  color: #fff;
}
/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 1.75rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-family: var(--display);
  font-size: 1.15rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.82rem;
}

.copyright {
  margin: 0;
  font-size: 0.88rem;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

.hero .reveal {
  opacity: 1;
  transform: none;
  animation: riseIn 0.9s ease both;
}

.hero .delay-1 { animation-delay: 0.15s; }
.hero .delay-2 { animation-delay: 0.3s; }
.hero .delay-3 { animation-delay: 0.45s; }

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 920px) {
  .about-grid,
  .purpose-list,
  .marketing-points,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-visual {
    max-height: 360px;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    inset-inline: 1rem;
    top: calc(var(--header-h) + 0.5rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 1rem;
    background: rgba(10, 22, 40, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
  }

  .site-nav a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-cta {
    text-align: center;
  }

  .brand-tag {
    max-width: 48vw;
  }

  .hero {
    align-items: center;
    padding-bottom: 5rem;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-lead {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .brand-tag {
    display: none;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .hero .reveal,
  .slide,
  .marketing-bg,
  .about-visual img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
