/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Exo:wght@400;500;600&display=swap");

/*===============  MY CUSTOM CSS ===============*/

:root {
  --header-height: 3.5rem;

  /*========== My Custom Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(219, 69%, 56%);
  --first-color-alt: hsl(219, 69%, 52%);
  --title-color: hsl(219, 8%, 95%);
  --text-color: hsl(219, 8%, 75%);
  --text-color-light: hsl(219, 4%, 55%);
  --white-color: #fff;
  --body-color: hsl(283, 89%, 7%);
  --container-color: hsl(219, 4%, 7%);

  /*========== My Custom Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: 'Exo', sans-serif;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 968px) {
  :root {
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE CSS ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background:
    radial-gradient(circle at top, rgba(59, 130, 246, 0.22), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(168, 85, 247, 0.18), transparent 24%),
    linear-gradient(180deg, #060b16 0%, #0b1020 45%, #090d18 100%);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/*=============== MY REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1024px;
  margin-right: 1.5rem;
  margin-left: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding: 4.5rem 0 2rem;
}

.section__title {
  font-size: var(--h2-font-size);
  text-align: center;
  margin-bottom: 2.5rem;
  line-height: 1.3;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.main {
  overflow: hidden;
  position: relative;
}

/* ======== Shape X Design ======*/

.shapeX,
.shape{
  background-color: hsla(219, 33%, 32%, .5);
  filter: blur(112px);
  border-radius: 50%;
}

.shape__big{
  width: 400px;
  height: 400px;
}

.shape__small{
  width: 300px;
  height: 300px;
}

.shape__smaller{
  width: 180px;
  height: 180px;
  filter: blur(64px);
}

/*=============== HEADER & NAV BAR ===============*/

.header{
  width: 100%;
  background-color: transparent;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
}

.nav{
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.nav__actions{
  display: flex;
  align-items: center;
  column-gap: .75rem;
}

.lang-switch{
  display: inline-flex;
  align-items: center;
  padding: .25rem;
  border-radius: 999px;
  background-color: hsla(219, 30%, 18%, .85);
  border: 1px solid hsla(0, 0%, 100%, .08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
}

.lang-switch__button{
  border: none;
  background: transparent;
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: var(--smaller-font-size);
  font-weight: var(--font-semi-bold);
  padding: .45rem .8rem;
  border-radius: 999px;
  cursor: pointer;
  transition: .3s;
}

.lang-switch__button:hover,
.lang-switch__button.active{
  color: var(--white-color);
  background: linear-gradient(135deg, rgba(59, 130, 246, .95), rgba(168, 85, 247, .95));
  box-shadow: 0 8px 20px rgba(59, 130, 246, .3);
}

.nav__logo,
.nav__toggle{
  color: var(--title-color);
  display: inline-flex;
}

.nav__logo{
  align-items: center;
  column-gap: .5rem;
  font-weight: var(--font-medium);
  transition: .3s;
  letter-spacing: .02em;
}

.nav__logo i{
  font-size: 1.25rem;
}

.nav__logo:hover{
  color: var(--first-color);
}

.nav__toggle{
  font-size: 1.25rem;
  cursor: pointer;
}

@media screen and (max-width: 767px) {
  .nav__menu{
    position: fixed;
    background-color: rgba(7, 10, 22, .92);
  
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(24px);
    box-shadow: -20px 0 40px rgba(0, 0, 0, .35);
    transition: .3s;
  }
}

.nav__list{
  display: flex;
  flex-direction: column;
  text-align: center;
  row-gap: 3rem;
  padding-top: 9rem;
  align-items: center;
}

.nav__link{
  text-transform: uppercase;
  color: var(--title-color);
  font-size: var(--h2-font-size);
  font-weight: var(--font-medium);
  transition: .3s;
  letter-spacing: .08em;
}

.nav__link:hover{
  color: var(--first-color);
}

.nav__close{
  font-size: 2rem;
  color: var(--white-color);
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
}

.show-menu{
  right: 0;
}

/* Change background header */
.scroll-header{
  border-radius: 0 0 1rem 1rem;
  background-color: rgba(7, 10, 22, .88);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .3);
  backdrop-filter: blur(18px);
}

/* Active link */
.active-link{
  color: var(--first-color);
}

/*=============== HOME ===============*/

.home{
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  z-index: 1;
}

.home__container{
  position: relative;
  padding-top: 7rem;
  row-gap: 2rem;
  justify-items: center;
}

.home__data{
  text-align: center;
  max-width: 760px;
  display: grid;
  row-gap: 1rem;
}

.home__badge{
  justify-self: center;
  padding: .45rem .9rem;
  border-radius: 999px;
  background-color: hsla(219, 60%, 52%, .16);
  border: 1px solid hsla(219, 90%, 70%, .2);
  color: #9ec5ff;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.home__title{
  font-size: var(--h1-font-size);
  margin-bottom: 0;
  line-height: 1.1;
}

.home__subtitle{
  font-size: var(--h3-font-size);
  margin-bottom: 0;
  color: #cfd8ff;
}

.home__elec{
  font-size: var(--small-font-size);
  font-weight: 400;
  color: var(--text-color);
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
}

.home__description{
  max-width: 640px;
  margin: 0 auto;
  color: #b3bfd7;
}

.home__elec i{
  color: var(--first-color);
}

.home__img{
  width: min(100%, 420px);
  justify-self: center;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, .45));
}

