*,
*::before,
*::after {
  box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  font-family: "Quicksand", sans-serif;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

header.navbar-container {
  position: sticky;
  top: 0;
  width: 100%;
  max-width: 1200px;
  padding-block: 0rem;
  padding-bottom: 0px;
  margin-inline: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 10000;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-color: #1a2954;
}

header.navbar-container .logo img {
  width: 50px;
}

header.navbar-container .nav-list ul {
  padding-left: 0;
  display: flex;
  justify-content: center;
  gap: 2rem 1rem;
}

header.navbar-container .nav-list li {
  list-style-type: none;
}

header.navbar-container .nav-list li a {
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgb(252, 245, 245);
  transition: all 0.2s ease-in-out;
}

header.navbar-container .nav-list li:hover a {
  background-color: #1b4c81;
  color: white;
}

main {
  flex: 1;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 2rem 4rem;
  padding-top: 14px;
  display: block;
  align-items: center;
  overflow-y: auto; /* Agar konten dapat digulir tanpa scroll bar terlihat */
}

main .content {
  flex: 1;
  display: flex;
  align-items: center;
  margin-bottom: 100px;
}

main .content .content-description {
  flex: 1 1;
}

main .content .content-description .title {
  margin-block: 1rem;
  font-size: 3.5rem;
}

main .content .content-description p {
  font-size: 1.2rem;
  line-height: 1.7rem;
  display: flex;
  color: #ccc;
}

main .content .content-description h1 {
  display: flex;
  color: #ccc;
}

main .content .content-description h2 {
  display: flex;
  color: #ccc;
}

main h1 {
  display: flex;
  color: #ccc;
}
main .content .content-description a {
  background-color: #f44336;
  color: white;
  padding: 15px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-family: "Quicksand", sans-serif;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: all 0.15s ease-in;
  border-radius: 30px;
}

main .content .content-description a:hover {
  border: 3px solid #f9fafa;
  background-color: solid;
  color: #2d3e50;
}

main .content .content-image {
  flex: 1;
  display: flex;
}

main .content .content-image img {
  width: 100%;
  margin: auto;
}

aside {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  /*padding: 2rem 4rem;*/
  display: block;
  align-items: center;
  overflow-y: auto; /* Agar aside dapat digulir tanpa scroll bar terlihat */
}

aside .content {
  flex: 1;
  display: flex;
  align-items: center;
  margin-bottom: 100px;
}

aside .content .content-description {
  flex: 1 1;
  width: auto;
}

aside .content .content-description h2 {
  margin-block: 1rem;
  font-size: 3rem;
  text-align: center;
  display: flex;
}

aside .content .content-description p {
  font-size: 1.2rem;
  line-height: 1.7rem;
  display: flex;
}

aside .content .content-image {
  flex: 1;
  display: flex;
}

aside .content .content-image img {
  width: 100%;
  margin: auto;
}

/* Menyembunyikan scroll bar */
::-webkit-scrollbar {
  display: none;
}

/* CSS untuk Formulir */
form {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  margin: 20px auto;
}

form .form-group {
  margin-bottom: 15px;
}

form label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
  font-size: 14px;
}

form input[type="text"],
form input[type="tel"] {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

form input[type="text"]:focus,
form input[type="tel"]:focus {
  border-color: #007bff;
  outline: none;
}

form button {
  background-color: #007bff;
  color: white;
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

form button:hover {
  background-color: #0056b3;
}

form .form-group input::placeholder {
  font-style: italic;
  color: #888;
}

/* Untuk tampilan mobile */
@media screen and (max-width: 768px) {
  form {
    width: 100%; /* Pastikan form mengambil lebar penuh */
    padding: 15px; /* Sesuaikan padding jika diperlukan */
  }

  form .form-group {
    margin-bottom: 10px; /* Sesuaikan margin antar elemen form */
  }

  form input[type="text"],
  form input[type="tel"],
  form button {
    width: 100%; /* Pastikan input dan tombol menggunakan lebar penuh */
    padding: 12px; /* Sesuaikan padding jika diperlukan */
  }
}

/* Untuk tampilan lebih kecil (480px) */
@media screen and (max-width: 480px) {
  form input[type="text"],
  form input[type="tel"],
  form button {
    width: 100%; /* Pastikan elemen form tetap lebar penuh */
    padding: 10px; /* Sesuaikan padding untuk tampilan yang lebih kecil */
  }
}


.content-cards {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 40px 0;
  flex-wrap: wrap; /* Allow cards to wrap to the next line */
}

.card {
  background-color: #f4f4f4;
  padding: 20px;
  width: 22%; /* Cards will take up 22% of the container's width on large screens */
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.card h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #007bff;
}

.card p {
  font-size: 1em;
  color: #333;
}

.card:hover {
  transform: scale(1.05);
}

.popup {
  display: none; /* Sembunyikan pop-up secara default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Latar belakang semi-transparan */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
  text-align: center;
  max-width: 300px;
  width: 100%;
}

.popup.hidden {
  display: none; /* Tambahan untuk menyembunyikan kembali pop-up */
}

button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}


/* Medium devices (768px dan di bawahnya) */
@media screen and (max-width: 768px) {
  header.navbar-container {
    flex-direction: column;
  }

  header.navbar-container .nav-list ul {
    flex-wrap: wrap;
    column-gap: 0.5rem;
  }

  main {
    padding: 1rem 3rem;
  }

  main .content {
    flex-direction: column;
    gap: 2rem;
  }

  main .content .content-description .title {
    font-size: 3rem;
  }

  main .content .content-description p {
    font-size: 1rem;
  }

  main .content .content-image {
    order: -1;
  }

  aside .content {
    flex-direction: column;
    gap: 2rem;
  }

  aside .content .content-description .title {
    font-size: 3rem;
  }

  aside .content .content-description p {
    font-size: 1rem;
  }

  aside .content .content-image {
    order: -1;
  }

  .content-cards {
    flex-direction: column; /* Stack cards vertically on small screens */
  }

  .card {
    width: 100%; /* Cards will take up full width on smaller screens */
    margin-bottom: 20px; /* Add some space between stacked cards */
  }
  
  
}


 /* Notification Styling */
      .registration-notification {
        background-color: #4caf50;
        color: white;
        padding: 20px;
        text-align: center;
        border-radius: 5px;
        font-size: 18px;
        font-weight: bold;
        margin: 20px 0;
        display: inline-block;
        animation: fadeIn 1s ease-in-out;
      }

      /* Button Styling */
      .whatsapp-button {
        background-color: #25d366;
        color: white;
        padding: 12px 20px;
        font-size: 16px;
        border: none;
        border-radius: 5px;
        text-decoration: none;
        display: inline-block;
        cursor: pointer;
        text-align: center;
        margin-top: 20px;
        width: 100%;
        display: none; /* Initially hidden */
      }

      .whatsapp-button:hover {
        background-color: #128c7e;
      }

      @keyframes fadeIn {
        from {
          opacity: 0;
        }
        to {
          opacity: 1;
        }
      }

@media screen and (max-width: 480px) {
  .card {
    width: 100%; /* Cards will still take up full width on very small screens */
  }
}
