@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --firstColor: #ffffff;
  --secondColor: #24bf77;
  --thirdColor: #232222;
  --fourthColor: #6c6c6c;
  --fifthColor: #f8f8f8;
  --sixColor: #f4fff5;
  --footerbg: #f8f8f8;

  --firstText: "Montserrat", sans-serif;
}
html {
  font-size: 85%;
}
@media only screen and (max-width: 75em) {
  html {
    font-size: 65%;
  }
}

@media only screen and (min-width: 112.5em) {
  html {
    font-size: 80%;
  }
}

body {
  font-family: var(--firstText);
  color: var(--thirdColor);
}
body.overflow-hidden {
  overflow: hidden;
}
img {
  max-width: 100%;
  margin: 0;
  display: block;
}
section,
.maw--width {
  max-width: 1400px;
  margin: 0 auto;
}
.flags {
  min-height: 18em;
  background-color: var(--secondColor);
  color: var(--firstColor);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.flags__title {
  font-size: 1.8em;
  margin: 0 0 24px;
  font-weight: 500;
}
.flags__img {
  display: flex;
  justify-content: center;
}
.flags__img--style {
  border-radius: 12px;
  border: 4px solid var(--firstColor);
  margin: 0 15px;
  max-width: 80px;
}

.headerImg {
  max-width: 50%;
}
.headerText {
  width: 50%;
  max-width: 545px;
  padding: 0 1em;
}
.headerImg--style {
  max-width: 730px;
  width: 100%;
  margin: 0 auto;
}
.headerText__title {
  font-size: 3.6em;
  text-transform: uppercase;
  color: var(--secondColor);
  line-height: normal;
}
.headerText__paragraph {
  font-size: 1.7em;
  font-weight: 300;
  color: var(--fourthColor);
  margin: 0.6em 0 1.4em;
}
.headerText__button {
  font-size: 3em;
  font-weight: bold;
  text-decoration: none;
  background-color: var(--secondColor);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: fit-content;
  padding: 0 2em;
}
.headerText__button {
  color: var(--firstColor);
  transition: all 0.5s;
  position: relative;
}
.headerText__button:hover {
  background-color: var(--firstColor);
  color: var(--secondColor);
}
.headerText__button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}
.headerText__button:hover::before {
  opacity: 0;
  transform: scale(0.5, 0.5);
}
.headerText__button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: all 0.3s;
  border: 4px solid var(--secondColor);
  transform: scale(1.2, 1.2);
}
.headerText__button:hover::after {
  opacity: 1;
  transform: scale(1, 1);
}
.flex--style {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5em 2em;
}
.discoverImg {
  width: 50%;
}
.discoverText {
  width: 50%;
  padding: 0 5em;
}
.discoverImg--style {
  max-width: 600px;
  width: 100%;
  margin-right: 0;
  margin-left: auto;
}
h2 {
  font-weight: 600;
  font-size: 2.4em;
  line-height: 2.4em;
}
.discoverText__paragraph {
  font-size: 1.7em;
  font-weight: 300;
  color: var(--fourthColor);
  margin: 0.6em 0;
}

.discover__list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.discover__list li {
  position: relative;
  margin-bottom: 10px; /* Adjust for spacing between items */
  line-height: 1.5; /* Adjust line height as needed */
  font-size: 1.7em;
}

