@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css");
:root {
  --primary: #071a2f;
  --primary-2: #0d2b4e;
  --accent: #ff8a00;
  --accent-2: #ffb357;
  --sky: #20d3f5;
  --white: #ffffff;
  --soft: #f6f8fb;
  --text: #1f2937;
  --muted: #667085;
  --border: #e7edf5;
  --shadow: 0 18px 45px rgba(7, 26, 47, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Tahoma", "Arial", sans-serif;
  direction: rtl;
  color: var(--text);
  background: var(--soft);
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 75px 0;
}

.section.light {
  background: #fff;
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  color: var(--accent);
  background: rgba(255, 138, 0, 0.10);
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 12px;
}

.section-head h2 {
  color: var(--primary);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.35;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: 0.25s ease;
  white-space: nowrap;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px rgba(255, 138, 0, 0.28);
}

.btn.primary:hover {
  transform: translateY(-2px);
  background: #ff7a00;
}

.btn.secondary {
  background: #fff;
  color: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

/* ===== Hero Video ===== */
.hero.video-hero {
  position: relative;
  min-height: 720px;
  padding: 150px 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #07192b;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 16, 31, 0.25), rgba(4, 16, 31, 0.78)),
    linear-gradient(0deg, rgba(4, 16, 31, 0.66), rgba(4, 16, 31, 0.18));
}

.video-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-right: auto;
  text-align: right;
}

.video-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-weight: 800;
  margin-bottom: 20px;
}

.video-hero h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.25;
  margin: 0 0 20px;
  max-width: 760px;
}

.video-hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 19px;
  line-height: 2;
  max-width: 820px;
  margin: 0 0 28px;
}

.video-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.video-hero .btn {
  border-radius: 14px;
  padding: 15px 28px;
  font-weight: 900;
}

.video-hero .btn.primary {
  background: #f28c28;
  color: #fff;
  border: 1px solid #f28c28;
}

.video-hero .btn.primary:hover {
  background: #d97706;
  border-color: #d97706;
}

.video-hero .btn.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 14px;
  max-width: 650px;
}

.stat {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.stat strong {
  display: block;
  color: #fff;
  font-size: 28px;
  margin-bottom: 4px;
}

.stat span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

/* ===== لماذا تختارنا ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(7, 26, 47, 0.06);
  transition: 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.icon-box {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 138, 0, 0.12);
  margin-bottom: 16px;
}

.icon-box img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.card h3 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 20px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

/* ===== كروت الخدمات بعد التصليح ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(7, 26, 47, 0.07);
  transition: 0.25s ease;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-img {
  height: 230px;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #eaf5ff, #fff2df);
  display: block;
  flex: 0 0 230px;
}

.service-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  padding: 0;
}

.service-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #fff;
}

.service-content h3 {
  color: var(--primary);
  margin-bottom: 7px;
  font-size: 22px;
  line-height: 1.4;
}

.service-content p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 16px;
}

.more-link {
  color: var(--accent);
  font-weight: 900;
  margin-top: auto;
}

/* ===== عن المركز وخطوات الحجز ===== */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.panel,
.content-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.panel h2,
.content-box h2,
.content-box h3 {
  color: var(--primary);
  margin: 10px 0 12px;
}

.panel p,
.content-box p {
  color: var(--muted);
  margin-bottom: 14px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  background: rgba(255, 138, 0, 0.12);
  color: var(--accent);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex: 0 0 26px;
  font-weight: 900;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.steps-two {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 18px;
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  margin-bottom: 14px;
}

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--primary), #123b66);
  color: #fff;
  border-radius: 34px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow);
}

.cta h2 {
  font-size: clamp(24px, 3vw, 38px);
  margin-bottom: 6px;
}

.cta p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-actions {
  margin: 0;
}
/* ===== Responsive ===== */
@media (max-width: 1050px) {
  .cards-grid,
  .services-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 900px) {
  .home-header.clean-header {
    position: relative;
  }

  .hero.video-hero {
    min-height: 640px;
    padding: 90px 0 60px;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(4, 16, 31, 0.82), rgba(4, 16, 31, 0.45));
  }

  .video-hero .hero-content {
    margin: 0;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 850px) {
  .menu-btn {
    display: grid;
    place-items: center;
  }

  .navbar {
    position: fixed;
    top: 78px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 14px;
    box-shadow: var(--shadow);
  }

  .navbar.open {
    display: flex;
  }

  .navbar > a,
  .dropdown-toggle {
    width: 100%;
    text-align: right;
  }

  .service-menu {
    position: static;
    width: 100%;
    border-radius: 14px;
    box-shadow: none;
    margin-top: 6px;
  }

  .service-submenu {
    position: static;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
  }

  .service-group:hover > .service-submenu {
    display: none;
  }

  .service-group.open > .service-submenu,
  .service-group:focus-within > .service-submenu {
    display: block;
  }

  .service-main {
    min-height: 48px;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 55px 0;
  }

  .cards-grid,
  .services-grid,
  .steps,
  .steps-two,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-img {
    height: 210px;
    flex-basis: 210px;
  }

  .header-actions .btn.primary {
    padding: 10px 12px;
    font-size: 13px;
  }

  .logo small {
    display: none;
  }

  .hero-actions,
  .cta {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .footer-bottom {
    text-align: center;
    justify-content: center;
  }
}
