@media (max-width: 768px) {
  header {
    display: grid !important;
    padding: 10px 5% !important;
  }
  .hero-content {
    max-width: 100% !important;
  }
  nav {
    overflow: scroll !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
  }
  .hero,
  .tentang {
    flex-direction: column;
  }
  .tentang-text p {
    font-size: 1.2rem !important;
  }
  .icon-centang {
    font-size: 1.3rem !important;
  }
  .layanan p,
  .testi-card p {
    font-size: 1rem !important;
  }
  .layanan h3,
  .testi-card h4 {
    font-size: 1.2rem !important;
  }
  .hero img,
  .tentang img {
    width: 100% !important;
  }
  .kontak p {
    font-size: 1.2rem;
  }
  .banner,
  .b {
    display: grid !important;
  }
  h1 h2 {
    font-size: 1rem !important;
  }
  .gallery {
    height: auto !important;
  }
  .gallery-container, .gallery {
    flex-direction: column;
  }
  .gallery button {
    display: none !important;
  }
  .card-galery {
    width: 100% !important;
    height: 50px !important;
  }
  .card-galery img {
    width: 100% !important;
    height: 200px !important;
  }
  .card-galery.active {
    width: 100% !important;
    height: 200px !important;
  }
}

@keyframes wa {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes waa {
  0% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(0);
  }
  70% {
    transform: translateY(-4px);
  }
  100% {
    transform: translateY(0);
  }
}

:root {
  --primary: yellow;
  --secondary: #0088ff;
  --light: white;
  --gray: #ddd;
  --blue: #0073ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Lilita One", Arial;
  scroll-behavior: smooth;
  font-weight: 200 !important;
}

body {
  background-color: var(--light);
  color: var(--secondary);
}

.wa {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  text-decoration: none;
  color: var(--secondary);
  z-index: 9999;
  bottom: 50px;
  right: 30px;
  animation: wa 3s linear infinite;
}

.chat {
  top: -20px;
  position: absolute;
  white-space: nowrap;
  transform: translateY(30px);
  opacity: 0;
  transition: 0.3s ease;
}

.wa img {
  width: 50px;
  height: 50px;
}

.wa:hover .chat {
  transform: translateY(0px);
  opacity: 1;
  animation: waa 0.6s;
}

section {
  scroll-margin-top: 200px;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

header h1 {
  color: var(--primary);
  font-weight: 200;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  transition: 0.3s;
}

nav ul li a:hover {
  color: white;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  padding: 50px 5%;
  background-color: var(--primary);
  color: var(--secondary);
  gap: 50px;
}

.hero-content {
  flex: 1 1 400px;
  max-width: 50%;
}

.merk {
  color: red;
}

.hero-content h2 {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 30px;
}

.btn {
  background: var(--blue);
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
  font-size: 1.5rem;
}

.btn:hover {
  background: var(--light);
  color: var(--secondary);
  transform: translateY(-3px);
}

.hero img {
  width: 30%;
  border-radius: 15px;
}

.layanan {
  display: grid;
  gap: 50px;
  text-align: center;
  padding: 80px 10%;
  background-color: var(--light);
}

.layanan h2 {
  color: var(--blue);
  margin-bottom: 40px;
  font-size: 2em;
}

.layanan-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.layanan-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 10px #0000007d;
  transition: 0.3s;
  font-weight: 200;
}

.layanan-card p {
  color: black;
  font-size: 1.2rem;
}

.layanan-card:hover {
  background: var(--primary);
  transition: 0.3s;
  transform: translateY(-10px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.501);
}

.layanan-card h3 {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 10px;
}

.testimoni {
  background: var(--primary);
  padding: 80px 10%;
  text-align: center;
}

.testimoni h2 {
  color: var(--secondary);
  margin-bottom: 40px;
  font-size: 2em;
}

.testimoni-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.testi-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  display: grid;
  align-items: center;
}

.testi-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 14px rgba(20, 74, 0, 0.471);
}

.testi-card p {
  font-style: italic;
  font-weight: 200;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.testi-card h4 {
  font-size: 1.5rem;
  color: red;
  font-weight: 200;
}

.yt {
  display: grid;
  align-items: center;
  padding: 50px 0px;
  overflow: hidden;
}

.container-yt {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 0px;
}

.container-yt iframe {
  width: 100%;
  height: 400px;
}

#left,
#right {
  align-items: center;
  display: grid;
  width: 50px;
  height: 300px;
  border-radius: 10px;
  background-color: var(--primary);
  border: 2px solid var(--secondary);
}

