/* ========================================= */
/* RESET, BASE & CUSTOM SCROLLBAR            */
/* ========================================= */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap");

:root {
  --primary: #2563eb;
  --primary-light: #60a5fa;
  --primary-dark: #1e40af;
  --accent: #8b5cf6;
  --cyan: #06b6d4;
  --bg: #f8fafc;
  --text-dark: #0f172a;
  --text-light: #475569;
  --white: #ffffff;
  --transition-fast: all 0.3s ease;
  --transition-slow: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html,
body {
  overflow-x: hidden;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

::selection {
  background: var(--primary);
  color: white;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: var(--bg);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}
.text-center {
  text-align: center;
}

/* ========================================= */
/* SCROLL REVEAL ANIMATION CLASSES           */
/* ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards ease-out;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================= */
/* BACKGROUND MESH BERPENDAR                 */
/* ========================================= */
.home-main {
  position: relative;
  overflow: hidden;
}
.mesh-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background-color: #f8fafc;
}
.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: floatBlobs 20s infinite alternate ease-in-out;
}
.blob-blue {
  width: 600px;
  height: 600px;
  background: #bfdbfe;
  top: -10%;
  left: -10%;
}
.blob-purple {
  width: 500px;
  height: 500px;
  background: #e9d5ff;
  bottom: 20%;
  right: -5%;
  animation-delay: -5s;
}
.blob-cyan {
  width: 400px;
  height: 400px;
  background: #cffafe;
  top: 40%;
  left: 30%;
  animation-delay: -10s;
}
@keyframes floatBlobs {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(50px, -50px) scale(1.1);
  }
}

/* ========================================= */
/* HERO SECTION TEKS                         */
/* ========================================= */
.hero-modern {
  position: relative;
  padding: 160px 0 120px;
  min-height: 90vh; /* Jarak bawah dikurangi agar tidak kosong */
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-text-content {
  flex: 1.1;
  z-index: 2;
}
.badge-tech {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.1);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-text-content h1 {
  font-size: 3.8rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 25px;
  color: var(--text-dark);
  letter-spacing: -1px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-animated {
  background: linear-gradient(
    to right,
    var(--primary),
    var(--accent),
    #f43f5e,
    var(--primary)
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 4s linear infinite;
}
@keyframes gradientText {
  to {
    background-position: 300% center;
  }
}

.hero-text-content p {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-glow {
  background: linear-gradient(135deg, var(--primary), #4f46e5);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
  transition: var(--transition);
}
.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
}

.btn-outline-tech {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  color: var(--text-dark);
  padding: 15px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}
.btn-outline-tech:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
  background: white;
}

/* ========================================= */
/* HERO VISUAL (CLEAN PORTRAIT)              */
/* ========================================= */
.hero-visual {
  flex: 0.9;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.modern-portrait-container {
  position: relative;
  width: 320px;
  height: 426px;
  margin: 0 auto;
  z-index: 10;
}
.portrait-glow {
  position: absolute;
  inset: -20px;
  background: linear-gradient(135deg, #4facfe, #8b5cf6, #00f2fe);
  filter: blur(40px);
  opacity: 0.5;
  z-index: -1;
  border-radius: 40px;
  animation: pulseGlow 6s infinite alternate;
}
@keyframes pulseGlow {
  0% {
    transform: scale(0.95);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.05);
    opacity: 0.6;
  }
}

.portrait-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 35px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 25px 50px rgba(37, 99, 235, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
  animation: floatMain 6s ease-in-out infinite;
}
.portrait-img-box {
  position: absolute;
  inset: 10px;
  border-radius: 26px;
  overflow: hidden;
  animation: floatMain 6s ease-in-out infinite;
}
.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes floatMain {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.modern-portrait-container:hover .portrait-frame {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 35px 60px rgba(37, 99, 235, 0.2);
}

.badge-clean {
  position: absolute;
  background: #ffffff;
  padding: 8px 24px 8px 8px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  z-index: 15;
  transition: transform 0.3s ease;
}
.badge-clean:hover {
  transform: translateY(-5px) scale(1.05);
}
.badge-clean .icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.95rem;
}
.badge-clean .badge-text {
  font-weight: 700;
  color: #1e293b;
  font-size: 0.95rem;
  letter-spacing: -0.3px;
}

.bg-blue-grad {
  background: var(--primary);
}
.bg-purple-grad {
  background: var(--accent);
}
.badge-info {
  top: 40px;
  left: -50px;
  animation: floatLayer 4s ease-in-out infinite alternate;
}
.badge-uny {
  bottom: 50px;
  right: -50px;
  animation: floatLayer 5s ease-in-out infinite alternate-reverse;
}
@keyframes floatLayer {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-10px);
  }
}

/* ========================================= */
/* SCROLLING BANNER Teks Berjalan            */
/* ========================================= */
.scrolling-banner {
  background: linear-gradient(90deg, #0f172a, #1e40af, #0f172a);
  color: white;
  padding: 15px 0;
  overflow: hidden;
  display: flex;
  white-space: nowrap;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.scrolling-text {
  display: flex;
  animation: scrollText 30s linear infinite;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 1px;
}
.scrolling-text span {
  margin: 0 30px;
  display: inline-flex;
  align-items: center;
}
@keyframes scrollText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ========================================= */
/* STATS WOW EDITION                         */
/* ========================================= */
.stats-wow {
  padding: 60px 0 40px;
  position: relative;
  z-index: 10;
  margin-bottom: 40px;
}
.stats-grid-wow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.stat-card-wow {
  position: relative;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 24px;
  padding: 35px 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  z-index: 1;
}
.stat-card-wow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 3px;
  background: linear-gradient(
    135deg,
    transparent,
    transparent,
    var(--primary),
    var(--accent),
    var(--cyan)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: 0.5s ease-in-out;
  z-index: 5;
  pointer-events: none;
}
.stat-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.08) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: 0.6s ease;
  z-index: -1;
  pointer-events: none;
}
.stat-card-wow:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(37, 99, 235, 0.12);
  background: rgba(255, 255, 255, 0.95);
}
.stat-card-wow:hover::before,
.stat-card-wow:hover .stat-glow {
  opacity: 1;
}

.active-stat {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08);
  border: 2px solid white;
}
.active-stat:hover {
  transform: scale(1.05) translateY(-10px);
}

