:root {
  --primary: #0c63e7;
  --primary-dark: #0847a9;
  --accent: #f59f00;
  --text: #18212f;
  --muted: #5c6878;
  --bg: #f5f8fc;
  --white: #ffffff;
  --border: #dfe7f1;
  --shadow: 0 15px 40px rgba(8, 25, 56, 0.09);
  --radius: 22px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
}

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

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

ul {
  list-style: none;
}

.header {
  background: #0b1f3a;
  color: #fff;
  padding: 15px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* اسم المركز */
.logo {
  font-size: 22px;
  font-weight: bold;
}

/* المنيو */
.nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav ul li a {
  color: #020d1c;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
  
}

.nav ul li a:hover {
  color: #f9a825;
}

/* زر الموبايل */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}


.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.container testimonials-wrapper
{
    min(915px, calc(100% - 32px)) !important;
}
.topbar {
  background: #081c3a;
  color: #fff;
  font-size: 15px;
}

.topbar-content {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.phone-link,
.footer-phone {
  color: var(--accent);
  font-weight: 800;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(223, 231, 241, 0.7);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  color: #0f2447;
}

.logo span {
  color: var(--primary);
}
@media (max-width: 768px) {

  .nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: #0b1f3a;
    width: 100%;
    display: none;
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
  }

  .nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
    color:black;
  }
  .nav ul li a
  {
      color:#ffffff;
  }
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

nav a {
  font-weight: 600;
  color: #233145;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #2f87ff);
  color: #fff;
  box-shadow: var(--shadow);
}

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

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text);
  background: #fff;
}

.hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(circle at top right, rgba(12, 99, 231, 0.12), transparent 30%),
    linear-gradient(180deg, #eff5ff 0%, #ffffff 70%);
}

.hero-grid,
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.eyebrow,
.section-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(12, 99, 231, 0.1);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.section-text h2,
.privacy-box h2 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.25;
  margin-bottom: 18px;
}

.hero p,
.section-text p,
.section-heading p,
.privacy-box p,
.service-content p,
.feature-card p,
.footer p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 22px;
}

.hero-contact-card,
.highlight-box {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-contact-card a,
.highlight-box a {
  color: var(--primary);
  font-weight: 800;
}

.hero-slider,
.section-image-card,
.service-card,
.feature-card,
.testimonial-slider,
.privacy-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-slider {
  overflow: hidden;
  padding: 16px;
}

.slides,
.testimonial-slider {
  position: relative;
}

.slide,
.testimonial {
  display: none;
}

.slide.active,
.testimonial.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.slide img {
  width: 100%;
  border-radius: 18px;
}

.slide-caption {
  padding: 18px 8px 8px;
}

.slide-caption h3,
.service-content h3,
.feature-card h3,
.testimonial h3,
.footer h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.slider-controls,
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: #edf4ff;
  color: var(--primary-dark);
  font-size: 22px;
  cursor: pointer;
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #c8d6e8;
  cursor: pointer;
}

.slider-dots button.active {
  background: var(--primary);
}

.section {
  padding: 88px 0;
}

.alt-bg {
  background: var(--bg);
}

.section-image-card {
  padding: 18px;
}

.section-image-card img {
  border-radius: 16px;
}

.section-heading {
  margin-bottom: 28px;
}

.centered {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px;
}

.features-grid,
.services-grid,
.footer-grid {
  display: grid;
  gap: 24px;
}

.features-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  padding: 28px;
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #eff5ff;
  font-size: 28px;
  margin-bottom: 18px;
}

.services-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.service-content {
  padding: 24px;
}

.testimonial-slider {
  padding: 28px;
  min-height: 220px;
}

.testimonial p {
  font-size: 21px;
  color: #324155;
  margin-bottom: 20px;
}

.privacy-box {
  padding: 34px;
}

.footer {
  background: #091a33;
  color: #d5deea;
  margin-top: 20px;
}

.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr;
  padding: 68px 0 34px;
}

.footer-logo {
  color: #fff;
  display: inline-block;
  margin-bottom: 16px;
}

.footer h3 {
  color: #fff;
}

.footer ul li {
  margin-bottom: 10px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  text-align: center;
  color: #9fb0c4;
}

.floating-call {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 60;
  background: linear-gradient(135deg, #18a957, #0f8f48);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(15, 143, 72, 0.28);
}

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

@media (max-width: 991px) {
  .hero-grid,
  .about-grid,
  .features-grid,
  .services-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
    padding: 16px 0;
  }

  nav {
    justify-content: center;
  }

  .desktop-cta {
    width: 100%;
  }

  .topbar-content {
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 36px;
  }

  .section {
    padding: 68px 0;
  }

  .hero h1,
  .section-heading h2,
  .section-text h2,
  .privacy-box h2 {
    font-size: 30px;
  }

  .testimonial p {
    font-size: 18px;
  }

  .floating-call {
    left: 14px;
    right: 14px;
    bottom: 14px;
    text-align: center;
  }
}