.discover.flex--style {
  margin-bottom: 5em;
}
.features {
  padding: 0 2em;
}
.features__title {
  text-align: center;
  text-transform: uppercase;
}
.features__boxs {
  display: flex;
  justify-content: center;
  gap: 2em;
  margin-top: 2em;
}
.box {
  max-width: 280px;
  border-radius: 20px;
  box-shadow: 0 0px 4px rgba(0, 0, 0, 25%);
  padding: 25px;
  width: 33.33%;
}
.box:hover {
  box-shadow: 0 4px 4px rgba(0, 0, 0, 25%);
}
.box__img {
  width: 70px;
  height: 70px;
  background-color: var(--sixColor);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.box__img img {
  width: 50%;
}
h3 {
  font-size: 1.5em;
  margin: 0.7em 0 0.3em;
  color: var(--secondColor);
  text-transform: uppercase;
}
.box__p {
  font-size: 1.2em;
  font-weight: 300;
  color: var(--fourthColor);
}
footer {
  background-color: var(--footerbg);
  padding: 2em 4em;
  margin-top: 13em;
}
.footer_top {
  max-width: 80px;
}
.footer_buttom {
  color: var(--fourthColor);
  font-size: 1em;
  padding: 1em 0;
}
.footer_buttom {
  color: var(--fourthColor);
  font-size: 1em;
  padding: 1em 0;
  border-top: 1px solid rgba(128, 128, 128, 20%);
  margin-top: 1em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1em;
}
.footer__menu {
  display: flex;
  align-items: center;
  gap: 1em;
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
.faq {
  padding-bottom: 18em;
  padding-top: 14em;
}
.faqText {
  width: 50%;
  padding: 0 1em;
}
.faqImg {
  width: 50%;
}
.faqImg--style {
  max-width: 470px;
  width: 100%;
  margin: 0 auto;
}

/* Element */
.faq__paragraph {
  font-size: 1.2em;
  font-weight: 400;
  padding-top: 2em;
  padding-bottom: 5em;
}

/* Element */
.faq-box__question {
  border: none;
  padding: 17px 60px;
  transition: all 0.3s;
  width: 100%;
  font-size: 1.4em;
  font-weight: bold;
  color: #12182b;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 0px 4px rgba(0, 0, 0, 25%);
  position: relative;
  cursor: pointer;
}

.faq-box__answer {
  display: none;
  border: none;
  color: #12182b;
  padding: 0 2em 2em;
  font-size: 1.45em;
  text-align: left;
  font-weight: 400;
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--sixColor);
  font-size: 1.2em;
  font-weight: 300;
  color: var(--fourthColor);
}
.faq-box__question::after {
  content: "+";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translate(0, -50%);
  width: 20px;
  height: 20px;
  box-shadow: 0 0px 4px rgba(0, 0, 0, 25%);
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  background-color: var(--firstColor);
  color: var(--secondColor);
}
.faq-box__question.active::after {
  content: "-";
  box-shadow: none;
  color: #c4c4c4;
}
.faq-box__question.active {
  background-color: var(--sixColor);
  box-shadow: none;
}
.faq-box {
  margin-bottom: 1.4em;
}
.contact--bg {
  background-color: var(--sixColor);
  padding: 0;
  max-width: 90%;
  margin: 0 auto;
}
.contact__img {
  margin-top: -40px;
  margin-bottom: -40px;
  max-width: 360px;
}
.contact__txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 5em;
}
.contact__email {
  background-color: var(--secondColor);
  margin-bottom: 1em;
}
.contact--btn {
  text-decoration: none;
  font-size: 1.8em;
  font-weight: 600;
  color: #fff;
  padding: 0.8em 2.1em;
  border-radius: 8px;
}
.contact__phone {
  background-color: #6c6c6c;
}
.navbar {
  box-shadow: 0 0px 4px rgba(0, 0, 0, 25%);
}
.navbar__flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em;
}
.navbar--fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 99;
  animation: slideIn 0.5s ease-out; /* Apply the slideIn animation */
}
.navbar--slideout {
  animation: slideOut 0.5s forwards; /* Slide out animation */
}
.navbar__list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2em;
}
.navbar__list a {
  text-decoration: none;
  color: inherit;
  font-size: 1.4em;
}
.lang {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang a {
  text-decoration: none;
  color: var(--secondColor);
  opacity: 0.4;
  font-size: 1em;
}
a.active {
  opacity: 1;
  border-bottom: 2px solid var(--secondColor);
  font-size: 1.2em;
}
.lang a:hover {
  opacity: 1;
}
#hamburger-menu {
  position: relative;
  width: 25px;
  height: 20px;
  cursor: pointer;
  z-index: 99999;
  display: none;
}
#hamburger-menu span {
  opacity: 1;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 10px;
  color: black;
  background-color: var(--secondColor);
  position: absolute;
  transform: rotate(0deg);
  transition: 0.4s ease-in-out;
}
#hamburger-menu span:nth-child(1) {
  top: 0;
}
#hamburger-menu span:nth-child(2) {
  top: 9px;
}
#hamburger-menu span:nth-child(3) {
  top: 18px;
}
#hamburger-menu.open span:nth-child(1) {
  transform: translateY(9px) rotate(135deg);
}
#hamburger-menu.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(60px);
}
#hamburger-menu.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-135deg);
}
.country {
  position: relative;
}
.country__list {
  list-style: none;
  position: absolute;
  top: calc(100% + 1em);
  background-color: #fff;
  display: block;
  width: 200%;
  box-shadow: 0 0 4px rgba(0, 0, 0, 25%);
  height: 0;
  overflow: hidden;
  animation: 2s;
}
.country__list--active {
  padding: 1em;
  height: auto;
  min-width: 160px;
}
.country::after {
  content: url("../img/polygon.png");
  position: absolute;
  right: -20px;
  top: 4px;
  cursor: pointer;
}
.country--active::after {
  transform: rotate(180deg);
}
.faqText__paragraph {
  font-size: 1.7em;
  font-weight: 300;
  color: var(--fourthColor);
  margin: 0.6em 0;
}
.simple-text {
  padding: 5em 2em;
}
.simple-text__title {
  font-size: 2.5em;
  margin-bottom: 0.6em;
}
.simple-text h2 {
  font-weight: 600;
  font-size: 1.5em;
  line-height: normal;
  margin: 1em 0;
}
.simple-text p {
  font-size: 1.3em;
}
[lang="ar"] .header,
[lang="ar"] .discover,
[lang="ar"] .features,
[lang="ar"] .faq,
[lang="ar"] .navbar__list {
  direction: rtl;
}

