@import "./variables.css";

*,
*::after,
*::before {
  padding: 0;
  margin: 0;
  box-sizing: inherit;
}
body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.header {
  background-color: var(--color-primary);
  padding: 3rem 10rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 2rem;
}

.header > :nth-child(1) {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo {
  width: 8rem;
  height: 4rem;
}
.header > :nth-child(2) {
  flex-shrink: 1;
  flex-grow: 1;
}

.logo-name {
  font-family: Open_Bold;
  font-size: var(--font-xl);
  color: var(--color-blue);
}

.language-selector {
  text-align: center;
  max-height: 3rem;
}

nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
}
nav ul {
  list-style: none;
  font-size: var(--font-s);
  color: var(--color-blue);
}
nav > :first-child {
  width: 18rem;
}
nav ul > :first-child {
  padding: 1rem 1.5rem;
  cursor: pointer;
}

nav ul li {
  font-family: Roboto_Regular;
  color: var(--color-blue);
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

nav ul li:hover {
  background-color: var(--color-lightGrey);
}

nav ul li ul {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #ffffff;
  display: none;
  box-shadow: 1px 1px 1px rgb(184, 184, 184);
  z-index: 101010;
}
nav > :first-child li ul {
  width: 18rem;
}

nav ul:hover ul {
  display: initial;
}
nav ul li ul li {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--color-lightGrey);
  font-family: Roboto_Regular;
  color: var(--color-blue);
}

.btn-grp {
  display: flex;
  /* justify-content: space-between; */
  gap: 2rem;
  flex-shrink: 1;
}
.btn-grp > :first-child {
  background-color: var(--color-primary);
  color: var(--color-blue);
  box-shadow: 1px 1px 1px rgb(184, 184, 184);
}
.btn-grp > :last-child {
  background-image: var(--color-gradientRight);
  color: var(--color-primary);
}
.btn-grp span {
  padding: 1rem 2rem;
  border-radius: 20px;
  font-family: Roboto_Bold;
  font-size: var(--font-xs);
  cursor: pointer;
  letter-spacing: 1px;
}
.responsive-nav {
  display: none;
}
.menu {
  display: none;
}
@media (max-width: 990px) {
  .header {
    padding: 2rem 4rem;
  }
  header > :nth-child(2) {
    display: none;
  }
  .btn-grp {
    display: none;
  }
  .responsive-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-secondary);
    z-index: 1000000;
    border-top: 1px solid var(--color-lightGrey);
  }
  .responsive-nav ul {
    width: 100%;
  }

  .responsive-nav > :first-child > :nth-child(n) {
    padding: 1rem 1.5rem;
    cursor: pointer;
  }

  .menu {
    display: initial;
    cursor: pointer;
  }
  .active {
    display: initial;
  }
}

/**---------------------------------------------------------------**/
/*-------------------------first-section---------------------------*/
/**---------------------------------------------------------------**/

.first-section {
  position: relative;
  height: calc(90vh - 5rem);
  filter: blur(5px);
  filter: drop-shadow(0px 100px 70px rgba(114, 107, 156, 0.5));
}
.first-section .first-section-svg {
  position: absolute;
  display: flex;
  height: 100%;
  width: 100%;
  background-color: var(--color-primary);
  clip-path: polygon(0 0, 100% 0, 100% 0, 120vh 65%, 0 100%);
  z-index: -10000;
  top: 0;
  left: 0;
}
.first-section .container {
  display: flex;
  height: 100%;
  gap: 3rem;
}
.first-section .container > :nth-child(n) {
  flex: 1;
  height: 100%;
}
.first-section-container-info-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: 10rem;
  gap: 4rem;
}
.first-section-container-info-box h1 {
  font-family: Open_Bold;
  font-size: 4.2rem;
  color: var(--color-blue);
  line-height: 5.2rem;
}
.first-section-container-info-box p {
  font-family: Roboto_Regular;
  font-size: var(--font-xs);
  color: var(--color-grey);
  line-height: 2.2rem;
}

.first-section-container-info-box h1 strong {
  position: relative;
}

.first-section-container-svgDash-box {
  position: relative;
}
.first-section-container-svgDash-box img {
  position: absolute;
  right: 0;
  top: 0;
  transform: translatey(20%);
}

@media (max-width: 990px) {
  .first-section-container-svgDash-box {
    display: none;
  }
  .first-section-container-info-box {
    padding-left: 4rem;
    padding-right: 2rem;
  }
}

