:root {
  --primary: #4a144b;
  /* Deep Mangosteen Purple */
  --primary-dark: #000000;
  --secondary: #5da642;
  /* Fresh Leaf Green */
  --secondary-dark: #45822e;
  --accent: #f4d03f;
  /* Subtle Golden Touch */
  --text-dark: #fdfdfd;
  --text-light: #1a1a1a;
  --bg-light: #161616;
  --bg-white: #0a0a0a;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.8);
  --transition: all 0.3s ease;
  --font-main: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: #0a0a0a;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.hero-subtitle {
  font-family: var(--font-display);
}

img {
  max-width: 100%;
  display: block;
  /* Mencegah layout shift saat gambar dimuat */
  height: auto;
}

/* ====================================================
   PERFORMANCE OPTIMIZATIONS
   ==================================================== */

/* GPU acceleration hanya pada elemen animasi */
.slide,
.visual-slide,
.step-icon-container,

/* Hapus will-change setelah animasi selesai (dihandle JS) */
.img-loaded {
  will-change: auto;
}

/* Render hanya elemen yang visible (hemat CPU/GPU) */
#export-services,
#gallery,
#benefits,
#order {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

/* Gambar lazy tetap smooth saat muncul */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}
img[loading="lazy"].img-loaded,
img[loading="lazy"][src] {
  opacity: 1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Utils */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.section {
  padding: 5rem 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.bg-dark {
  background-color: var(--bg-white);
  color: var(--text-light);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--secondary);
  color: white;
  box-shadow: 0 4px 14px rgba(93, 166, 66, 0.4);
}

.btn-primary:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background-color: #ffffff;
  color: #000000;
}

.btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: white;
}

.btn-link {
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-link:hover {
  transform: translateX(5px);
}

.btn-primary-sm {
  background-color: var(--secondary);
  color: white;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
}

.btn-primary-sm:hover {
  background-color: var(--secondary-dark);
}

.action-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  /* Handle mobile wrapping */
}

/* Header */
/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  /* Combine dark background with white gradient (30% to 0%) */
  background: black;
  backdrop-filter: blur(10px);
  padding: 0.5rem 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: none;
  background-image: linear-gradient(to right, var(--bg-light), var(--bg-white));
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 4px;
}


header .logo,
header .nav-links a,
header .hamburger span {
  color: #ffffff;
}

header .hamburger span {
  background-color: #ffffff;
}

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

.logo {
  display: flex;
  align-items: center;
  /* Removed local gradient */
}

.logo img {
  height: 80px;
  /* Full header height */
  width: auto;
  object-fit: contain;
}


.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--accent);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--bg-white);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 999;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-nav-links {
  text-align: center;
  gap: 2rem;
  display: flex;
  flex-direction: column;
}

.mobile-nav-links a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.close-menu {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  cursor: pointer;
}

/* Hero */
#hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding-top: 80px;
  /* Header height */
  z-index: 0;
  isolation: isolate;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7), 0 0 30px rgba(0,0,0,0.4);
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
}

.hero-subtitle {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1rem;
  margin-bottom: 1rem;
  display: block;
  opacity: 0.9;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}




/* Trust Banner (Ticker) */
/* Trust Banner (Ticker) */
.trust-banner {
  background-color: transparent;
  /* Remove background */
  padding: 1.5rem 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  /* Lighter border */
  position: relative;
  z-index: 10;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.ticker {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
  /* Slower animation for better readability */
}

@keyframes ticker {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }

  /* Assuming 2 sets cover 100% width, adjust if needed */
}

.ticker-item {
  display: inline-block;
  padding: 0 4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  /* Larger text */
  letter-spacing: 2px;
  color: #ffffff;
  /* Dark text */
  vertical-align: middle;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 15px;
  /* Space between logo and text */
}

.ticker-item img {
  height: 80px;
  /* Adjust size */
  width: auto;
  filter: none;
  opacity: 1;
  transition: all 0.3s ease;
}

.ticker-item img[alt="AHU"] {
  height: 100px;
  /* Visually compensate size */
}

.ticker-item img[alt="Kemendag"] {
  height: 110px;
  /* Increased size for clarity */
}

.ticker-item span {
  font-weight: 600;
  text-shadow: none;
  text-transform: uppercase;
  color: #ffffff !important;
}

.ticker-item:hover img {
  filter: none;
  /* Show color on hover */
  opacity: 1;
  transform: scale(1.1);
}

.ticker-item:hover span {
  color: var(--accent);
}

.line-decor {
  width: 60px;
  height: 4px;
  background-color: var(--secondary);
  margin: 1rem 0 2rem;
}

.line-decor.center {
  margin: 1rem auto 2rem;
}

.stats-grid {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent);
  font-weight: 700;
}


.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #666;
  letter-spacing: 1px;
}

/* Grid System (added for layout fixes) */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  /* Vertically center content */
}

.col-md-6 {
  flex: 1;
  min-width: 300px;
  /* Responsive breakdown */
}

.about-card {
  background: transparent;
  padding: 3rem;
  box-shadow: none;
  border-radius: 20px;
  position: relative;
  border: none;
  transition: transform 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: none;
}

/* Removed the harsh triangle decor for a cleaner look */

.check-list li {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.check-list li:hover {
  background-color: var(--bg-light);
}

.check-list li::before {
  content: '';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: var(--secondary);
  color: white;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: bold;
  flex-shrink: 0;
}

/* About Section Enhancement */
#about {
  background-image: linear-gradient(rgba(20, 10, 20, 0.75), rgba(20, 10, 20, 0.85)), url('assets/indonesian_harvest_bg.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
}

#about h2, #about p {
  color: white;
}

#about .stat-number {
  color: var(--accent);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

#about .stat-label {
  color: #fce7f3;
}

#about .line-decor {
  background-color: var(--accent);
}

/* Ensure inner card stays legible */
#about .about-card {
  color: var(--text-dark);
}

#about .about-card h3 {
  color: var(--accent);
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}


/* Product grid responsive */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; gap: 1.2rem; }
}

