:root {
  --bg-navy: #172743;
  --bg-deep-blue: #1b4067;
  --bg-secondary-blue: #1c3354;
  --accent-cyan: #25b4ed;
  --accent-light-blue: #74c2f2;
  --nav-muted: #a8b2d1;
  --text-white: #ffffff;
  --text-muted: #a8b2d1;
  --text: #e8ecf5;
  --muted: var(--text-muted);
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.04);
  --accent-rgb: 37, 180, 237;
  --hero-h1-gradient-start: #29b6f6;
  --hero-h1-gradient-end: #b39ddb;
  --hero-ar-cyan: #00e5ff;
  --hero-secondary: #b0bec5;
  --hero-btn-primary: #2db6f5;
  --hero-btn-primary-rgb: 45, 182, 245;
  --hero-btn-outline: #267d96;
  --mission-card-text: #d1d1d1;
  --mission-highlight: #00bcd4;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Arimo, "Noto Sans Arabic", sans-serif;
  color: var(--text);
  background:
    radial-gradient(ellipse 120% 80% at 50% 28%, rgba(27, 64, 103, 0.45) 0%, transparent 52%),
    radial-gradient(ellipse 90% 55% at 50% 100%, rgba(28, 51, 84, 0.75) 0%, transparent 55%),
    linear-gradient(165deg, var(--bg-navy) 0%, var(--bg-deep-blue) 48%, var(--bg-secondary-blue) 100%);
  min-height: 100vh;
}

.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
#mission .container {
  width: 100%;
  max-width: none;
  padding-inline: clamp(20px, 4vw, 40px);
  box-sizing: border-box;
}

