:root {
  --primary-color: #0074bc;
  --white-color: #ffffff;
  --black-color: #2d3036;
  --light-color: #f5f5f5;
  --gray-color: #b8b8b8;
  --success-color: #3caa37;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

ul {
  list-style: none;
}

section {
  padding-top: 100px;

  .section-heading {
    margin-bottom: 30px;

    .title {
      color: var(--primary-color);
      display: flex;
      flex-direction: column;
      font-size: 38px;
      gap: 5px;

      img {
        width: 150px;
      }

      @media (max-width: 1400px) {
        font-size: 30px;

        img {
          width: 120px;
        }
      }

      @media (max-width: 500px) {
        font-size: 27px;

        img {
          width: 100px;
        }
      }
    }
  }

  @media (max-width: 500px) {
    padding-top: 60px;

    .section-heading {
      margin-bottom: 10px;
    }
  }
}

button,
textarea,
input:not([type="file"]) {
  border: none;
  outline: none;
}

.container {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1099px) {
  .container {
    width: 90%;
  }
}

body {
  font-family: "Almarai", sans-serif;
  background-color: #f9fafb;
}


header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
 z-index: 1000;

  @media (max-width: 500px) {
    display: none;
  }

  .top-header {
    background: #ffffffb2;
    box-shadow: 0px 4px 16px 0px #0000000d;

    backdrop-filter: blur(20px);

    padding: 20px 0;
    backdrop-filter: blur(10px);

    .top-header-content {
      display: flex;
      justify-content: space-between;
      align-items: center;

      .language-switcher {
        color: var(--success-color);
        border: 2px solid var(--success-color);
        padding: 4px 1px;
        padding-left: 15px;
        border-radius: 40px;
        display: flex;
        align-items: center;
        gap: 6px;
        font-weight: 600;
        cursor: pointer;

        background-color: #fff;

        span {
          display: block;
        }

        span.icon {
          height: 28px;
        }
      }

      .header-search-form {
        width: 600px;

        .header-search-input {
          background-color: var(--light-color);
          padding: 15px 20px;
          width: 100%;
          display: block;
          font-size: 15px;
          border-radius: 100px;
        }
      }

      .header-logo {
        img {
          width: 250px;
        }
      }
    }
  }

  .header-navigation {
    background: linear-gradient(
      180deg,
      rgba(0, 116, 188, 0.7) 0%,
      rgba(9, 79, 122, 0.7) 100%
    );
    box-shadow: 0px 4px 24px 0px #0000000a;
    backdrop-filter: blur(20px);
    padding: 18px 0;
    width: 80%;
    border-radius: 100px;
    margin-left: auto;
    margin-right: auto;

    .navigation-list {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 10px 30px;

      .navigation-link {
        color: var(--white-color);
        display: block;
        padding: 6px 10px;
        border-radius: 100px;
        transition: 0.3s ease-in-out;
        font-size: 18px;

        &:hover {
          background-color: var(--white-color);
          color: var(--primary-color);
        }
      }
    }
  }
}





/* نسخة خاصة للجوال فقط */
.header2 {
  display: none; /* مخفية في الوضع العادي */
}