.home__car{
  display: flex;
  justify-content: center;
  align-items: center;
  
  column-gap: 1rem;
  row-gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.home__car-name{
  font-size: .625rem;
  font-weight: 400;
  color: var(--text-color-light);
}

.home__car-data{
  text-align: center;
  min-width: 110px;
}

.home__car-number{
  font-size: var(--h2-font-size);
  font-weight: var(--font-medium);
  margin-bottom: .25rem;
}

.home__car-icon{
  background-color: var(--container-color);
  border-radius: 50%;
  padding: .376rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: .875rem;
  margin-bottom: .75rem;
}

.home__button{
  z-index: 888;
  position: relative;
  border: 2px solid rgba(59, 130, 246, .38);
  background: radial-gradient(circle, rgba(59, 130, 246, .2), rgba(59, 130, 246, .04));
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  cursor: pointer;
  font-size: var(--small-font-size);
  color: var(--white-color);
  font-weight: var(--font-medium);
  transition: .3s;
}

.home__button:hover{
  transform: translateY(-.35rem);
}

.home__button::before{
  content: '';
  border: 2px solid rgba(59, 130, 246, .6);
  width: 108px;
  height: 108px;
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(59, 130, 246, .45);
  transition: .3s;
  animation: button 3s infinite; 
}

.home__cta{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.home__highlights{
  width: 100%;
  display: grid;
  gap: 1rem;
}

.home__highlight{
  padding: 1rem 1.1rem;
  border-radius: 1.2rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, .82), rgba(15, 23, 42, .58));
  border: 1px solid hsla(0, 0%, 100%, .08);
  box-shadow: 0 18px 35px rgba(0, 0, 0, .18);
  display: grid;
  gap: .35rem;
  text-align: left;
}