/* ═════════════════ SPLASH SCREEN ═════════════════ */
.splash-overlay{
  position:fixed;
  inset:0;
  z-index:9999;
  background:linear-gradient(165deg, var(--bg-navy) 0%, var(--bg-deep-blue) 48%, var(--bg-secondary-blue) 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:18px;
  transition:opacity .6s ease,visibility .6s ease;
}
.splash-overlay.hide{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
.splash-logo-img{
  width:140px;height:140px;
  border-radius:50%;
  object-fit:contain;
  background:transparent;
  animation:splashPulse 1.6s ease-in-out infinite;
}
.splash-text{
  font-size:1.15rem;
  font-weight:700;
  color:var(--text);
  opacity:0;
  animation:splashFadeIn .8s ease .4s forwards;
}
.splash-sub{
  font-size:.88rem;
  color:var(--text-muted);
  opacity:0;
  animation:splashFadeIn .8s ease .6s forwards;
}
.splash-bar{
  width:180px;height:4px;
  border-radius:99px;
  background:rgba(255,255,255,.08);
  overflow:hidden;
  margin-top:4px;
}
.splash-bar::after{
  content:"";
  display:block;
  width:100%;height:100%;
  background:linear-gradient(90deg,var(--accent-cyan),var(--accent-light-blue));
  border-radius:99px;
  animation:splashLoad 1.8s ease-in-out forwards;
}
@keyframes splashPulse{
  0%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(37,180,237,0)}
  50%{transform:scale(1.06);box-shadow:0 0 38px 8px rgba(37,180,237,.22)}
}
@keyframes splashFadeIn{to{opacity:1}}
@keyframes splashLoad{
  0%{transform:translateX(-100%)}
  100%{transform:translateX(0)}
}

/* ═════════════════ TOPBAR ═════════════════ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  font-family: Inter, system-ui, sans-serif;
  background: rgba(36, 54, 88, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-wrap {
  width: 100%;
  max-width: 100%;
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto minmax(0, 1fr);
  align-items: center;
  column-gap: 20px;
  padding: 12px clamp(20px, 5vw, 50px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: start;
  min-width: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  line-height: 1.2;
}
.brand-text p { margin: 0; }
.logo { width: 50px; height: 50px; border-radius: 50%; flex: 0 0 auto; }
.logo-img {
  object-fit: contain;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand-title {
  color: var(--accent-cyan);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.brand-sub {
  color: var(--nav-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
  margin-top: 1px;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 36px;
}
.menu a {
  color: var(--nav-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  line-height: 1.2;
  padding: 6px 2px 8px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.menu a:hover,
.menu a:focus-visible {
  color: var(--text-white);
  border-bottom-color: var(--accent-cyan);
}

/* ═══ Social icons in header ═══ */
.header-socials{
  display:flex;
  align-items:center;
  gap:12px;
  justify-self:center;
}
.header-socials a{
  color:var(--nav-muted);
  font-size:1.05rem;
  transition:color .22s,transform .22s;
  display:grid;
  place-items:center;
}
.header-socials a:hover{
  color:#fff;
  transform:translateY(-2px);
}

/* ═══ Language Switcher ═══ */
.lang-switcher{
  position:relative;
  justify-self:end;
}
.lang-btn{
  display:flex;
  align-items:center;
  gap:6px;
  padding:7px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:var(--text);
  font-size:.82rem;
  font-weight:600;
  cursor:pointer;
  transition:border-color .2s,background .2s;
  font-family:inherit;
}
.lang-btn:hover{
  border-color:rgba(255,255,255,.25);
  background:rgba(255,255,255,.1);
}
.lang-btn .lang-flag{font-size:1rem}
.lang-btn .lang-arrow{
  font-size:.6rem;
  transition:transform .2s;
}
.lang-switcher.open .lang-arrow{transform:rotate(180deg)}
.lang-dropdown{
  position:absolute;
  top:calc(100% + 6px);
  right:0;
  background:rgba(23,39,67,.96);
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:6px;
  min-width:150px;
  opacity:0;
  visibility:hidden;
  transform:translateY(-6px);
  transition:opacity .2s,transform .2s,visibility .2s;
  backdrop-filter:blur(12px);
  z-index:99;
  box-shadow:0 12px 32px rgba(0,0,0,.35);
}
.lang-switcher.open .lang-dropdown{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.lang-option{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:10px;
  cursor:pointer;
  transition:background .15s;
  color:var(--text-muted);
  font-size:.88rem;
  font-weight:500;
  border:none;
  background:none;
  width:100%;
  font-family:inherit;
}
.lang-option:hover{background:rgba(255,255,255,.08);color:#fff}
.lang-option.active{color:#fff;background:rgba(37,180,237,.18)}
.lang-option .lang-flag{font-size:1.1rem}

.nav-end { justify-self: end; display: flex; align-items: center; }
.btn-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 36px;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1.2;
  border: none;
  background: var(--hero-btn-primary);
  box-shadow: 0 4px 22px rgba(var(--hero-btn-primary-rgb), 0.38);
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}
.btn-top:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 28px rgba(var(--hero-btn-primary-rgb), 0.48);
}

/* ═════════════════ HERO ═════════════════ */
.hero {
  position: relative;
  padding: 40px 0 64px;
  background: transparent;
  overflow: hidden;
}
.hero-bloom {
  position: absolute;
  left: 50%;
  top: 22%;
  transform: translate(-50%, -50%);
  width: min(120%, 920px);
  height: min(70vw, 420px);
  background: radial-gradient(
    ellipse closest-side,
    rgba(var(--accent-rgb), 0.28) 0%,
    rgba(116, 194, 242, 0.12) 38%,
    transparent 68%
  );
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
@keyframes hero-logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.hero .hero-logo {
  width: clamp(170px, 18vw, 240px);
  height: clamp(170px, 18vw, 240px);
  margin: 16px auto 28px;
  display: block;
  border-radius: 0;
  animation: hero-logo-float 3s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero .hero-logo { animation: none; }
}
.hero h1 {
  font-size: clamp(3.15rem, 4.6vw + 1.4rem, 4.65rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #ffffff;
  font-weight: 700;
}
.hero h1 span {
  background: linear-gradient(90deg, var(--hero-h1-gradient-start), var(--hero-h1-gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-ar {
  margin-top: 1.5rem;
  font-size: clamp(1.1rem, 1.5vw + 0.4rem, 1.65rem);
  line-height: 1.35;
  color: var(--hero-ar-cyan);
  font-family: "Noto Sans Arabic", sans-serif;
  font-weight: 700;
}
.hero-sub {
  margin-top: 0.65rem;
  color: var(--hero-secondary);
  font-size: clamp(1.125rem, 1.6vw + 0.35rem, 1.5rem);
  line-height: 1.35;
  font-weight: 400;
}
.hero-desc {
  color: var(--hero-secondary);
  max-width: min(42rem, 100%);
  margin: 1.75rem auto 0;
  padding: 0 1rem;
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 400;
}
.hero-desc-l1,
.hero-desc-l2 {
  display: block;
}
.hero-desc-l2 {
  margin-top: 0.08em;
}
.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.hero-actions a {
  font-family: Inter, system-ui, sans-serif;
  text-decoration: none;
  border-radius: 999px;
  min-width: min(300px, 100%);
  padding: 1.15rem 2.4rem;
  font-size: 1.125rem;
  font-weight: 600;
}
.btn-primary {
  color: #fff;
  background: var(--hero-btn-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: none;
  box-shadow: 0 4px 22px rgba(var(--hero-btn-primary-rgb), 0.38);
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary::after {
  content: "⌄";
  font-size: 1.05em;
  line-height: 1;
  opacity: 1;
  font-weight: 600;
}
.btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 28px rgba(var(--hero-btn-primary-rgb), 0.48);
}
.btn-outline {
  color: #ffffff;
  border: 1px solid var(--hero-btn-outline);
  background: transparent;
}
.btn-outline:hover {
  background: rgba(38, 125, 150, 0.14);
}

/* ═════════════════ SECTIONS ═════════════════ */
.section { padding: 58px 0 10px; }
.kicker { color: var(--accent-cyan); text-align: center; font-size: 29px; font-weight: 700; }
.section h2 {
  text-align: center;
  font-size: clamp(48px, 5.5vw, 73px);
  margin-top: 8px;
  color: var(--text-white);
}
.grad-line {
  width: 94px;
  height: 5px;
  border-radius: 30px;
  margin: 13px auto 24px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-light-blue));
}
#mission .grad-line {
  width: 72px;
  height: 5px;
  margin: 14px auto 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hero-h1-gradient-start), var(--hero-h1-gradient-end));
}

.glass {
  background: var(--glass);
  border: 1px solid rgba(165, 191, 216, 0.12);
  border-radius: 24px;
}
.mission-box {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding: clamp(40px, 4.5vw, 56px) clamp(36px, 4.5vw, 56px);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.32);
  box-sizing: border-box;
}
@media (min-width: 640px) {
  .mission-box {
    width: min(78vw, 72rem);
    max-width: 100%;
  }
}
.mission-box p {
  font-family: Inter, system-ui, sans-serif;
  color: var(--mission-card-text);
  font-size: clamp(1.05rem, 1.05vw + 0.82rem, 1.2rem);
  line-height: 1.6;
  text-align: center;
}
#mission .kicker {
  font-size: clamp(0.78rem, 1vw + 0.52rem, 0.92rem);
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--hero-btn-primary);
}
#mission h2 {
  font-size: clamp(2.35rem, 4vw + 0.65rem, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.mission-box strong {
  color: var(--mission-highlight);
  font-weight: 700;
}

#services .kicker,
#contact .kicker {
  font-size: clamp(0.72rem, 0.95vw + 0.45rem, 0.88rem);
  letter-spacing: 0.14em;
  font-weight: 700;
}
#services .kicker {
  font-size: clamp(0.78rem, 1vw + 0.5rem, 0.92rem);
}
#services h2,
#contact h2 {
  font-size: clamp(1.65rem, 3.2vw + 0.45rem, 2.35rem);
}
#services h2 {
  font-size: clamp(2rem, 3.8vw + 0.55rem, 2.85rem);
}
#contact .grad-line {
  width: 72px;
  height: 5px;
  margin: 12px auto 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hero-h1-gradient-start), var(--hero-h1-gradient-end));
}
#contact .kicker {
  font-size: clamp(0.78rem, 1vw + 0.5rem, 0.92rem);
  color: var(--hero-btn-primary);
}
#contact h2 {
  font-size: clamp(2rem, 3.8vw + 0.55rem, 2.85rem);
}
#services .grad-line {
  width: 72px;
  height: 5px;
  margin: 12px auto 22px;
}