.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.product-img {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.1);
}

.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.product-info {
  padding: 2rem;
}

.product-info h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.short-spec {
  color: #666;
  font-size: 0.95rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
  height: 250px;
  /* Fixed height for uniformity */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

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

/* Legal Certificates Full View */
.cert-full-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
  align-items: center;
}

.cert-full-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 900px;
  background: white;
  transition: transform 0.3s ease;
}

.cert-full-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.cert-full-item img {
  width: 100%;
  height: auto;
  display: block;
}

.cert-caption {
  padding: 1.5rem;
  text-align: center;
  font-weight: 600;
  font-size: 1.2rem;
  background-color: var(--bg-light);
  color: var(--primary-dark);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Order Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.step-item {
  position: relative;
  padding: 2rem;
}

.step-number {
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(74, 20, 75, 0.1);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.step-item h3 {
  position: relative;
  z-index: 1;
  color: var(--accent);
  margin-bottom: 1rem;
}

.step-item p {
  position: relative;
  z-index: 1;
}

.step-icon-container {
  position: relative;
  z-index: 1;
  width: 160px;
  height: 160px;
  margin: 0 auto 1.5rem;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  overflow: hidden;
  border-radius: 50%;
}

.step-icon-container:hover {
  transform: scale(1.3);
  box-shadow: 0 8px 30px rgba(93, 166, 66, 0.4);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.step-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
  transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: float 3s ease-in-out infinite;
  transform-origin: center center;
}

.step-icon-container:hover .step-icon {
  animation-play-state: paused;
}

/* Adjust step number position to be behind the image more subtly */
.step-number {
  font-family: var(--font-display);
  font-size: 6rem;
  color: rgba(74, 20, 75, 0.05);
  top: -20px;
  z-index: 0;
}

/* Contact */
#contact {
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('assets/gambar6.webp');
  /* Using hero image as placeholder for "Mangosteen/Melon" */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  /* Ensure text is white on image */
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 3;
  /* Ensure above overlay and slider */
}

.contact-list {
  margin-top: 2rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.map-container {
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-container iframe {
  width: 100%;
  height: 100%;
}

/* Main Footer */
.main-footer {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('assets/footer_bg.webp');
  /* Textured background */
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-color: #141414;
  /* Fallback for gaps */
  color: white;
  padding-top: 4rem;
  font-size: 0.9rem;
  position: relative;
  border-top: 3px solid var(--primary);
  /* Accent line */
}

.main-footer .row {
  align-items: flex-start;
}

.brand-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Center logo and text */
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 120px !important;
  /* Enlarge logo */
  width: auto;
  margin-bottom: 10px;
}

.footer-logo .logo-text {
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  /* Adjust font size ensuring it fits well */
  text-align: center;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  z-index: 1;
}

.footer-col {
  flex: 1;
  min-width: 200px;
  margin-bottom: 2rem;
}

.footer-col h3 {
  color: white;
  /* Header Text Color */
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  border-bottom: 1px solid var(--secondary);
  padding-bottom: 5px;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.8rem;
  list-style: none;
}

.footer-links a {
  color: white;
  transition: color 0.3s;
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: white;
}

.footer-contact i {
  color: var(--secondary);
  margin-top: 4px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 1.5rem;
}

.social-sq {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white; /* Logo is white */
  background: transparent; /* Transparent background */
  transition: var(--transition);
  font-size: 1.5rem; /* Larger icon size */
}

.social-sq:hover {
  transform: scale(1.1);
}

.footer-bottom {
  background-color: #000;
  padding: 1.5rem 0;
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid #222;
}

.footer-bottom p {
  color: #777;
  font-size: 0.85rem;
  margin: 0;
}

/* Modals */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s;
}

.modal-content {
  background-color: #ffffff;
  margin: 5% auto;
  padding: 0;
  border-radius: 16px;
  width: 90%;
  max-width: 800px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  animation: scaleIn 0.3s;
}

.close-modal {
  color: #aaa;
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
}

.close-modal:hover {
  color: var(--accent);
}

.modal-body {
  display: flex;
}

.modal-body img {
  width: 50%;
  object-fit: cover;
}

.modal-text {
  width: 50%;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
  color: #1a1a1a;
}

.spec-list {
  margin: 1.5rem 0 2rem;
}

.spec-list li {
  margin-bottom: 0.8rem;
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 0.5rem;
  color: #333333;
}

.full-width {
  width: 100%;
  text-align: center;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}







/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

    .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-number {
    position: static;
    transform: none;
    margin-bottom: 1rem;
    font-size: 3rem;
  }

  .modal-body {
    flex-direction: column;
  }

  .modal-body img,
  .modal-text {
    width: 100%;
  }

  .modal-content {
    margin: 10% auto;
  }
}

/* Export Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 card dalam 1 baris */
  gap: 1.25rem;
  margin-bottom: 4rem;
}

/* Mobile: 2 kolom */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--bg-light);
  /* Mangosteen Purple */
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  border-top: 5px solid #4ade80;
  /* Green (Calyx) accent */
  color: white;
  /* Text white */
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 120px;   /* Dikecilkan agar muat 1 baris */
  height: 120px;
  margin: 0 auto 1rem;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Ensure icons are visible. If they are black SVGs, they might need a filter or background. 
     Assuming they are the generated Disney images, they are full color and fine. */
}

.service-desc {
  font-size: 0.9rem;
  color: #eeeeee;
  /* Light gray for readability */
  margin-bottom: 1rem;
}

.service-pros {
  text-align: left;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: #fce7f3;
  /* Light pink/white */
}

.service-pros li {
  margin-bottom: 0.3rem;
}

.btn-outline-sm {
  border: 1px solid white;
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  display: inline-block;
  transition: all 0.3s;
}

.btn-outline-sm:hover {
  background-color: white;
  color: #2E0F30;
}

.btn-wa {
  background-color: #25D366;
  border: 1px solid #25D366;
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
}

.btn-wa:hover {
  background-color: #128C7E;
  border-color: #128C7E;
  color: white;
  transform: translateY(-2px);
}

