:root {
  --color-brand: #1a4fb0;
  --color-brand-dark: #143d88;
  --color-brand-soft: #e8eef8;
  --color-ink: #0f1419;
  --color-ink-muted: #4a5568;
  --color-surface: #ffffff;
  --color-canvas: #f6f8fc;
  --font-ar: "Cairo", system-ui, sans-serif;
  --font-en: "Inter", system-ui, sans-serif;
  --shadow-sm: 0 1px 2px rgba(15, 20, 25, 0.06);
  --shadow-md: 0 12px 40px rgba(26, 79, 176, 0.12);
  --radius-lg: 20px;
  --header-h: 120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ar);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-ink);
  background: var(--color-canvas);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(920px, 100% - 2rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 79, 176, 0.08);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1100px, 100% - 2rem);
  margin-inline: auto;
  min-height: var(--header-h);
  padding-block: 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.92;
}

.brand-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-ar {
  font-weight: 800;
  font-size: 1.15rem;
}

.brand-en {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-ink-muted);
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--color-ink);
  margin-inline: auto;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.site-header.menu-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.menu-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  align-items: center;
  justify-content: flex-end;
}

.nav-list a {
  color: var(--color-ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav-list a:hover {
  color: var(--color-brand);
  text-decoration: none;
  border-bottom-color: var(--color-brand);
}

.nav-list a.is-current {
  color: var(--color-brand);
  border-bottom-color: var(--color-brand);
}

.nav-list a.lang-switch-btn {
  color: var(--color-brand) !important;
  border: 1px solid var(--color-brand);
  border-radius: 999px;
  padding: 0.25rem 0.85rem !important;
  font-size: 0.85rem;
  font-weight: 700;
  margin-inline-start: 0.5rem;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.nav-list a.lang-switch-btn:hover {
  background: var(--color-brand);
  color: #fff !important;
  text-decoration: none;
  border-color: var(--color-brand);
}

@media (max-width: 768px) {
  .nav-list a.lang-switch-btn {
    margin-inline-start: 0;
    margin-block: 0.5rem;
    display: inline-block;
    width: fit-content;
    text-align: center;
  }
}

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

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--color-surface);
    border-bottom: 1px solid rgba(26, 79, 176, 0.1);
    padding: 1rem 1.25rem 1.25rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }

  .site-header.menu-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid var(--color-brand-soft);
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  .nav-list a {
    display: block;
    padding: 0.85rem 0;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3.5rem, 7vw, 5.5rem) 1rem;
  background: linear-gradient(135deg, #0d1e3d 0%, #163261 50%, #1a4fb0 100%);
  color: #ffffff;
  overflow: hidden;
}

.hero-container,
.page-hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
  width: min(1100px, 100% - 2rem);
  margin-inline: auto;
}

@media (min-width: 768px) {
  .hero-container,
  .page-hero-container {
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
  }
}

.hero-content,
.page-hero-content {
  text-align: start;
}

@media (max-width: 767px) {
  .hero-content,
  .page-hero-content {
    text-align: center;
  }
}

.hero-logo {
  width: clamp(90px, 20vw, 120px);
  height: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 8px 24px rgba(255, 255, 255, 0.15));
}

@media (max-width: 767px) {
  .hero-logo {
    margin-inline: auto;
  }
}

.hero-kicker,
.page-hero-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f1c40f; /* vibrant golden accent */
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-title,
.page-hero-title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 5vw, 2.5rem);
  font-weight: 850;
  line-height: 1.25;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-lead,
.page-hero-lead {
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.85;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  max-width: 58ch;
}

@media (max-width: 767px) {
  .hero-lead,
  .page-hero-lead {
    margin-inline: auto;
  }
}

/* Hero Visual Carousel Container */
.hero-visual {
  width: 100%;
}

.hero-carousel-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-carousel-frame:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 30, 61, 0.1) 0%,
    rgba(13, 30, 61, 0.3) 100%
  );
  pointer-events: none;
}

.hero-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-carousel-slide.is-active {
  opacity: 1;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  background: var(--color-brand);
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(26, 79, 176, 0.35);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--color-brand-dark);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 79, 176, 0.4);
}

.hero-accent {
  position: absolute;
  width: min(500px, 90vw);
  height: min(500px, 90vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 79, 176, 0.12) 0%, transparent 70%);
  top: -20%;
  left: -10%;
  pointer-events: none;
  z-index: 1;
}

/* Sections */
.section {
  padding: clamp(3rem, 6vw, 4.5rem) 1rem;
}

.section-about {
  background: var(--color-surface);
}

.section-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 800;
  color: var(--color-ink);
  position: relative;
  padding-bottom: 0.65rem;
}

