@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f8f8f8;
}

.navbar-nav .nav-link {
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #dc3545 !important;
}

.navbar-brand img {
  width: auto;
  height: 40px;
  object-fit: contain;
  image-rendering: auto;
}

.logo img {
  width: 100px;
  height: auto;
}

.btn-danger {
  transition: transform 0.2s ease;
}

.btn-danger:hover {
  transform: scale(1.05);
}

.banner {
  width: 100%;
  height: 230px;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero {
  width: 100%;
  min-height: 400px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 50px 80px;
}

.hero-text h1 {
  font-size: 58px;
  color: #120a73;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 22px;
  color: black;
}

.hero-text {
  opacity: 0;
  animation: fadeKiri 1.5s ease forwards;
}

.hero-image {
  opacity: 0;
  animation: fadeKanan 1.5s ease forwards;
}

@keyframes fadeKiri {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeKanan {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.typing {
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  animation: mengetik 4s steps(55) forwards;
}

@keyframes mengetik {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.singapura {
  padding: 80px 20px;
  background-color: #ffffff;
  text-align: center;

}

.isi {
  padding: 80px 20px;
  background-color: #fcfcfc;
  text-align: center;
}

.isi h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 50px;
}

.pengantar {
  padding: 70px 20px 40px;
  background-color: #ffffff;
  text-align: center;
}

.pengantar-content {
  max-width: 800px;
  margin: 0 auto;
}

.pengantar-content h2 {
  font-size: 2.2rem;
  color: #333;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.pengantar-content h2 {
  display: inline-block;
  font-size: 2.2rem;
  color: #333;
}

.garis-judul {
  width: 60px;
  height: 4px;
  background-color: #e63946;
  border: none;
  margin: 0 auto 10px;
}

.pengantar-content p {
  font-size: 1.15rem;
  color: #555;
  line-height: 1.77;
  margin-bottom: 20px;
  text-align: justify;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.custom-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.lokasi {
  padding: 80px 10px;
  background-color: #ffffff;
  text-align: center;
}

.lokasi h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 10px;
}

.lokasi p {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.map-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
}

.navbar-nav .nav-link.active {
  color: #dc3545 !important;
  font-weight: 700;
  display: inline-block;
  width: fit-content;
  border-bottom: 2px solid #dc3545;
}

@media screen and (max-width: 1200px) {
  .hero {
    padding: 50px 40px;
  }

  .hero-text h1 {
    font-size: 46px;
  }

  .hero-text p {
    font-size: 19px;
  }

  .hero-image img {
    max-width: 420px;
  }
}

@media screen and (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
    gap: 30px;
  }

  .hero-text h1 {
    font-size: 38px;
  }

  .hero-text p {
    font-size: 17px;
  }

  .hero-image img {
    max-width: 340px;
    margin: 0 auto;
    display: block;
  }

  .typing {
    white-space: normal;
    width: 100%;
    animation: none;
  }

  .banner {
    height: 50vh;
  }

  .pengantar {
    padding: 50px 20px 30px;
  }

  .pengantar-content h2 {
    font-size: 1.9rem;
  }

  .lokasi {
    padding: 60px 15px;
  }

  .map-wrapper iframe {
    height: 400px;
  }
}

@media screen and (max-width: 768px) {
  .hero {
    padding: 30px 20px;
    min-height: auto;
  }

  .hero-text h1 {
    font-size: 30px;
    line-height: 1.3;
  }

  .hero-text p {
    font-size: 15px;
  }

  .hero-image img {
    max-width: 280px;
  }

  .banner {
    height: 50vh;
  }

  .pengantar-content h2 {
    font-size: 1.6rem;
  }

  .pengantar-content p {
    font-size: 1rem;
    text-align: center;
  }

  .highlight .row {
    gap: 1rem;
  }

  .custom-card {
    padding: 1.5rem;
  }

  .lokasi h2 {
    font-size: 1.6rem;
  }

  .lokasi p {
    font-size: 1rem;
  }

  .map-wrapper iframe {
    height: 320px;
  }

  .map-wrapper {
    border-radius: 10px;
  }

  footer .col-lg-5,
  footer .col-lg-3,
  footer .col-lg-4 {
    text-align: center;
  }

  footer .list-unstyled {
    padding: 0;
  }

  footer .container,
  footer .row,
  footer .col-lg-5,
  footer .col-lg-3 {
    text-align: left !important;
  }

  footer ul {
    padding-left: 0;
  }

  .navbar-nav .nav-link {
    width: fit-content;
    display: inline-block;
  }


  .navbar-nav .nav-link.active {
    width: fit-content;
    display: inline-block;
  }

  .navbar-brand img {

    width: 140px;
    height: auto;

  }


}

@media screen and (max-width: 480px) {
  .hero {
    padding: 25px 15px;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .hero-text p {
    font-size: 13px;
  }

  .hero-image img {
    max-width: 220px;
  }

  .banner {
    height: 40vh;
  }

  .pengantar-content h2 {
    font-size: 1.3rem;
  }

  .pengantar-content p {
    font-size: 0.9rem;
  }

  .highlight h2 {
    font-size: 1.4rem;
  }

  .highlight .text-secondary {
    font-size: 0.9rem;
  }

  .lokasi h2 {
    font-size: 1.3rem;
  }

  .map-wrapper iframe {
    height: 260px;
  }

  footer #jam-singapura {
    font-size: 1.6rem;
  }

  footer .small {
    font-size: 0.75rem;
  }
}