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

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /* Color mode HSL(hue, saturation, lightness) */
  --first-color: hsl(0, 0%, 100%);
  --first-color-alt: hsl(0, 0%, 90%);
  --title-color: hsl(0, 0%, 98%);
  --text-color: hsl(0, 0%, 85%);
  --text-color-light: hsl(0, 0%, 70%);
  --white-color: #ffffff;
  --body-color: hsl(0, 0%, 10%);
  --container-color: hsl(0, 0%, 15%);


  /*========== Font and typography ==========*/
  --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;
}

/* Responsive Typography */
@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 ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

/*=============== 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;
}

.main {
  overflow: hidden;
}

.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 ===============*/
.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;
}

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

.nav__logo {
  align-items: center;
  column-gap: .35rem;
  font-weight: var(--font-medium);
  transition: .5s;
}

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

.nav__logo:hover {
  color: #b39861;
}

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

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    background-color: hsla(0, 0%, 100%, .1);
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(96px);
    transition: .5s;
  }
}

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

.nav__link {
  text-transform: uppercase;
  color: var(--title-color);
  font-size: var(--h2-font-size);
  font-weight: var(--font-medium);
  transition: .5s;
}

.nav__link:hover {
  color: #b39861;
}

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

/* Show menu */
.show-menu {
  right: 0;
}

/* Change background header */
.scroll-header {
  border-radius: 0 0 1rem 1rem;
  background-color: var(--body-color);
  box-shadow: 0 2px 4px hsla(0, 0%, 1%, 1);

}

/* Active link */
.active-link {
  color: #b39861;
}

/*=============== HOME ===============*/
.home {
  position: relative;
  overflow: hidden;
}

.home__container {
  position: relative;
  padding-top: 4rem;
  row-gap: 3rem;
}

.home__data {
  text-align: center;
}

.home__title {
  font-size: var(--h1-font-size);
  margin-bottom: 1rem;
}

.home__subtitle {
  font-size: var(--h3-font-size);
  margin-bottom: .25rem;
}

.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__elec i,
.home__car-icon {
  color: rgb(253, 173, 0);
}

.home__img {
  width: 280px;
  justify-self: center;
}

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

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

.home__car-data {
  text-align: center;
}

.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 {
  position: relative;
  border: 2px solid var(--first-color);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  font-size: var(--small-font-size);
  color: var(--white-color);
  font-weight: var(--font-medium);
}

.home__button::before {
  content: '';
  border: 2px solid var(--first-color-alt);
  width: 90px;
  height: 90px;
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 0 12px var(--first-color-alt);
  transition: .3s;
  animation: button 3s infinite;
}

.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 var(--first-color-alt);
  }

  50% {
    box-shadow: 0 0 24px var(--first-color-alt);
  }
}

/*=============== BUTTON ===============*/
.button {
  display: inline-block;
  background: linear-gradient(145deg, #3a3a3a, #000000);
  color: #f0e6d2;
  padding: 0.75rem 1.5rem;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.04rem;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  border: 1.5px solid var(--white-color);
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
  cursor: pointer;
  z-index: 0;
}

.button:hover {
  border-color: var(--container-color);
  box-shadow: 0 0px 5px var(--first-color);
  transform: translateY(-5px);
  background: linear-gradient(145deg, #222222, #000000);
}

.button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250%;
  height: 250%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  z-index: -1;
}

/* Hover state dengan animasi kilau */
.button:hover::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  /* Kilau radial muncul saat hover */
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  /* Efek klik dengan sedikit menurunkan tombol */
  transition: all 0.2s ease;
}


/*=============== 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);
  padding: 1rem .75rem;
  text-align: center;
  border-radius: 1.25rem;
}

.about__card-title {
  font-size: var(--h3-font-size);
  margin-bottom: .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 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1rem;
  overflow: hidden;
}


.popular__card {
  position: relative;
  width: 238px;
  background-color: var(--container-color);
  padding: 2rem 1.5rem 1.5rem;
  border-radius: 1rem;
  margin-bottom: 3.5rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 2px solid;
}

/* Hover state with border effect */
.popular__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 20px var(--highlight-color);
  /* Highlight color */
  border-color: var(--luxury-gold);
  /* Border color on hover */
}

/* Animasi tambahan pada gambar saat hover */
.popular__card:hover .popular__img {
  transform: translateY(-0.35rem) scale(1.1);
}

.popular__title {
  font-size: var(--h2-font-size);
  margin-bottom: .25rem;
  transition: color 0.3s ease;
}

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

/* Efek pada judul saat hover */
.popular__card:hover .popular__title {
  color: var(--title-color);
}

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

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