/* Comparison Table */
.comparison-container {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  margin-top: 3rem;
}

.comparison-container h3 {
  margin-bottom: 1.5rem;
  text-align: center;
  color: black;
}

.table-responsive {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  color: black;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.comparison-table th {
  background-color: var(--accent);
  color: black;
  font-weight: 600;
}

.comparison-table tr:hover {
  background-color: #f1fafa;
}

.comparison-table .check {
  color: black;
  /* changed from var(--accent) */
  font-weight: bold;
  font-size: 1.2rem;
}

#export-services .line-decor {
  background-color: var(--accent);
}

/* Hero Slider */
.slider-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns1 8s ease-in-out infinite alternate;
  transform-origin: center center;
}


/* Ken Burns variations per slide */
.slide:nth-child(odd) img { animation-name: kenBurns1; }
.slide:nth-child(even) img { animation-name: kenBurns2; }
.slide:nth-child(3n) img { animation-name: kenBurns3; }
.slide:nth-child(4n) img { animation-name: kenBurns4; }

@keyframes kenBurns1 {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.15) translate(-2%, -1%); }
}
@keyframes kenBurns2 {
  0% { transform: scale(1.1) translate(1%, 1%); }
  100% { transform: scale(1) translate(-1%, 0); }
}
@keyframes kenBurns3 {
  0% { transform: scale(1) translate(1%, -1%); }
  100% { transform: scale(1.12) translate(-1%, 2%); }
}
@keyframes kenBurns4 {
  0% { transform: scale(1.08) translate(-1%, 0); }
  100% { transform: scale(1) translate(2%, -1%); }
}

/* Slide indicator dots */
.slide-indicators {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all 0.4s ease;
  border: 1px solid rgba(255,255,255,0.2);
}
.slide-dot.active {
  background: var(--accent, #f4d03f);
  width: 28px;
  border-radius: 4px;
  border-color: var(--accent, #f4d03f);
}

/* Ensure Overlay is above slider */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.slider-container {
  z-index: 0;
}

.hero-bg .overlay {
  z-index: 2;
}

/* Floating WhatsApp Button */
/* Floating WhatsApp Button */
/* Floating Contacts Container */
.floating-contacts {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
}

/* Common Float Button Styles */
.float-btn {
  background-color: white;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  padding: 5px;
  transition: all 0.3s ease;
  overflow: hidden;
  text-decoration: none;
  max-width: 350px;
  /* Removed fixed position from individual buttons */
}

.float-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.contact-content {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border-radius: 40px;
  height: 50px;
  color: white;
}

.contact-text {
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.contact-icon {
  width: 24px;
  height: 24px;
}

.contact-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-left: 5px;
  border: 2px solid var(--accent);
}

.contact-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* WhatsApp Specifics */
.wa-style .contact-content {
  background: #25d366;
}

/* WeChat Specifics */
.wechat-style .contact-content {
  background: #09B83E;
}

@media (max-width: 768px) {
  .floating-contacts {
    bottom: 20px;
    right: 16px;
    gap: 10px;
  }

  .float-btn {
    padding: 4px;
  }

  .contact-content {
    height: 46px;
    padding: 0 12px;
    gap: 8px;
  }

  .contact-text {
    font-size: 0.75rem;
    font-weight: 700;
  }

  .contact-avatar {
    width: 40px;
    height: 40px;
  }
}

/* Visual Slider for About Us */
.visual-slider-container {
  position: relative;
  width: 100%;
  height: 300px;
  /* Fixed height for consistency */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 1.5rem;
  background: #f0f0f0;
  /* Fallback */
}

.visual-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.visual-slide.active {
  opacity: 1;
  z-index: 1;
}

.visual-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Show full image without cropping */
  background-color: #f5f5f5;
  /* Optional background for empty space */
}

.visual-slide span {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(46, 15, 48, 0.8);
  color: white;
  font-size: 1rem;
  padding: 10px;
  text-align: center;
  backdrop-filter: blur(2px);
}

/* Article Section Styles */
.section-divider {
  height: 1px;
  background-color: #ddd;
  margin: 3rem auto;
  width: 80%;
}


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

.article-triggers h3 {
  margin-bottom: 2rem;
  color: var(--accent);
}

/* Reusing .steps-grid styles for consistency */
.step-item:hover {
  transform: translateY(-5px);
  /* Ensure hover effect works for clickable items */
}

/* Benefits Grid Specifics */
.benefits-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important; /* 3 gambar dalam 1 baris */
  justify-content: center !important;
  align-items: flex-start;
  gap: 1.5rem;
  grid-template-columns: none;
  width: 100%;
}

.benefits-grid .step-item {
  flex: 1 1 0;
  min-width: 0;
  max-width: 340px;
}

.benefits-grid .step-icon-container {
  width: 100%;
  height: 220px;
  border-radius: 12px; /* Kotak dengan sudut sedikit rounded */
  margin: 0 auto 1rem;
}

.benefits-grid .step-icon {
  object-fit: cover;
  border-radius: 12px; /* Kotak, bukan bulat */
  animation: none; /* Matikan animasi float */
}

/* Mobile: kembali ke layout stack vertikal */
@media (max-width: 768px) {
  .benefits-grid {
    flex-wrap: wrap !important;
    flex-direction: column !important;
    align-items: center;
  }
  .benefits-grid .step-item {
    flex: none;
    width: 90%;
    max-width: 340px;
  }
  .benefits-grid .step-icon-container {
    width: 100%;
    height: 200px;
  }
}

/* Modal Slider Styles */
.modal-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.modal-slides {
  display: flex;
}

/* Melon Modal Navigation (Dot + Arrow) */
.melon-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.melon-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
  flex-shrink: 0;
}

.melon-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

.melon-dot:hover {
  background: var(--accent);
}

.melon-arrow {
  margin-left: auto;
  background: none;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  white-space: nowrap;
}

.melon-arrow:hover {
  background: var(--accent);
  color: white;
}

.melon-arrow.back {
  margin-left: 0;
  margin-right: auto;
}

