/* ─────────────────────────────────────────────────────────────────────────────
   1. GLOBAL VARIABLES & RESET
   ───────────────────────────────────────────────────────────────────────────── */
:root {
  /* Common Colors */
  --brand: #1e3a5f;
  --accent: #f5a623;
  --white: #ffffff;
  --text-dark: #1e3a5f;
  --text-muted: #64748b;
  --text-light: rgba(255, 255, 255, 0.9);
  --bg: #eef2f5;
   --bar: #dfe6ed;
  --divider: #c8d2dc;


  /* Shared Theme Variables */
  --font-main: "Cairo", sans-serif;
  --line-height: 1.8;
  --section-padding: 60px 0;
  --section-title-size: 34px;
  --section-title-weight: 900;
  --section-subtitle-size: 18px;

  /* Department Section Extra Colors */
  --bg1: #0b2f55;
  --bg2: #082a4c;
  --card: #163a5d;
  --card2: #143457;
  --stroke: rgba(255,255,255,.14);
  --textDepartment: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.75);
  --shadow: rgba(0,0,0,.35);

  /* Gallery Section Extra Colors */
  --gallery-bg: #e1e1e7;
  --gallery-title: #123d73;
  --gallery-line: #c9d0da;
  --gallery-arrow: #123d73;
  --gallery-shadow: rgba(0,0,0,.18);

  /* Map Section Extra Colors */
  --map-bg: #d6d8e2;
  --map-title: #123d73;
  --map-line: #c9d0da;
  --map-yellow: #f5b400;
  --map-yellow-dark: #e0a300;
  --map-text: #ffffff;
  --map-shadow: rgba(0,0,0,.18);

  /* Contact Section Extra Colors */
  --contact-bg-1: #27466d;
  --contact-bg-2: #1b3558;
  --contact-bg-3: #102846;
  --contact-text: rgba(255,255,255,.95);
  --contact-muted: rgba(255,255,255,.82);
  --contact-line: rgba(255,255,255,.18);
  --contact-input: rgba(255,255,255,.12);
  --contact-input-border: rgba(255,255,255,.08);
  --contact-yellow: #f5b400;
  --contact-yellow-dark: #e1a500;
  --contact-shadow: rgba(0,0,0,.28);


}

@media (max-width: 768px) {
  :root {
    --section-title-size: 28px;
    --section-subtitle-size: 16px;
  }
}

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

body {
  font-family: var(--font-main);
  margin: 0;
  padding: 0;
  line-height: var(--line-height);
  color: var(--text-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   2. SHARED COMPONENTS & UTILITIES
   ───────────────────────────────────────────────────────────────────────────── */

/* Global Section Titles (Responsive Utilities) */
.section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.section-title {
  margin: 0;
  font-size: var(--section-title-size);
  font-weight: var(--section-title-weight);
  color: inherit;
  white-space: nowrap;
}

.section-line {
  height: 2px;
  flex: 1;
  max-width: 33.5%;
  background: currentColor;
  opacity: 0.2;
}

.section-subtitle {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: var(--section-subtitle-size);
  line-height: var(--line-height);
  color: inherit;
  opacity: 0.8;
}

/* Base Motion Hidden State */
.js-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

/* Visible State */
.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   3. HEADER
   ───────────────────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(to left, #f2f8ff 0%, #c8d8ee 20%, #c8d8ee 30%, #c8d8ee 45%, #1e3a5f 57%, #1e3a5f 85%, #1e3a5f 95%, #1e3a5f 100%);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  direction: rtl;
}

/* Topbar */
.topbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-link, .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s ease;
}

.admin-link:hover, .contact-link:hover {
  color: var(--accent);
}

.contact-links {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.icon {
  width: 18px;
  text-align: center;
}

/* Mainbar */
.mainbar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0 0 0;
  gap: 100px;
  height: 79px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 300px;
  height: auto;
}

.brand-text {
  text-align: right;
}

.brand-text h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.brand-text p {
  margin: 2px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* Desktop nav */
.nav-desktop {
  display: none;
  align-items: center;
  padding-bottom: 10px;
  justify-content: center;
}

.nav-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  transition: all 0.3s ease;
  text-align: right;
  padding: 0px 20px;
  position: relative;
}

.nav-btn:hover, .nav-btn.active {
  color: var(--accent);
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
  box-sizing: border-box;
  margin-left: -0.5px;
  display: inline-block;
  height: auto;
}

.nav-btn.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
}

/* Mobile toggle */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

#menu-icon {
  font-size: 22px;
  line-height: 1;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  padding: 0 0 16px;
}

.nav-mobile.open {
  display: block;
}