.home__highlight-title{
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

.home__highlight-description{
  color: var(--text-color);
  font-size: var(--small-font-size);
}

.home__social{
  z-index: 888;
  position: absolute;
  right: 30px;
  top: 25rem;
  display: flex;
  gap: 1rem;
  flex-direction: column;
  transition: 0.3s ease;
}

.home__social-icon{
  color: #fff;
  font-size: 1.4em;
  visibility: hidden !important;
}

.home__social-icon:hover{
  color: var(--first-color);
}

.slider__bg{
  z-index: 888 !important;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 2rem;
  gap: .25rem;
  cursor: pointer;
}

.slider__bg-navBtn{
  z-index: var(--z-fixed) !important;
  width: 9px;
  height: 9px;
  background: rgba(255, 255, 255, 0.392);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 2px rgba(255, 255, 255, .5);
  transition: .3s ease;
}

.slider__bg-navBtn:hover{
  transform: scale(1.2);
}

.slider__bg .active{
  background: #fff;
  color: #fff;
}

.video__slide{
  width: 100%;
  clip-path: circle(0% at 0 50%);
}

.video__slide.active{
  clip-path: circle(150% at 0 50%);
}

.home .shape__big,
.home .shape__small{
  position: absolute;
}

.home .shape__big{
  left: -9rem;
  top: -4rem;
}

.home .shape__small{
  right: -10rem;
  bottom: 3rem;
}

/* Button animate */
@keyframes button {
  0%{
    box-shadow: 0 0 12px rgba(59, 130, 246, .45);
  }
  50%{
    box-shadow: 0 0 24px rgba(59, 130, 246, .65);
  }
}

/*=============== BUTTON ===============*/
.button{
  display: inline-block;
  background: linear-gradient(135deg, var(--first-color), #7c3aed);
  color: var(--white-color);
  padding: .85rem 2rem;
  border-radius: 999px;
  font-size: var(--normal-font-size);
  transition: .3s;
  border: 1px solid transparent;
  box-shadow: 0 18px 35px rgba(59, 130, 246, .22);
}

.button:hover{
  transform: translateY(-.2rem);
  box-shadow: 0 22px 40px rgba(59, 130, 246, .3);
}

.button--ghost{
  background: transparent;
  border-color: hsla(0, 0%, 100%, .16);
  box-shadow: none;
}

.button--ghost:hover{
  background-color: hsla(219, 40%, 24%, .65);
}

/*=============== ABOUT ===============*/
.about__container{
  row-gap: 6rem;
}

.about__group{
  position: relative;
}

.about__img{
  width: 310px;
  border-radius: .5rem;
}

.about__card{
  width: 180px;
  position: absolute;
  right: 0;
  bottom: -2.5rem;
  background-color: hsla(0, 0%, 100%, .1);
  backdrop-filter: blur(16px);
  text-align: center;
  border-radius: 1.25rem;
  border: 1px solid hsla(0, 0%, 100%, .08);
  padding: 1rem .75rem;
}

.about__card-title{
  font-size: var(--h3-font-size);
  margin-bottom: 0.5rem;
}

.about__card-description{
  font-size: var(--smaller-font-size);
}

.about__title{
  text-align: initial;
  margin-bottom: 2rem;
}

.about__description{
  margin-bottom: 2rem;
}

/*=============== POPULAR ===============*/
.popular__container{
  padding-top: 1rem;
}

.popular__card{
  position: relative;
  width: 238px;
  background: linear-gradient(180deg, rgba(17, 24, 39, .95), rgba(15, 23, 42, .82));
  padding: 2rem 1.5rem 1.5rem;
  border-radius: 1rem;
  margin-bottom: 3.5rem;
  overflow: hidden;
  border: 1px solid hsla(0, 0%, 100%, .08);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .18);
}

.popular__card .shape__smaller{
  position: absolute;
  top: -2.5rem;
  left: -2.5rem;
}

.popular__title,
.popular__subtitle,
.popular__img{
  position: relative;
}

.popular__title{
  font-size: var(--h2-font-size);
  margin-bottom: 0.25rem;
}

.popular__subtitle{
  font-size: var(--normal-font-size);
  color: var(--text-color);
  font-weight: 400;
}

.popular__img{
  width: 160px;
  margin: .75rem 0 1.25rem 1.5rem;
  transition: .3s;
}

.popular__data{
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: .5rem 1.25rem;
  margin-bottom: 2rem;
}

.popular__data-group{
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
  font-size: var(--smaller-font-size);
  color: var(--white-color);
}

.popular__data i{
  font-size: 1rem;
}

.popular__price{
  font-size: var(--h3-font-size);
}

.popular__button{
  border: none;
  outline: none;
  padding: .75rem 1rem;
  position: absolute;
  right: 0;
  bottom: 0;
  border-radius: 1rem 0 1rem 0;
  cursor: pointer;
}

.popular__button i{
  font-size: 1.25rem;
}

.popular__card:hover .popular__img{
  transform: translateY(-.5rem);
}

/* Swiper class */
.swiper-pagination-bullet{
  background: var(--text-color);
}

.swiper-pagination-bullet-active{
  background-color: var(--first-color);
}

/*=============== FEATURES ===============*/
.features{
  overflow: hidden;
  position: relative;
}

.features__container{
  padding-top: 2rem;
  grid-template-columns: 285px;
  justify-content: center;
}

.features__group{
  display: grid;
  position: relative;
  z-index: 10;
}

.features__img{
  width: 150px;
  justify-self: center;
}

.features__card{
  width: 112px;
  background-color: hsla(0, 0%, 100%, .1);
  backdrop-filter: blur(16px);
  padding: .75rem 2rem;
  border-radius: 1rem;
  text-align: center;
  color: var(--title-color);
  position: absolute;
  border: 1px solid hsla(0, 0%, 100%, .08);
  box-shadow: 0 18px 30px rgba(0, 0, 0, .12);
}

.features__card-1{
  top: 4rem;
  left: 1.5rem;
}

.features__card-2{
  top: 8rem;
  right: 1rem;
}

.features__card-3{
  left: 1.5rem;
  bottom: 2rem;
}

.features__card-title{
  font-size: var(--h3-font-size);
  margin-bottom: 0.25rem;
}

.features__card-description{
  font-size: var(--smaller-font-size);
}

.features__map{
  max-width: initial;
  width: 450px;
  position: absolute;
  top: 8rem;
  left: -3rem;
  margin: auto;
  transform: rotate(-22deg);
}

/*=============== FEATURED ===============*/
.featured__container{
  padding-top: 1rem;
}

.featured__filters{
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 1rem;
  margin-bottom: 3.5rem;
}

.featured__item{
  width: 48px;
  height: 48px;
  border: none;
  outline: none;
  padding: 0.75rem;
  border-radius: .75rem;
  background-color: var(--container-color);
  color: var(--white-color);
  font-size: var(--normal-font-size);
  cursor: pointer;
  transition: .3s;
}

.featured__item img{
  width: 1.5rem;
}

.featured__item span,
.featured__item img{
  opacity: .3;
  transition: .3s;
}

.featured__item:hover{
  background-color: var(--first-color);
}

.featured__item:hover span,
.featured__item:hover img{
  opacity: 1;
}

.featured__content{
  grid-template-columns: 228px;
  row-gap: 2.5rem;
  justify-content: center;
}

.featured__card{
  position: relative;
  background: linear-gradient(180deg, rgba(17, 24, 39, .95), rgba(15, 23, 42, .82));
  padding: 2rem 1.5rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid hsla(0, 0%, 100%, .08);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .18);
}