#left:active,
#right:active {
  background-color: var(--blue);
}

.material-icons {
  color: var(--secondary);
  font-size: 2rem;
}

.load-yt {
  max-width: 80%;
  height: 400px;
  margin-top: auto;
  margin-bottom: auto;
  display: none;
}

.load-yt.active {
  display: flex;
}

.tentang {
  padding: 100px 10%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}



.tentang img {
  max-width: 420px;
  max-height: 420px;
  border-radius: 20px;
}

.icon-centang {
  color: var(--secondary);
  font-size: 1.8rem;
}

.tentang-text {
  flex: 1 1 400px;
}

.tentang-text h2 {
  color: var(--blue);
  font-size: 2rem;
  margin-bottom: 20px;
}

.tentang-text p {
  color: black;
  gap: 10px;
  font-size: 1.5rem;
}

.p-legalitas {
  display: flex;
  width: 100%;
}

.road-section {
  position: relative;
  background-color: #252525;
  padding-top: 5px;
  padding-bottom: 5px;
}

.road {
  position: relative;
  height: 70px;
  width: 100%;
  border-bottom: 2px solid var(--primary);
  border-top: 2px solid var(--primary);
  overflow: hidden;
}

.car {
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 120px;
}

.kontak {
  background: url('bg-blue.png');
  background-size: cover;
  color: white;
  font-weight: 200;
  font-size: 1.5rem;
  padding: 80px 0px;
  text-align: center;
  line-height: 50px;
}

.flip-btn {
  display: inline-block;
  position: relative;
  overflow: hidden;
  color: var(--secondary);
  font-weight: 200;
  background: var(--primary);
  padding: 0px 25px;
  border-radius: 30px;
  text-decoration: none;
}

.flip-btn span {
  display: block;
  transition: transform 0.1s;
}

.flip-btn span:last-child {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
}

.flip-btn:hover span:first-child {
  transform: translateY(-100%);
}

.flip-btn:hover span:last-child {
  transform: translateY(-100%);
  color: var(--secondary);
  background: var(--light);
}

.peta {
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: 150px;
  position: relative;
  width: 100%;
}

.container-peta {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 0px;
}

#left-peta,
#right-peta {
  align-items: center;
  display: grid;
  width: 50px;
  height: 300px;
  border-radius: 10px;
  background-color: var(--primary);
  border: 2px solid var(--secondary);
}

#left-peta:active,
#right-peta:active {
  background-color: var(--blue);
}

.load-peta {
  width: 80% !important;
  height: 400px;
  margin-top: auto;
  margin-bottom: auto;
  display: none;
}

.load-peta p {
  top: 80px;
  left: 0;
  right: 0;
  position: absolute;
  line-height: 20px !important;
}

.container-peta iframe {
  width: 100%;
  height: 400px;
  border-radius: 10px;
}

.load-peta.active {
  display: grid;
}

.galleryy {
  background-color: var(--primary);
  color: var(--secondary);
  height: 50px;
  display: grid;
  align-items: center;
  text-align: center;
  display: none;
}

.gallery {
  width: 100%;
  height: 600px;
  display: flex;
  padding: 20px;
  justify-content: space-between;
  align-items: center;
  background-color: var(--secondary);
  display: none;
}

#left-galery,
#right-galery {
  align-items: center;
  display: grid;
  width: 50px;
  height: 300px;
  border-radius: 10px;
  background-color: var(--primary);
  border: 2px solid var(--secondary);
}

#left-galery:active,
#right-galery:active {
  background-color: var(--blue);
}

.gallery-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  gap: 10px;
}

.card-galery {
  position: relative;
  width: 150px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  transition: 0.3s;
}

.card-galery.active {
  width: 100%;
  height: 500px;
}

.desk {
  position: absolute;
  bottom: 0px;
  width: 100%;
  height: 50px;
  background: #00448b85;
  text-align: center;
  display: grid;
  align-items: center;
  color: white;
  font-weight: bold;
}

.card-galery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.follow {
  display: grid;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  background: black;
  gap: 30px;
  color: white;
}

.sosmed {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.follow img {
  width: 30px;
  height: 30px;
}

footer {
  text-align: center;
  background: #000022;
  color: #aaa;
  padding: 15px;
  font-size: 0.9em;
}