/* تظهر فقط على الشاشات الصغيرة */
@media (max-width: 500px) {
  header {
    display: none; /* إخفاء الهيدر الأصلي في الجوال */
  }

  .header2 {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1000;
    background: linear-gradient(
      180deg,
      rgba(0, 116, 188, 0.9) 0%,
      rgba(9, 79, 122, 0.9) 100%
    );
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.1);
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .header2 .mobile-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header2 .mobile-logo img {
    width: 140px;
  }

  /* زر القائمة (هامبرغر) */
  .header2 .menu-toggle {
    font-size: 26px;
    color: #fff;
    cursor: pointer;
  }

  /* قائمة الروابط */
  .header2 .navigation-list {
    display: none;
    flex-direction: column;
    background: #ffffff;
    border-radius: 10px;
    margin-top: 10px;
    padding: 10px;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease-in-out;
  }

  .header2 .navigation-list.active {
    display: flex;
  }

  .navigation-item{
    height: 40px;
  }

  .header2 .navigation-link {
    color: var(--primary-color);
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: 0.3s;
  }

  .header2 .navigation-link:hover {
    background: var(--primary-color);
    color: #fff;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}








.hero-section {
  background-image: url("../images/banner-1.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  width: 100%;
  height: 1000px;
  margin-top: 95.25px;
  padding-left: 15px;
  padding-right: 15px;

  @media (max-width: 767px) {
    height: 600px;
  }

  .hero-section-content {
    color: var(--white-color);
    position: absolute;
    top: 52%;
    right: 10%;

    @media (max-width: 767px) {
      top: 50%;
      left: 15px;
      right: 15px;
    }

    .hero-section-title {
      margin-bottom: 20px;
      .highlight {
        color: var(--primary-color);
      }

      background: #ffffff1a;
      box-shadow: 0px 4px 24px 0px #0000000a;
      backdrop-filter: blur(20px);
      font-weight: 800;
      font-size: 50px;
      max-width: 660px;
      text-align: center;
      line-height: 1.4;
      border-radius: 25px;
      padding: 10px 15px;

      @media (max-width: 767px) {
        max-width: 100%;
        margin-bottom: 15px;
        padding: 8px 10px;
        border-radius: 20px;
        font-size: 30px;
      }
    }

    .hero-section-descritpion {
      width: 661px;
      font-size: 18px;
      font-weight: 500;

      @media (max-width: 767px) {
        width: 100%;
        text-align: center;
        font-size: 15px;
      }
    }
  }
}

.about-section {
  .about-content {
    display: flex;
    justify-content: space-between;

    @media (max-width: 1145px) {
      flex-direction: column;
      align-items: center;
      gap: 40px;
    }

    .about-info {
      width: 620px;

      @media (max-width: 1469px) {
        width: 580px;
      }

      @media (max-width: 1145px) {
        width: 100%;
      }

      .about-heading {
        margin-bottom: 20px;
        color: var(--primary-color);

        .label {
          font-size: 18px;
        }

        .title {
          font-size: 38px;
        }

        @media (max-width: 1469px) {
          margin-bottom: 10px;

          .label {
            font-size: 16px;
          }

          .title {
            font-size: 32px;
          }
        }

        @media (max-width: 500px) {
          .label {
            font-size: 14px;
          }

          .title {
            font-size: 22px;
            font-weight: 800;
          }
        }
      }

      .about-description {
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 38px;
  text-align: justify;
  color: var(--primary-color);

  /* Large screens ↓ */
  @media (max-width: 1469px) {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 30px;
  }

  /* Tablets ↓ */
  @media (max-width: 900px) {
    font-size: 15px;
    line-height: 26px;
  }

  /* Mobiles ↓ */
  @media (max-width: 500px) {
    font-size: 14px;
    line-height: 22px;
  }
}

        
        

      .about-list {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;

        @media (max-width: 1469px) {
          gap: 7px;
        }

        .about-list-item {
          display: flex;
          align-items: center;
          font-size: 18px;
          gap: 7px;
          color: var(--primary-color);
          width: calc((100% / 2) - 10px);

          @media (max-width: 1469px) {
            .icon img {
              width: 28px;
            }

            gap: 4px;
            font-size: 16px;
            width: calc((100% / 2) - 7px);
          }

          @media (max-width: 500px) {
            font-size: 14px;
            .icon img {
              width: 20px;
            }
          }
        }
      }
    }

    .about-image {
      width: 90%;
      max-width: 800px;
      margin: 0 auto;
      text-align: center;
    
      img {
        width: 100%;
        height: auto;
        display: block;
      }

      /* Large screens ↓ */
      @media (max-width: 1469px) {
        width: 500px;
      }

      /* Medium screens ↓ */
      @media (max-width: 1260px) {
        width: 400px;
      }

      /* Tablets & smaller ↓ */
      @media (max-width: 900px) {
        width: 60%;
        max-width: 350px;
      }

      /* Mobiles ↓ */
      @media (max-width: 600px) {
        width: 80%;
        max-width: 280px;
      }
    }

      
      
  }
}

.services-section {
  .services-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 48px;

    @media (max-width: 1400px) {
      gap: 25px;
    }

    .service-card {
      width: calc((100% / 3) - 48px);
      position: relative;

      @media (max-width: 991px) {
        width: calc((100% / 2) - 25px);
      }

      @media (max-width: 650px) {
        width: 100%;
      }

      .cover {
        img {
          width: 100%;
        }
      }

      .card-info {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 70px;
        width: 100%;
        text-align: center;

        .title {
          color: var(--white-color);
          font-size: 30px;

          @media (max-width: 1400px) {
            font-size: 25px;
          }
        }

        .description {
          color: var(--white-color);
          font-size: 18px;
          padding: 0 10px;
          margin-top: 10px;

          @media (max-width: 1400px) {
            font-size: 16px;
            margin-top: 5px;
          }
        }
      }
    }
  }
}

.sp-services-section {
  .sp-services-content {
    display: flex;
/*    align-items: center;*/
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 48px;

    @media (max-width: 1400px) {
      gap: 25px;
    }

    .sp-service-card {
      display: flex;
      align-items: center;
      flex-direction: column;
      gap: 10px;

      background: var(--white-color);
      box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.04);
      border-radius: 18px;
      width: calc((100% / 4) - 48px);
      padding: 40px 20px;

      @media (max-width: 1400px) {
        width: calc((100% / 2) - 25px);
      }

      @media (max-width: 600px) {
        width: 100%;
      }

      .sp-service-image {
        img {
          width: 90px;
        }
      }

      .sp-service-info {
        .sp-service-title {
          font-size: 20px;
          color: var(--primary-color);
        }
      }
    }
  }
}

.cp-about-section {
  .cp-about-content {
    display: flex;
    justify-content: space-between;
/*    align-items: center;*/

    @media (max-width: 1200px) {
      flex-direction: column;
    }

    padding: 42px 24px;
    gap: 67px;

    @media (max-width: 1200px) {
      padding: 27px 15px;
      gap: 37px;
    }

    background: linear-gradient(
      180deg,
      rgba(0, 116, 188, 0.7) 0%,
      rgba(9, 79, 122, 0.7) 100%
    );
    box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
  }

  .cp-about-info {
    .cp-about-title {
      font-size: 22px;
      color: var(--white-color);
    }

    .cp-about-description {
      font-size: 18px;
      line-height: 38px;
      color: var(--white-color);
      text-align: justify;
    }

    @media (max-width: 1200px) {
      .cp-about-title {
        font-size: 18px;
      }

      .cp-about-description {
        font-size: 14px;
        line-height: 28px;
      }
    }
  }
}

.about-hero-section {
  position: relative;
  background-image: url("../images/banner-2.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  width: 100%;
  height: 800px;
  margin-top: 50px;
  padding-left: 15px;
  padding-right: 15px;
  border-radius: 20px;

  @media (max-width: 767px) {
    height: 600px;
  }

  .about-hero-content {
    color: var(--white-color);
    position: absolute;
    top: 52%;
    left: 10%;

    @media (max-width: 767px) {
      top: 50%;
      left: 15px;
      right: 15px;
    }

    .about-hero-title {
      margin-bottom: 20px;
      .highlight {
        color: var(--primary-color);
      }

      background: #ffffff1a;
      box-shadow: 0px 4px 24px 0px #0000000a;
      backdrop-filter: blur(20px);
      font-weight: 800;
      font-size: 50px;
      max-width: 660px;
      text-align: center;
      line-height: 1.4;
      border-radius: 25px;
      padding: 10px 15px;

      @media (max-width: 767px) {
        max-width: 100%;
        margin-bottom: 15px;
        padding: 8px 10px;
        border-radius: 20px;
        font-size: 30px;
      }
    }

    .about-hero-descritpion {
      width: 661px;
      font-size: 18px;
      font-weight: 500;

      @media (max-width: 767px) {
        width: 100%;
        text-align: center;
        font-size: 15px;
      }
    }
  }
}

.procedures-section {
  .procedures-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;

    @media (max-width: 767px) {
      gap: 18px;
    }

    .procedure-card {
      width: calc((100% / 3) - 28px);
      height: 550px;

      @media (max-width: 1340px) {
        width: calc((100% / 2) - 28px);
      }

      @media (max-width: 767px) {
        width: 100%;
        height: initial;
      }

      position: relative;

      background-color: var(--white-color);
      padding: 20px;
      border-radius: 46px;
      box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.04);

      .label {
        background: rgba(186, 41, 255, 0.14);
        color: #ba29ff;
        font-size: 14px;
        width: max-content;
        padding: 5px 10px;
        border-radius: 50px;
        font-weight: 700;

        @media (max-width: 500px) {
          font-size: 12px;
        }
      }

      .logo {
        img {
          width: 100%;
        }
      }

      .info {
        .title {
          color: var(--black-color);
          font-size: 20px;
          margin-bottom: 15px;

          @media (max-width: 500px) {
            font-size: 17px;
            margin-bottom: 7px;
          }
        }

        .description {
          color: #858585;
          font-size: 16px;
          line-height: 28px;
          margin-bottom: 15px;

          @media (max-width: 500px) {
            font-size: 15px;
            margin-bottom: 7px;
          }
        }
      }

      .link {
        border-radius: 50px;
        color: var(--white-color);
        background: linear-gradient(
          180deg,
          rgba(0, 116, 188, 0.7) 0%,
          rgba(9, 79, 122, 0.7) 100%
        );
        /* width: 100%; */
        display: block;
        text-align: center;
        padding: 18px 14px;
        transition: 0.3s ease-in-out;

        @media (min-width: 768px) {
          position: absolute;
        }

        left: 20px;
        right: 20px;
        bottom: 20px;
        /* width: 100%; */

        @media (max-width: 500px) {
          font-size: 15px;
          padding: 15px 12px;
        }

        &:hover {
          opacity: 0.8;
        }
      }
    }
  }
}

.results-section {
  .results-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;

    .result-card {
      width: calc((100% / 8) - 20px);

      @media (max-width: 1300px) {
        width: calc((100% / 4) - 20px);
      }

      @media (max-width: 600px) {
        width: calc((100% / 2) - 20px);
      }

      .circle {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        border: 3px solid #0f3577;
        width: 130px;
        height: 130px;
        font-size: 36px;
        color: #444;
        font-weight: 300;
        margin-left: auto;
        margin-right: auto;

        @media (max-width: 1492px) {
          font-size: 30px;
          width: 110px;
          height: 110px;
        }
      }

      .title {
        font-size: 20px;
        color: var(--black-color);
        text-align: center;
        margin-top: 8px;
      }
    }
  }
}

footer {
  margin-top: 100px;
  text-align: center;
  color: var(--white-color);
  background: linear-gradient(
    180deg,
    rgba(0, 116, 188, 0.7) 0%,
    rgba(9, 79, 122, 0.7) 100%
  );
  padding: 25px;
  font-weight: 300;

  @media (max-width: 500px) {
    padding: 18px;
    margin-top: 75px;
    font-size: 14px;
  }
}
