:root {
  --bg: #07162d;
  --bg-soft: #0c2244;
  --panel: rgba(255,255,255,0.06);
  --panel-solid: #0b2142;
  --panel-light: #f5f8fc;
  --text: #0d213d;
  --text-light: #e8f1ff;
  --muted: #a9bbd8;
  --primary: #22d7ff;
  --primary-strong: #0bb4f5;
  --line: rgba(255,255,255,0.12);
  --shadow: 0 20px 50px rgba(3, 16, 37, 0.18);
  --radius: 24px;
  --container: min(1180px, calc(100% - 2rem));
  --transition: 220ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p, li { font-size: 1rem; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 1rem; }
h1 { font-size: clamp(2.7rem, 5vw, 4.85rem); }
h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 5.5rem 0; position: relative; }
.section-alt { background: linear-gradient(180deg, #f5f8fe 0%, #edf4fb 100%); }
.section-dark {
  background:
    radial-gradient(circle at top left, rgba(34, 215, 255, 0.16), transparent 30%),
    radial-gradient(circle at bottom right, rgba(11, 180, 245, 0.2), transparent 25%),
    linear-gradient(180deg, #07162d 0%, #091d39 100%);
  color: var(--text-light);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
}
.section-heading { max-width: 770px; margin-bottom: 2rem; }
.section-heading.center { text-align: center; margin-inline: auto; }
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: #ffffff;
  color: #000;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  z-index: 999;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(16px);
  background: rgba(7, 22, 45, 0.82);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  min-height: 82px;
}
.logo { display: inline-flex; align-items: center; gap: 0.85rem; color: #fff; }
.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), #8bf0ff);
  color: #072040;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(34, 215, 255, 0.3);
}
.logo-text strong {
  display: block;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
}
.logo-text small { display: block; color: #b6cae4; font-size: 0.75rem; }
.primary-nav {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.primary-nav a {
  color: #d9e8fb;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after { transform: scaleX(1); }
.header-actions { display: flex; gap: 0.9rem; align-items: center; }
.lang-switch {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}
.lang-btn {
  border: 0;
  background: transparent;
  color: #dbeafe;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}
.lang-btn.is-active {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #03213f;
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.25rem;
}
.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: #fff;
  margin: 6px 0;
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #072040;
  background: linear-gradient(135deg, var(--primary), #7aecff);
  box-shadow: 0 16px 36px rgba(34,215,255,0.28);
}
.btn-secondary {
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
}
.btn-outline {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.16);
}
.btn-sm { padding: 0.8rem 1.05rem; font-size: 0.92rem; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4.5rem;
  background-image: url(../images/hero.webp);
  background-size: cover;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-copy { 
    max-width: 700px;
    background: rgb(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 20px;
}
.hero-text { color: #c5d5ea; font-size: 1.05rem; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.4rem; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-badges li {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #e8f1ff;
  font-size: 0.9rem;
}
.hero-media img {
  width: 100%;
  border-radius: 32px;
  box-shadow: 0 40px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(55px);
  opacity: 0.6;
}
.hero-glow-1 { width: 340px; height: 340px; background: rgba(34,215,255,0.16); top: -60px; right: 10%; }
.hero-glow-2 { width: 260px; height: 260px; background: rgba(11,180,245,0.15); bottom: 40px; left: -40px; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  align-items: start;
}
.about-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  box-shadow: var(--shadow);
  border: 1px solid rgba(12, 34, 68, 0.06);
}
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.4rem;
}
.info-card,
.feature-card,
.service-card,
.stat-card,
.contact-card,
.faq-list details {
  box-shadow: var(--shadow);
}
.info-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(12, 34, 68, 0.06);
}
.info-card img { aspect-ratio: 4 / 3; object-fit: cover; }
.info-card h3, .info-card p { padding-inline: 1.35rem; }
.info-card h3 { padding-top: 1.25rem; }
.info-card p { padding-bottom: 1.4rem; color: #536b8d; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem;
  border: 1px solid rgba(12, 34, 68, 0.06);
}
.feature-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #072040;
  background: linear-gradient(135deg, var(--primary), #8ff2ff);
  margin-bottom: 1rem;
  font-weight: 800;
}
.feature-card p { color: #546b8e; margin: 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
.service-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(12, 34, 68, 0.06);
}
.service-card img { aspect-ratio: 4 / 3; object-fit: cover; }
.service-body { padding: 1.35rem; }
.service-body p { color: #546b8e; margin: 0; }

.portfolio-grid, .workforce-grid, .contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}
.portfolio-media img,
.workforce-media img,
.contact-media img {
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 70px rgba(0,0,0,0.25);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.7rem;
}
.stat-card {
  border-radius: 20px;
  padding: 1.25rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}
.stat-card strong { display: block; font-size: 1.6rem; color: #fff; margin-bottom: 0.4rem; }
.stat-card span { color: #c9d8ed; font-size: 0.95rem; }
.workforce-section { background: #fff; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
}
.check-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.75rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-strong);
  font-weight: 900;
}

.faq-list {
  max-width: 900px;
  margin-inline: auto;
  display: grid;
  gap: 1rem;
}
.faq-list details {
  background: #fff;
  border-radius: 20px;
  padding: 1.2rem 1.35rem;
  border: 1px solid rgba(12, 34, 68, 0.06);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 1.8rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--primary-strong);
  font-size: 1.25rem;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { color: #546b8e; margin: 0.85rem 0 0; }

.contact-section {
  background: linear-gradient(180deg, #06162c 0%, #091d39 100%);
  color: var(--text-light);
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.8rem 0;
}
.contact-card {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}
.contact-label { display: block; color: #a8c4e6; font-size: 0.84rem; margin-bottom: 0.35rem; }
.contact-card strong { display: block; color: #fff; word-break: break-word; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.site-footer {
  background: #061223;
  color: #d6e6ff;
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer-tagline { color: #9eb3d1; max-width: 320px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-bottom {
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #8ca3c6;
}
.footer-logo { margin-bottom: 1rem; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

html[dir="rtl"] body { font-family: Tahoma, "Segoe UI", Arial, sans-serif; }
html[dir="rtl"] .header-inner { grid-template-columns: auto 1fr auto; }
html[dir="rtl"] .hero-copy, html[dir="rtl"] .section-heading.center { text-align: right; }
html[dir="rtl"] .section-heading.center { margin-inline: auto; }
html[dir="rtl"] .eyebrow::before { order: 2; }
html[dir="rtl"] .check-list li { padding-left: 0; padding-right: 1.8rem; }
html[dir="rtl"] .check-list li::before { left: auto; right: 0; }
html[dir="rtl"] .faq-list summary { padding-right: 0; padding-left: 1.8rem; }
html[dir="rtl"] .faq-list summary::after { right: auto; left: 0; }
html[dir="rtl"] .primary-nav { justify-content: center; }
html[dir="rtl"] .hero-actions, html[dir="rtl"] .contact-actions, html[dir="rtl"] .hero-badges { justify-content: flex-start; }

@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .portfolio-grid,
  .workforce-grid,
  .contact-grid,
  .mission-vision-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  .header-inner {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }
  .menu-toggle { display: inline-block; }
  .primary-nav {
    position: absolute;
    top: 82px;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(7, 22, 45, 0.98);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
  }
  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .header-actions .btn-sm { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 4.25rem 0; }
  .feature-grid,
  .services-grid,
  .stats-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 4rem; }
  .hero-actions, .contact-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .logo-text small { display: none; }
}
