:root {
  --bg: #0b0d12;
  --surface: #121722;
  --surface-2: #191f2c;
  --text: #f4f6fb;
  --muted: #aeb6c8;
  --line: #2e3750;
  --accent: #ef2f23;
  --accent-2: #ffa61f;
  --success: #7ccf4a;
  --font-latin: "Barlow", "Segoe UI", sans-serif;
  --font-arabic: "Cairo", "Segoe UI", sans-serif;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-latin);
  color: var(--text);
  background:
    radial-gradient(
      1200px 600px at 90% -10%,
      rgba(239, 47, 35, 0.25),
      transparent 60%
    ),
    radial-gradient(
      900px 700px at -5% 40%,
      rgba(255, 166, 31, 0.18),
      transparent 55%
    ),
    linear-gradient(160deg, #07090e 0%, #101622 45%, #0b0d12 100%);
  line-height: 1.5;
}

html[lang="ar"] body {
  font-family: var(--font-arabic);
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .brand-name {
  font-family: var(--font-arabic);
  letter-spacing: 0;
}

html[lang="ar"] .kicker {
  text-transform: none;
  letter-spacing: 0;
}

html[lang="ar"] .hero-content,
html[lang="ar"] .section-intro,
html[lang="ar"] .contact-wrap,
html[lang="ar"] .feature-list,
html[lang="ar"] .service-card,
html[lang="ar"] .highlight-card {
  text-align: right;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(10, 13, 19, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
}

.brand-name {
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.06em;
  font-size: 1.8rem;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(23, 29, 42, 0.85);
  overflow: hidden;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.38rem 0.62rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.lang-btn.active {
  background: rgba(239, 47, 35, 0.3);
  color: #fff;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  padding: 0.45rem 0.8rem;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 5.2rem 0 4.2rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      95deg,
      rgba(8, 9, 13, 0.95) 5%,
      rgba(8, 9, 13, 0.52) 55%,
      rgba(8, 9, 13, 0.95) 100%
    ),
    url("assets/hero.jpg") center center / cover no-repeat;
  opacity: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 700px;
  animation: rise 0.8s ease both;
}

.kicker {
  display: inline-block;
  margin: 0 0 0.9rem;
  color: var(--accent-2);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  letter-spacing: 0.02em;
}

.lead {
  margin-top: 1rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(100deg, #ca1f16, #ef2f23);
  box-shadow: 0 8px 24px rgba(239, 47, 35, 0.35);
}

.btn-secondary {
  color: #fff;
  background: linear-gradient(120deg, #3a445f, #202a41);
  border: 1px solid #556284;
}

.btn-block {
  width: 100%;
}

.services,
.why-us,
.contact {
  padding: 3.8rem 0;
}

.section-title {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  letter-spacing: 0.03em;
}

.section-intro {
  margin-top: 0.6rem;
  color: var(--muted);
}

.service-grid {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  background: linear-gradient(
    155deg,
    rgba(35, 42, 59, 0.75),
    rgba(18, 23, 34, 0.92)
  );
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 1.2rem 1rem;
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(239, 47, 35, 0.7);
}

.service-card h3 {
  font-size: 1.2rem;
}

.service-card p {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.why-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: stretch;
}

.feature-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.feature-list li {
  position: relative;
  background: rgba(24, 30, 44, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.7rem 0.8rem 0.7rem 2rem;
  border-radius: 12px;
}

.feature-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
}

.highlight-card {
  background: linear-gradient(
    135deg,
    rgba(239, 47, 35, 0.9),
    rgba(170, 22, 14, 0.95)
  );
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.highlight-label {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.highlight-card h3 {
  margin-top: 0.45rem;
  font-size: 1.7rem;
}

.highlight-card p {
  margin-top: 0.5rem;
}

.contact-wrap {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    155deg,
    rgba(15, 19, 29, 0.95),
    rgba(26, 33, 49, 0.82)
  );
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.contact-wrap p {
  color: var(--muted);
  margin: 0.6rem 0 0;
}

.contact-actions {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0 2.2rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .why-grid {
    grid-template-columns: 1fr;
  }

  .brand-name {
    font-size: 1.5rem;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    right: 4vw;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    min-width: 210px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(11, 14, 22, 0.98);
    padding: 0.8rem;
    border-radius: 12px;
  }

  [dir="rtl"] .site-nav {
    right: auto;
    left: 4vw;
    align-items: flex-end;
  }

  .site-nav.open {
    display: flex;
  }

  .hero {
    padding-top: 4.2rem;
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(8, 9, 13, 0.92) 0%,
        rgba(8, 9, 13, 0.55) 40%,
        rgba(8, 9, 13, 0.92) 100%
      ),
      url("assets/hero.jpg") center center / cover no-repeat;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2.2rem;
  }
}
