body {
  background-color: #f3f3f3;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.home-section {
  min-height: 300px !important;
  height: 300px !important;
  background-position: top !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  position: relative;
  z-index: 0;
  padding: 0 0 60px;
  overflow: hidden;
}

@media screen and (max-width: 991px) {
  .home-section {
    height: 385px !important;
  }
}

@media screen and (max-width: 400px) {
  .home-section {
    height: 395px !important;
  }
}

.home-section::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.144);
  z-index: -1;
}

html[lang="ar"] .background-pattern::after {
  content: "";
  position: absolute;
  bottom: -30px;
  right: 244px;
  width: 76%;
  height: 155px;
  z-index: -1;
  background-image: url("../assets/services-back1.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

html[lang="en"] .background-pattern::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 300px;
  width: 73.5%;
  height: 155px;
  z-index: -1;
  background-image: url("../assets/services-back1.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.nav {
  padding: 10px !important;
}

.service__header {
  h2 {
    color: white;
  }

  p,
  p a {
    color: #ffffff7e;
    text-decoration: none;
    margin-top: 5px;
  }
}

.services {
  background-color: #f3f3f3;
  display: flex;
  flex-flow: row nowrap;
  gap: 20px;
}

.contactUs__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: linear-gradient(180deg, #fff 0%, #f3f3f3 100%);

  min-width: 390px;
  width: 390px;
  position: sticky;
  top: 0;
  z-index: 1;

  &:lang(ar) {
    padding: 44px 80px 44px 37px;
  }

  &:lang(en) {
    padding: 44px 37px 44px 80px;
  }
}

.tap_service__container::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 400px;
  z-index: 2;
  background: rgb(243, 243, 243);
  background: linear-gradient(13deg,
      rgba(243, 243, 243, 1) 35%,
      rgba(243, 243, 243, 0) 100%);
}

.tap_service {
  width: 100%;
  cursor: pointer;
}

.tap_service .card-content {
  border-radius: 150px;
  background: rgba(207, 207, 207, 0.35);

  box-shadow: 0px 4px 15.8px 0px rgba(255, 255, 255, 0.07) inset;
  backdrop-filter: blur(43.5px);
  color: black;
}

.tab-content,
.tab-content-image {
  position: static !important;
  visibility: visible !important;
  opacity: 1 !important;
  padding-left: 0px !important;
  height: auto !important;
}

.services__cards__content {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 20px;
}

.services__cards__content .tab-content:last-of-type {
  margin-bottom: 50px;
  border-radius: 0 10px 10px 0;
}

.services__cards__content .tab-content:first-of-type {
  border-radius: 0 0 10px 0;
}

.services .services__cards__content__card {
  width: 100%;
  padding: 43px 61px 0;
  border-radius: 10px;
  border: 1px solid #e6e6e6;
  position: relative;
  background: #fff;
  overflow: hidden;
}

.services__cards__content__card__title {
  color: #111;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 156.7%;
  /* 62.68px */
  margin-bottom: 13px;
}

.services__cards__content__card__text {
  color: #111;
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: 180.7%;
  /* 32.526px */
  letter-spacing: 0.144px;
  margin-bottom: 13px;
}

.services__cards__content__card ul li {
  color: #111;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 30px;
  position: relative;
  list-style: none;
  margin-bottom: 11px;

  &:lang(ar) {
    padding-right: 30px;
  }

  &:lang(en) {
    padding-left: 30px;
  }
}

.services__cards__content__card ul {
  padding: 0;
}

html[lang="ar"] .services__cards__content__card ul li::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 25px;
  height: 25px;
  background-image: url("../assets/check.png");
}

html[lang="en"] .services__cards__content__card ul li::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 25px;
  height: 25px;
  background-image: url("../assets/check.png");
}

.services .back-img {
  width: 100%;
  height: 300px;
  z-index: 1;
  transform: rotate(50deg);
  top: 40%;
  opacity: 0.5;

  &:lang(ar) {
    left: -180px;
  }

  &:lang(en) {
    left: calc(100% - 370px);
    transform: rotate(0deg);
  }
}

.tap_service .card-content.active {
  background-image: url("../assets/button-back.png");
  background-color: rgb(56 152 213) !important;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid transparent;
  font-weight: bold;
  filter: none;
  box-shadow: none;
  color: white;
}

.service__content__responsive img {
  width: 80px;
  object-fit: cover;
}

.service__content__responsive__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;

  h2 {
    font-size: 20px;
    line-height: 30px;
  }
}

.service__content__responsive {
  display: flex;
  flex-direction: column;
  gap: 20px;

  p {
    font-size: 16px;
    line-height: 27px;
  }

  li {
    font-size: 14px;
    line-height: 27px;
  }
}

.services__content__wrapper {
  height: auto !important;
  padding: 80px 0;
}

@media screen and (max-width: 767px) {
  .services__content__wrapper {
    height: auto !important;
    padding: 30px 0 50px;
  }
}