.stat-icon-wow {
  width: 70px;
  height: 70px;
  background: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex-shrink: 0;
}
.stat-card-wow:hover .stat-icon-wow {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.2);
}
.stat-info-wow h4 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 4px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.stat-info-wow p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.4;
  font-weight: 500;
}

/* ========================================= */
/* ZIG-ZAG ARTEFAK SECTION                   */
/* ========================================= */
.zigzag-section {
  padding: 40px 0 60px;
  position: relative;
  z-index: 5;
}
.section-title-modern {
  text-align: center;
  margin-bottom: 60px;
}
.section-title-modern h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--text-dark);
}
.section-title-modern p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.zigzag-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}
.zigzag-row.reverse {
  flex-direction: row-reverse;
}
.zigzag-content {
  flex: 1;
}
.zz-number {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(37, 99, 235, 0.15);
  line-height: 1;
  margin-bottom: 10px;
}
.zigzag-content h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}
.zigzag-content p {
  color: var(--text-light);
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.btn-text {
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  text-decoration: none;
  transition:
    gap 0.3s ease,
    color 0.3s ease;
}
.btn-text:hover {
  gap: 15px;
  color: var(--primary-dark);
}

.zigzag-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ========================================= */
/* ANIMASI FLOAT (MELAYANG)                  */
/* ========================================= */
.float-visual-1 {
  animation: floatBox 6s ease-in-out infinite;
}
.float-visual-2 {
  animation: floatBox 6s ease-in-out infinite 1.5s;
}
.float-visual-3 {
  animation: floatBox 6s ease-in-out infinite 3s;
}

@keyframes floatBox {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* ========================================= */
/* 3D FLIP CARD SETUP                        */
/* ========================================= */

/* Wrapper untuk menentukan prespektif 3D */
.visual-wrapper {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4/3;
  perspective: 1500px; /* Memberikan kedalaman 3D */
  position: relative;
  z-index: 2;
}

/* Card Container yang akan berputar */
.visual-card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 30px;
}

/* Styling Face (Depan & Belakang) */
.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden; /* Sembunyikan sisi belakang saat berputar */
  -webkit-backface-visibility: hidden;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Sisi Depan */
.card-front {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  border: 2px solid rgba(37, 99, 235, 0.2);
}

.card-front.card-accent {
  background: var(--accent);
  border: none;
  box-shadow: 0 20px 50px rgba(139, 92, 246, 0.3);
}

/* Sisi Belakang */
.card-back {
  background: var(--primary);
  transform: rotateY(180deg); /* Membalik sisi belakang di awal */
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.3);
}

/* Arah putaran sisi belakang untuk zigzag reverse */
.zigzag-row.reverse .card-back {
  transform: rotateY(-180deg);
}

