:root {
  --brand: #006c6d;
  --brand-dark: #004d4e;
  --bg: #f8f9fa;
  --muted: #eef7f7;
  --card: #ffffff;
  --text: #333333;
  /* !! هام: استبدل الرابط التالي برابط صحيح للصورة بعد رفعها على موقعك */
  --hero-logo: url("image/your-background-logo.jpeg");
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  padding: 0;
  direction: rtl;
  background: var(--bg);
  color: var(--text);
  font-family: "Cairo", Tahoma, Arial, sans-serif;
  line-height: 1.8;
}

a {
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-wrap img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}
.site-title {
  margin: 0;
  font-size: 20px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
}
nav a:hover {
  opacity: 0.9;
}
.call-pill {
  background: #fff;
  color: var(--brand);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 82vh;
  display: grid;
  place-items: center;
  background: linear-gradient(
    to bottom,
    rgba(0, 108, 109, 0.1),
    rgba(0, 108, 109, 0.05)
  );
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20px;
  z-index: -2;
  background-image: var(--hero-logo);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 560px auto;
  filter: blur(14px) opacity(0.18);
  transform: scale(1.1);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(2px);
}
.hero-card {
  width: min(1000px, 92%);
  background: rgba(137, 121, 241, 0.116);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: saturate(120%) blur(10px);
}
.hero-eyebrow {
  display: inline-block;
  background: var(--muted);
  color: var(--brand);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
}
.hero h1 {
  margin: 6px 0 12px;
  font-size: 28px;
  color: var(--brand);
}
.hero p {
  margin: 0 0 10px;
  color: #444;
}
.hero .bullets {
  display: grid;
  gap: 6px;
  margin: 14px 0 0 0;
}
.hero .bullets li {
  margin: 0 0 0 18px;
}
.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 800;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-dark);
}
.btn-ghost {
  background: #ffffff;
  border: 1px solid #e6e6e6;
}

/* Sections shared */
section {
  scroll-margin-top: 90px;
}
.section {
  padding: 54px 0;
}
.section h2 {
  font-size: 26px;
  color: var(--brand);
  margin: 0 auto 22px;
  text-align: center;
  max-width: 800px;
}

/* Services & Cards */
.grid {
  display: grid;
  gap: 20px;
}
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease;
  text-align: center;
}
.card:hover {
  transform: translateY(-6px);
}
.card img.icon {
  width: 102px;
  height: 102px;
  margin: 0 auto 10px;
}
.card h3 {
  margin: 4px 0 8px;
  font-size: 18px;
}
.card p {
  margin: 0 0 15px;
  color: #555;
}
.call-btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 10px 14px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 800;
}
.call-btn:hover {
  background: var(--brand-dark);
}

/* Specific Sections */
.devices {
  background: #fff;
}
.brands {
  background: var(--muted);
}
.brand-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  align-items: center;
}
.brand {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  width: 150px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s;
}
.brand:hover {
  transform: translateY(-5px);
}
.brand img {
  max-width: 120px;
  max-height: 60px;
  object-fit: contain;
}

/* About Section */
.about h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #004d4e;
  text-align: center;
}
.about p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
}

/* Contact Section */
.contact {
  background: var(--muted);
  text-align: center;
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}
.contact-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 25px 30px;
  min-width: 200px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  color: var(--brand-dark);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.contact-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
  margin-inline: auto;
}

/* Footer */
footer {
  background: var(--brand);
  color: #fff;
  padding: 18px 0;
  text-align: center;
}

/* Hamburger Menu & Responsive */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}
.hamburger {
  display: block;
  position: relative;
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.25s ease-in-out;
}
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.25s ease-in-out;
}
.hamburger::before {
  top: -8px;
}
.hamburger::after {
  bottom: -8px;
}

.nav-open .hamburger {
  background: transparent;
}
.nav-open .hamburger::before {
  transform: rotate(45deg) translate(5px, 6px);
}
.nav-open .hamburger::after {
  transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 1024px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 30%;
    background: var(--brand-dark);
    flex-direction: column;
    padding: 80px 20px 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
    z-index: 1000;
  }
  .main-nav[data-visible="true"] {
    transform: translateX(0%);
  }
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
  .nav-toggle {
    display: block;
  }
  .topbar {
    flex-wrap: wrap;
  }
  .site-title {
    font-size: 16px;
  }
  .logo-wrap img {
    width: 60px;
    height: 60px;
  }
  .hero h1 {
    font-size: 24px;
  }
  .brand {
    width: calc(50% - 11px);
    height: 80px;
  }
}

@media (max-width: 480px) {
  .hero-card {
    padding: 20px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    text-align: center;
  }
}