* {
/*  padding: 0;
  margin: 0;
  box-sizing: border-box;*/
}

html {
  direction: rtl;
  scroll-behavior: smooth;
}

body {
    background: #fff;
    color: #000;
    font-family: 'Cairo', sans-serif;
    margin: 0;
    padding: 0;
}

/* custom select for lang */
.lang-select {
  position: relative; /* Needed for dropdown positioning */
}

.lang-select__button {
  display: flex;
  overflow: hidden;
  width: 4rem;
  justify-content: center;
  align-items: center;
  padding: 2px 10px;
  border: 1px solid #fff;
  border-radius: 2rem;
  cursor: pointer;
  font-size: 12px;
}

.lang-select__button__text {
  flex: 1;
}

.lang-select__button__icon {
  font-size: 10px;
}

.lang-select__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  list-style: none;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 6px;
  display: none;
  box-shadow: 1px 1px 10px 2px #68686863;
}

.lang-select__dropdown.active {
  display: block;
}

.lang-select__option {
  padding: 5px 10px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.lang-select__option:hover {
  background-color: #eee;
}
/* end custom select for lang */

/* header style */
header {
  z-index: 10;
  position: sticky;
  top: -60px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 4rem;
  box-shadow: 1px 1px 20px 8px rgba(53, 53, 53, 0.151);
  transition: all ease 0.4s;
}

header .higher {
  width: 100%;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f7f8ff;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

header .higher .right,
header .higher .left {
  display: flex;
  gap: 1rem;
}

header .higher .right select {
  border-radius: 2rem;
  padding: 0 1rem 0 1rem;
  background: #fff;
}

header .higher .right span,
header .higher .left span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

header .higher .right span p,
header .higher .left span p {
  font-size: 12px;
}

header .higher .left .icons {
  margin-right: 1rem;
  display: flex;
  gap: 0.6rem;
}

header .lowest {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

header .lowest ul {
  display: flex;
  gap: 2rem;
}

header .lowest ul li {
  list-style: none;
  cursor: pointer;
  font-size: 18px;
}

.menu__link {
  line-height: 2;
  position: relative;
}

.menu__link::before {
  content: "";
  width: 0;
  height: 2px;
  border-radius: 2px;
  background-color: #0c75c0;
  position: absolute;
  bottom: -0.1rem;
  right: 0;
  transition: right 0.4s, width 0.4s, left 0.4s;
}

.menu__link:hover::before {
  width: 100%;
  left: 0;
}

.menu__link:hover {
  color: #0c75c0;
}

.active {
  color: #0c75c0;
  border-bottom: 2px solid #0c75c0;
}

header .lowest .buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.cart-icon {
  height: 2.5rem;
  width: 2.5rem;
  background: #ebf1ff;
  padding: 0.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.cart-icon .cart-content {
  position: absolute;
  bottom: -70px;
  left: 0;
  min-height: 4rem;
  width: 13rem;
  background: #fff;
  border-radius: 0.3rem;
  box-shadow: 1px 1px 10px 7px rgba(105, 105, 105, 0.082);
  transform: translateY(10px);
  align-items: center;
  justify-content: space-between;
  width: 12rem;
  padding: 0.5rem;
  display: none;
  transition: all ease 1s;
}

.cart-icon:hover .cart-content {
  display: flex;
  transform: translateY(0);
}

.cart-content .price {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #474747b2;
}

header .lowest .menu-icon {
  display: none;
}

button {
  cursor: pointer;
  padding: 0.3rem 1.8rem;
  border: none;
  border-radius: 5rem;
  font-size: 17px;
  font-family: "Cairo", sans-serif;
}

a {
  color: #000;
  text-decoration: none;
  transition: 0.2s ease;
}

.primary-btn {
  border: 2px solid #27a8e2;
  background: transparent;
  color: #0c75c0;
  transition: all ease 0.5s;
}

.primary-btn:hover {
  color: #fff;
  background: linear-gradient(to right, #27a8e2 0%, #0c75c0 100%);
}

.primary-btn:hover .login-link {
  color: #fff;
}

.secondary-btn {
  color: #fff;
  background: linear-gradient(to right, #0c75c0, #27a8e2);
  transition: all ease 0.5s;
}

.secondary-btn:hover {
  background: linear-gradient(to left, #0c75c0, #27a8e2);
}

.responsive-nav {
    position: relative;
    height: 100vh;
    background: #ffffffdb;
    backdrop-filter: blur(10px);
    width: 100%;
    position: fixed;
    flex-direction: column;
    top: 0;
    right: -3000px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all ease 0.4s;
    z-index: 12;
}

.open {
  right: 0;
}

.responsive-nav .x-mark {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

/* end header style */

/* hero section style  */

section {
  overflow: hidden;
  min-height: 40vh;
  width: 100%;
  /*padding: 1rem 4rem;
  margin: 1rem 0;*/
  display: flex;
  align-items: center;
  justify-content: space-between;
 /* gap: 2rem;*/
}

.min-section {
  min-height: 40vh;
}

section .content {
  width: 100%;
  height: 100%;
  padding: 5rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}

section .content h1 {
  font-weight: bold;
  font-size: 35px;
}

section .image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

section .image img {
  max-width: 40rem;
  min-width: 20rem;
}

section .img-info {
  border-radius: 1rem;
  transition: all ease 0.4s;
  box-shadow: 1px 1px 20px 7px rgba(105, 105, 105, 0.082);
}

section .img-info:hover {
  transform: scale(0.92);
  box-shadow: 1px 1px 25px 10px rgba(105, 105, 105, 0.199);
}

/* end hero section style  */

/* hero section */
.hero-section {
  margin: 0 0 1rem 0;
  background-image: url(../images/image.png);
  background-position: center;
  background-size: cover;
  background-blend-mode: overlay;
  width: 100%;
  min-height: 80vh;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.418);
  backdrop-filter: blur(2px);
}

.hero-section .content {
  align-items: center;
  width: 60%;
  z-index: 2;
}

.hero-section .content h1 {
  text-align: center;
  color: #fff;
}

.hero-section .content h4 {
  text-align: center;
  color: #fff;
}

/*  end hero section */

/* services section */

.services-section {
  flex-direction: column;
  margin-top: 0.5rem;
}

.services-section .title {
  font-size: 35px;
}

.services-section .container {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.services-section .container .services-card {
  width: 100%;
  min-height: 18rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  transition: all ease 0.4s;
  border: 1px solid #ebf1ff;
}

.services-section .container .services-card img {
  width: 5rem;
}

.services-section .container .services-card p {
  text-align: center;
}

.services-section .container .services-card:hover {
  box-shadow: 1px 1px 20px 10px rgba(105, 105, 105, 0.103);
  transform: translateY(-8px);
  background: #fff;
}

/* end services section */

/* swiper style  */

.swiper {
  width: 50rem;
  height: 15rem;
}

.swiper .swiper-wrapper {
  width: 100%;
  height: 100%;
}

.swiper .swiper-wrapper .swiper-slide {
  width: 15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid #303030;
  overflow: hidden;
}

.swiper .swiper-wrapper .swiper-slide img {
  width: 10rem;
  max-width: 10rem;
  min-width: 10rem;
  transition: all ease 0.4s;
}

.swiper .swiper-wrapper .swiper-slide img:hover {
  transform: scale(0.8);
}

.swiper .swiper-button-prev,
.swiper .swiper-button-next {
  color: #000;
}

/* end swiper style  */

/* from style */

.form-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 5px;
  z-index: 5;
}

.form-container .form-content {
  width: 80%;
  min-height: 80vh;
  background: #f4f7ff;
  border-radius: 1rem;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem;
}

.form-container .form-content .form-desc {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 0.5rem;
}

.form-container .form-content .form-desc ul {
  padding: 1rem;
}

.form-container .form-content .form-desc ul li {
  margin-top: 0.3rem;
}

.form-container .form-content form {
  width: 100%;
  height: 100%;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  position: relative;
}

.flex {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 5px;
}

.form label {
  position: relative;
}

.form .input {
  width: 100%;
  padding: 10px 10px 20px 10px;
  outline: 0;
  border: 1px solid rgba(105, 105, 105, 0.397);
  border-radius: 10px;
  font-size: 22px;
}

.form label .input + span {
  position: absolute;
  right: 10px;
  top: 5px;
  color: grey;
  font-size: 0.9em;
  cursor: text;
  transition: 0.3s ease;
}

.form label .input:placeholder-shown + span {
  top: 15px;
  font-size: 0.9em;
}

.form label .input:focus + span,
.form label .input:valid + span {
  top: 30px;
  font-size: 0.7em;
  font-weight: 600;
}

.form label .input:valid + span {
  color: green;
}

.submit {
  border: none;
  outline: none;
  padding: 10px;
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  transform: 0.3s ease;
}

/* end from style */

/* footer style */

footer {
  margin-top: 3rem;
  width: 100%;
  min-height: 60vh;
  background: linear-gradient(to left, #0c75c0, #27a8e2);
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  padding: 2rem 2rem 0 2rem;
  bottom: 0;
  color: #fff;
}

footer .footer-logo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
}

footer .footer-logo span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}

footer .footer-links {
  padding: 2rem;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: start;
  gap: 3rem;
}

footer .footer-links .footer-link {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 0.5rem;
  padding: 2rem;
}

footer .footer-links .footer-link ul {
  list-style: none;
}

footer .footer-rights {
  border-top: 2px solid #fff;
  width: 100%;
  min-height: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1rem 2rem;
}

/* end footer style */

/* merge form  */

.merge-form {
  margin-top: 2rem;
  padding: 2rem 0 0 0;
  width: 100%;
  min-height: max-content;
}

/* end merge form  */

@media screen and (max-width: 1280px) {
  header {
    padding: 0 1rem;
  }
  header .lowest ul {
    display: none;
  }

  header .lowest .buttons {
    display: none;
  }

  header .lowest .menu-icon {
    display: block;
  }

  header .higher {
    justify-content: center;
  }

  /* responsive section */
  section {
    padding: 1rem;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }

  section .content {
    padding: 0;
  }

  .hero-section .content {
    width: 100%;
  }

  .res-section {
    flex-direction: column-reverse;
  }

  /* form */

  .form-container .form-content {
    flex-wrap: wrap;
  }

  .flex {
    flex-wrap: wrap;
  }

  .flex label {
    width: 100%;
  }

  .footer-links {
    gap: 1rem;
  }
}

@media screen and (max-width: 600px) {
  header {
    padding: 0.5rem 1rem;
    top: -95px;
  }
  header .higher .right select {
    border-radius: 1rem;
    padding: 0;
  }

  header .higher .right,
  header .higher .left {
    width: 100%;
    gap: 0.2rem;
    align-items: center;
    justify-content: space-between;
  }
  /* 
  header .higher .left {
    display: none;
  } */

  header .higher .right span,
  header .higher .left span {
    gap: 0.2rem;
  }

  /* responsive section */
  section .content h1 {
    font-weight: bold;
    font-size: 30px;
  }

  /* end responsive section */

  /* footer */
  footer .footer-links {
    align-items: start;
    justify-content: start;
  }

  footer .footer-logo {
    padding: 1rem;
  }

  footer .footer-links {
    padding: 0;
    gap: 0.2rem;
  }

  footer .footer-links .footer-link {
    padding: 1rem;
    width: 100%;
  }
  /* end footer */

  /* form */
  .form-container .form-content {
    width: 95%;
    padding: 1rem;
    gap: 1rem;
  }

  .flex {
    flex-wrap: wrap;
  }

  .flex label {
    width: 100%;
  }
  /* end form */

  .lang-select__button {
    width: 3rem;
    font-size: 12px;
  }
}