.nav-btn.mobile {
  display: block;
  width: 100%;
  padding: 12px 20px;
  border-right: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-btn.mobile.active {
  background: rgba(0, 0, 0, 0.2);
  color: var(--accent);
}

.nav-btn.mobile.active::after {
  height: 100%;
  width: 4px;
  left: auto;
  right: 0;
  bottom: 0;
}

/* Breakpoints */
@media (min-width: 768px) {
  .topbar {
    display: flex;
  }
}
@media (max-width: 400px) {
  .logo {
    width: 250px;
  }
}

@media (min-width: 1036px) {
  .nav-desktop {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .nav-mobile {
    display: none !important;
  }
  .nav-btn {
    border-right: 0.7px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
  }
  .nav-btn:hover, .nav-btn.active {
    border-left: 0.7px solid white;
  }
  .logo {
    padding-bottom: 20px;
  }
  .site-header {
    background: linear-gradient(to left, #f2f8ff 0%, #c8d8ee 20%, #c8d8ee 30%, #c8d8ee 35%, #1e3a5f 57%, #1e3a5f 85%, #1e3a5f 95%, #1e3a5f 100%);
  }
}

@media (max-width: 1036px) {
  .mainbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 32px;
  }
  .logo {
    padding-bottom: 10px;
  }
  .site-header {
    background: linear-gradient(to left, #c8d8ee 5%, #c8d8ee 25%, #c8d8ee 30%, #c8d8ee 50%, #c8d8ee 70%, #f2f8ff 90%, #f2f8ff 100%);
  }
  #menu-icon {
    color: #1e3a5f;
  }
  #menu-mobile {
    background-color: #1e3a5f;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   4. HERO SECTION
   ───────────────────────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  height: 340px;
  overflow: hidden;
  margin-top: 70px;
}

@media (min-width: 768px) {
  #hero {
    height: 380px;
    margin-top: 67px;
  }
}

/* Slides */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgb(61 98 172 / 62%), rgb(45 72 127 / 38%), transparent);
}

/* Content centered */
.slide-content {
  position: relative;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-text {
  width: 100%;
  color: #fff;
  text-align: center;
}

.slide-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: var(--section-title-weight);
  line-height: 1.1;
  margin-bottom: 0.8rem;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.5s ease 0.2s, opacity 0.5s ease 0.2s;
}

.slide-subtitle {
  font-size: var(--section-subtitle-size);
  color: var(--text-light);
  margin-bottom: 2rem;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.5s ease 0.3s, opacity 0.5s ease 0.3s;
}

.slide-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.5s ease 0.4s, opacity 0.5s ease 0.4s;
}

.slide.active .slide-title,
.slide.active .slide-subtitle,
.slide.active .slide-buttons {
  transform: translateY(0);
  opacity: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.5rem;
  border-radius: 6px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.97);
}

/* Orange = primary */
.btn-primary {
  background: #f5a623;
  color: #fff;
}
.btn-primary:hover {
  background: #d68f1a;
}

/* Blue = secondary */
.btn-secondary {
  background: #1a56db;
  color: #fff;
}
.btn-secondary:hover {
  background: #1440b0;
}

/* Arrow inside button */
.btn-arrow {
  font-size: 0.75rem;
  opacity: 0.85;
}

/* Nav Arrows */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.nav-arrow:hover {
  background: #f5a623;
  border-color: #f5a623;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.nav-arrow svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-prev, .nav-arrow.left {
  left: 5px;
}

.nav-next, .nav-arrow.right {
  right: 5px;
}

/* Indicators */
.indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 10;
}

.dot {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
  width: 8px;
  padding: 0;
}

.dot.active {
  background: #f5a623;
  width: 24px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   5. ABOUT SECTION
   ───────────────────────────────────────────────────────────────────────────── */
.about {
  background: var(--bg);
  padding: 40px 0 28px;
  direction: rtl;
}

.about-container {
  width: 67%;
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
}

.about-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 10px;
}

.about-title {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  color: var(--brand);
}

.line {
  height: 1px;
  width: 280px;
  background: rgba(30,58,95,.25);
}

@media (max-width: 900px) {
  .line { width: 140px; }
  .about-title { font-size: 24px; }
}

.about-desc {
  max-width: 920px;
  margin: 0 auto 18px;
  color: var(--text) !important;
  font-size: 15px;
  line-height: 1.9;
}

.about-desc p {
  margin: 6px 0;
}

.about-bar {
  margin: 14px auto 0;
  max-width: 980px;
  background: var(--bar);
  border-radius: 2px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.05);
}

.about-item {
  padding: 18px 10px 14px;
  text-align: center;
}

.about-item:not(:last-child) {
  border-left: 1px solid var(--divider);
}