/* ═════════════════ SERVICE CARDS ═════════════════ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(230px, 1fr));
  gap: 22px;
}
.card { padding: 24px 24px 20px; min-height: 260px; }
.card.wide { grid-column: span 2; min-height: 198px; }
#services .card {
  position: relative;
  padding: clamp(28px, 3vw, 38px);
  min-height: 0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
#services .card:hover {
  z-index: 3;
  transform: scale(1.03);
  border-color: rgba(255, 255, 255, 0.1) rgba(255, 255, 255, 0.1) rgba(var(--hero-btn-primary-rgb), 0.52)
    rgba(var(--hero-btn-primary-rgb), 0.55);
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.45),
    0 4px 22px rgba(var(--hero-btn-primary-rgb), 0.35),
    -10px 12px 32px rgba(var(--hero-btn-primary-rgb), 0.42),
    -16px 18px 48px rgba(var(--hero-btn-primary-rgb), 0.32),
    -22px 26px 64px rgba(var(--hero-btn-primary-rgb), 0.18);
}
#services .card.wide { min-height: 0; }
#services .cards {
  gap: 22px;
  overflow: visible;
}
.icon {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 28px;
}
#services .icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  margin-bottom: 14px;
  font-size: 24px;
}
.i1 { background: linear-gradient(135deg, #2fcbf4, #1a81ff); }
.i2 { background: linear-gradient(135deg, #d35af6, #f04c64); }
.i3 { background: linear-gradient(135deg, #6bd54e, #25a166); }
.i4 { background: linear-gradient(135deg, #f3ae22, #ef6e1d); }
.i5 { background: linear-gradient(135deg, #fa6d56, #ee324f); }

.card h3 { font-size: clamp(19px, 2vw, 34px); margin-bottom: 8px; }
.card p { color: #8d9dad; font-size: clamp(14px, 1.3vw, 27px); line-height: 1.35; }
#services .card h3 {
  font-size: clamp(17px, 1.5vw, 22px);
  margin-bottom: 10px;
  text-align: left;
}
#services .card p {
  font-size: clamp(13.5px, 1.05vw, 16px);
  line-height: 1.5;
  text-align: left;
}

/* ═════════════════ CONTACT ═════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: start;
  overflow: visible;
}
.contact-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  min-width: 0;
}
#contact .contact-box,
#contact .form-box {
  position: relative;
  padding: clamp(28px, 3vw, 38px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
#contact .contact-box:hover,
#contact .form-box:hover {
  z-index: 3;
  transform: scale(1.03);
  border-color: rgba(255, 255, 255, 0.1) rgba(255, 255, 255, 0.1) rgba(var(--hero-btn-primary-rgb), 0.52)
    rgba(var(--hero-btn-primary-rgb), 0.55);
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.45),
    0 4px 22px rgba(var(--hero-btn-primary-rgb), 0.35),
    -10px 12px 32px rgba(var(--hero-btn-primary-rgb), 0.42),
    -16px 18px 48px rgba(var(--hero-btn-primary-rgb), 0.32),
    -22px 26px 64px rgba(var(--hero-btn-primary-rgb), 0.18);
}
.qr-wrap {
  margin-top: 14px;
  align-self: flex-start;
}
.qr-img {
  width: min(170px, 46vw);
  height: auto;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px;
}
.contact-box { padding: clamp(28px, 3vw, 38px); }
.contact-box h3,
.form-box h3 {
  color: var(--hero-btn-primary);
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 700;
  margin-bottom: 10px;
}
.info-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.contact-icon svg {
  width: 22px;
  height: 22px;
}
.contact-icon--phone {
  background: rgba(15, 90, 110, 0.45);
  color: #22d3ee;
}
.contact-icon--mail {
  background: rgba(70, 30, 95, 0.45);
  color: #c084fc;
}
.contact-icon--pin {
  background: rgba(22, 78, 42, 0.45);
  color: #4ade80;
}
.label { color: #9ca3af; font-size: 13px; }
.value {
  color: #ffffff;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 700;
  margin-top: 2px;
  line-height: 1.3;
}
.sub-value { color: #8ea0b6; font-size: clamp(12px, 1vw, 14px); margin-top: 4px; line-height: 1.35; }

.links-btn {
  margin-top: 0;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  color: #f8fafc;
  border: 1px solid rgba(165, 200, 230, 0.22);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 14px 26px;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.links-btn__ic {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--hero-btn-primary);
}
.links-btn:hover {
  background: rgba(var(--hero-btn-primary-rgb), 0.14);
  border-color: rgba(var(--hero-btn-primary-rgb), 0.55);
}

.form-box {
  padding: clamp(28px, 3vw, 38px);
  display: grid;
  gap: 12px;
}
.form-box label { display: grid; gap: 6px; color: #9ca3af; font-size: 13px; }
input,
textarea {
  border: 1px solid rgba(161, 186, 210, 0.14);
  background: rgba(35, 55, 78, 0.55);
  color: #f0f4fa;
  border-radius: 10px;
  padding: 11px 13px;
  font: inherit;
  font-size: 14px;
}
#contact textarea {
  min-height: 120px;
  resize: vertical;
  -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 75%, transparent 100%);
}
input::placeholder,
textarea::placeholder { color: #7a8aa0; }
.form-box button {
  border: 0;
  border-radius: 999px;
  background: var(--hero-btn-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 20px;
  cursor: pointer;
  box-shadow: 0 4px 22px rgba(var(--hero-btn-primary-rgb), 0.38);
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}
.form-box button:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 28px rgba(var(--hero-btn-primary-rgb), 0.48);
}

/* ═════════════════ GALLERY ═════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.gallery-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  transition: transform .35s ease, opacity .3s ease, box-shadow .35s ease;
}
.gallery-img:hover{
  transform:scale(1.03);
  box-shadow:0 12px 28px rgba(0,0,0,.35);
}
.gallery-grid .gallery-img:nth-child(1) { grid-column: span 6; }
.gallery-grid .gallery-img:nth-child(2) { grid-column: span 6; }
.gallery-grid .gallery-img:nth-child(3) { grid-column: span 4; }
.gallery-grid .gallery-img:nth-child(4) { grid-column: span 8; }

/* ═════════════════ FOOTER ═════════════════ */
.site-footer {
  margin-top: 48px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  background: #0b2540;
}
.foot-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(26px, 4vw, 38px) 0;
  font-family: Inter, system-ui, sans-serif;
}
.foot-brand .logo {
  width: 48px;
  height: 48px;
}
.foot-title {
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin: 0;
}
.foot-sub {
  font-size: 13px;
  font-weight: 400;
  color: #94a3b8;
  margin: 4px 0 0;
  line-height: 1.3;
}
.footer-socials{
  display:flex;
  align-items:center;
  gap:16px;
}
.footer-socials a{
  color:#94a3b8;
  font-size:1.18rem;
  transition:color .22s ease, transform .22s ease;
}
.footer-socials a:hover{
  color:#ffffff;
  transform:translateY(-2px);
}
.copy {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: #94a3b8;
  text-align: right;
  max-width: min(420px, 100%);
  line-height: 1.45;
}

