/* HOME HERO */
.home-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(
    135deg,
    #2563eb,
    #7c3aed,
    #06b6d4
  );
  background-size: 300% 300%;
  animation: gradientMove 8s ease infinite;
}

.hero-content {
  text-align: center;
  color: white;
  animation: fadeUp 1.2s ease forwards;
}

.hero-content h1 {
  font-size: 64px;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 40px;
}

.hero-btn {
  display: inline-block;
  padding: 14px 38px;
  border-radius: 30px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  color: white;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: white;
  color: #2563eb;
  box-shadow: 0 0 30px rgba(255,255,255,0.6);
}


/* NAVBAR */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  max-width: 1100px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 14px 28px;
  border-radius: 24px;

  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);

  box-shadow: 0 10px 40px rgba(0,0,0,0.18);
  z-index: 1000;
}

/* CANVAS PARTICLE */
#homeParticles {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* KONTEN DI ATAS PARTIKEL */
.hero-content {
  position: relative;
  z-index: 2;
}

/* ANIMASI */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    120deg,
    #2563eb,
    #7c3aed,
    #06b6d4,
    #22c55e
  );
  background-size: 300% 300%;
  animation: gradientMove 6s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.loading-box {
  text-align: center;
  color: white;
}

.loading-box h1 {
  font-size: 48px;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

.loading-bar {
  width: 320px;
  height: 8px;
  background: rgba(255,255,255,0.25);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
}

.loading-progress {
  width: 0%;
  height: 100%;
  background: white;
  border-radius: 10px;
  transition: width 0.2s ease;
}

.loading-percent {
  margin-top: 14px;
  font-size: 14px;
  opacity: 1s;
}


/* LOGO */
.nav-logo {
  font-weight: 700;
  letter-spacing: 1px;
  color: white;
}

/* LINKS */
.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  opacity: 0.85;
  transition: all 0.3s ease;
}

/* HOVER GLOW */
.nav-links a:hover {
  opacity: 1;
  text-shadow: 0 0 12px rgba(255,255,255,0.8);
}

/* ACTIVE LINK */
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 2px;
}

/* MATERI */

.materi-page {
  min-height: 100vh;
  padding: 160px 30px;

  background: linear-gradient(
    135deg,
    #2563eb,
    #7c3aed,
    #06b6d4
  );
  background-size: 300% 300%;
  animation: gradientMove 8s ease infinite;
}


.materi-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 80px;
  color: #fff;
}

/* ACCORDION */
.accordion {
  max-width: 900px;
  margin: auto;
}

.accordion-item {
  background: white;
  border-radius: 22px;
  margin-bottom: 26px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 26px 30px;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
}

.accordion-header span {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.5s ease;
}

.accordion-body p,
.accordion-body ul {
  padding: 20px 0 30px;
  opacity: 0.85;
}

.accordion-header {
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.materi-progress {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: right;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  box-shadow: 0 0 15px rgba(124,58,237,0.6);
  transition: width 0.4s ease;
}

#progressText {
  font-size: 13px;
  opacity: 0.8;
}

/* ABOUT PAGE */
.about-page {
  min-height: 100vh;
  padding: 160px 40px;

  background: linear-gradient(
    135deg,
    #2563eb,
    #7c3aed,
    #06b6d4
  );
  background-size: 300% 300%;
  animation: gradientMove 8s ease infinite;

  text-align: center;
}

.about-title {
  font-size: 42px;
  margin-bottom: 80px;
  color: white;
}

/* TEAM GRID */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: auto;
}

.team-card {
  background: rgba(255,255,255,0.95);
  border-radius: 28px;
  padding: 40px 30px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-card:hover {
  transform: translateY(-14px);
  box-shadow: 0 45px 80px rgba(0,0,0,0.18);
}

/* AVATAR */
.avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.team-card span {
  font-size: 14px;
  opacity: 0.75;
}

/* TEAM QUOTE */
.team-card .quote {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.5;
}

/* SOCIAL MEDIA */
.team-social {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.team-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  font-size: 18px;

  text-decoration: none;
  transition: all 0.35s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.team-social a:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 18px 40px rgba(124,58,237,0.6);
}

/* CENTER CARD (JIKA JUMLAH GANJIL) */
.team-center {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 340px;
}