.featured__card .shape__smaller{
  position: absolute;
  inset: 0;
  margin: auto;
}

.featured__title,
.featured__subtitle,
.featured__img{
  position: relative;
}

.featured__title{
  font-size: var(--h2-font-size);
  margin-bottom: 0.25rem;
}

.featured__subtitle{
  font-size: var(--normal-font-size);
  color: var(--text-color);
  font-weight: 400;
}

.featured__img{
  width: 180px;
  margin: 1.5rem 0;
  transition: transform .3s;
}

.featured__price{
  font-size: var(--h3-font-size);
}

.featured__button{
  border: none;
  outline: none;
  padding: .75rem 1rem;
  position: absolute;
  right: 0;
  bottom: 0;
  border-radius: 1rem 0 1rem 0;
  cursor: pointer;
}

.featured__button i{
  font-size: 1.25rem;
}

.featured__card:hover .featured__img{
  transform: translateX(-.30rem);
}

.featured__button:hover{
}

/* Active link featured */
.active-featured{
  background-color: var(--first-color);
}

.active-featured span,
.active-featured img{
  opacity: 1;
}

/*=============== GALLERY ===============*/
.gallery{
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.gallery__container{
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
}

.gallery__container::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 11, 22, .12), rgba(6, 11, 22, .85) 88%);
  z-index: 1;
}

