:root {
  --primary: #0f4c81;
  --primary-dark: #0a3559;
  --accent: #27ae60;
  --soft: #eef6fb;
  --ink: #16324a;
  --muted: #6b7b8c;
  --line: #d9e5ef;
  --card: #ffffff;
  --shadow: 0 12px 40px rgba(8, 41, 70, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background: #f7fbfe;
}

body.rtl {
  direction: rtl;
  text-align: right;
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
}

.navbar {
  box-shadow: 0 6px 24px rgba(10, 53, 89, 0.08);
  background: rgba(255,255,255,.96)!important;
  backdrop-filter: blur(10px);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #2c7cc0);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: .5px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(39,174,96,.14), transparent 25%),
    linear-gradient(135deg, #f7fbfe 0%, #edf6fc 45%, #e7f1f8 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -120px -120px auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(15,76,129,.07);
}

.section {
  padding: 88px 0;
}

.section-sm {
  padding: 64px 0;
}

.kicker {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .82rem;
}

.display-title {
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.lead-soft {
  color: var(--muted);
  font-size: 1.08rem;
}

.card-modern {
  background: var(--card);
  border: 1px solid rgba(15,76,129,.08);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.soft-panel {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15,76,129,.1);
  color: var(--primary);
  font-size: 1.25rem;
}

.metric {
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(15,76,129,.08);
  height: 100%;
}

.metric-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.gradient-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.page-hero {
  padding: 120px 0 72px;
  background: linear-gradient(180deg, #eef6fb 0%, #f7fbfe 100%);
}

.service-card,
.capability-card,
.division-card {
  height: 100%;
  border-radius: 24px;
  border: 1px solid rgba(15,76,129,.08);
  background: #fff;
  box-shadow: var(--shadow);
}

.service-card .top-line,
.capability-card .top-line,
.division-card .top-line {
  height: 6px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, var(--primary), #39a66a);
}

.cta-band {
  background: linear-gradient(135deg, rgba(15,76,129,.98), rgba(44,124,192,.95));
  color: #fff;
  border-radius: 28px;
}

footer {
  background: #0d2235;
  color: rgba(255,255,255,.82);
}

footer a { color: rgba(255,255,255,.9); text-decoration: none; }
footer a:hover { color: #fff; }

.list-check li,
.list-simple li {
  margin-bottom: .7rem;
}

.list-check {
  list-style: none;
  padding-left: 0;
}

.list-check li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  margin-right: .65rem;
}

body.rtl .list-check li::before {
  margin-right: 0;
  margin-left: .65rem;
}

.badge-soft {
  background: rgba(15,76,129,.08);
  color: var(--primary);
  border: 1px solid rgba(15,76,129,.08);
  padding: .55rem .9rem;
  border-radius: 999px;
  font-weight: 600;
}

.contact-card {
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(15,76,129,.08);
  box-shadow: var(--shadow);
}

.lang-switch .btn,
.lang-switch .btn:focus {
  box-shadow: none;
}

.lang-switch .btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.object-cover {
  object-fit: cover;
}

.hero-visual {
  min-height: 520px;
  border-radius: 32px;
  background: linear-gradient(145deg, #0f4c81, #2b6ea6);
  position: relative;
  overflow: hidden;
}

.hero-visual .floating-card {
  position: absolute;
  background: rgba(255,255,255,.96);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(0,0,0,.16);
}

.hero-visual .grid-line {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 34px 34px;
}

body.rtl .ms-auto { margin-left: 0 !important; margin-right: auto !important; }
body.rtl .me-2 { margin-right: 0 !important; margin-left: .5rem !important; }
body.rtl .me-3 { margin-right: 0 !important; margin-left: 1rem !important; }
body.rtl .pe-md-5 { padding-right: 0 !important; padding-left: 3rem !important; }
body.rtl .text-md-end { text-align: left !important; }

@media (max-width: 991.98px) {
  .section { padding: 72px 0; }
  .page-hero { padding: 110px 0 56px; }
  .hero-visual { min-height: 420px; }
}

@media (max-width: 575.98px) {
  .display-title { font-size: 2.15rem; }
  .hero-visual { min-height: 360px; }
}