/* ═════════════════ ENHANCED REVEAL ANIMATIONS ═════════════════ */
.reveal{
  opacity:0;
  transform:translateY(32px);
  transition:opacity .7s cubic-bezier(.22,1,.36,1),transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.show{opacity:1;transform:translateY(0)}
.reveal.reveal-left{transform:translateX(-40px) translateY(0)}
.reveal.reveal-left.show{transform:translateX(0) translateY(0)}
.reveal.reveal-right{transform:translateX(40px) translateY(0)}
.reveal.reveal-right.show{transform:translateX(0) translateY(0)}
.reveal.reveal-scale{transform:scale(.92);opacity:0}
.reveal.reveal-scale.show{transform:scale(1);opacity:1}

/* ═════════════════ RTL SUPPORT ═════════════════ */
html[dir="rtl"]{
  font-family:Arimo,"Noto Sans Arabic",sans-serif;
}
html[dir="rtl"] .nav-wrap{direction:rtl}
html[dir="rtl"] .brand{justify-self:end}
html[dir="rtl"] .brand-text{align-items:flex-end}
html[dir="rtl"] .menu{direction:rtl}
html[dir="rtl"] .hero-inner{direction:rtl}
html[dir="rtl"] #services .card h3,
html[dir="rtl"] #services .card p{text-align:right}
html[dir="rtl"] .contact-box,
html[dir="rtl"] .form-box{direction:rtl}
html[dir="rtl"] .form-box label{text-align:right}
html[dir="rtl"] .info-row{direction:rtl}
html[dir="rtl"] .foot-main{direction:rtl}
html[dir="rtl"] .copy{text-align:left}
html[dir="rtl"] .lang-dropdown{right:auto;left:0}
html[dir="rtl"] .mission-box p{text-align:center}

/* ═════════════════ RESPONSIVE ═════════════════ */
@media (max-width: 980px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .gallery-img { grid-column: auto; aspect-ratio: 16 / 10; }
  .nav-wrap {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto;
    row-gap: 14px;
    justify-items: stretch;
    min-height: 0;
    padding: 14px clamp(16px, 4vw, 32px);
  }
  .brand { justify-self: start; }
  .menu {
    justify-self: center;
    gap: 22px;
    flex-wrap: wrap;
  }
  .header-socials{justify-self:center}
  .lang-switcher{justify-self:center}
  .nav-end { justify-self: stretch; }
  .nav-end .btn-top { width: 100%; }
  .hero h1 { font-size: clamp(2.25rem, 7vw + 0.6rem, 3.35rem); }
  .hero-ar { font-size: clamp(1rem, 3vw + 0.2rem, 1.45rem); }
  .hero-sub { font-size: clamp(1rem, 2.5vw + 0.2rem, 1.35rem); }
  .cards { grid-template-columns: 1fr; }
  .card.wide { grid-column: span 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 0 32px;
  }
  .foot-brand {
    flex-direction: column;
    align-items: center;
  }
  .foot-brand .brand-text {
    align-items: center;
  }
  .copy {
    text-align: center;
    max-width: none;
  }
}
@media (max-width:680px){
  .lang-btn span:not(.lang-flag):not(.lang-arrow){display:none}
}
