body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background-color: #0d0c1d;
  color: #ffffff;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1a1441;
  padding: 15px 20px;
}

.logo {
  height: 50px;
  object-fit: contain;
  font-size: 1.5rem;
  font-weight: bold;
  color: #f9c300;
}

.search-box {
  padding: 8px;
  border-radius: 4px;
  border: none;
  width: 200px;
}

.auth-buttons .btn {
  padding: 10px 16px;
  margin-left: 10px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

.register {
  background-color: #9c27b0;
  color: white;
}

.login {
  background-color: #ffffff;
  color: #000000;
}

.marquee {
  background-color: #2b235a;
  padding: 10px;
  font-size: 0.95rem;
  color: #ffeb3b;
}

.banner {
  position: relative;
  text-align: center;
  
}
  margin-bottom: 10px;

.banner img {
  max-width: 90%;
  height: 640px;
  border-radius: 10px;
}

.banner-text {
  position: absolute;
  top: 20%;
  left: 15%;
  color: white;
  text-shadow: 1px 1px 5px #000;
  text-align: left;
}

.banner-text h2 {
  font-size: 2rem;
  margin: 0;
}

.banner-text p {
  font-size: 1.2rem;
  margin-top: 10px;
}

.info-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 30px 20px;
  flex-wrap: wrap;
}





.card {
  flex: 1 1 160px;
  max-width: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 70px;
  text-align: center;
  background-color: #1f1b3a;
  border-radius: 8px;
  color: white;
  padding: 8px;
}





footer {
  background-color: #1a1441;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  font-size: 0.85rem;
  color: #aaa;
}


.slideshow {
  text-align: center;
  margin-top: 20px;
}
.slideshow .slides {
  position: relative;
  max-width: 80%;
  margin: auto;
}
.slideshow .slides img {
  border-radius: 10px;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-section {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.auth-section .btn {
  padding: 12px 24px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
}

.auth-section .register {
  background-color: #9c27b0;
  color: white;
}

.auth-section .login {
  background-color: #ffffff;
  color: #000000;
}


.card-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin-left: 20px;
}

.card-buttons .btn {
  padding: 12px 20px;
  font-weight: bold;
  border-radius: 6px;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
}

.card-buttons .register {
  background-color: #9c27b0;
  color: white;
}

.card-buttons .login {
  background-color: #ffffff;
  color: #000000;
}




.card-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1100px;
  
}
  margin-top: 10px;







.card {
  flex: 1 1 160px;
  max-width: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 70px;
  text-align: center;
  background-color: #1f1b3a;
  border-radius: 8px;
  color: white;
  padding: 8px;
}





.card-buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
}

.card-buttons .btn {
  padding: 12px 20px;
  font-weight: bold;
  border-radius: 6px;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
}

.card-buttons .register {
  background-color: #9c27b0;
  color: white;
}

.card-buttons .login {
  background-color: #ffffff;
  color: #000000;
}


.footer-section {
  background-color: #1a1441;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 10px;
}

.footer-desc {
  max-width: 800px;
  margin: 10px auto;
  font-size: 0.95rem;
  color: #ccc;
}


.certifications {
  display: flex;
  justify-content: center;
  gap: 30px; /* tadinya 60px */
  margin: 10px 0;  /* tadinya 30px 0 */
  flex-wrap: wrap;
}


.certifications h4 {
  margin-bottom: 10px;
  color: #f9c300;
}

.payments {
  margin-bottom: 20px;
}

.payments .icons img {
  margin: 0 5px;
}

.accordion {
  margin-top: 20px;
}

.accordion-toggle {
  background-color: #312e2e;
  padding: 20px;
  border: none;
  width: 80%;
  max-width: 1200px;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  margin: auto;
  justify-content: space-between;

}

.accordion-content {
  display: none;
  padding: 20px;
  background-color: #312e2e;
  width: 80%;
  max-width: 1200px;
  margin: auto;
  color: #eee;
  font-size: 0.95rem;
  text-align: left;
}

.accordion-toggle.active::after {
  content: "▲";
}

.accordion-toggle::after {
  content: "▼";
  margin-left: auto;
  color: #ccc;
}

.copyright {
  margin-top: 30px;
  font-size: 0.85rem;
  color: #aaa;
}

.accordion-toggle {
    color: white;
  }

/* ===== Pixel 5 Optimized Mobile Styling ===== */
@media screen and (max-width: 420px) {
  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
  }

  .logo {
    max-height: 26px;
    flex-shrink: 0;
  }

  .header-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
    margin-left: auto;
  }

  .header-buttons button {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
    white-space: nowrap;
  }
}

  .banner {
    position: relative;
    width: 100%;
  }
  margin-bottom: 10px;

  .banner img {
    width: 100%;
    border-radius: 8px;
  }

  .banner-text {
    display: none !important;
  }

  

.card-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1100px;
  
}
  margin-top: 10px;



  



.card {
  flex: 1 1 160px;
  max-width: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 70px;
  text-align: center;
  background-color: #1f1b3a;
  border-radius: 8px;
  color: white;
  padding: 8px;
}





  .card-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    width: 90%;
    margin: 1rem auto 0;
    flex-wrap: wrap;
  }

  .card-buttons button {
    flex: 1 1 45%;
    max-width: 200px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: bold;
  }

  .certification-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }

  .certification-section img {
    max-width: 130px;
    height: auto;
  }

  .payment-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .payment-logos img {
    max-width: 50px;
    height: auto;
  }



/* Pastikan layout horizontal di desktop */


.card-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1100px;
  
}
  margin-top: 10px;



@media screen and (max-width: 420px) {
  
}


@media screen and (max-width: 420px) {
  

.card-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1100px;
  
}



}


@media screen and (max-width: 420px) {
  .certifications {
    margin: 6px 0;
    gap: 16px;
  }

  .certification-section {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    gap: 0.25rem;
  }

  .certification-section img {
    max-width: 100px;
  }
}