/* Button styling */
.popular__button {
  border: none;
  outline: none;
  padding: .75rem 1rem;
  position: absolute;
  right: 0;
  bottom: 0;
  border-radius: 1rem 0 1rem 0;
  cursor: pointer;
  background: linear-gradient(135deg, #333333, #000000);
  color: #f0f0f0;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  border: 2px solid #ffffff;
}

/* Efek hover pada tombol */
.popular__button:hover {
  background: linear-gradient(135deg, #000000, #303030);
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  border-color: var(--white-color);
}


/* Efek pada gambar saat hover */
.popular__card:hover .popular__img {
  transform: translateY(-0.35rem) scale(1.1);
}

/* Efek pada judul saat hover */
.popular__card:hover .popular__title {
  color: var(--title-color);
}

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

.swiper-pagination-bullet-active {
  background: #b39861;
}

/*=============== 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);
  border-radius: 1.25rem;
  padding: .75rem 2rem;
  text-align: center;
  color: var(--title-color);
  position: absolute;
}

.features__card-1 {
  top: 4re;
  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: .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 ===============*/
.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: .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: #b39861;
}

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

.active-featured {
  background-color: #b39861;
}

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

.featured__content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.featured__card {
  position: relative;
  width: 238px;
  background-color: var(--container-color);
  padding: 2rem 1.5rem 1.5rem;
  border-radius: 1rem;
  margin-bottom: 3.5rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 2px solid;
}

.featured__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 20px var(--highlight-color);
  border-color: var(--luxury-gold);
}

.featured__title {
  font-size: var(--h2-font-size);
  margin-bottom: .25rem;
  transition: color 0.3s ease;
}

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

.featured__card:hover .featured__title {
  color: var(--title-color);
}

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

.featured__card:hover .featured__img {
  transform: translateY(-0.35rem) scale(1.1);
}

.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;
  background: linear-gradient(135deg, #333333, #000000);
  color: #f0f0f0;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  border: 2px solid #ffffff;
}

.featured__button:hover {
  background: linear-gradient(135deg, #000000, #303030);
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  border-color: var(--white-color);
}


/* Active link featured */
.active-featured {
  background-color: #b39861;
}

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

/*=============== OFFER ===============*/
.offer {
  position: relative;
  padding: 4rem 2rem;
  background-color: #f9f9f9;
}

.offer__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Teks di kiri, gambar di kanan */
  align-items: center;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

/* BACKGROUND IMAGE */
.offer__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
  filter: brightness(0.7);
}

/* TEXT CONTENT */
.offer__data {
  position: relative;
  z-index: 2;
  text-align: left;
  /* Teks rata kiri */
}

.offer__title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.offer__description {
  font-size: 1.125rem;
  color: #666;
  margin-bottom: 2rem;
}

.offer__button {
  padding: 0.75rem 2rem;
  background-color: #333;
  color: #f2f2f2;
  text-transform: uppercase;
  font-weight: 600;
  font-family: 'Helvetica Neue', sans-serif;
  letter-spacing: 0.05em;
  border: 2px solid #888;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.offer__button:hover {
  background-color: #b39861;
  /* Luxurious gold color on hover */
  color: #fff;
  /* Bright white text */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  /* Stronger shadow on hover */
  border: 2px solid #b39861;
  /* Gold border on hover */
}


/* IMAGE */
.offer__img {
  max-width: 100%;
  width: 400px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.offer__img:hover {
  transform: scale(1.05);
  opacity: 0.95;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .offer__container {
    grid-template-columns: 1fr;
    /* Satu kolom pada perangkat kecil */
    grid-template-rows: auto auto;
    /* Baris untuk teks dan gambar */
    text-align: center;
    /* Teks rata tengah */
  }

  .offer__data {
    grid-row: 1;
    /* Teks berada di baris pertama */
    text-align: center;
    /* Teks rata tengah */
  }

  .offer__img {
    grid-row: 2;
    /* Gambar berada di baris kedua */
    width: 350px;
    margin: 0 auto;
    /* Gambar di tengah */
  }
}

/*=============== LOGOS ===============*/
.logos__img {
  width: 40px;
  opacity: .4;
  transition: opacity .3s ease-in-out, transform .3s ease-in-out;
  /* Tambahkan transformasi untuk animasi */
}

.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;
  transform: scale(1.2);
  /* Perbesar logo saat hover */
}

/* Animasi tambahan bisa ditambahkan dengan keyframes */
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/*=============== FOOTER ===============*/
.footer {
  background-color: #101010;
  color: #e0e0e0;
  padding: 4rem 1rem;
  position: relative;
  overflow: hidden;
  font-family: 'Lato', sans-serif;
}

