/* Import font untuk kesan lebih mewah */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Open+Sans&display=swap');

/* Reset dasar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Warna dan variabel utama */
:root {
  --primary-color: #2A5CB8;
  --secondary-color: #1C4588;
  --background-color: rgba(14, 31, 68, 0.9);
  --content-bg: rgba(25, 47, 96, 0.9);
  --text-color: #FFFFFF;
  --dark-text: #DDDDDD;
  --button-hover: #1E4A9A;
  --highlight: #FFD700;
}

/* Body style */
body {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  background-size: cover;
  background-blend-mode: overlay;
  color: var(--text-color);
  text-align: center;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* Navbar */
.navbar {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  padding: 12px 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.navbar-brand img {
  max-width: 200px;
  height: auto;
}

.navbar-nav {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-grow: 1;
}

.navbar-nav .nav-item {
  margin: 0 10px;
}

.navbar-nav .nav-item a {
  color: var(--text-color);
  font-weight: bold;
  padding: 10px 15px;
  transition: all 0.3s ease-in-out;
  text-align: center;
}

.navbar-nav .nav-item a:hover {
  background-color: var(--button-hover);
  border-radius: 5px;
}

/* Tombol Burger (Mobile) */
.navbar-toggler {
  border: 2px solid var(--highlight);
  color: var(--highlight);
  background-color: transparent;
  border-radius: 8px;
  padding: 6px 10px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  animation: glowPulse 2s infinite;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='gold' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:hover {
  background-color: var(--button-hover);
  transform: scale(1.05);
  color: #fff;
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
  }
  100% {
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.4);
  }
}

/* Tombol Login & Daftar */
.nav-buttons {
  display: flex;
  gap: 5px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-masuk,
.btn-daftar {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: var(--text-color);
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  min-width: 120px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 2px solid transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1.2;
  height: 70px;
}

.btn-masuk:hover,
.btn-daftar:hover {
  background-color: var(--button-hover);
  transform: scale(1.05);
  border: 2px solid var(--highlight);
}

/* Responsive tombol */
@media (max-width: 768px) {
  .nav-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

/* Kontainer utama */
.container {
  max-width: 900px;
  margin: 30px auto;
  background-color: var(--content-bg);
  padding: 20px;
  border-radius: 10px;
  border: 2px solid var(--highlight);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* Heading */
h2 {
  color: var(--highlight);
  text-align: center;
  margin-bottom: 15px;
  font-size: 32px;
  font-family: 'Playfair Display', serif;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

/* Tombol collapsible */
.collapsible {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: var(--text-color);
  cursor: pointer;
  padding: 15px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 18px;
  font-weight: bold;
  border-radius: 5px;
  margin-bottom: 5px;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.collapsible:hover {
  background-color: var(--button-hover);
  transform: translateY(-2px);
}

/* Konten collapsible */
.content {
  max-height: 0;
  overflow: hidden;
  background-color: var(--background-color);
  transition: max-height 0.6s ease-out, opacity 0.5s ease-in-out;
  opacity: 0;
  padding: 0 15px;
  border-radius: 5px;
  margin-bottom: 10px;
  border: 1px solid var(--highlight);
}

.active + .content {
  max-height: 1000px;
  opacity: 1;
  padding: 15px;
}

/* Daftar isi collapsible */
.acDesc {
  list-style: none;
  padding-left: 15px;
  text-align: center;
  margin-top: 10px;
}

.acDesc li {
  margin-bottom: 10px;
  font-size: 20px;
  color: var(--dark-text);
}

.acDesc li strong {
  color: red;
}

/* Link */
a {
  color: var(--highlight);
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  color: var(--text-color);
  text-decoration: underline;
}

/* WhatsApp Button */
.whatsapp {
  display: block;
  margin: 20px auto;
  transition: transform 0.3s ease;
  max-width: 180px;
}

.whatsapp:hover {
  transform: scale(1.1);
}

/* Footer */
footer {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: var(--text-color);
  text-align: center;
  padding: 15px;
  margin-top: 30px;
  font-size: 24px;
  border-radius: 5px;
  font-family: 'Playfair Display', serif;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}
/* Fixed Footer Style */
.fixed-footer-container {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 99;
  background: #001c3d;
  box-shadow: 0 -2px 10px #00b3ff44;
}

.fixed-footer {
  max-width: 960px;
  margin: auto;
  padding: 8px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fixed-footer a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  text-decoration: none;
  width: 60px;
  transition: all 0.2s ease;
}

.fixed-footer a img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-bottom: 4px;
}

.fixed-footer a.active {
  font-weight: bold;
  color: #00ffff;
}

.fixed-footer a:hover {
  transform: scale(1.05);
  opacity: 0.95;
}

/* Efek animasi icon */
.live-chat-icon img {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.85; }
  100% { transform: scale(1); opacity: 1; }
}

@media screen and (max-width: 600px) {
  .fixed-footer {
    justify-content: space-around;
  }

  .fixed-footer a {
    width: 50px;
    font-size: 10px;
  }

  .fixed-footer a img {
    width: 28px;
    height: 28px;
  }
}
