* {
  margin: 0;
  padding: 0;
  outline: none;
  text-decoration: none;
  list-style-type: none;
  box-sizing: border-box;
}

@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap");

a {
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", sans-serif !important;
  direction: rtl;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

button {
  cursor: pointer;
}

:root {
  --Very-Dark-Blue: hsl(243, 87%, 12%);
  --Desaturated-Blue: hsl(238, 22%, 44%);
  --Bright-Blue: hsl(224, 93%, 58%);
  --Moderate-Cyan: hsl(170, 45%, 43%);
  --Light-Grayish-Blue: hsl(240, 75%, 98%);
  --Light-Gray: hsl(0, 0%, 75%);

  --ff-open: "Cairo", sans-serif;
  --ff-raleway: "Cairo", sans-serif;
  --animate-duration: 1.5s;
  --animate-delay: 1s;
}

.row {
  max-width: 1400px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 85%;
  margin: 0 auto;
  padding: 2rem 0;
  border-bottom: 1px solid var(--Desaturated-Blue);
}

.logo {
  width: 6rem;
}

nav a:hover {
  transform: translateY(-3px) scale(1.1);
}

h2,
h3,
h4,
nav a,
button {
  font-family: "Cairo", sans-serif;
}

p {
  font-family: "Cairo", sans-serif;
  line-height: 1.5;
}

section:not(.with-decoration) {
  color: var(--Very-Dark-Blue);

  padding: 3rem 1.5rem;
}

section.hero {
  text-align: center;
}

section.hero p {
  margin-top: 2rem;
}

section img {
  margin-bottom: 3rem;
  width: 90%;
  max-width: 300px;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: var(--Very-Dark-Blue);
  font-size: 18px;
}

@media (max-width: 767px) {
  nav {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  nav a {
    font-size: 12pxx;
  }
}

form {
  margin: 3rem 0;
}

form {
  display: grid;
  grid-template-columns: 100%;
  gap: 1rem;
}

form input {
  border: 1px solid var(--Very-Dark-Blue);
  height: 40px;
  padding: 0 1rem;
  border-radius: 0.3rem;
}

form button {
  background-color: var(--Bright-Blue);
  border: 0;
  color: #fff;
  border-radius: 0.3rem;
  height: 40px;
  box-shadow: 0 2px 10px rgba(120, 120, 120, 0.5);
}

.hero form {
  max-width: 600px;
  margin: 3rem auto;
}

.with-decoration img {
  margin-bottom: 0;
  width: 100%;
}

.bg-light-gray {
  background: #f8f8fe;
  text-align: center;
}

.desktop {
  display: none;
}

.with-decoration .row {
  padding: 3rem 1.5rem;
  color: var(--Very-Dark-Blue);
  padding-bottom: 8rem;
}

.mobile {
  width: 100%;
  max-width: unset;
}

.with-decoration h2 {
  text-align: center;
  font-size: 1.125rem;
  margin: 3rem 0 2rem;
  font-size: 50px;
}

.with-decoration p {
  margin-bottom: 1rem;
  opacity: 0.7;
}

.with-decoration a {
  color: var(--Moderate-Cyan);
  font-family: "Cairo", sans-serif;
  text-align: center;
  display: block;
  /* border-bottom: 1px solid var(--Moderate-Cyan); */
  width: max-content;
  margin: 1.5rem auto 0;
}

.with-decoration a img {
  display: inline-block;
  vertical-align: middle;
  width: 1.5rem;
}

.bg-desaturated-blue {
  background-color: var(--Desaturated-Blue);
  display: flex;
  justify-content: space-around;
}
.content {
  color: #fff;
  font-family: "Cairo", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  text-align: center;
}
#map {
  height: 300px;
  width: 60%;
  border-radius: 10px;
}
@media (max-width: 767px) {
  .header-container {
    flex-direction: column;
  }
  .bg-desaturated-blue {
    flex-direction: column;
    gap: 10px;
  }
  #map {
    border-radius: 10px;
    width: 100%;
  }
  .flex {
    text-align: center;
    flex-direction: column;
  }
  .contacts {
    flex-direction: column;
    align-items: center;
  }
}

.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer {
  background-color: var(--Very-Dark-Blue);
  padding: 2rem 2rem;
}

footer,
footer a {
  color: #fff;
  font-family: "Cairo", sans-serif;
}

.contacts {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.contacts div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 1000px) {
  nav {
    gap: 4rem;
  }

  section {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
  }

  section img {
    max-width: 700px;
  }

  .row {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 3rem;
  }

  .row > div {
    flex-basis: 40%;
  }

  .with-decoration .row {
    align-items: center;
  }

  .with-decoration a {
    display: inline-block;
  }

  .mobile {
    display: none;
  }

  .desktop {
    display: block;
    width: 100%;
    max-width: unset;
  }

  .card {
    margin-left: 0;
    margin-right: 0;
  }

  section.bg-desaturated-blue {
    text-align: left;
  }

  section.bg-desaturated-blue .row {
    flex-direction: row;
    gap: 0;
  }

  section.bg-desaturated-blue .row > div {
    flex-basis: 50%;
  }

  section.bg-desaturated-blue .row > div:first-child {
    padding-left: 7rem;
  }

  section.bg-desaturated-blue form {
    grid-template-columns: 100%;
  }

  section.bg-desaturated-blue form button {
    max-width: 200px;
  }

  .hero .row > div:last-child {
    align-self: center;
  }

  footer.grid {
    grid-template-columns: 100%;
  }

  footer > .grid {
    grid-template-columns: repeat(4, 1fr);
    align-items: flex-start;
    gap: 1rem;
  }

  .links {
    padding-left: 6rem;
  }

  .medias {
    justify-content: flex-start;
  }
}

.animate__bounceInDown {
  --animate-duration: 1.8s;
}

.icons {
  width: 100% !important;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
}

.icon {
  width: 120px !important;

  transition: all 0.3s;
}
.icon:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

@media (max-width: 767px) {
  .icons {
    flex-wrap: wrap;
  }
}