.shape__big,
.shape__small {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.shape__big {
  width: 40vw;
  /* Menggunakan unit responsif */
  height: 40vw;
  bottom: -20vw;
  left: -15vw;
}

.shape__small {
  width: 20vw;
  height: 20vw;
  top: -15vw;
  right: -10vw;
}

/* Footer Grid Container */
.footer__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Footer Content */
.footer__content {
  display: flex;
  flex-direction: column;
}

.footer__logo {
  font-size: 1.6rem;
  color: #b39861;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.footer__logo i {
  font-size: 2.5rem;
  color: #e0e0e0;
  margin-right: 0.5rem;
}

.footer__description {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: #c0c0c0;
}

/* Footer Links */
.footer__title {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
  color: #b39861;
}

.footer__links {
  list-style: none;
  padding: 0;
}

.footer__links li {
  margin-bottom: 1rem;
}

.footer__link {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer__link:hover {
  color: #b39861;
  padding-left: 5px;
}

/* Social Links */
.footer__social {
  display: flex;
  gap: 1.5rem;
}

.footer__social-link {
  color: #e0e0e0;
  font-size: 1.8rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer__social-link:hover {
  color: #b39861;
  transform: scale(1.2);
}

/* Copyright */
.footer__copy {
  display: block;
  text-align: center;
  margin-top: 3rem;
  font-size: 0.875rem;
  color: #a0a0a0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  font-family: 'Lato', sans-serif;
}


/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: 0.8rem;
  background-color: #1e1e1e;
  /* Hitam matte untuk track scrollbar */
  border-radius: 1rem;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #7e7e7e, #b3b3b3);
  border-radius: 1rem;
  box-shadow: inset 0 0 0.5rem rgba(255, 255, 255, 0.2), 0 0 0.8rem rgba(128, 128, 128, 0.4);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #a1a1a1, #d4d4d4);
  box-shadow: inset 0 0 0.7rem rgba(255, 255, 255, 0.3), 0 0 1rem rgba(192, 192, 192, 0.5);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

::-webkit-scrollbar-track {
  background-color: #1a1a1a;
  border-radius: 1rem;
  box-shadow: inset 0 0 0.5rem rgba(0, 0, 0, 0.5);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -30%;
  background-color: hsla(0, 0%, 100%, .1);
  backdrop-filter: blur(16px);
  display: inline-flex;
  padding: .75rem;
  border-radius: .75rem;
  font-size: 1.25rem;
  color: var(--white-color);
  z-index: var(--z-tooltip);
  transition: bottom 0.5s ease-in-out, transform 0.3s ease-in-out, background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
}

/* Hover effect */
.scrollup:hover {
  transform: translateY(-.35rem) scale(1.05);
  background-color: hsla(0, 0%, 100%, 0.3);
  box-shadow: 0px 6px 30px rgba(0, 0, 0, 0.2);
}

/* Show Scroll Up */
.show-scroll {
  bottom: 3rem;
  /* Menampilkan tombol */
  animation: fadeIn 0.6s ease-in-out;
  /* Animasi fade in */
}

/* Fade In Animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(2rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
  /* Untuk efek scroll yang halus */
}



/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 32px) {
  .container {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .home__car {
    column-gap: 2rem;
  }

  .about__card {
    width: 150px;
  }

  .offer__container {
    grid-template-rows: max-content 180px;
  }

  .offer__img {
    width: 340px;
  }

  .logos__container {
    gap: 2.5rem;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .about__group {
    width: 350px;
    justify-self: center;
  }

  .features__map {
    left: 0;
    right: 0;
  }

  .featured__content {
    grid-template-columns: repeat(2, 228px);
  }

  .offer__container {
    grid-template-rows: initial;
    grid-template-columns: .5fr;
    justify-content: center;
  }

  .offer__img {
    position: relative;
    bottom: initial;
    right: initial;
  }

  .offer__data {
    margin-bottom: 4rem;
  }
}

@media screen and (min-width: 767px) {
  .section {
    padding: 7rem 0 2rem;
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }

  .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;
  }

  .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: 2rem;
  }

  .home__img {
    width: 380px;
  }

  .home__car {
    column-gap: 7rem;
  }

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

  .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.25rem;
    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: 127px;
    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__contianer {
    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__links {
    row-gap: .75rem;
  }

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

  .footer__copy {
    margin-top: 8rem;
    padding-top: 1rem;
  }

  .scrollup {
    right: 3rem;
  }
}