/* styles.css */

body {
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  /* Mencegah horizontal scrollbar saat animasi */
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  background: #ffffff;
  color: #333;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  color: #007bff;
  font-size: 1.5em;
  font-weight: bold;
  text-decoration: none;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.navbar .nav-links li {
  margin-left: 20px;
}

.navbar .nav-links a {
  color: #555;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar .nav-links a:hover {
  color: #007bff;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

/* Hero Slider */
.hero-slider {
  width: 100%;
  height: 90vh;
  position: relative;
}

.hero-slider .swiper-slide {
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.hero-slider .swiper-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Overlay gelap untuk keterbacaan teks */
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3em;
  margin-bottom: 10px;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.3em;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  margin: 10px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: #007bff;
  color: white;
}

.btn-primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #ffffff;
  color: #007bff;
  border: 2px solid #007bff;
}

.btn-secondary:hover {
  background-color: #007bff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Swiper Navigation & Pagination for Hero */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
  color: #fff;
  transform: scale(0.8);
}

.hero-slider .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.7);
  width: 12px;
  height: 12px;
}

.hero-slider .swiper-pagination-bullet-active {
  background: #fff;
}

section {
  padding: 60px 20px;
}

h2 {
  text-align: center;
  font-size: 2.2em;
  margin-bottom: 40px;
  color: #333;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-item {
  background: #fff;
  padding: 30px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feature-item i {
  font-size: 2.5em;
  color: #007bff;
  margin-bottom: 15px;
}

.feature-item h3 {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 1em;
  color: #666;
}

.feature-hidden,
.package-feature-hidden {
  display: none;
}

.features-more-btn-container {
  text-align: center;
  margin-top: 30px;
}

/* Client Logos Section */
.client-logos {
  background-color: #f4f6f9;
  padding: 40px 20px;
  text-align: center;
}

.client-logos h3 {
  margin-bottom: 30px;
  color: #555;
  font-weight: 500;
  font-size: 1.4em;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
}

.logo-container img {
  max-height: 50px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.logo-container img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Gallery Section */
.gallery-section {
  background-color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item a:hover img {
  transform: scale(1.1);
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: center;
}

.pricing-card {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card h3 {
  font-size: 1.6em;
  color: #007bff;
}

.pricing-card .price {
  font-size: 2.5em;
  font-weight: bold;
  margin: 20px 0;
}

.pricing-card .price span {
  font-size: 0.5em;
  font-weight: normal;
  color: #777;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px 0;
  text-align: left;
}

.pricing-card ul li {
  margin-bottom: 10px;
  color: #555;
}

.pricing-card ul li i {
  margin-right: 10px;
}

.pricing-card ul li .fa-check {
  color: #28a745;
}

.pricing-card ul li .fa-times {
  color: #dc3545;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
  width: 50%;
  margin-left: 0;
  margin-right: 0;
}

/* Recommended Card Styling */
.pricing-card.recommended {
  transform: scale(1.05);
  border-color: #007bff;
}

.pricing .recommended {
  font-weight: bold;
  color: #007bff;
}

.pricing-card .badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #007bff;
  color: #fff;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.9em;
  font-weight: bold;
}

/* FAQ Section */
.faq-section {
  background-color: #fff;
}

.faq-container {
  max-width: 800px;
  margin: auto;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #333;
}

.faq-question:hover {
  color: #007bff;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer p {
  padding: 0 10px 20px 10px;
  margin: 0;
  color: #555;
  line-height: 1.7;
}


/* Testimoni Section */
.testimoni blockquote {
  background: #fff;
  padding: 20px;
  margin: 20px 0;
  border-left: 5px solid #007bff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-radius: 5px;
  font-style: italic;
  color: #555;
}

.testimoni footer {
  background: none;
  color: #333;
  text-align: right;
  padding: 10px 0 0 0;
  font-style: normal;
  font-weight: bold;
}

.contact p {
  font-size: 1.1em;
  margin: 10px 0;
}

.contact {
  text-align: center;
}

footer {
  background: #007bff;
  color: white;
  text-align: center;
  padding: 20px;
}

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

/* Swiper Pagination */
.swiper-pagination-bullet-active {
  background: #007bff !important;
}

/* Scroll to Top Button */
#scrollTopBtn {
  display: none;
  /* Sembunyikan secara default */
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #007bff;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
  font-size: 18px;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}

/* =================
   Target Audience Section - Desain Kartu 3D dengan Efek Kilau
   ================= */
.target-audience {
  padding: 80px 0;
  background-color: #f0f4f8;
  /* Warna latar yang lebih sejuk */
  text-align: center;
}

.target-audience .section-subtitle {
  max-width: 700px;
  margin: 0 auto 60px auto;
  color: #5a6a7b;
  font-size: 1.1rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  perspective: 1500px;
  /* Perspektif 3D yang lebih kuat */
}

.audience-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 87, 179, 0.1);
  position: relative;
  /* Diperlukan untuk pseudo-element (efek kilau) */
  overflow: hidden;
  /* Sembunyikan kilau di luar kartu */
  transform-style: preserve-3d;
  /* Penting untuk efek 3D pada child */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.audience-card:hover {
  transform: translateY(-15px) rotateX(10deg) rotateY(5deg) scale(1.05);
  box-shadow: 0 25px 50px rgba(0, 87, 179, 0.2);
}

.audience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  /* Mulai dari luar layar kiri */
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.audience-card:hover::before {
  left: 120%;
  /* Pindahkan ke luar layar kanan */
}

.audience-icon-wrapper {
  transform: translateZ(40px);
  /* Membuat ikon "maju" dalam ruang 3D */
}

.audience-card h3 {
  transform: translateZ(30px);
  /* Membuat judul "maju" */
}

.audience-card p {
  transform: translateZ(20px);
  /* Membuat teks "maju" */
}

.audience-card i {
  font-size: 2.5em;
  color: #007bff;
  margin-bottom: 15px;
}

#scrollTopBtn:hover {
  background-color: #0056b3;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .navbar .nav-links {
    display: none;
    /* Sembunyikan nav-links secara default di mobile */
  }

  .nav-links {
    position: absolute;
    top: 70px;
    /* Tinggi navbar */
    left: 0;
    background: #fff;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
    /* Tampilkan saat aktif */
  }

  .nav-links li {
    margin: 15px 0;
    margin-left: 0;
  }

  .hamburger {
    display: block;
    /* Tampilkan ikon hamburger */
  }

  .hamburger.active i:before {
    content: '\f00d';
    /* Ganti ikon menjadi 'X' (times) */
  }

  .hero-slider {
    height: 100vh;
    /* Penuhi layar di mobile */
  }

  .hero-content h1 {
    font-size: 2.2em;
  }

  .hero-content p {
    font-size: 1.1em;
  }

  section {
    padding: 40px 20px;
  }

  h2 {
    font-size: 1.8em;
  }

  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    /* Buat menjadi 1 kolom */
  }

  .pricing-card.recommended {
    transform: scale(1);
    /* Hapus efek zoom di mobile */
  }

  #scrollTopBtn {
    bottom: 15px;
    right: 15px;
  }
}