body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

nav {
  background: #4f46e5;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

main {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
}

.container {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 3rem 4rem;
  max-width: 600px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

a.btn-register,
button.btn-register {
  background: #ffba08;
  color: #1a1a1a;
  font-weight: 600;
  padding: 0.75rem 2.5rem;
  border-radius: 50px;
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(255, 186, 8, 0.6);
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

a.btn-register:hover,
button.btn-register:hover {
  background: #fcbf49;
  transform: scale(1.05);
}

.login-modal {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
  transition: right 0.5s ease;
  z-index: 9999;
  padding: 50px 35px;
  overflow-y: auto;
  border-radius: 20px 0 0 20px;
}

.login-modal.show {
  right: 0;
}

.login-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
}

.login-box h2 {
  margin-bottom: 25px;
  font-weight: 900;
  font-size: 2.8rem;
  color: transparent;
  text-align: center;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #ffba08, #fcbf49, #ffba08);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 10px rgba(255, 186, 8, 0.7), 0 0 20px rgba(252, 191, 73, 0.5);
  animation: shine 3s linear infinite;
  user-select: none;
}

@keyframes shine {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}



.neon-text {
  display: flex;
  justify-content: center;
  font-weight: 900;
  font-size: 3rem;
  font-family: 'Poppins', sans-serif;
  color: #ffba08;
  user-select: none;
  margin: 0;
}

.neon-text span {
  position: relative;
  margin: 0 2px;
  color: #ffba08;
  text-shadow: 
    0 0 5px #ffba08,
    0 0 10px #ffba08;
  animation: neonGlow 1.5s ease-in-out infinite;
  animation-fill-mode: both;
}

@keyframes neonGlow {
  0%, 80%, 100% {
    text-shadow:
      0 0 5px #ffba08,
      0 0 10px #ffba08,
      0 0 20px transparent;
    color: #ffba08;
  }
  40% {
    text-shadow:
      0 0 10px #fff,
      0 0 20px #fff,
      0 0 30px #fff,
      0 0 40px #ffba08,
      0 0 50px #ffba08;
    color: #fff;
  }
}

.neon-text:nth-of-type(1) span:nth-child(1) { animation-delay: 0s; }
.neon-text:nth-of-type(1) span:nth-child(2) { animation-delay: 0.1s; }
.neon-text:nth-of-type(1) span:nth-child(3) { animation-delay: 0.2s; }
.neon-text:nth-of-type(1) span:nth-child(4) { animation-delay: 0.3s; }
.neon-text:nth-of-type(1) span:nth-child(5) { animation-delay: 0.4s; }
.neon-text:nth-of-type(1) span:nth-child(6) { animation-delay: 0.5s; }

.neon-text:nth-of-type(2) span:nth-child(1) { animation-delay: 0.6s; }
.neon-text:nth-of-type(2) span:nth-child(2) { animation-delay: 0.7s; }
.neon-text:nth-of-type(2) span:nth-child(3) { animation-delay: 0.8s; }
.neon-text:nth-of-type(2) span:nth-child(4) { animation-delay: 0.9s; }
.neon-text:nth-of-type(2) span:nth-child(5) { animation-delay: 1.0s; }
.neon-text:nth-of-type(2) span:nth-child(6) { animation-delay: 1.1s; }
.neon-text:nth-of-type(2) span:nth-child(7) { animation-delay: 1.2s; }
.neon-text:nth-of-type(2) span:nth-child(8) { animation-delay: 1.3s; }
.neon-text:nth-of-type(2) span:nth-child(9) { animation-delay: 1.4s; }
.neon-text:nth-of-type(2) span:nth-child(10) { animation-delay: 1.5s; }
.neon-text:nth-of-type(2) span:nth-child(11) { animation-delay: 1.6s; }
.neon-text:nth-of-type(2) span:nth-child(12) { animation-delay: 1.7s; }
.neon-text:nth-of-type(2) span:nth-child(13) { animation-delay: 1.8s; }

.neon-text {
  margin: 0;
  line-height: 1.1; 
}

h2.neon-text + h2.neon-text {
  margin-top: 6px; 
}



.login-box input {
  width: 100%;
  padding: 14px 18px;
  margin: 12px 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  outline: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.login-box input::placeholder {
  color: #ccc;
}

.login-box input:focus {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffba08;
}

.login-box button {
  padding: 14px;
  background-color: #ffba08;
  color: #1a1a1a;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  font-size: 17px;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.3s ease;
  margin-top: 20px;
  box-shadow: 0 6px 18px rgba(255, 186, 8, 0.5);
}

.login-box button:hover {
  background-color: #fcbf49;
  transform: translateY(-2px) scale(1.01);
}

.login-box p {
  margin-top: 25px;
  font-size: 14px;
  text-align: center;
  color: #eee;
}

.login-box p a {
  color: #ffba08;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.login-box p a:hover {
  color: #ffd45f;
}

.close-btn {
  background: transparent;
  border: none;
  font-size: 28px;
  align-self: flex-end;
  cursor: pointer;
  color: #ffffff;
  margin-bottom: 15px;
  transition: color 0.2s ease;
}

.close-btn:hover {
  color: #ffba08;
}

body.modal-open::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.45);
  z-index: 9998;
}

.register-btn {
  display: inline-block;
  text-align: center;
  background: linear-gradient(135deg, #ffba08, #fcbf49);
  color: #1a1a1a;
  font-weight: 600;
  border-radius: 30px;
  padding: 0.8rem 1.6rem;
  width: auto;
  max-width: 220px;
  min-width: 130px;
  font-size: 1rem;
  box-shadow: 0 5px 18px rgba(255, 186, 8, 0.6);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.register-btn:hover {
  background-color: #ffca2c;
  transform: translateY(-1px);
}


section.paket-course {
  padding: 1rem 1rem;
  max-width: 1280px;
  margin: auto;
  font-family: 'Segoe UI', sans-serif;
  color: white;
}

section.paket-course h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 3rem;
  color: #ffcc00;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

section.paket-course .course-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

section.paket-course .course-card {
  width: 400px;
  background: #1e1e1e;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  max-height: 450px;
}

section.paket-course .course-card:hover {
  transform: translateY(-5px);
}

section.paket-course .course-image-container {
  position: relative;
}

section.paket-course .course-image-container img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

section.paket-course .detail-link {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ffcc00;
  color: #000;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

section.paket-course .course-content {
  padding: 1rem;
  flex: 1;
}

section.paket-course .course-title {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.6rem;
}

section.paket-course .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

section.paket-course .tag {
  background: #333;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
}

section.paket-course .tag.price {
  background: #ffc107;
  color: #000;
  font-size: 0.8rem;
  margin-left: auto;
}

section.paket-course .summary {
  font-size: 0.9rem;
  color: #e0e0e0;
  line-height: 1.4;
  min-height: 50px;
  margin-bottom: 0;
}

section.paket-course .course-footer {
  padding: 0.8rem;
  background: #111;
  text-align: center;
}

section.paket-course .btn-follow,
section.paket-course .btn-register {
  background: #ffcc00;
  color: #000;
  border-radius: 30px;
  padding: 0.5rem 1.2rem;
  font-weight: bold;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}

section.paket-course .btn-follow:hover,
section.paket-course .btn-register:hover {
  background: #ffd700;
}

.section-divider {
  position: relative;
  width: 100%;
  height: 100px;
  background: linear-gradient(135deg, #2575fc, #6a11cb);
  clip-path: polygon(
    0 0,
    100% 0,
    100% 60%,
    85% 55%,
    70% 75%,
    55% 60%,
    40% 80%,
    25% 65%,
    10% 85%,
    0 70%
  );
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(37, 117, 252, 0.4);
  z-index: 10;
}

.section-divider::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(270deg, #2575fc, #6a11cb, #00c6ff, #6a11cb);
  background-size: 400% 400%;
  animation: gradientFlow 12s ease infinite;
  opacity: 0.75;
  clip-path: inherit;
  z-index: -1;
  filter: brightness(1.1);
  border-radius: 0 0 20% 0 / 0 0 60% 0;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.section-divider:hover {
  box-shadow: 0 15px 40px rgba(37, 117, 252, 0.7);
  transform: scale(1.0);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

@media (max-width: 600px) {
  .section-divider {
    height: 80px;
    clip-path: polygon(
      0 0,
      100% 0,
      100% 55%,
      85% 50%,
      70% 65%,
      55% 50%,
      40% 65%,
      25% 55%,
      10% 70%,
      0 60%
    );
  }
}

.hero {
  position: relative;
  height: 80vh; 
  color: white;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background-image: url('bgori2.png');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0); 
  z-index: 0; 
}

.hero .container {
  position: relative;
  z-index: 1; 
}

.btn-register {
  display: inline-block;
  padding: 12px 30px;
  background: #6a11cb;
  color: white;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-register:hover {
  background: #2575fc;
}