.section-title::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 48px;
  height: 4px;
  background: var(--color-brand);
  border-radius: 2px;
}

.prose p {
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 1.0625rem;
}

.prose p + p {
  margin-top: 1.1rem;
}

.prose ul {
  margin: 1rem 0 0;
  padding: 0 1.25rem 0 0;
  color: var(--color-ink-muted);
}

.prose li + li {
  margin-top: 0.5rem;
}

.prose strong {
  color: var(--color-ink);
  font-weight: 700;
}

/* Inner page hero */
.page-hero {
  position: relative;
  padding: clamp(3.5rem, 6vw, 4.5rem) 1rem;
  background: linear-gradient(135deg, #0d1e3d 0%, #163261 50%, #1a4fb0 100%);
  border-bottom: 1px solid rgba(26, 79, 176, 0.15);
  overflow: hidden;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-body {
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.content-block {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  margin-top: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26, 79, 176, 0.07);
}

.content-block h3 {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-ink);
}

.content-block .prose:last-child p:last-child {
  margin-bottom: 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.stat-card {
  background: var(--color-surface);
  border-radius: 16px;
  padding: 1.25rem 1rem;
  text-align: center;
  border: 1px solid rgba(26, 79, 176, 0.1);
  box-shadow: var(--shadow-sm);
}

.stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-brand);
  line-height: 1.2;
}

.stat-value.is-text {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}

.stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-ink-muted);
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  list-style: none;
  padding: 0;
}

.pill-grid li {
  background: var(--color-brand-soft);
  color: var(--color-brand-dark);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

.two-col {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.timeline {
  margin: 1.5rem 0 0;
  padding: 0;
  padding-inline-start: 1.15rem;
  list-style: none;
  border-inline-start: 3px solid var(--color-brand-soft);
}

.timeline li {
  position: relative;
  padding: 0;
  padding-block-end: 1.5rem;
  padding-inline-start: 1.25rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  inset-inline-start: -0.55rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-brand);
  box-shadow: 0 0 0 4px var(--color-brand-soft);
}

.timeline-year {
  display: block;
  font-weight: 800;
  color: var(--color-brand);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.timeline p {
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.values-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.value-card {
  background: linear-gradient(135deg, #fff 0%, var(--color-brand-soft) 100%);
  border-radius: 16px;
  padding: 1.2rem 1.15rem;
  border: 1px solid rgba(26, 79, 176, 0.08);
}

.value-card h4 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.value-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-ink-muted);
  line-height: 1.65;
}

.media-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.media-card {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(26, 79, 176, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.media-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.media-card figcaption {
  padding: 0.65rem 0.85rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-ink-muted);
}

.page-cta {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.page-cta p {
  margin: 0 0 1rem;
  font-weight: 600;
}

.page-cta .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  background: transparent;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  text-decoration: none;
}

/* Home hub cards */
.hub-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hub-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  border: 1px solid rgba(26, 79, 176, 0.1);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hub-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(26, 79, 176, 0.18);
}

.hub-card .card-accent {
  margin-bottom: 0.85rem;
}

.hub-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-ink);
}

.hub-card p {
  margin: 0;
  flex: 1;
  font-size: 0.95rem;
  color: var(--color-ink-muted);
  line-height: 1.65;
}

.hub-card .hub-link {
  margin-top: 1rem;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--color-brand);
}

.section-muted {
  background: var(--color-canvas);
}

.section-card .container {
  max-width: 880px;
}

.card-block {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(26, 79, 176, 0.08);
}

.section-alt {
  background: transparent;
}

.section-alt .card-block {
  background: linear-gradient(135deg, #fff 0%, var(--color-brand-soft) 100%);
}

.card-accent {
  display: block;
  width: 40px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-brand), rgba(26, 79, 176, 0.35));
  border-radius: 2px;
  margin-bottom: 1rem;
}

/* Vision */
.section-vision {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--color-brand-dark) 0%, var(--color-brand) 55%, #2563d4 100%);
  color: #fff;
  padding-block: clamp(3.5rem, 8vw, 5rem);
}

.section-vision .container {
  position: relative;
  z-index: 1;
}

.section-title-light {
  color: #fff;
}

.section-title-light::after {
  background: rgba(255, 255, 255, 0.9);
}

.vision-quote {
  margin: 0;
  padding: 0;
  border: none;
}

.vision-quote p {
  margin: 0;
  font-size: clamp(1.1rem, 2.8vw, 1.35rem);
  font-weight: 600;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  max-width: 52ch;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .vision-quote p {
    text-align: right;
    margin-inline: 0;
  }
}