.gallery__container video{
  z-index: 0;
  position: absolute;
  opacity: .16;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/*=============== OFFER ===============*/
.offer{
  position: relative;
}

.offer__container{
  grid-template-rows: max-content 224px;
  position: relative;
  padding: 2rem 1.5rem;
  border-radius: 2rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(17, 24, 39, .95), rgba(15, 23, 42, .78));
  border: 1px solid hsla(0, 0%, 100%, .08);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .22);
}

.offer__bg{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.offer__data,
.offer__img{
  position: relative;
}

.offer__data{
  text-align: center;
}

.offer__title{
  margin-bottom: 2rem;
}

.offer__description{
  margin-bottom: 3rem;
}

.offer__img{
  position: absolute;
  max-width: initial;
  width: 400px;
  
  bottom: 2rem;
  right: -5.5rem;
}

/*=============== LOGOS ===============*/
.logos__img{
  width: 40px;
  opacity: .4;
  transition: .3s;
}

.logos__content{
  background-color: rgba(15, 23, 42, .45);
  border: 1px solid hsla(0, 0%, 100%, .06);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
}

.logos__container{
  grid-template-columns: repeat(3, max-content);
  justify-content: center;
  align-items: center;
  gap: 4rem;
  padding-bottom: 2rem;
}

.logos__img:hover{
  opacity: 1;
  cursor: pointer;
}

/*=============== FOOTER ===============*/
.footer{
  position: relative;
  overflow: hidden;
}

.footer .shape__big,
.footer .shape__small{
  position: absolute;
}

.footer .shape__big{
  width: 300px;
  height: 300px;
  top: 6rem;
  left: -12rem;
}

.footer .shape__small{
  right: -13rem;
  bottom: -6rem;
}

.footer__container{
  row-gap: 2.5rem;
  position: relative;
  padding-top: 1.5rem;
}

.footer__logo{
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  color: var(--title-color);
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 1.35rem;
  transition: .3s;
}

.footer__logo:hover{
  color: var(--first-color);
}

.footer__logo i{
  font-size: 1.5rem;
  font-weight: 500;
}

.footer__title{
  font-size: var(--h3-font-size);
  margin-bottom: 1.1rem;
}

.footer__links{
  display: flex;
  flex-direction: column;
  row-gap: .5rem;
}

.footer__link,
.footer__social-link{
  color: var(--text-color);
  transition: .3s;
}

.footer__link:hover,
.footer__social-link:hover{
  color: var(--title-color);
}

.footer__social{
  display: flex;
  column-gap: 1.5rem;
}

.footer__social-link{
  font-size: 1.25rem;
}

.footer__copy{
  display: block;
  margin-top: 4.5rem;
  text-align: center;
  font-size: var(--smaller-font-size);
  color: #cbd5e1;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar{
  width: 0.5rem;
  background-color: hsl(219, 4%, 16%);
  border-radius: 1rem;
}

::-webkit-scrollbar-thumb{
  background-color: hsl(219, 4%, 24%);
  border-radius: 1rem;
}

::-webkit-scrollbar-thumb:hover{
  background-color: hsl(219, 4%, 32%);
}

/*=============== SCROLL UP ===============*/
.scrollup{
  position: fixed;
  right: 1rem;
  bottom: -30%;
  background-color: hsla(0, 0%, 100%, .1);
  display: inline-flex;
  padding: .45rem;
  border-radius: .5rem;
  font-size: 1.15rem;
  color: var(--white-color);
  z-index: var(--z-tooltip);
  transition: .4s;
}

.scrollup:hover{
  transform: translateY(-.28rem);
}

/* Show Scroll Up*/
.show-scroll{
  bottom: 3rem;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px){
  
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .home__cta{
    flex-direction: row;
  }
  .home__highlights{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about__group{
    width: 350px;
    justify-self: center;
  }
  .features__map{
    left: 0;
    right: 0;
  }
  .featured__content{
    grid-template-columns: repeat(2, 228px);
  }
  .offer__data{
    margin-bottom: 4rem;
  }
}

@media screen and (min-width: 767px) {
  .section{
    padding: 7rem 0 2rem;
  }
  .nav__toggle,
  .nav__close{
    display: none;
  }
  .nav__list{
    flex-direction: row;
    column-gap: 3rem;
    padding-top: 0;
  }
  .nav__link{
    font-size: var(--normal-font-size);
    text-transform: initial;
    letter-spacing: 0;
  }
  .nav__actions{
    column-gap: 1rem;
  }
  .about__container{
    grid-template-columns: repeat(2, 1fr);
  }
  .logos__container{
    gap: 4rem 8rem;
  }
  .footer__container{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* For large devices */
@media screen and (min-width: 1040px) {
  .container{
    margin-left: auto;
    margin-right: auto;
  }

  .shape__big{
    width: 500px;
    height: 500px;
  }

  .shape__small{
    width: 400px;
    height: 400px;
  }

  .home__container{
    padding-top: 8.5rem;
  }

  .home__img{
    width: 470px;
  }

  .home__car{
    column-gap: 3rem;
  }

  .home__car-icon{
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .home__social-icon{
    visibility: visible !important;
  }

  .slider__bg-navBtn{
    z-index: var(--z-fixed);
  }

  .home__highlights{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about__container{
    column-gap: 6rem;
    align-items: center;
  }

  .about__group,
  .about__img{
    width: 480px;

  }
  .about__card{
    width: 198px;
    padding: 1rem 1.25rem;
  }
  .about__description{
    padding-right: 4rem;
    margin-bottom: 3rem;
  }
  .popular__container{
    width: 875px;
    padding-top: 3rem;

  }
  .popular__card{
    width: 258px;
    border-radius: 1.15rem;
    margin-bottom: 5rem;
  }
  .popular__img{
    width: 180px;
    margin: .75rem 0 1.25rem 2rem;
  }
  .features__container{
    padding: 2rem 0 3rem;

  }
  .features__img{
    width: 200px;
  }
  .features__card{
    width: 128px;
    padding: .75rem 2.5rem;
  }
  .features__card-1{
    left: -1rem;

  }
  .features__card-2{
   right: -2.5rem;

  }
  .features__card-3{
    bottom: 7rem;
    left: -1rem;
  }
  .features__map{
    width: 650px;
    top: 11rem;

  }
  .featured__container{
    padding-bottom: 2.5rem;
  }
  .featured__filters{
    column-gap: 2rem;
    margin-bottom: 4.5rem;
  }
  .featured__item{
    width: 52px;
    height: 52px;
  }
  .featured__item img{
    width: 2rem;
  }
  .featured__content{
    grid-template-columns: repeat(3, 248px);
    gap: 4rem;
  }

  .offer__container{
    grid-template-columns: repeat(2, 1fr);
    column-gap: 5rem;
    align-items: center;
    padding-bottom: 2rem;

  }
  .offer__data,
  .offer__title{
    text-align: initial;
  }
  .offer__data{
    margin-bottom: 0;
  }
  .offer__description{
    padding-right: 6rem;
  }
  .offer__img{
    width: 450px;
  }

  .logos__container{
    grid-template-columns: repeat(6, max-content);
  
  }
  .logos__img{
    width: 50px;
  }

  .footer__container{
    grid-template-columns: repeat(4, max-content);
    justify-content: space-between;

  }
  .footer__logo{
    column-gap: .5rem;
  }
  .footer__logo i{
    font-size: 2rem;
  }
  .footer__title{
    margin-bottom: 1.5rem;
  }
  .footer__link{
    row-gap: .76rem;
  }
  .footer__social-link{
    font-size: 1.5rem;
  }
  .footer__copy{
    margin-top: 8rem;
    padding-bottom: 0.6rem;
  }

  .scrollup{
    right: 2.8rem;
  }
}