.about-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 10px;
}

.about-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-label {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--brand);
}

@media (max-width: 820px) {
  .about-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-item:nth-child(2) {
    border-left: none;
  }
  .about-item:nth-child(1), .about-item:nth-child(2) {
    border-bottom: 1px solid var(--divider);
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   6. DEPARTMENTS SECTION
   ───────────────────────────────────────────────────────────────────────────── */
.depts {
  direction: rtl;
  padding: 44px 0 36px;
  color: var(--textDepartment);
  background: radial-gradient(600px 220px at 50% 18%, rgba(255,255,255,.10), transparent 60%), radial-gradient(900px 420px at 50% 0%, rgba(0,0,0,.25), transparent 70%), linear-gradient(180deg, var(--bg1), var(--bg2));
}

.dept-container {
  width: 69%;
  margin: 0 auto;
}

.depts-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  text-align: center;
}

.depts-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 10px;
}

.depts-title {
  margin: 0;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: .2px;
  text-shadow: 0 2px 10px rgba(0,0,0,.25);
}

.depts-line {
  height: 2px;
  width: 360px;
  background: rgba(255,255,255,.18);
}

@media (max-width: 900px) {
  .depts-title { font-size: 28px; }
  .depts-line { width: 140px; }
}

.depts-subtitle {
  margin: 0 auto 18px;
  max-width: 900px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 700;
}

/* Slider wrapper */
.depts-slider-outer {
  position: relative;
  width: 100%;
  margin-top: 24px;
}

.depts-slider {
  position: relative;
  overflow: hidden;
  min-height: 200px;
}

@media (min-width: 640px) {
  .depts-slider { min-height: 400px; }
}

.deptsSwiper {
  width: 100%;
  padding: 0 0 50px !important;
  height: auto;
}

.dept-slide {
  height: auto !important;
  display: flex !important;
  flex-direction: column;
}

@media (min-width: 640px) {
  .dept-slide { height: calc((100% - 20px) / 2) !important; }
}

/* Card Style */
.dept-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 24px 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.dept-card:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.08));
  border-color: rgba(255,255,255,.18);
}

.dept-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 12px;
}

.dept-name {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color: rgba(255,255,255,.92);
  text-shadow: 0 2px 10px rgba(0,0,0,.25);
}

/* Department Arrows (Shared Style with Overrides) */
.depts .nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255, .2);
  background: rgba(0,0,0, .3);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
  z-index: 50;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.depts .nav-arrow.left { left: -70px; }
.depts .nav-arrow.right { right: -70px; }

/* ─────────────────────────────────────────────────────────────────────────────
   7. GALLERY SECTION
   ───────────────────────────────────────────────────────────────────────────── */
.gallery-section {
  direction: rtl;
  background: var(--gallery-bg);
  padding: 40px 0 28px;
}

.gallery-container {
  width: 69%;
  margin: 0 auto;
  padding: 0 16px;
}

.gallery-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.gallery-slider-wrap .nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255, 0.2);
  background: rgba(0,0,0, 0.3);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 50;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.gallery-slider-wrap .nav-arrow.left { left: -70px; }
.gallery-slider-wrap .nav-arrow.right { right: -70px; }

.gallery-viewport {
  width: 100%;
  overflow: hidden;
  padding: 0 10px;
}

.gallery-track {
  display: flex;
  transition: transform .5s ease;
  will-change: transform;
}

.gallery-slide {
  flex: 0 0 33.3333%;
  padding: 0 6px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 6px 16px var(--gallery-shadow);
}

.gallery-image {
  display: block;
  width: 100%;
  height: 176px;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .gallery-slide { flex: 0 0 50%; }
}

@media (max-width: 640px) {
  .gallery-slide { flex: 0 0 100%; }
  .gallery-image { height: 220px; }
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--gallery-arrow);
  font-size: 70px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  padding: 0;
}

.gallery-arrow-left { left: 0; }
.gallery-arrow-right { right: 0; }
.gallery-arrow:hover { opacity: .8; }

/* ─────────────────────────────────────────────────────────────────────────────
   8. MAP SECTION
   ───────────────────────────────────────────────────────────────────────────── */
.map-section {
  direction: rtl;
  background: var(--map-bg);
  padding: 28px 0 22px;
}

.map-container {
  width: 69%;
  margin: 0 auto;
  padding: 0 16px;
}

.map-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 26px;
}

.map-title {
  margin: 0;
  color: var(--map-title);
  font-size: 31px;
  font-weight: 900;
  line-height: 1;
}

.map-line {
  width: 375px;
  height: 2px;
  background: var(--map-line);
}

@media (max-width: 920px) {
  .map-line { width: 120px; }
  .map-title { font-size: 25px; }
}

