:root {
      --dark-blue: #003865;
      --footer-blue: #001f4f;
      --accent-blue: #0b8ac9;
      --soft-blue: #7EBEC5;
      --text: #4f5b66;
      --light-bg: #f5f9fc;
      --white: #ffffff;
      --radius: 20px;
      --container: 1120px;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; }

    body {
      font-family: "Baloo 2", Arial, sans-serif;
      color: var(--text);
      background: var(--white);
      line-height: 1.6;
    }

    body.rtl { direction: rtl; }

    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }

    .container {
      width: min(90%, var(--container));
      margin: 0 auto;
    }

    header {
      background: var(--white);
      box-shadow: 0 2px 18px rgba(0, 0, 0, 0.06);
      position: sticky;
      top: 0;
      z-index: 20;
    }

    .nav {
      min-height: 86px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 800;
      color: var(--dark-blue);
      font-size: 24px;
      cursor: pointer;
      background: none;
      border: none;
      padding: 0;
      margin: 0;
    }

    .logo-mark {
      width: 130px;
      height: 130px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      color: white;
      font-weight: 800;
      font-size: 24px;
    }

    .menu {
      display: flex;
      align-items: center;
      gap: 28px;
      font-size: 17px;
      font-weight: 600;
      color: var(--dark-blue);
    }

    .menu button {
      background: transparent;
      border: 0;
      color: inherit;
      font: inherit;
      cursor: pointer;
    }

    .menu button:hover,
    .menu button.active { color: var(--accent-blue); }

    .language {
      border: 1px solid rgba(0, 56, 101, 0.18);
      border-radius: 999px;
      padding: 8px 14px;
      color: var(--dark-blue);
      background: white;
      font-family: inherit;
      font-weight: 600;
      cursor: pointer;
    }

    .mobile-toggle {
      display: none;
      background: none;
      border: none;
      color: var(--dark-blue);
      font-size: 32px;
      cursor: pointer;
    }

    .page { display: none; }
    .page.active { display: block; }

    .hero { padding: 70px 0 55px; }

    .hero-grid,
    .content-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 54px;
      align-items: center;
    }

    .hero h1,
    .page-hero h1 {
      font-size: clamp(34px, 4vw, 56px);
      line-height: 1.05;
      color: var(--dark-blue);
      margin-bottom: 22px;
      font-weight: 800;
    }

    .hero p,
    .page-hero p {
      font-size: clamp(18px, 1.5vw, 23px);
      margin-bottom: 28px;
      color: #596875;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: none;
      border-radius: 14px;
      background: var(--accent-blue);
      color: var(--white);
      padding: 13px 24px;
      font-size: 19px;
      font-weight: 700;
      font-family: inherit;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 24px rgba(11, 138, 201, 0.22);
    }

    .hero-image,
    .rounded-image {
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: 0 18px 40px rgba(0, 31, 79, 0.12);
    }

    .hero-image img,
    .rounded-image img {
      width: 100%;
      height: 420px;
      object-fit: cover;
    }

    section { padding: 64px 0; }

    .blue-section {
      background: var(--dark-blue);
      color: var(--white);
      padding: 52px 0;
    }

    .section-title {
      text-align: center;
      margin-bottom: 38px;
    }

    .section-title .eyebrow {
      color: var(--dark-blue);
      font-size: clamp(24px, 3vw, 40px);
      font-weight: 700;
      text-transform: lowercase;
    }

    .section-title h2 {
      color: var(--accent-blue);
      font-size: clamp(30px, 3.5vw, 48px);
      line-height: 1.1;
      font-weight: 800;
    }

    .blue-section .section-title,
    .blue-section .section-title h2 {
      color: var(--white);
      text-align: left;
      margin-bottom: 20px;
    }

    body.rtl .blue-section .section-title,
    body.rtl .blue-section .section-title h2 { text-align: right; }

    .appointment-form,
    .contact-form {
      display: grid;
      gap: 16px;
    }

    .appointment-form { grid-template-columns: repeat(4, 1fr); }

    .form-group label {
      display: block;
      color: var(--white);
      font-weight: 600;
      margin-bottom: 6px;
    }

    input,
    textarea {
      width: 100%;
      border: 0;
      border-radius: 12px;
      padding: 14px 16px;
      font: inherit;
      background: var(--white);
      color: #23313f;
    }

    textarea { min-height: 110px; resize: vertical; }

    .text-block p {
      font-size: 19px;
      margin-bottom: 16px;
    }

    .mission-box {
      background: var(--light-bg);
      border-radius: 18px;
      padding: 26px;
      margin-top: 24px;
      border-left: 5px solid var(--accent-blue);
    }

    body.rtl .mission-box {
      border-left: 0;
      border-right: 5px solid var(--accent-blue);
    }

    .why-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
    }

    .why-card,
    .service-card,
    .info-card {
      background: var(--white);
      border: 1px solid rgba(0, 56, 101, 0.08);
      border-radius: 18px;
      padding: 24px;
      box-shadow: 0 12px 28px rgba(0, 31, 79, 0.06);
    }

    .why-card h3,
    .service-card h3,
    .info-card h3 {
      color: var(--dark-blue);
      font-size: 26px;
      line-height: 1.15;
      margin-bottom: 8px;
    }

    .why-card p,
    .service-card p,
    .info-card p { font-size: 17px; }

    .icon {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: var(--accent-blue);
      color: var(--white);
      display: grid;
      place-items: center;
      font-size: 24px;
      margin-bottom: 16px;
    }

    .contact-section,
    .contact-page-form {
      background: var(--dark-blue);
      color: var(--white);
    }

    .contact-section h2,
    .contact-page-form h2 {
      color: var(--accent-blue);
      font-size: clamp(34px, 4vw, 52px);
      line-height: 1.1;
      margin-bottom: 14px;
    }

    .contact-section p { font-size: 21px; margin-bottom: 22px; }

    .page-hero {
      padding: 80px 0 42px;
      background: linear-gradient(180deg, #ffffff, #f5f9fc);
    }

    .contact-info-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
      margin-top: 30px;
    }

    .contact-info-grid .icon { margin-bottom: 12px; }

    footer {
      background: var(--footer-blue);
      color: var(--white);
      padding: 52px 0 24px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 44px;
      margin-bottom: 36px;
    }

    .footer-logo { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
    .footer-title { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
    .footer-line { width: 54px; height: 2px; background: white; margin-bottom: 16px; }
    .footer-links { display: grid; gap: 8px; }

    .footer-links button {
      background: transparent;
      border: 0;
      color: white;
      font: inherit;
      text-align: inherit;
      cursor: pointer;
    }

    .copyright {
      border-top: 1px solid rgba(255,255,255,0.18);
      padding-top: 18px;
      font-size: 16px;
    }

    @media (max-width: 900px) {
      .mobile-toggle { display: block; }

      .menu {
        position: absolute;
        top: 86px;
        left: 0;
        right: 0;
        background: white;
        padding: 22px 5%;
        flex-direction: column;
        align-items: flex-start;
        box-shadow: 0 18px 30px rgba(0,0,0,0.08);
        display: none;
      }

      .menu.open { display: flex; }

      .hero-grid,
      .content-grid,
      .footer-grid,
      .contact-info-grid {
        grid-template-columns: 1fr;
      }

      .appointment-form,
      .services-grid,
      .why-grid { grid-template-columns: 1fr; }

      .hero-image img,
      .rounded-image img { height: 290px; }
      .hero { padding-top: 42px; }
    }

/* Services page */
.services-hero {
  padding: 80px 0 60px;
}

.services-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.services-hero-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.services-hero-images img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 31, 79, 0.12);
}

.services-hero-images img:nth-child(2) {
  margin-top: 42px;
}

.services-detail-section {
  background: var(--light-bg);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-detail-card {
  background: var(--white);
  border: 1px solid rgba(0, 56, 101, 0.08);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 12px 28px rgba(0, 31, 79, 0.06);
}

.service-detail-card h3 {
  color: var(--dark-blue);
  font-size: 26px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.service-detail-card p {
  font-size: 17px;
}

body.rtl .services-hero-grid,
body.rtl .service-detail-card {
  direction: rtl;
}

@media (max-width: 900px) {
  .services-hero-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .services-hero-images {
    grid-template-columns: 1fr;
  }

  .services-hero-images img,
  .services-hero-images img:nth-child(2) {
    height: 280px;
    margin-top: 0;
  }
}
