.hero-section {
  background-image: url(../../assets/hero-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  margin-top: var(--y-space-144);
  width: 100%;
  min-height: 77vh;
  position: relative;
  display: grid;
  overflow: visible;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(1, 1, 1, 0.507);
  pointer-events: none;
  z-index: 1;
}
.hero-section .content {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
  overflow: visible;
}
.hero-section .content .custom-dropdown .dropdown-trigger {
  background: linear-gradient(90deg, #63aeeb 0%, #ffffff 100%);
  color: #0b4574;
  cursor: pointer;
  padding: var(--y-space-14) var(--y-space-46);
  border-radius: var(--y-space-30);
}
.hero-section .content .custom-dropdown.sort-dropdown {
  justify-content: center;
}
.hero-section .custom-dropdown {
  position: relative;
  z-index: 3;
}
.hero-section .custom-dropdown .dropdown-options {
  right: 50%;
  transform: translateX(50%);
  left: auto;
  top: calc(100% + 12px);
  min-width: 220px;
  z-index: 1100;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.services-section {
  margin-bottom: var(--y-space-0) !important;
  padding-bottom: var(--y-space-0) !important;
}
.services-section h2 {
  text-align: center;
  font-size: var(--y-space-40);
  font-weight: 700;
  padding-block: var(--y-space-20);
  color: var(--y-color-bg);
  background-color: var(--y-color-secondary);
}
.services-section .services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.services-section .service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.services-section .service-item img {
  width: 100%;
  height: 447px;
  object-fit: cover;
}
.services-section .service-item .content {
  display: flex;
  flex-direction: column;
  gap: var(--y-space-40);
  padding: var(--y-space-40);
}

.process {
  background: url(../../assets/process-bg.png) no-repeat center center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
  min-height: 77vh;
  position: relative;
  z-index: 1;
  margin-bottom: var(--y-space-0) !important;
}
.process::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(1, 1, 1, 0.507);
  z-index: 2;
}
.process img {
  width: 100%;
  max-width: 1000px;
  height: 100%;
  object-fit: contain;
  z-index: 3;
  position: relative;
  margin: auto;
  padding-block: var(--y-space-40);
}
.process .container::after {
  content: "يتم إنجازها في 4 خطوات";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 50%;
  transform: translateX(50%);
  color: var(--y-color-bg);
  font-size: var(--y-space-32);
  font-weight: 700;
  z-index: 3;
}



@media (max-width: 992px) {
  .hero-section .content .custom-dropdown .dropdown-trigger {
    padding: var(--y-space-12) var(--y-space-32);
    font-size: 1rem;
  }

  .services-section .services-grid {
    grid-template-columns: 1fr;
  }

  .services-section .service-item {
    grid-template-columns: 1fr;
    row-gap: var(--y-space-12);
  }

  .services-section .service-item img {
    height: 360px;
    order: 1;
  }

  .services-section .service-item .content {
    padding: var(--y-space-28);
    gap: var(--y-space-24);
    text-align: center;
    align-items: center;
    order: 2;
  }

  .services-section .service-item .content h3 {
    text-align: center;
  }

  .process {
    min-height: 60vh;
  }
}

@media (max-width: 768px) {
  .services-section h2 {
    font-size: 1.6rem;
    padding-block: var(--y-space-14);
  }

  .services-section .service-item img {
    height: 260px;
    order: 1;
  }

  .services-section .service-item .content {
    padding: var(--y-space-20);
    gap: var(--y-space-18);
    order: 2;
  }

  .services-section .service-item .content p {
    font-size: 0.95rem;
  }

  .process img {
    max-width: 90%;
    padding-block: var(--y-space-28);
  }

  .process .container::after {
    font-size: 1.3rem;
    text-align: center;
    width: 100%;
    right: 50%;
    transform: translateX(50%) translateY(-50%);
  }
}

@media (max-width: 540px) {

  .hero-section .content .custom-dropdown .dropdown-trigger {
    padding: var(--y-space-10) var(--y-space-22);
    font-size: 0.95rem;
    border-radius: var(--y-space-20);
  }
  .hero-section{
    margin-top: var(--y-space-120) !important;
  }

  .services-section .service-item img {
    height: 220px;
    order: 1;
  }

  .services-section .service-item .content {
    padding: var(--y-space-16);
    order: 2;
  }

  .services-section .service-item .content h3 {
    font-size: 1.05rem;
  }

  .services-section .service-item .content p {
    font-size: 0.9rem;
  }

  .process img {
    max-width: 100%;
    padding-block: var(--y-space-22);
  }

  .process .container::after {
    font-size: 1.1rem;
  }
}