.map-card {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  background: transparent;
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
}

@media (max-width: 900px) {
  .map-card { grid-template-columns: 1fr; }
}

.map-left, .map-right { min-height: 225px; }

.map-real-wrap {
  position: relative;
  height: 225px;
  border: 1px solid rgba(0,0,0,.06);
  background: #eee;
}

.map-real-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  filter: grayscale(0.2) contrast(1.1);
}

.map-image-wrap {
  position: relative;
  height: 225px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
}

.map-building-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.95) contrast(.98);
}

.map-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,61,115,.08), rgba(18,61,115,.10)), linear-gradient(0deg, rgba(0,0,0,.06), transparent 45%);
}

.map-location-label {
  position: absolute;
  top: 28px;
  right: 24px;
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,.18);
}

.label-arrow { color: var(--map-yellow); font-size: 18px; }

.map-directions-btn {
  position: absolute;
  bottom: 18px;
  right: 38px;
  min-width: 236px;
  height: 50px;
  padding: 0 22px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--map-yellow), var(--map-yellow-dark));
  color: #062748;
  text-decoration: none;
  font-size: 20px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  transition: transform .16s ease, filter .16s ease;
}

.map-directions-btn:hover { transform: translateY(-1px); filter: brightness(1.03); }

@media (max-width: 900px) {
  .map-location-label { top: 20px; right: 18px; font-size: 18px; }
  .map-directions-btn { right: 18px; bottom: 16px; min-width: 210px; font-size: 18px; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   9. CONTACT SECTION
   ───────────────────────────────────────────────────────────────────────────── */
.contact-section {
  position: relative;
  overflow: hidden;
  direction: rtl;
  color: var(--contact-text);
  padding: var(--section-padding);
  background: radial-gradient(700px 220px at 50% 0%, rgba(255, 255, 255, 0.08), transparent 60%), linear-gradient(180deg, var(--contact-bg-1), var(--contact-bg-2) 55%, var(--contact-bg-3));
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%), linear-gradient(0deg, rgba(0, 0, 0, 0.12), transparent 40%);
  pointer-events: none;
}

.contact-container {
  position: relative;
  z-index: 1;
  width: 69%;
  margin: 0 auto;
  padding: 0 16px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr;
  gap: 28px;
  align-items: start;
  justify-content: center;
}

@media (max-width: 980px) {
  .contact-content { grid-template-columns: 1fr; }
}

.contact-form { width: 100%; }

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 12px;
}

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

.input-group input, .input-group textarea {
  width: 100%;
  border: 1px solid var(--contact-input-border);
  outline: none;
  background: var(--contact-input);
  color: #fff;
  border-radius: 3px;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  padding: 14px 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.input-group input::placeholder, .input-group textarea::placeholder {
  color: rgba(255,255,255,.78);
}

.textarea-group textarea {
  min-height: 132px;
  max-height: 260px;
  resize: vertical;
  margin-bottom: 12px;
}

.contact-submit-row { display: flex; justify-content: flex-start; }

.contact-submit-btn {
  min-width: 198px;
  height: 48px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--contact-yellow), var(--contact-yellow-dark));
  color: #082846;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  box-shadow: 0 12px 20px rgba(0,0,0,.16);
  transition: transform .16s ease, filter .16s ease;
}

.contact-submit-btn:hover { transform: translateY(-1px); filter: brightness(1.03); }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 10px;
}

.contact-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding-bottom: 5px;
}

.contact-info-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 36px;
}

.contact-info-value-icon {
  display: flex;
  gap: 10px;
  justify-items: center;
  align-items: center;
}

.contact-info-label {
  font-size: 16px;
  font-weight: 900;
  color: rgba(255,255,255,.88);
}

.contact-info-value {
  text-align: right;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
}

.contact-info-value.small { font-size: 17px; font-weight: 800; }

@media (max-width: 640px) {
  .contact-info-item { flex-direction: column; gap: 14px; width: 100%; }
  .contact-info { align-items: center; }
  .contact-info-value-icon { width: 100%; }
  #contact-phone, #contact-email { justify-content: flex-end; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   10. FOOTER
   ───────────────────────────────────────────────────────────────────────────── */
.footer {
  background: linear-gradient(180deg, #0b2f55, #051c33);
  padding: 24px 0;
  color: white;
  direction: rtl;
  font-family: var(--font-main);
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-text {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}

.footer-social { display: flex; gap: 8px; }

.social-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.whatsapp { background: #f4b400; }
.instagram { background: #ff9b2f; }
.skype { background: #4aa3ff; }

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

.dept-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 12px;
}

.dept-emoji {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 12px;
    text-align: center;
}