/**---------------------------------------------------------------**/
/*-------------------------second-section---------------------------*/
/**---------------------------------------------------------------**/

.second-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  padding: 3rem 10rem;
  gap: 2rem;
  justify-content: center;
}
.second-section > h3 {
  font-family: Open_bold;
  font-size: var(--font-xl);
  color: var(--color-blue);
  text-align: center;
}
.second-section > p {
  width: 70%;
  font-family: Roboto_Regular;
  font-size: var(--font-xs);
  color: var(--color-grey);
  text-align: center;
}
.second-section-card-Container {
  padding: 3rem 10rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.second-section-card {
  background-color: var(--color-lightGrey);
  padding: 2rem;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 23.3rem;
  height: 34rem;
  gap: 2.2rem;
}

.second-section-card h4 {
  color: var(--color-blue);
  font-family: Roboto_Meduim;
  font-size: var(--font-xs);
  text-align: center;
}
.second-section-card p {
  color: #7c8a98;
  font-family: Roboto_Regular;
  font-size: 1.4rem;
  text-align: center;
  line-height: 1.6;
}
.middle-card {
  transform: translateY(20%);
}

@media (max-width: 1120px) {
  .svg-scale {
    display: none;
  }
  .middle-card {
    transform: translateY(0%);
  }
  .second-section {
    height: auto;
  }
}
@media (max-width: 1400px) {
  .svg-scale {
    display: none;
  }
}
@media (max-width: 990px) {
  .second-section {
    height: auto;
  }
}

/**---------------------------------------------------------------**/
/*-------------------------third-section---------------------------*/
/**---------------------------------------------------------------**/

.third-section {
  height: 100vh;
  position: relative;
  justify-content: center;
}
.polygone-Svg {
  top: 0;
  left: 0;
  transform: translateY(5%);
  position: absolute;
  height: 90%;
  width: 100%;
  background-image: var(--color-gradientRight);
  clip-path: polygon(0 0, 100% 15%, 100% 100%, 0 85%);
  z-index: -101010;
}
.third-section-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 10rem;
}
.third-section-container-info-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3rem;
  width: 40%;
}
.third-section-container-info-box h3 {
  font-family: Open_Bold;
  font-size: var(--font-xl);
  color: var(--color-primary);
  text-align: start;
}
.third-section-container-info-box p {
  font-family: Roboto_Regular;
  font-size: var(--font-xs);
  color: var(--color-lightGrey);
  text-align: start;
}
.third-section-container-svg-box {
  width: 40%;
  height: 100%;
  position: relative;
}
.phone1 {
  position: absolute;
  z-index: 100;
  left: 0;
  bottom: 0;
  animation: AscDescPhone1 20s infinite;
}
.phone2 {
  position: absolute;
  z-index: 99;
  left: 150px;
  bottom: 70px;
  animation: AscDescPhone2 20s infinite;
}

@keyframes AscDescPhone2 {
  0% {
    bottom: 70px;
  }
  25% {
    bottom: 0px;
  }
  50% {
    bottom: 60px;
  }
  75% {
    bottom: 0px;
  }
  100% {
    bottom: 70px;
  }
}
@keyframes AscDescPhone1 {
  0% {
    bottom: 0px;
  }
  25% {
    bottom: 70px;
  }
  50% {
    bottom: 0px;
  }
  75% {
    bottom: 70px;
  }
  100% {
    bottom: 0px;
  }
}

@media (max-width: 900px) {
  .third-section-container-svg-box {
    display: none;
  }
  .third-section-container-info-box {
    width: 100%;
  }
}
@media (max-width: 600px) {
}
/**---------------------------------------------------------------**/
/*-------------------------fourth-section---------------------------*/
/**---------------------------------------------------------------**/

.fourth-section {
  display: flex;
  flex-direction: column;
  height: auto;
  padding: 5rem 10rem;
  justify-content: space-around;
  gap: 3rem;
}
.fourth-section-info-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.fourth-section-info-box h3 {
  color: var(--color-blue);
  font-family: Open_Bold;
  font-size: var(--font-l);
}
.fourth-section-info-box p {
  color: var(--color-grey);
  font-family: Roboto_Regular;
  font-size: var(--font-xs);
  text-align: center;
  width: 80%;
}
.fourth-section-card-Container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 3rem;
}
.fourth-section-card {
  display: flex;
  flex-direction: column;
  background-color: #fafafa;
  width: 26rem;
  min-height: 26rem;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border-radius: 5px;
  box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2);
  gap: 2rem;
}
.fourth-section-card h4 {
  text-align: center;
  font-family: Roboto_Meduim;
  color: var(--color-blue);
  font-size: 1.6rem;
}
.fourth-section-card p {
  text-align: center;
  font-family: Roboto_Regular;
  color: var(--color-grey);
  font-size: var(--font-xs);
  line-height: 22px;
}