.modal-slide {
  min-width: 100%;
  box-sizing: border-box;
}

/* Modal Navigation Buttons */
.modal-prev,
.modal-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 10px;
  /* Reduced padding */
  margin-top: -22px;
  color: #333;
  /* Darker color for visibility on white background of modal? */
  background-color: rgba(255, 255, 255, 0.7);
  /* translucent white background */
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 50%;
  /* Circle shape */
  border: 1px solid #ccc;
  user-select: none;
  z-index: 10;
  /* Ensure on top */
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Adjust button positions inside modal content */
.modal-prev {
  left: 10px;
}

.modal-next {
  right: 10px;
}

.modal-prev:hover,
.modal-next:hover {
  background-color: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* Ensure modal-body takes full width of slide */
.modal-slide .modal-body {
  width: 100%;
  /* Ensure it fills the slide */
  padding: 0;
  /* Remove padding here if handled by modal-content */
  /* Re-apply modal-body layout if broken by flex parent */
  display: flex;
  flex-wrap: wrap;
}

/* Mobile Optimization for Comparison Table */
@media (max-width: 768px) {
  .comparison-container {
    margin-left: -2rem;
    margin-right: -2rem;
    border-radius: 0;
  }

  .table-responsive {
    border-radius: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-table {
    min-width: 100%;
    border-radius: 0;
  }
}

/* Mobile Ticker Adjustment */
@media (max-width: 768px) {
  .ticker-item {
    padding: 0 2rem;
    /* Reduce padding too for mobile balance */
    font-size: 0.9rem;
    /* Slightly smaller text */
    gap: 10px;
  }

  .ticker-item img {
    height: 52px;
    /* 80px * 0.65 */
  }

  .ticker-item img[alt="AHU"] {
    height: 65px;
    /* 100px * 0.65 */
  }

  .ticker-item img[alt="Kemendag"] {
    height: 72px;
    /* 110px * 0.65 */
  }
}

/* Page Header for sub-pages */
.page-header {
  padding: 120px 0 60px;
  /* Top padding accounts for fixed header */
  background-color: var(--bg-white);
  color: white;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Certificate specific styles if needed */
.cert-caption {
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  color: var(--accent);
  background: white;
}

.footer-links .active {
  color: var(--secondary);
  font-weight: bold;
}

/* Benefits Section Enhancements */
#benefits .step-item h3, 
#benefits .step-item p {
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

#benefits .step-item:hover {
  background-color: rgba(255,255,255,0.05); /* Slight highlight */
  border-radius: 12px;
}

/* Comprehensive Mobile Clean Up */
@media (max-width: 768px) {
  /* Prevent horizontal scroll */
  body, html {
  background-color: #0a0a0a; width: 100%; overflow-x: hidden; }
  img { max-width: 100% !important; height: auto; }
  .ticker-wrap { overflow: hidden !important; max-width: 100vw; }
  
  /* Reduce global padding */
  .container { padding: 0 1.25rem; }
  .section { padding: 3.5rem 0; }
  .page-header { padding: 100px 1.25rem 40px; }
  
  /* Scale typography */
  h1 { font-size: clamp(2rem, 8vw, 2.5rem); margin-bottom: 1rem; }
  h2 { font-size: clamp(1.6rem, 6vw, 2rem); }
  h3 { font-size: clamp(1.2rem, 5vw, 1.5rem); }
  p, .service-desc { font-size: 1rem; line-height: 1.6; }
  .hero-subtitle { font-size: 1.05rem; line-height: 1.7; opacity: 0.95; }
  
  /* Improve card layouts */
  .about-card, .service-card, .product-card, .contact-card {
    padding: 1.5rem;
    border-radius: 12px;
  }
  
  /* Stack items predictably */
  .row { flex-direction: column; gap: 1.5rem; justify-content: center; }
  .col-md-6 { width: 100%; min-width: 100%; }
  
  /* Buttons layout */
  .hero-buttons { flex-direction: column; width: 100%; gap: 12px; }
  .btn-primary, .btn-secondary, .btn-outline { 
    width: 100%; 
    text-align: center; 
    padding: 14px 20px; 
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .btn-primary-sm { padding: 8px 16px; font-size: 0.85rem; }
  
  /* Elements overlap / overflow fixes */
  .step-icon-container { width: 180px; height: 180px; }
  .step-number { font-size: 4rem; top: -10px; }
  .product-img { height: 200px; }
  .gallery-item { height: 160px; border-radius: 8px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; margin-top: 1.5rem; }
  
  /* Modal tweaks */
  .modal-content {
    width: 95%;
    margin: 10% auto;
    border-radius: 16px;
  }
  .modal-body { padding: 1.25rem; display: flex; flex-direction: column; }
  .modal-body img { width: 100%; border-radius: 8px; }
  .modal-text { padding: 0; margin-top: 1rem; width: 100%; box-sizing: border-box; }
  .modal-text h2 { font-size: clamp(1.3rem, 5vw, 1.6rem); }
  .modal-text li { font-size: 0.95rem; padding-bottom: 0.5rem; }
  .close-modal { font-size: 40px; top: 8px; right: 15px; padding: 5px; line-height: 1; z-index: 20; color: var(--accent); }
  
  /* Footer */
  .main-footer { padding: 2rem 0; text-align: left; overflow: hidden; }
  .footer-grid, .footer-columns, .main-footer > .container > .row,
  .main-footer .container > div:first-child { 
    display: grid !important; 
    grid-template-columns: 1fr 1fr; 
    gap: 1rem 0.8rem;
    max-width: 100%;
    overflow: hidden;
  }
  .footer-col { width: 100%; min-width: 0 !important; margin-bottom: 0.5rem; overflow: hidden; }
  .footer-col h4 { font-size: 0.95rem; margin-bottom: 0.5rem; }
  .footer-col li, .footer-col a { font-size: 0.85rem; line-height: 1.8; }
  .social-links { justify-content: flex-start; }
  .footer-bottom { padding: 1rem; font-size: 0.8rem; }
  
  /* Floating buttons */
  .floating-contacts {
    bottom: 16px;
    right: 16px;
    gap: 10px;
    align-items: flex-end;
  }
  .float-btn { max-width: 220px; border-radius: 50px; padding: 4px; }
  .contact-content { height: 48px; padding: 0 14px; border-radius: 50px; justify-content: center; gap: 8px; width: auto; }
  .contact-text { display: inline; font-size: 0.75rem; font-weight: 700; }
  .contact-avatar { width: 44px; height: 44px; border-width: 2px; }
  .contact-icon { width: 22px; height: 22px; margin: 0; }
  .mobile-nav-links a { padding: 12px; display: inline-block; width: 100%; font-size: 1.3rem; }
}
/* Trust Banner Config */
.ticker-item span {
  color: #ffffff !important;
}
.ticker-item img {
  filter: none !important;
}
.ticker-item:hover span {
  color: var(--accent) !important;
}

/* Dark Mode Typography Visibility Fixes */
h1, h2, h3, h4 { color: var(--text-dark); }
.product-info h3 { color: #4a144b !important; font-weight: 700; } /* Dark Purple */
.modal-text h2 { color: var(--accent); }
.line-decor { background-color: var(--accent); }
.short-spec { color: #1a1a1a !important; font-weight: 500; } /* Black spec text for clear reading */
.stat-label { color: #cccccc; }

/* Table Fixes */
.comparison-table tr:hover { background-color: #f1fafa; }
.comparison-table td { border-bottom: 1px solid #ddd !important; color: #1a1a1a !important; }
.comparison-table td strong { color: #1a1a1a !important; }
.comparison-table .check { color: #4a144b !important; } /* Mangosteen Purple */

/* Popup/Modal Content Readability Fixes */
.modal-content {
  background-color: #ffffff !important;
}
.modal-text {
  color: #1a1a1a !important;
}
.modal-text h2, .modal-text h3, .modal-text h4 {
  color: #4a144b !important;
}
.modal-text p, .modal-text li {
  color: #333333 !important;
}
.spec-list li {
  border-bottom: 1px solid #dddddd !important;
}

body.modal-open .floating-contacts {
  display: none !important;
}

/* Preloader Settings */








/* 
   Dropdown Navigation
 */
.nav-links > li {
  position: relative;
}

.nav-has-dropdown {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-arrow {
  font-size: 0.65rem;
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.nav-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background-color: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-top: 2px solid var(--secondary);
  border-radius: 10px;
  min-width: 215px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  list-style: none;
  padding: 20px 0 6px 0;
  margin-top: -6px;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--secondary);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8) !important;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
  white-space: nowrap;
}

.dropdown-menu li a i {
  font-size: 0.72rem;
  width: 16px;
  text-align: center;
  color: var(--secondary);
  flex-shrink: 0;
}

.dropdown-menu li a:hover {
  background-color: rgba(93, 166, 66, 0.14);
  color: var(--accent) !important;
  padding-left: 26px;
}

.dropdown-menu li a:hover i {
  color: var(--accent);
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 5px 0;
}


/* Mobile nav scale-down */
@media (max-width: 768px) {
  .logo img { height: 50px; }
  .nav-links a, .nav-link-item { font-size: 0.78rem !important; white-space: nowrap; }
  .nav-has-dropdown { font-size: 0.78rem !important; }
  .btn-primary-sm { padding: 6px 11px; font-size: 0.74rem; }
  .dropdown-menu { min-width: 170px; font-size: 0.82rem; }
}

/* -- Mobile Menu Redesign -- */
.mobile-menu {
  background-color: #111;
  background-image: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url('assets/mobile_menu_bg.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  justify-content: flex-start;
  padding: 0;
  overflow-y: auto;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 80px 0 40px;
}

/* Single nav item */
.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
}
.mobile-nav-item i { color: var(--accent); width: 18px; text-align: center; }
.mobile-nav-item:hover { background: rgba(255,255,255,0.05); color: #fff !important; padding-left: 36px; }

/* Group label (non-clickable header) */
.mobile-nav-group-label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: none;
  letter-spacing: 0.3px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  cursor: pointer;
}
.mobile-nav-group-label i { color: var(--accent); width: 18px; text-align: center; font-size: 0.9rem; }

/* Sub-items inside a group */
.mobile-nav-sub {
  display: flex;
  flex-direction: column;
}
.mobile-nav-sub a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 28px 15px 46px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
}
.mobile-nav-sub a i { color: var(--accent); width: 16px; text-align: center; font-size: 0.75rem; flex-shrink: 0; }
.mobile-nav-sub a:hover { background: rgba(255,255,255,0.05); color: #fff !important; padding-left: 54px; }

/* Contact CTA button at bottom */
.mobile-nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 28px 28px 0;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--secondary), #3d7829);
  color: #fff !important;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 6px 20px rgba(93,166,66,0.35);
}
.mobile-nav-cta:hover { opacity: 0.9; transform: translateY(-2px); }

/* -- Mobile Accordion -- */
.accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}
.accordion-toggle span {
  display: flex;
  align-items: center;
  gap: 14px;
}
.accordion-arrow {
  font-size: 0.7rem;
  opacity: 0.6;
  transition: transform 0.3s ease, opacity 0.3s;
}
.accordion-toggle.open .accordion-arrow {
  transform: rotate(180deg);
  opacity: 1;
}
.accordion-toggle.open {
  color: var(--accent) !important;
}
.accordion-toggle.open i { color: var(--accent) !important; }

/* Sub-items hidden by default, animate height */
.mobile-nav-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.mobile-nav-sub.open {
  max-height: 400px;
}

/* Hide floating buttons when mobile menu is open */
body.menu-open .floating-contacts {
  display: none !important;
}

/* Dark theme mobile menu overrides */
.mobile-menu .close-menu { color: #ffffff; }
.mobile-menu .accordion-arrow { opacity: 0.5; color: #ffffff; }
.accordion-toggle.open .accordion-arrow { color: var(--accent); opacity: 1; }
.accordion-toggle.open { color: #ffffff !important; }
.mobile-nav-group-label.accordion-toggle.open i:first-child { color: var(--accent); }

/* ============================================================
   Image Performance Optimizations
   ============================================================ */

/* Smooth fade-in for lazy-loaded images */
img {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* When Intersection Observer detects image loaded */
img.img-loaded {
  opacity: 1;
}

/* Prevent layout shift – images fill containers properly */
img[loading="lazy"] {
  color: transparent; /* hide alt text during load */
}

/* Blur-up placeholder effect (optional progressive enhancement) */
img[loading="lazy"]:not(.img-loaded) {
  filter: blur(0px);
}

/* ============================================================
   🎨 UI/UX PREMIUM ENHANCEMENT LAYER
   ============================================================ */

/* === 1. HERO SECTION — Premium Visual Overhaul === */
#hero {
  height: 100vh;
  min-height: 650px;
}

/* Cinematic gradient overlay on hero */
#hero .overlay {
  background: rgba(0, 0, 0, 0.2) !important;
}

/* Shimmer line on hero bottom */
#hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--secondary), var(--accent), var(--secondary), transparent);
  background-size: 200% 100%;
  animation: shimmerLine 3s linear infinite;
  z-index: 5;
}

/* Hero subtitle badge */
.hero-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244, 208, 63, 0.12);
  border: 1px solid rgba(244, 208, 63, 0.35);
  color: var(--accent) !important;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem !important;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  backdrop-filter: blur(8px);
}
.hero-subtitle::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.5); opacity: 0.6; }
}

/* Hero h1 gradient text */
#hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.15;
  background: linear-gradient(135deg, #ffffff 0%, rgba(244, 208, 63, 0.9) 60%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none !important;
  margin-bottom: 1.4rem;
}

/* Hero description */
#hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  max-width: 580px;
  line-height: 1.75;
}
#hero p strong {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

/* Hero buttons premium */
.hero-buttons {
  gap: 1.2rem;
  flex-wrap: wrap;
}
.hero-buttons .btn-primary {
  background: linear-gradient(135deg, #5da642, #3d7829);
  box-shadow: 0 6px 25px rgba(93, 166, 66, 0.5);
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}
.hero-buttons .btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.5s ease;
}
.hero-buttons .btn-primary:hover::before { left: 100%; }
.hero-buttons .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(93, 166, 66, 0.6);
}
.hero-buttons .btn-secondary {
  border: 1.5px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  padding: 14px 32px;
  font-size: 1rem;
  color: #ffffff;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.hero-buttons .btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-3px);
}

/* === 2. TRUST BANNER — Redesigned === */
.trust-banner {
  background: linear-gradient(90deg, #0d0d0d 0%, #111 50%, #0d0d0d 100%) !important;
  border-top: 1px solid rgba(93, 166, 66, 0.2);
  border-bottom: 1px solid rgba(93, 166, 66, 0.2);
  padding: 1rem 0 !important;
  overflow: hidden;
}
.ticker-item {
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.8rem !important;
  letter-spacing: 1.5px !important;
  padding: 0 3rem !important;
  gap: 12px !important;
}
.ticker-item span {
  color: rgba(255,255,255,0.8);
}
.ticker-item:hover span {
  color: var(--accent) !important;
}

/* === 3. SECTION HEADERS — Elegant Gradient === */
.section-header h2,
#about h2,
#gallery h2,
#shipping h2,
#order h2,
#contact h2,
#health h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #ffffff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Upgraded line-decor */
.line-decor {
  width: 50px !important;
  height: 3px !important;
  background: linear-gradient(90deg, var(--secondary), var(--accent)) !important;
  border-radius: 2px;
  position: relative;
}
.line-decor::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 3px;
  background: white;
  border-radius: 2px;
  animation: slideLine 2.5s ease-in-out infinite;
}
@keyframes slideLine {
  0%   { left: 0; }
  100% { left: 38px; }
}

/* === 4. PRODUCT CARDS — Dark Glassmorphism Premium === */
.product-card {
  background: linear-gradient(145deg, #1a1a1a, #141414) !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5) !important;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              box-shadow 0.4s ease,
              border-color 0.3s ease !important;
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(93,166,66,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.product-card:hover {
  transform: translateY(-12px) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.7), 0 0 0 1px rgba(93,166,66,0.3) !important;
  border-color: rgba(93,166,66,0.3) !important;
}
.product-card:hover::before { opacity: 1; }

@media (min-width: 769px) {
  .product-img {
    height: 280px !important;
    overflow: hidden;
  }
}
.product-img img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.product-card:hover .product-img img {
  transform: scale(1.08) !important;
}

/* Product info redesign */
.product-info {
  padding: 1.6rem 2rem !important;
  background: transparent;
  position: relative;
  z-index: 1;
}
.product-info h3 {
  font-size: 1.25rem;
  color: #fff !important;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
}
.product-info .short-spec {
  color: rgba(255,255,255,0.45) !important;
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}
.product-info .btn-link {
  color: var(--accent) !important;
  font-size: 0.88rem;
  font-weight: 600;
  transition: gap 0.3s ease, opacity 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.product-info .btn-link:hover {
  gap: 12px !important;
  opacity: 0.85;
}

/* Badge upgrade */
.badge {
  background: linear-gradient(135deg, var(--accent), #e6b800) !important;
  color: #1a1a1a !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px;
  padding: 6px 14px !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 12px rgba(244,208,63,0.4);
}

/* === 5. ABOUT / STATS SECTION — Premium Cards === */
#about {
  background-image: linear-gradient(
    160deg,
    rgba(10, 3, 15, 0.82) 0%,
    rgba(30, 10, 30, 0.78) 50%,
    rgba(5, 20, 5, 0.82) 100%
  ), url('assets/indonesian_harvest_bg.webp') !important;
}

/* Stat items as glowing cards */
.stats-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem !important;
  margin-top: 2.5rem !important;
}
.stat-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 1.2rem 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}
.stat-item:hover {
  background: rgba(93,166,66,0.1);
  border-color: rgba(93,166,66,0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.stat-number {
  font-size: clamp(1.8rem, 4vw, 2.6rem) !important;
  color: var(--accent) !important;
  line-height: 1.1;
  text-shadow: 0 0 20px rgba(244,208,63,0.4);
}
.stat-label {
  color: rgba(255,255,255,0.6) !important;
  font-size: 0.72rem !important;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

/* === 6. GALLERY SECTION === */
@media (min-width: 769px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  }
}
.gallery-item {
  border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  position: relative;
}
@media (min-width: 769px) {
  .gallery-item {
    height: 230px !important;
  }
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover {
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 14px 36px rgba(0,0,0,0.6) !important;
  border-color: rgba(93,166,66,0.3);
}

/* === 7. SHIPPING TABLE — Card Redesign === */
.shipping-comparison-table {
  border-radius: 16px !important;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5) !important;
}
.shipping-comparison-table th {
  background: linear-gradient(135deg, rgba(74,20,75,0.8), rgba(30,10,50,0.9)) !important;
  color: #fff !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  padding: 1.1rem 1.5rem !important;
  font-family: var(--font-main);
  font-size: 0.88rem;
  text-transform: uppercase;
}
.shipping-comparison-table th:first-child {
  background: rgba(0,0,0,0.5) !important;
}
.shipping-comparison-table td {
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  padding: 1rem 1.5rem !important;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.shipping-comparison-table tr:hover td {
  background: rgba(93,166,66,0.06) !important;
  color: rgba(255,255,255,0.9);
}
.shipping-comparison-table .fa-check {
  color: var(--secondary) !important;
  filter: drop-shadow(0 0 4px rgba(93,166,66,0.6));
}

/* === 8. ORDER STEPS === */
.step-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px !important;
  padding: 2.5rem 1.5rem !important;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.step-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}
.step-item:hover {
  background: rgba(93,166,66,0.06) !important;
  border-color: rgba(93,166,66,0.25) !important;
  transform: translateY(-8px) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.step-item:hover::before { transform: scaleX(1); }
.step-item h3 {
  color: #fff !important;
  font-size: 1.05rem;
  font-weight: 700;
}
.step-item p {
  color: rgba(255,255,255,0.55) !important;
  font-size: 0.88rem;
  line-height: 1.7;
}
.step-icon-container {
  border: 2px solid rgba(93,166,66,0.25) !important;
  box-shadow: 0 0 0 6px rgba(93,166,66,0.06), 0 8px 24px rgba(0,0,0,0.4);
}

/* === 9. CONTACT / CTA SECTION === */
#contact {
  background-image: linear-gradient(
    rgba(0,0,0,0.82), rgba(0,0,0,0.88)
  ), url('assets/gambar6.webp') !important;
  position: relative;
}
#contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent), var(--primary), var(--secondary));
  background-size: 200% 100%;
  animation: shimmerLine 4s linear infinite;
}
#contact h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem) !important;
}
.action-buttons .btn-primary {
  background: linear-gradient(135deg, var(--secondary), #3a7522) !important;
  box-shadow: 0 6px 20px rgba(93,166,66,0.45) !important;
  padding: 14px 36px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}
.action-buttons .btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.action-buttons .btn-primary:hover::before { left: 100%; }
.action-buttons .btn-outline {
  border-color: rgba(244,208,63,0.6) !important;
  color: var(--accent) !important;
  padding: 14px 36px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}
.action-buttons .btn-outline:hover {
  background: rgba(244,208,63,0.12) !important;
  border-color: var(--accent) !important;
}

/* === 10. MAIN FOOTER — More Polished === */
.main-footer {
  padding-top: 5rem !important;
  border-top: none !important;
}
.main-footer::before {
  height: 4px !important;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--secondary)) !important;
  background-size: 200% 100%;
  animation: shimmerLine 5s linear infinite;
}
.footer-col h3 {
  color: var(--accent) !important;
  border-bottom: 1px solid rgba(244,208,63,0.25) !important;
  font-size: 0.9rem !important;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.footer-links a {
  color: rgba(255,255,255,0.6) !important;
  font-size: 0.88rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.footer-links a::before {
  content: '›';
  color: var(--secondary);
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 0.3s, margin-right 0.3s;
  margin-right: -8px;
}
.footer-links a:hover {
  color: rgba(255,255,255,0.95) !important;
  padding-left: 8px !important;
}
.footer-links a:hover::before { opacity: 1; margin-right: 2px; }
.footer-contact li {
  color: rgba(255,255,255,0.65) !important;
  font-size: 0.87rem;
}
.social-sq {
  width: 40px !important;
  height: 40px !important;
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 10px !important;
  font-size: 1.15rem !important;
  transition: all 0.3s ease !important;
}
.social-sq:hover {
  background: var(--secondary) !important;
  border-color: var(--secondary) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(93,166,66,0.4) !important;
}
.footer-bottom {
  background: rgba(0,0,0,0.8) !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
}
.footer-bottom p {
  color: rgba(255,255,255,0.3) !important;
}

/* === 11. FLOATING WHATSAPP BUTTON — Enhanced === */
.floating-contacts {
  bottom: 28px !important;
  right: 24px !important;
}
.float-btn.wa-style {
  background: linear-gradient(135deg, #25D366, #128C7E) !important;
  border-radius: 50px !important;
  box-shadow: 0 8px 28px rgba(37,211,102,0.4) !important;
  padding: 10px 18px 10px 14px !important;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  border: 1.5px solid rgba(255,255,255,0.2) !important;
}
.float-btn.wa-style:hover {
  transform: translateY(-4px) scale(1.04) !important;
  box-shadow: 0 14px 36px rgba(37,211,102,0.55) !important;
}
.contact-text {
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  color: #fff !important;
}
.contact-avatar img {
  width: 38px !important;
  height: 38px !important;
  border: 2px solid rgba(255,255,255,0.4) !important;
  border-radius: 50% !important;
}

/* === 12. HEADER NAV — Premium Glass === */
header {
  background: rgba(5,5,5,0.88) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  background-image: none !important;
}
header.scrolled {
  background: rgba(3,3,3,0.96) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5) !important;
}
.nav-link-item {
  font-size: 0.88rem !important;
  font-weight: 500;
  color: rgba(255,255,255,0.75) !important;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease !important;
}
.nav-link-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transition: width 0.3s ease;
  border-radius: 1px;
}
.nav-link-item:hover { color: #fff !important; }
.nav-link-item:hover::after { width: 100%; }
.btn-primary-sm {
  background: linear-gradient(135deg, var(--secondary), #3d7829) !important;
  box-shadow: 0 4px 14px rgba(93,166,66,0.4) !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}
.btn-primary-sm:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(93,166,66,0.55) !important;
}

/* === 13. MOBILE MENU — Dark Premium === */
.mobile-menu {
  background: linear-gradient(rgba(10, 10, 10, 0.85), rgba(5, 5, 5, 0.9)), url('assets/mobile_menu_bg.webp') !important;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important;
  padding: 5rem 2rem 3rem !important;
}
.mobile-nav-item,
.mobile-nav-group-label {
  border-radius: 12px !important;
  padding: 1rem 1.4rem !important;
  font-size: 1rem !important;
  color: rgba(255,255,255,0.8) !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
  transition: all 0.25s ease;
}
.mobile-nav-item:hover,
.mobile-nav-group-label:hover {
  background: rgba(93,166,66,0.08) !important;
  color: #fff !important;
  border-color: rgba(93,166,66,0.2) !important;
}
.mobile-nav-cta {
  background: linear-gradient(135deg, var(--secondary), #3a7522) !important;
  color: #fff !important;
  border-radius: 14px !important;
  padding: 1rem 1.4rem !important;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  margin-top: 1rem;
  box-shadow: 0 6px 20px rgba(93,166,66,0.4);
}
.mobile-nav-sub a {
  padding: 0.75rem 1.2rem !important;
  border-radius: 10px !important;
  color: rgba(255,255,255,0.65) !important;
  font-size: 0.9rem !important;
  transition: all 0.2s ease;
}
.mobile-nav-sub a:hover {
  background: rgba(93,166,66,0.05) !important;
  color: rgba(255,255,255,0.9) !important;
}

/* === 14. MODAL — White Clean === */
.modal-content {
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25) !important;
}
.modal-text {
  background: #ffffff !important;
}
.modal-text h2 {
  font-size: 1.4rem;
  color: #1a1a1a !important;
  -webkit-text-fill-color: #1a1a1a !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
}
.modal-text h3 {
  color: #1a1a1a !important;
  -webkit-text-fill-color: #1a1a1a !important;
}
.modal-text p {
  color: #333333 !important;
}
.spec-list li {
  border-bottom: 1px solid #eeeeee !important;
  color: #333333 !important;
}
.spec-list li strong {
  color: #111111 !important;
}
.close-modal {
  background: rgba(0,0,0,0.06);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem !important;
  top: 14px !important;
  right: 16px !important;
  color: #555555 !important;
  transition: all 0.2s ease;
}
.close-modal:hover {
  background: rgba(0,0,0,0.12);
  color: #111111 !important;
}

/* === 15. HEALTH BENEFITS SECTION === */
.health-grid .health-card,
.benefit-card {
  transition: all 0.4s ease !important;
}
.health-grid .health-card:hover,
.benefit-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5) !important;
}

/* === 16. PRELOADER — Polished === */

/* === 17. SMOOTH SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--secondary), var(--primary));
  border-radius: 3px;
}

/* === 18. SELECTION COLOR === */
::selection {
  background: rgba(93, 166, 66, 0.35);
  color: #fff;
}

/* === 19. RESPONSIVE Adjustments === */
@media (max-width: 768px) {
  #hero h1 {
    font-size: 2.2rem !important;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem !important;
  }
  .stat-item {
    padding: 1rem !important;
  }
  .gallery-item {
    height: 160px !important;
    border-radius: 8px !important;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .step-item {
    padding: 1.8rem 1.2rem !important;
  }
  .float-btn {
    max-width: 220px !important;
    border-radius: 50px !important;
    padding: 4px !important;
  }
  .float-btn.wa-style {
    padding: 6px 10px 6px 8px !important;
  }
  .contact-content {
    height: 46px !important;
    width: auto !important;
    padding: 0 12px !important;
    border-radius: 50px !important;
    justify-content: center !important;
    gap: 8px !important;
  }
  .contact-text {
    display: inline !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
  }
}
@media (max-width: 480px) {
  #hero h1 {
    font-size: 1.9rem !important;
  }
  .product-img {
    height: 180px !important;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ===== Language Switcher ===== */
.lang-switcher {
  position: relative;
  margin-left: 12px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 6px 12px;
  color: #fff;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.lang-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}

.lang-btn .flag {
  font-size: 1.1rem;
  line-height: 1;
}

.lang-btn .arrow {
  font-size: 0.65rem;
  transition: transform 0.3s ease;
}

.lang-switcher.open .lang-btn .arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 6px;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  z-index: 1001;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
}

.lang-option:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.lang-option.active {
  background: rgba(93, 166, 66, 0.15);
  color: #5da642;
}

.lang-option .flag {
  font-size: 1.2rem;
}

.lang-option .lang-name {
  flex: 1;
}

.lang-option .lang-code {
  font-size: 0.7rem;
  text-transform: uppercase;
  opacity: 0.5;
  letter-spacing: 1px;
}

/* Mobile: language in hamburger menu */
@media (max-width: 768px) {
  .lang-switcher {
    display: none;
  }
  
  .mobile-lang-switcher {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 8px;
  }
  
  .mobile-lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
  }
  
  .mobile-lang-btn:hover,
  .mobile-lang-btn.active {
    background: rgba(93, 166, 66, 0.15);
    border-color: rgba(93, 166, 66, 0.3);
    color: #5da642;
  }
  
  .mobile-lang-btn .flag {
    font-size: 1.1rem;
  }
}

@media (min-width: 769px) {
  .mobile-lang-switcher {
    display: none;
  }
}
