/* ================================
   GLOBAL BODY
================================ */
body {
  background-color: #0f172a;
  color: #ffffff; /* font putih solid */
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ================================
   GLOBAL SECTION WRAPPER
================================ */
.section {
  padding: 6rem 1rem;
  text-align: center;
  position: relative;
  z-index: 10; /* pastiin teks di atas background blur */
}

@media (min-width: 640px) {
  .section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .section {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ================================
   GLASSMORPHISM STYLE
================================ */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  /* box-shadow: 0 15px 15px -5px rgba(0, 0, 0, 0.9),
    0 5px 7px -3px rgba(0, 0, 0, 0.5); */
  transition: all 0.3s ease;
  position: relative;
  z-index: 0; /* blur tetap di bawah teks */
}

.card {
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10; /* teks selalu di atas */
  color: #ffffff; /* pastiin font tetap putih */
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 20px -5px rgba(0, 0, 0, 0.2),
    0 6px 8px -3px rgba(0, 0, 0, 0.1);
}

/* ================================
   LOGO EFFECT
================================ */
.logo {
  height: 4rem;
  filter: grayscale(100%);
  transition: all 0.3s ease-in-out;
}

.logo:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* ================================
   SWIPER SLIDER
================================ */
.mySwiper {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  overflow: visible;
  padding: 0 60px; /* efek kepotong di sisi kiri-kanan */
  position: relative;
}

.swiper-wrapper {
  align-items: center;
}

.swiper-slide {
  width: 70%; /* ini kuncinya, biar gak full tapi tetap center */
  max-width: 800px;
  transition: all 0.4s ease;
  opacity: 0.5;
  transform: scale(0.9);
}

.swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

.swiper-slide-next,
.swiper-slide-prev {
  opacity: 0.8;
  transform: scale(0.95);
}

.swiper-slide h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  text-align: center;
  line-height: 1.2;
  transition: all 0.3s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.swiper-slide h4:hover {
  color: #00c6ff;
  transform: scale(1.05);
}

/* ================================
   BACKGROUND BLOBS ANIMATION
================================ */
@keyframes morph {
  0%,
  100% {
    border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
    transform: translate(0, 0) scale(1);
  }
  50% {
    border-radius: 40% 60% 70% 30% / 60% 40% 30% 70%;
    transform: translate(-40px, 40px) scale(1.1);
  }
}

.animate-liquid1 {
  animation: morph 16s ease-in-out infinite;
}
.animate-liquid2 {
  animation: morph 20s ease-in-out infinite alternate;
}
.animate-liquid3 {
  animation: morph 24s ease-in-out infinite;
}

/* ================================
   FADE & SLIDE ANIMATIONS
================================ */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-up {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-fade-in {
  animation: fade-in 1s ease-out forwards;
}
.animate-slide-up {
  animation: slide-up 0.8s ease-out forwards;
}

/* ================================
   SCROLLBAR CONTROL
================================ */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ================================
   FAQ ACCORDION
================================ */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  position: relative;
  z-index: 10;
}

.faq-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #ffffff; /* pastiin toggle text putih */
}

.faq-toggle i {
  transition: transform 0.3s ease;
  color: #ffffff; /* ikon juga putih */
}

.faq-content {
  font-size: 0.95rem;
  color: #ffffff; /* ubah dari #e5e7eb ke putih */
  line-height: 1.6;
  margin-top: 0.75rem;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.fade-expanded {
  max-height: 500px;
}

.fade-collapsed {
  max-height: 0;
}