.card-back.back-accent {
  background: #1e293b; /* Warna gelap agar kontras dengan accent */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Teks di Sisi Belakang */
.back-text {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 15px;
  letter-spacing: 1px;
}

/* Ikon Utama */
.big-icon {
  font-size: 5rem;
  color: var(--primary);
  position: relative;
  z-index: 1;
}
.big-icon-light {
  font-size: 5rem;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

/* Latar Belakang Cahaya Di dalam Visual Card (Depan) */
.card-glow-bg {
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--primary-light);
  filter: blur(50px);
  opacity: 0.3;
  border-radius: 50%;
  z-index: 0;
  animation: pulseGlow 4s infinite alternate;
}
.bg-accent-glow {
  background: #ffffff;
  opacity: 0.2;
}

/* Dekorasi Luar (Tidak ikut berputar) */
.card-decor {
  position: absolute;
  border-radius: 20px;
  z-index: -1;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.decor-1 {
  width: 100%;
  height: 100%;
  background: var(--primary-light);
  top: 20px;
  right: -20px;
  opacity: 0.3;
}
.decor-2 {
  width: 100%;
  height: 100%;
  border: 3px dashed var(--accent);
  top: -20px;
  left: -20px;
}
.decor-3 {
  width: 80%;
  height: 120%;
  background: rgba(37, 99, 235, 0.15);
  top: -10%;
  right: -10%;
  border-radius: 50%;
  filter: blur(30px);
}

/* ========================================= */
/* EFEK HOVER: FLIP TRIGGER                  */
/* ========================================= */

/* Hentikan efek float saat di-hover dan putar kartu 180 derajat */
.visual-wrapper:hover {
  animation-play-state: paused;
}
.visual-wrapper:hover .visual-card {
  transform: rotateY(180deg);
}

/* Untuk card yang reverse, putar ke arah berlawanan agar lebih dinamis */
.zigzag-row.reverse .visual-wrapper:hover .visual-card {
  transform: rotateY(-180deg);
}

/* Berikan efek pergerakan pada dekorasi di belakangnya saat card berputar */
.visual-wrapper:hover .decor-1 {
  top: 35px;
  right: -35px;
  transform: scale(1.05);
}
.visual-wrapper:hover .decor-2 {
  top: -35px;
  left: -35px;
  transform: scale(1.05);
}
.visual-wrapper:hover .decor-3 {
  top: -15%;
  right: -15%;
  transform: scale(1.05);
}
/* ========================================= */
/* EXPANDING GALERI (FIX HOVER & MOBILE)     */
/* ========================================= */
.expanding-gallery-section {
  padding: 20px 0 80px;
}
.expanding-gallery {
  display: flex;
  width: 100%;
  height: 450px;
  gap: 15px;
  margin-bottom: 40px;
}

.panel {
  flex: 1; /* Diubah jadi 1 agar rata */
  background-size: cover;
  background-position: center;
  border-radius: 25px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
/* Hanya gunakan class active dari JS agar tidak bentrok */
.panel.active {
  flex: 4;
}

.panel::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
}

.panel-content {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease 0.2s;
  white-space: nowrap;
}
.panel.active .panel-content {
  opacity: 1;
  transform: translateY(0);
}

.panel-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 1.3rem;
  margin-bottom: 15px;
}
.panel-content h3 {
  font-size: 1.6rem;
  margin-bottom: 5px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.panel-content p {
  font-size: 1rem;
  color: #cbd5e1;
}

.galeri-footer {
  text-align: center;
}

/* ========================================= */
/* WOW NAVBAR & FOOTER KAPSUL                */
/* ========================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 85px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.navbar.scrolled {
  top: 20px;
  left: 5%;
  width: 90%;
  height: 75px;
  padding: 0 4%;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 1);
}
.brand-name {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-dark);
}
.brand-name .highlight {
  color: var(--primary);
}
.logo-img {
  width: 35px;
  margin-right: 12px;
  transition: 0.3s;
}
.navbar.scrolled .logo-img {
  width: 30px;
}
.nav-left {
  display: flex;
  align-items: center;
}
.nav-right {
  display: flex;
  gap: 5px;
  align-items: center;
}

.nav-link,
.dropbtn {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: 30px;
  transition: 0.3s;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}
.nav-link:hover,
.nav-link.active,
.dropdown:hover .dropbtn {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
}

.dropdown {
  position: relative;
}
.dropdown-content {
  position: absolute;
  top: 130%;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  min-width: 220px;
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid white;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
  top: 115%;
}
.dropdown-content a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px;
  text-decoration: none;
  color: var(--text-dark);
  border-radius: 12px;
  transition: 0.2s;
  font-weight: 600;
  font-size: 0.9rem;
}
.dropdown-content a i {
  color: var(--primary);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}
.dropdown-content a:hover {
  background: #f1f5f9;
  color: var(--primary);
  transform: translateX(5px);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: 0.3s;
}

.epic-footer {
  position: relative;
  background: #020617;
  color: white;
  padding: 100px 0 30px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  opacity: 0.3;
  pointer-events: none;
}
.f-orb-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -200px;
  left: -100px;
}
.f-orb-2 {
  width: 500px;
  height: 500px;
  background: #7c3aed;
  bottom: -200px;
  right: -200px;
}

.footer-container {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-cta {
  text-align: center;
  margin-bottom: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-cta h2 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 15px;
}
.footer-cta span {
  background: linear-gradient(90deg, #60a5fa, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-cta p {
  font-size: 1.2rem;
  color: #94a3b8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand .footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 15px;
}
.footer-brand .footer-logo span {
  color: #60a5fa;
}
.footer-brand .footer-desc {
  color: #94a3b8;
  max-width: 350px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.social-neon {
  display: flex;
  gap: 15px;
}
.neon-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  text-decoration: none;
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.neon-btn:hover {
  background: var(--primary);
  box-shadow: 0 0 20px var(--primary);
  transform: translateY(-5px);
  border-color: var(--primary);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: white;
  font-weight: 700;
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 15px;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.footer-links a i {
  font-size: 0.8rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: 0.3s;
  color: #60a5fa;
}
.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}
.footer-links a:hover i {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact p {
  color: #94a3b8;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-contact p i {
  color: #60a5fa;
}
.map-glass {
  width: 100%;
  height: 120px;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.footer-copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #64748b;
  font-size: 0.9rem;
}

/* ========================================= */
/* RESPONSIVE & MOBILE (FIXED LAYOUTS)       */
/* ========================================= */
@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    margin-top: 30px;
    gap: 40px;
  }
  .hero-text-content h1 {
    font-size: 3rem;
  }
  .hero-text-content p {
    margin: 0 auto 40px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid-wow {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .active-stat {
    transform: scale(1);
  }
  .active-stat:hover {
    transform: translateY(-10px);
  }

  .zigzag-row,
  .zigzag-row.reverse {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    margin-bottom: 60px;
  }
  .zigzag-visual {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-modern {
    min-height: auto;
    padding: 140px 0 50px;
  }
  .hero-container {
    flex-direction: column-reverse;
    gap: 50px;
  }
  .hero-text-content h1 {
    font-size: 2.5rem;
  }

  .modern-portrait-container {
    width: 260px;
    height: 346px;
  }
  .badge-info {
    top: 20px;
    left: -20px;
  }
  .badge-uny {
    bottom: 20px;
    right: -20px;
  }

  /* Navbar Mobile */
  .navbar.scrolled {
    width: 96%;
    left: 2%;
    top: 10px;
    padding: 0 5%;
  }
  .hamburger {
    display: flex;
    z-index: 1100;
  }
  .nav-right {
    position: absolute;
    top: 95px;
    left: -120%;
    width: 100%;
    background: #ffffff !important;
    flex-direction: column;
    padding: 20px 0;
    transition: 0.4s ease-in-out;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    align-items: center;
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
  }
  .navbar.scrolled .nav-right {
    top: 80px;
  }
  .nav-right.active {
    left: 0;
    opacity: 1;
    visibility: visible;
  }
  .nav-link,
  .dropbtn {
    width: 90%;
    justify-content: center;
    margin: 5px 0;
    text-align: center;
  }

  .dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .dropdown-content {
    position: relative;
    top: 0;
    left: 0;
    transform: none !important;
    width: 90%;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    display: none;
    margin-top: 5px;
    padding: 10px;
    opacity: 1;
    visibility: visible;
  }
  .dropdown:hover .dropdown-content,
  .dropdown:focus-within .dropdown-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: none !important;
  }
  .dropdown-content a {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 10px;
  }

  /* FIX: Artefak Mobile */
  .visual-card {
    max-width: 100%;
    aspect-ratio: auto;
    height: 260px;
  }
  .zz-number {
    font-size: 3rem;
  }

  /* FIX: Expanding Gallery di HP agar rapi dan tidak bentrok animasi */
  .expanding-gallery {
    flex-direction: column;
    height: 600px;
    gap: 10px;
  }
  .panel {
    flex: 1;
    border-radius: 15px;
    width: 100%;
    transition: flex 0.5s ease;
  }
  .panel.active {
    flex: 4;
  }
  .panel-content {
    white-space: normal;
    bottom: 15px;
    left: 15px;
    right: 15px;
  }
  .panel-content h3 {
    font-size: 1.2rem;
  }
  .panel-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
  }
  .panel-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    margin-bottom: 5px;
  }

  .footer-cta h2 {
    font-size: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .footer-brand .footer-desc {
    margin: 0 auto 30px;
  }
  .social-neon,
  .footer-links a,
  .footer-contact p {
    justify-content: center;
  }
}