/* Contact blocks + maps */
.contact-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact-card {
  background: linear-gradient(135deg, #fff 0%, var(--color-brand-soft) 100%);
  border: 1px solid rgba(26, 79, 176, 0.1);
  border-radius: 16px;
  padding: 1.15rem 1.1rem;
}

.contact-card-wide {
  grid-column: 1 / -1;
}

.contact-title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-ink);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin-top: 0.5rem;
}

.contact-list li:first-child {
  margin-top: 0;
}

.contact-links {
  flex-direction: column;
  align-items: stretch;
}

.contact-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-ink-muted);
  min-width: 3.5rem;
}

.contact-link {
  font-weight: 700;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-cta {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--color-brand);
  text-decoration: none;
}

.contact-cta:hover {
  text-decoration: underline;
}

.map-section-lead {
  margin: 0 0 1rem;
  color: var(--color-ink-muted);
}

.map-embed {
  width: 100%;
  min-height: 320px;
  height: clamp(280px, 42vw, 420px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(26, 79, 176, 0.12);
  box-shadow: var(--shadow-sm);
  background: #e5e9f0;
}

.map-embed .leaflet-container {
  font-family: var(--font-ar), system-ui, sans-serif;
}

.map-popup-inner {
  text-align: right;
  direction: rtl;
  line-height: 1.55;
}

.map-popup-title {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.map-popup-note {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  color: var(--color-ink-muted);
}

.map-popup-row {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
}

.map-popup-label {
  font-weight: 700;
  color: var(--color-ink-muted);
  margin-inline-end: 0.35rem;
}

.map-popup-maps {
  font-weight: 800;
}

/* Floating WhatsApp button */
.whatsapp-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  text-decoration: none;
  border: 2px solid #ffffff;
  box-shadow: 0 12px 28px rgba(18, 140, 74, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.whatsapp-fab:hover {
  background: #1fb95a;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(18, 140, 74, 0.4);
}

.whatsapp-fab:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.35);
  outline-offset: 3px;
}

.whatsapp-fab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.whatsapp-fab-icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

@media (max-width: 480px) {
  .whatsapp-fab {
    right: 0.75rem;
    bottom: 0.75rem;
    width: 2.9rem;
    height: 2.9rem;
  }

  .whatsapp-fab-icon svg {
    width: 1.45rem;
    height: 1.45rem;
  }
}

/* Floating Email button */
.email-fab {
  position: fixed;
  right: 1rem;
  bottom: 4.8rem; /* Stacked above WhatsApp (bottom: 1rem + height: 3.2rem + gap: 0.6rem) */
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff !important;
  text-decoration: none;
  border: 2px solid #ffffff;
  box-shadow: 0 12px 28px rgba(26, 79, 176, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.email-fab:hover {
  background: var(--color-brand-dark);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(26, 79, 176, 0.4);
}

.email-fab:focus-visible {
  outline: 3px solid rgba(26, 79, 176, 0.35);
  outline-offset: 3px;
}

.email-fab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.email-fab-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

@media (max-width: 480px) {
  .email-fab {
    right: 0.75rem;
    bottom: 4.25rem; /* Stacked above smaller WhatsApp button on mobile */
    width: 2.9rem;
    height: 2.9rem;
  }

  .email-fab-icon svg {
    width: 1.3rem;
    height: 1.3rem;
  }
}


/* Footer */
.site-footer {
  background: var(--color-surface);
  color: var(--color-ink);
  padding: 2.5rem 1rem;
  border-top: 1px solid rgba(26, 79, 176, 0.1);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.footer-logo {
  width: 144px;
  height: 144px;
  object-fit: contain;
  border-radius: 50%;
  opacity: 0.95;
}

.footer-ar {
  margin: 0;
  font-weight: 800;
  font-size: 1.15rem;
}

.footer-en {
  margin: 0.15rem 0 0;
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
}

.footer-copy {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--color-ink-muted);
}

/* Footer address & social */
.footer-address {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--color-ink-muted);
  text-align: center;
  line-height: 1.7;
  margin: 0;
}

.footer-email {
  display: block;
  color: var(--color-brand);
  font-weight: 600;
  text-decoration: none;
}

.footer-email:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.15s, opacity 0.15s;
}

.footer-social-link:hover {
  transform: translateY(-2px);
  opacity: 0.88;
  text-decoration: none;
}

.footer-social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-social-wa {
  background: #25d366;
  color: #fff;
}

.footer-social-li {
  background: #0a66c2;
  color: #fff;
}

/* ─── Contact Form ─────────────────────────────── */
.contact-layout {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr 340px;
    align-items: start;
  }
}

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

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

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

.form-field.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: 0.01em;
}

.form-label .required {
  color: #e24b4a;
  margin-inline-start: 0.2rem;
}