.slid-Wrapper {
  position: sticky !important;
  top: 45px !important;
}

/* ************************************************** */

.contactUs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* عمودان في الشاشات الكبيرة */
  gap: 20px;
  /* مسافة بين الأعمدة */
  /* padding: 50px 50px 0; */

  /* overflow: hidden; */
  .contactUs__right__map {
    border: 1px solid #0169c233;
    height: 300px;
    border-radius: 0 0 10px 10px;

    iframe {
      width: 100%;
      height: 100%;
      border-radius: 0 0 10px 10px;
      object-fit: cover;
    }
  }
}

@media screen and (max-width: 991px) {
  .contactUs {
    grid-template-columns: 1fr;
    /* عمود واحد فقط في الشاشات الصغيرة */
  }
}

@media screen and (max-width: 767px) {
  .contactUs__right {
    padding: 0 20px 50px;
  }
}

.contactUs__right__img {
  border-radius: 0 0 10px 10px;
  height: 293px;
  width: 100%;
  object-fit: cover;
}

.contactUs__right__location {
  display: flex;
  gap: 20px;
  margin-top: 28px;
}

.contactUs__right__description {
  color: #111;
  font-family: Alexandria;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 29px;
  /* 181.25% */
  letter-spacing: 0.232px;
  margin-top: 10px;
}

.contactUs__right__text__title {
  color: rgba(17, 17, 17, 0.59) !important;
  font-family: Alexandria;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  /* 142.857% */
}

.contactUs__right__text__description {
  color: #111;
  font-family: Alexandria;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  /* 142.857% */
  margin-top: 8px;
}

.contactUs__right-icon {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: rgba(17, 17, 17, 0.09);
}

.contactUs__right__social {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  margin-bottom: 120px;
  padding: 0;
}

@media screen and (max-width: 767px) {
  .contactUs__right__social {
    margin-bottom: 50px;
  }
}

@media screen and (max-width: 991px) {
  .contactUs__right__social {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 28px;
    margin-bottom: 50px;
    padding: 0;
  }
}

.contactUs__right__social li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contactUs__right__social a {
  color: #757575;
  font-size: 24px;
}

.contactUs__left {
  /* overflow: hidden; */
  padding: 76px 60px;

  &:lang(ar) {
    padding: 76px 60px 76px 100px;
    margin-left: -100px;
  }

  &:lang(en) {
    padding: 76px 100px 76px 60px;
    margin-right: -100px;
  }

  background-color: white;
}

.contactUs::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 150%;
  height: 100px;
  flex-shrink: 0;
  background: linear-gradient(180deg,
      rgba(243, 243, 243, 0) 0%,
      #f3f3f3 57.49%);
}

@media screen and (max-width: 991px) {
  .contactUs__left {
    /* overflow: hidden; */
    padding: 76px 60px;

    &:lang(ar) {
      margin-left: 0px;
    }

    &:lang(en) {
      margin-right: 0px;
    }

    background-color: white;
  }

  .contactUs::after {
    content: "";
    display: none;
  }
}

.contactUs__left__email,
.contactUs__left__whatsapp {
  padding: 20px;
  border: 1px solid #0169c233;
  border-radius: 10px;
}

.contactUs__left__whatsapp {
  margin-bottom: 30px;

  .contactUs__left__title {
    margin-bottom: 20px;
  }
}

.contactUs__left__title {
  color: #3898d5;
  font-family: Alexandria;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 35px;
  /* 109.091% */
  position: relative;
  padding-bottom: 18px;
}

.contactUs__left__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 2px;
  flex-shrink: 0;
  background-color: #3898d5;
  z-index: 1;
}

.contactUs__left form {
  margin-top: 23px;
}

.contactUs__left input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(169, 169, 169, 0.2);
  background: rgba(243, 243, 243, 0.38);
  height: 53px;
  padding: 0 10px;
}

.contactUs__left textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(169, 169, 169, 0.2);
  background: rgba(243, 243, 243, 0.38);
  height: 203px;
  padding: 10px;
}

.contactUs__left__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 15px;
}

.contactUs__left .action__btn {
  background-color: transparent;
  border: none;
  position: relative;
}

.contactUs__left .action__btn .contactUs__left__send {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
}

.contactUs__left .action__btn .contactUs__left__send.email img {
  &:lang(en) {
    transform: rotate(180deg);
  }
}

@media screen and (max-width: 991px) {
  .contactUs__left {
    margin-bottom: 50px;
  }
}

@media screen and (max-width: 500px) {
  .contactUs__left {
    padding: 20px !important;
    border-radius: 20px;
  }

  .contactUs__right__social {
    margin-bottom: 10px;
  }
}

.error-message {
  color: #eb4040;
  margin-top: 5px;
}

.success-message {
  color: #24a13d;
  background-color: #38d55736;
  border-radius: 5px;
  padding: 5px 10px;
  margin-top: 10px;
}