[lang="ar"] .country::after {
  left: -20px;
  right: auto;
}
[lang="ar"] .simple-text {
  direction: rtl;
}
@keyframes slideIn {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideOut {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideRight {
  from {
    left: -100%;
    opacity: 0;
  }
  to {
    opacity: 1;
    left: 0;
  }
}
@keyframes slideLeft {
  from {
    left: 0;
    opacity: 1;
  }
  to {
    opacity: 0;
    left: -100%;
  }
}

@media screen and (max-width: 767px) {
  .flags__img--style {
    max-width: 50px;
  }
  .flags {
    min-height: 14em;
  }
  .flex--style {
    flex-direction: column;
  }
  .headerImg {
    max-width: 480px;
    width: 100%;
    margin-top: 7em;
  }
  .headerText {
    width: 100%;
    max-width: 480px;
    text-align: center;
    padding: 0;
  }
  .headerText__button::after {
    width: 90%;
  }
  .headerText__button {
    height: 65px;
    width: 90%;
    margin: 0 auto;
    max-width: 320px;
    padding: 0;
  }
  .contact__txt {
    padding: 0;
  }
  .discover {
    flex-direction: column-reverse;
  }
  .discoverText {
    width: 100%;
  }
  .discoverImg {
    width: 100%;
    max-width: 400px;
    margin-top: 4em;
  }
  .contact__img {
    margin-bottom: 20px;
    width: 100%;
  }
  .contact--bg {
    padding-bottom: 3em;
  }
  .faqText {
    width: 100%;
  }
  .faqImg {
    width: 100%;
    margin-bottom: 10em;
  }
  .faq {
    padding-bottom: 14em;
    padding-top: 6em;
  }
  .logo {
    max-width: 100px;
  }
}

@media screen and (max-width: 600px) {
  .navbar__list {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    height: 100vh;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    left: -100%;
    animation: slideLeft 0.5s ease-out;
  }
  .navbar {
    animation: none !important;
  }
  .navbar__list a {
    font-size: 18px;
  }
  .menuslide {
    left: 0;
    animation: slideRight 0.5s ease-out;
  }
  #hamburger-menu {
    display: block;
  }
  a.active {
    font-size: 14px;
  }
  .lang a {
    font-size: 12px;
  }
  .lang {
    gap: 16px;
    margin-left: auto;
    margin-right: 25px;
  }
  .country::after {
    top: 8px;
  }
}

@media screen and (max-width: 480px) {
  .flex--style {
    padding: 2em 1em;
  }
  .discoverText {
    padding: 0 1em;
  }
  .features__boxs {
    flex-wrap: wrap;
  }
  .box {
    width: 100%;
  }
  .lang {
    gap: 16px;
  }
  .footer_buttom {
    font-size: 12px;
  }
  .footer_top {
    max-width: 60px;
  }
}