.form-control {
  padding: 0.7rem 0.95rem;
  border: 1.5px solid rgba(26, 79, 176, 0.25);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: var(--font-ar);
  color: var(--color-ink);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(26, 79, 176, 0.1);
}

.form-control::placeholder {
  color: #aab4c4;
}

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

.form-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.5rem;
  background: var(--color-brand);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-ar);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(26, 79, 176, 0.3);
  transition: background 0.2s, transform 0.15s;
}

.form-submit-btn:hover {
  background: var(--color-brand-dark);
  transform: translateY(-1px);
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-card {
  background: var(--color-surface);
  border: 1px solid rgba(26, 79, 176, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.2rem;
  box-shadow: var(--shadow-sm);
}

.contact-info-card h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-ink);
}

.contact-info-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.75rem;
}

.contact-info-row:first-of-type {
  margin-top: 0;
}

.contact-info-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-info-value {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-ink);
  text-decoration: none;
}

.contact-info-value:hover {
  text-decoration: underline;
  color: var(--color-brand);
}

.download-profile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(135deg, var(--color-brand) 0%, #2563d4 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(26, 79, 176, 0.3);
  transition: opacity 0.2s, transform 0.15s;
}

.download-profile-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}

.download-profile-btn svg {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
}

/* ─── Company Info ──────────────────────────────── */
.company-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.company-info-card {
  background: var(--color-canvas);
  border: 1px solid rgba(26, 79, 176, 0.1);
  border-radius: 14px;
  padding: 1.1rem 1rem;
}

.company-info-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.35rem;
}

.company-info-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-ink);
  display: block;
}

/* ─── Quality / Standards ─────────────────────── */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.quality-card {
  background: linear-gradient(135deg, #fff 0%, var(--color-brand-soft) 100%);
  border: 1px solid rgba(26, 79, 176, 0.1);
  border-radius: 16px;
  padding: 1.2rem 1rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.quality-icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
}

.quality-card h4 {
  margin: 0 0 0.3rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--color-ink);
}

.quality-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-ink-muted);
  line-height: 1.6;
}

/* ─── Product Catalog ─────────────────────────── */
.catalog-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.catalog-card {
  background: var(--color-surface);
  border: 1px solid rgba(26, 79, 176, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.catalog-card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.catalog-icon {
  font-size: 2.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, rgba(26,79,176,0.08), rgba(26,79,176,0.15));
  border-radius: 1rem;
  flex-shrink: 0;
}

.catalog-card h3,
.catalog-card h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-ink);
}

.catalog-desc {
  margin: 0;
  font-size: 0.93rem;
  color: var(--color-ink-muted);
  line-height: 1.65;
}

.catalog-specs {
  border-top: 1px solid var(--color-brand-soft);
  padding-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.catalog-spec-tag {
  background: var(--color-brand-soft);
  color: var(--color-brand-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

/* ─── Team ────────────────────────────────────── */
.team-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (min-width: 480px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  background: var(--color-surface);
  border: 1px solid rgba(26, 79, 176, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.85rem;
  font-size: 1.75rem;
  color: var(--color-brand);
}

.team-name {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-ink);
}

.team-role {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-brand);
}

.team-email {
  font-size: 0.82rem;
  color: var(--color-ink-muted);
  text-decoration: none;
  font-weight: 600;
}

.team-email:hover {
  text-decoration: underline;
  color: var(--color-brand);
}

/* ─── Partners / B2B Page ─────────────────────── */
.process-steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  counter-reset: step-counter;
}

@media (min-width: 640px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  background: var(--color-surface);
  border: 1px solid rgba(26, 79, 176, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.15rem;
  box-shadow: var(--shadow-sm);
  counter-increment: step-counter;
  position: relative;
}

.process-step::before {
  content: counter(step-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--color-brand);
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}

.process-step h4 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--color-ink);
}

.process-step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-ink-muted);
  line-height: 1.65;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.92rem;
}

.specs-table th {
  background: var(--color-brand-soft);
  color: var(--color-brand-dark);
  font-weight: 800;
  padding: 0.65rem 0.85rem;
  text-align: right;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.specs-table td {
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid rgba(26, 79, 176, 0.07);
  color: var(--color-ink-muted);
  font-weight: 600;
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table tr:nth-child(even) td {
  background: #fafbff;
}

.address-block {
  background: var(--color-canvas);
  border: 1px solid rgba(26, 79, 176, 0.1);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-ink-muted);
  font-style: normal;
}

.address-block strong {
  display: block;
  color: var(--color-ink);
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
}

.success-notice {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.success-notice-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.success-notice p {
  margin: 0;
  font-size: 0.95rem;
  color: #065f46;
  font-weight: 600;
}
