* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #1e40af;
  --light-blue: #3b82f6;
  --sky-blue: #60a5fa;
  --light-sky: #dbeafe;
  --dark-blue: #1e3a8a;
  --white: #ffffff;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  padding-bottom: 70px;
}

/* Header Styles */
header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  width: 40px;
  height: 40px;
  margin-right: 0.5rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--gray-600);
  font-size: 0.9rem;
}

.header-action:hover {
  background: var(--light-sky);
  border-color: var(--light-blue);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.header-action i {
  font-size: 1.1rem;
}

.language-selector {
  position: relative;
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  display: none;
  min-width: 150px;
  overflow: hidden;
}

.language-dropdown.active {
  display: block;
}

.language-option {
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.language-option:hover {
  background: var(--gray-100);
}

/* Hero Section with Slider */
/* Hero Section with Slider */
.hero {
  position: relative;
  height: 50vh; /* desktop: setengah layar */
  max-height: 200px; /* batasi tinggi maksimum di mobile */
  min-height: 200px; /* bisa diatur sesuai kebutuhan */
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%; /* full height hero */
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center; /* supaya konten slide di tengah */
}

.slide.active {
  opacity: 1;
}

.slide-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.slide-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(30, 64, 175, 0.8),
    rgba(96, 165, 250, 0.6)
  );
  z-index: 2;
}

.slide-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  color: var(--white);
  text-align: center;
}

.slide-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: slideInFromTop 1s ease-out;
}

.slide-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  animation: slideInFromBottom 1s ease-out;
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--white);
  width: 30px;
  border-radius: 6px;
}

/* Hapus navigasi panah */
.slider-nav,
.slider-prev,
.slider-next {
  display: none;
}

/* Quick Menu Section - PERBAIKAN RESPONSIVE */
/* Quick Menu Section */
.quick-menu {
  padding: 2rem 1rem;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: relative;
}

.quick-menu-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Desktop: grid full-width */
@media (min-width: 769px) {
  .quick-menu-wrapper {
    overflow: visible;
  }

  .quick-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }

  .scroll-indicator {
    display: none;
  }
}

/* HP: scrollable horizontal */
@media (max-width: 768px) {
  .quick-menu-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    scroll-behavior: smooth; /* Smooth scroll */
  }

  .quick-menu-grid {
    display: flex;
    gap: 0.5rem;
  }

  .quick-menu-item {
    flex: 0 0 auto;
    min-width: 85px;
    padding: 0.75rem 0.5rem;
  }

  /* Scroll indicator visible on HP */
  .scroll-indicator {
    display: flex;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 10;
    pointer-events: none;
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.7);
    }
    70% {
      box-shadow: 0 0 0 10px rgba(30, 64, 175, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(30, 64, 175, 0);
    }
  }
}

.quick-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--gray-100);
  border-radius: 12px;
  text-decoration: none;
  color: var(--gray-800);
  transition: all 0.3s ease;
}

.quick-menu-item:hover {
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
/* versi aktif untuk HP / klik */
.quick-menu-item.active {
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}
.quick-menu-icon {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: var(--primary-blue);
  transition: all 0.3s ease;
}

.quick-menu-item:hover .quick-menu-icon {
  background: rgb(94, 255, 54);
  color: var(--white);
}

.quick-menu-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

/* Service Theme Section */
.service-theme {
  padding: 4rem 2rem;
  background: var(--gray-100);
}

.service-theme-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--gray-600);
  font-size: 1.125rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--light-blue));
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.service-description {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.service-features i {
  color: var(--light-blue);
  font-size: 0.875rem;
}

/* Products Section */
.products {
  padding: 1rem 2rem;
  background: var(--white);
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid var(--gray-200);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.product-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.product-content {
  padding: 1.5rem;
}

.product-badge {
  display: inline-block;
  background: var(--light-sky);
  color: var(--primary-blue);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.product-interest {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.product-interest-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.product-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.detail-icon {
  width: 20px;
  height: 20px;
  color: var(--light-blue);
}

.product-cta {
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-cta:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.bottom-nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.5rem 0;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: var(--gray-600);
  transition: all 0.3s ease;
  position: relative;
}

.bottom-nav-item.active {
  color: var(--primary-blue);
}

.bottom-nav-item.active::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--primary-blue);
  border-radius: 50%;
}

.bottom-nav-icon {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.bottom-nav-label {
  font-size: 0.75rem;
  font-weight: 500;
}

/*tesss*/
/* ==================== INFO USER ==================== */
.user-info-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 20px;
  max-width: 800px;
  margin: 20px auto;
}

.info-card {
  background-color: #fff;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.info-card h3 {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background-color: #e9ecef;
  border-radius: 5px;
  margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
  }

  .header-right {
    gap: 0.5rem;
  }

  .header-action span {
    display: none;
  }

  .header-action {
    padding: 0.5rem;
  }

  .slide-content h1 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  /* Quick Menu Mobile - PERBAIKAN */
  .quick-menu {
    padding: 1.5rem 1rem 1rem;
  }

  .quick-menu-item {
    min-width: 100px;
    padding: 1rem 0.75rem;
  }

  .quick-menu-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .quick-menu-label {
    font-size: 0.8rem;
  }

  .scroll-indicator {
    display: flex;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 400px;
  }

  .slide-content h1 {
    font-size: 1.5rem;
  }

  .quick-menu {
    padding: 1rem 0.5rem 0.5rem;
  }

  .quick-menu-item {
    min-width: 85px;
    padding: 0.75rem 0.5rem;
  }

  .quick-menu-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .quick-menu-label {
    font-size: 0.75rem;
  }
}

/*tesss */

.language-dropdown {
  display: none;
  position: absolute;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
  min-width: 180px;
  z-index: 100;
}

.language-dropdown.show {
  display: block;
}

.language-option {
  padding: 10px 15px;
  cursor: pointer;
  display: flex;
  gap: 8px;
  align-items: center;
}

.language-option:hover {
  background: #f0f0f0;
}