@media (max-width: 900px) {
  .fourth-section {
    padding: 2rem 4rem;
  }
  .fourth-section-info-box p {
    width: 100%;
  }
}

/**---------------------------------------------------------------**/
/*-------------------------fifth-section---------------------------*/
/**---------------------------------------------------------------**/
.fifth-section {
  display: flex;
  height: 70vh;
  background-color: var(--color-primary);
  flex-direction: row;
  gap: 4rem;
}

.driver-img {
  height: 100%;
  width: 40%;
}
.fifth-section-info-box {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: flex-start;
  width: 40%;
  justify-content: center;
}
.fifth-section-info-box h3 {
  color: var(--color-blue);
  text-align: left;
  font-family: Open_Bold;
  font-size: var(--font-xl);
}
.fifth-section-info-box p {
  color: var(--color-grey);
  text-align: left;
  font-family: Roboto_Meduim;
  font-size: var(--font-xs);
}
@media (max-width: 990px) {
  .fifth-section {
    flex-direction: column;
    height: auto;
    gap: 2rem;
    padding-bottom: 2rem;
  }
  .driver-img {
    max-height: 30rem;
    width: 100%;
  }
  .fifth-section-info-box {
    align-items: center;
    width: 100%;
    max-height: 40rem;
  }
  .fifth-section-info-box h3 {
    text-align: center;
  }
  .fifth-section-info-box p {
    text-align: center;
  }
}

/**---------------------------------------------------------------**/
/*-------------------------sixth-section---------------------------*/
/**---------------------------------------------------------------**/

.sixth-section {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40vh;
  gap: 3rem;
}
.sixth-section > div {
  gap: 3rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-evenly;
  width: 100%;
}

.app-card-link {
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3rem;
  width: 30rem;
  height: 6rem;
  background-color: var(--color-primary);
  padding: 2rem;
  border-radius: 10rem;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
}

.app-card-link div {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 2rem;
}
.app-card-link div > :first-child {
  color: var(--color-blue);
  font-family: Roboto_Meduim;
  font-size: var(--font-m);
}
.app-card-link div > :last-child {
  color: var(--color-grey);
  font-family: Roboto_Regular;
  font-size: var(--font-xs);
}

/**---------------------------------------------------------------**/
/*------------------------------footer-----------------------------*/
/**---------------------------------------------------------------**/
.footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 50vh;
  background-image: var(--color-gradientRight);
  padding: 3rem 20rem;
  gap: 3rem;
}

.footer-info-box {
  display: flex;
  justify-content: space-between;
}
.footer-info-box > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-info-box > div > h3 {
  font-family: Roboto_Bold;
  color: var(--color-primary);
  font-size: var(--font-m);
}
.footer-info-box > div > span {
  cursor: pointer;
  font-family: Roboto_Regular;
  color: var(--color-lightGrey);
  font-size: var(--font-xs);
}
.footer-footer {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 3rem;
}
.social-media-container {
  display: flex;
  width: 100%;
  gap: 3rem;
  align-items: center;
}

.social-media-container > :nth-child(n) {
  flex: 1;
}
.social-media-container > :nth-child(2) {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.social-media-container > :nth-child(1) {
  background-color: var(--color-primary);
  height: 1px;
}
.social-media-container > :nth-child(3) {
  background-color: var(--color-primary);
  height: 1px;
}

.footer-footer > :last-child {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}
.footer-footer > :last-child > h3 {
  font-family: Roboto_Regular;
  color: var(--color-primary);
  font-size: var(--font-l);
}

.footer-footer > :last-child > span {
  font-family: Roboto_Regular;
  color: var(--color-lightGrey);
  font-size: var(--font-xs);
}

@media screen and (max-width: 1200px) {
  .footer {
    padding: 3rem 10rem;
    height: auto;
  }
}
@media screen and (max-width: 900px) {
  .footer {
    padding: 2rem 5rem;
  }
}
@media screen and (max-width: 400px) {
  .footer {
    padding: 1rem 2rem;
  }
}
