/* ========================================
   DESIGN SYSTEM & CSS VARIABLES
   ======================================== */

:root {
  /* Colors - HSL Format */
  --color-primary: 217 91% 60%;
  --color-primary-dark: 217 91% 50%;
  --color-primary-light: 217 91% 70%;
  
  --color-secondary: 222 47% 11%;
  
  --color-accent: 30 100% 50%;
  
  --color-background: 210 40% 98%;
  --color-surface: 0 0% 100%;
  
  --color-text: 222 47% 11%;
  --color-text-muted: 215 16% 47%;
  --color-text-light: 210 16% 60%;
  
  --color-border: 214 32% 91%;
  --color-border-light: 220 13% 95%;
  
  --color-success: 142 76% 36%;
  --color-warning: 45 93% 47%;
  --color-error: 0 84% 60%;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(217 91% 60%) 0%, hsl(217 91% 50%) 100%);
  --gradient-hero: linear-gradient(180deg, hsl(210 40% 98%) 0%, hsl(0 0% 100%) 100%);
  --gradient-cta: linear-gradient(135deg, hsl(217 91% 60%) 0%, hsl(225 73% 57%) 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 hsla(222 47% 11% / 0.05);
  --shadow-md: 0 4px 6px -1px hsla(222 47% 11% / 0.1), 0 2px 4px -1px hsla(222 47% 11% / 0.06);
  --shadow-lg: 0 10px 15px -3px hsla(222 47% 11% / 0.1), 0 4px 6px -2px hsla(222 47% 11% / 0.05);
  --shadow-xl: 0 20px 25px -5px hsla(222 47% 11% / 0.1), 0 10px 10px -5px hsla(222 47% 11% / 0.04);
  --shadow-card: 0 2px 8px hsla(222 47% 11% / 0.08);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Container */
  --container-max-width: 1280px;
  --container-padding: 1rem;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: hsl(var(--color-text));
  background-color: hsl(var(--color-background));
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* ========================================
   LAYOUT
   ======================================== */

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

@media (min-width: 768px) {
  :root {
    --container-padding: 2rem;
  }
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: hsl(var(--color-surface));
  border-bottom: 1px solid hsl(var(--color-border-light));
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--container-padding);
  gap: 2rem;
}

.nav-brand {
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  background-color: #2563eb;
  color: white;
  font-weight: 700;
  border-radius: 0px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
  user-select: none;
}

.logo h1 {
  font-weight: 700;
  color: #1d2b64;
  font-size: 1.2rem;
}

.logo small {
  font-weight: 500;
  color: #3b82f6;
  font-size: 0.85rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

/* Judul Perusahaan */
.logo h1 {
  font-size: 0.95rem;     /* lebih kecil dari sebelumnya */
  font-weight: 700;
  margin: 0;
  line-height: 1.1;       /* rapatkan jarak vertikal */
}

/* Tagline */
.logo small {
  font-size: 0.75rem;
  margin-top: 2px;       /* tarik sedikit ke atas */
  display: block;
  color: #3b82f6;
  line-height: 1;
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 0.85rem;
  }
  .logo small {
    font-size: 0.7rem;
  }
}


.brand-name {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  color: hsl(var(--color-text));
}

.brand-tagline {
  font-size: var(--font-size-sm);
  color: hsl(var(--color-text-muted));
}

.nav-menu {
  display: none;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  font-weight: var(--font-weight-medium);
  color: hsl(var(--color-text));
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: hsl(var(--color-primary));
}

.nav-link.active {
  color: hsl(var(--color-primary));
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--color-primary));
  font-weight: var(--font-weight-medium);
  transition: opacity var(--transition-fast);
}

@media (min-width: 1024px) {
  .nav-phone {
    display: flex;
  }
}

.nav-phone:hover {
  opacity: 0.8;
}

.phone-icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
}

/* Judul Perusahaan */
.logo h1 {
  font-size: 0.95rem;     /* lebih kecil dari sebelumnya */
  font-weight: 700;
  margin: 0;
  line-height: 1.1;       /* rapatkan jarak vertikal */
}

/* Tagline */
.logo small {
  font-size: 0.75rem;
  margin-top: 2px;       /* tarik sedikit ke atas */
  display: block;
  color: #3b82f6;
  line-height: 1;
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 0.85rem;
  }
  .logo small {
    font-size: 0.7rem;
  }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-cta {
  background: white;
  color: hsl(var(--color-primary));
  padding: 1rem 2rem;
  font-size: var(--font-size-lg);
  box-shadow: var(--shadow-lg);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--color-primary));
  font-weight: var(--font-weight-semibold);
  transition: gap var(--transition-fast);
}

.btn-link:hover {
  gap: 0.75rem;
}

.arrow-icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  background: var(--gradient-hero);
  padding: var(--spacing-3xl) 0 var(--spacing-2xl);
  text-align: center;
}

.hero-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: hsl(var(--color-primary));
  margin-bottom: var(--spacing-md);
  line-height: var(--line-height-tight);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: var(--font-size-5xl);
  }
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: hsl(var(--color-text-muted));
  max-width: 42rem;
  margin: 0 auto;
}


/* ========================================
   STATS SECTION
   ======================================== */

.stats-section {
  padding: var(--spacing-3xl) 0;
  background: var(--gradient-hero);
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: hsl(var(--color-primary));
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: hsl(var(--color-text-muted));
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.stat-card {
  background: hsl(var(--color-surface));
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  border-top: 3px solid hsl(var(--color-primary));
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-number {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-bold);
  color: hsl(var(--color-primary));
  line-height: var(--line-height-tight);
  margin-bottom: var(--spacing-sm);
}

.stat-label {
  font-size: var(--font-size-lg);
  color: hsl(var(--color-text-muted));
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials-section {
  padding: var(--spacing-3xl) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.testimonial-card {
  background: hsl(var(--color-surface));
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-base);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: var(--spacing-md);
}

.star {
  color: hsl(45 93% 47%);
  font-size: var(--font-size-xl);
}

.testimonial-text {
  font-style: italic;
  color: hsl(var(--color-text-muted));
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--spacing-lg);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.author-name {
  font-weight: var(--font-weight-semibold);
  color: hsl(var(--color-primary));
}

.author-role {
  font-size: var(--font-size-sm);
  color: hsl(var(--color-text-light));
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
  padding: var(--spacing-3xl) 0;
  background:#1e40af;
  text-align: center;
}

.cta-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: white;
  margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
  .cta-title {
    font-size: var(--font-size-4xl);
  }
}

.cta-subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-xl);
}

/* ========================================
   FOOTER
   ======================================== */

footer {
  background: #1e3a8a;
  color: white;
  padding: 4rem 1rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px,1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  background-color: #2563eb;
  color: white;
  font-weight: 700;
  border-radius: 10px;
  width: 47px;
  height: 47px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
  user-select: none;
}

.footer-logo h3 {
  font-weight: 700;
  font-size: 1.3rem;
}

.footer-logo small {
  font-size: 0.75rem;
  color: #a5b4fc;
}

footer p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #bfdbfe;
}

footer ul {
  list-style: none;
  margin-top: 0.75rem;
}

footer ul li a {
  color: #bfdbfe;
  text-decoration: none;
  display: block;
  margin: 0.4rem 0;
  transition: color 0.3s ease;
}

footer ul li a:hover {
  color: white;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.contact-list li i {
  stroke: white;
  min-width: 20px;
  min-height: 20px;
}

.contact-list li a {
  color: #bfdbfe;
  text-decoration: none;
}

.contact-list li a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #a5b4fc;
}

.footer-links a {
  margin-left: 1rem;
  color: #a5b4fc;
  text-decoration: none;
  transition: color 0.3s ease;
}


.footer-links a:hover {
  color: white;
}

.footer-item:hover {
  transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */

@media (max-width: 767px) {
  .hero-title {
    font-size: var(--font-size-3xl);
  }
  
  .section-title {
    font-size: var(--font-size-2xl);
  }
  
  .portfolio-title {
    font-size: var(--font-size-xl);
  }
  
  .stat-number {
    font-size: var(--font-size-4xl);
  }
}

/* ========== HEADER STICKY ========== */
.header {
  position: sticky;
  top: 0;
  background: white;
  z-index: 3000;
  border-bottom: 1px solid #eee;
}

/* ========== NAVBASE ========== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--container-padding);
  position: relative; /* PENTING */
}

/* ========== NAV MENU DESKTOP ========== */
.nav-menu {
  display: none;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
    position: static;
  }
}

/* ========== HAMBURGER BUTTON ========== */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 44px;
  border-radius: 8px;
  border: none;
  background: #fff;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  z-index: 3100; /* di atas header + menu */
}

.menu-toggle i,
.fas.fa-bars {
  font-size: 24px;
  color: #000 !important;
}

.menu-toggle i,
.fas.fa-bars {
  color: #000 !important; /* hitam */
}


@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

/* ========== HIDE HUBUNGI KAMI DI MOBILE ========== */
@media (max-width: 1023px) {
  .btn.btn-primary {
    display: none;
  }
}

@media (max-width: 1023px) {
    
    /* ... (Kode untuk .btn.btn-primary display: none) ... */

    /* >>> TAMBAHKAN/EDIT BLOK INI <<< */
    .nav-menu {
        display: flex; 
        flex-direction: column;
        
        position: fixed; /* PENTING: Menu tidak ikut scroll */
        top: 0;
        right: 0; /* Mulai dari sisi kanan */
        width: 300px; /* Lebar Sidebar (sesuaikan jika perlu) */
        height: 100%; /* Mengisi seluruh tinggi layar */
        
        background-color: #1d2b64; /* Warna Biru Tua/Navy */
        padding: 80px 30px 20px 30px; /* Jarak dari atas untuk header */
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        z-index: 999; /* Pastikan di atas overlay */
        overflow-y: auto; 
        
        /* SEMBUNYIKAN MENU SECARA DEFAULT */
        transform: translateX(100%); 
        transition: transform 0.3s ease-in-out;
    }

}


/* ========== MOBILE SIDEBAR MENU (PENGGANTI DROPDOWN) ========== */
.nav-menu.open {
    /* Hanya perlu menggeser menu masuk (transform: translateX(0)) */
    transform: translateX(0); 
    
    /* Hapus semua properti lain yang ada di blok lama seperti top, left, width, background, dll. karena sudah didefinisikan di .nav-menu di Langkah 1. */
    
    /* Z-Index harus lebih tinggi dari backdrop */
    z-index: 2200; 
}

.nav-menu.open li {
    margin: .7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Tambahkan garis pemisah putih */
}

.nav-menu.open .nav-link {
    display: block;
    width: 100%;
    color: white; /* PENTING: Agar tautan terlihat di latar belakang biru tua */
    padding: 10px 0;
}

/* HAPUS TOTAL: Animasi Drop */
/* @keyframes drop { ... } */

.nav-menu.open li {
  margin: .7rem 0;
}

.nav-menu.open .nav-link {
  display: block;
  width: 100%;
}



/* ========== BACKDROP MOBILE ========== */
.mobile-backdrop {
  display: none;
}

.mobile-backdrop.show {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 2000; /* di bawah menu */
}

/* ============================
  FORCE HAMBURGER ICON BLACK
  Tempelkan ini di paling bawah file CSS
   ============================ */

/* Semua kemungkinan class FontAwesome & i */
.menu-toggle,
.menu-toggle * {
  color: #000 !important;      /* teks / icon color */
  fill: #000 !important;       /* untuk svg fill */
  stroke: #000 !important;     /* untuk svg stroke */
}

/* Target spesifik untuk FA v4/v5 pseudo-element */
.menu-toggle .fa,
.menu-toggle .fas,
.menu-toggle .fa-bars,
.menu-toggle i.fas,
.menu-toggle i.fa,
.menu-toggle .fa-bars:before,
.menu-toggle i.fas:before {
  color: #000 !important;
  fill: #000 !important;
}

/* Jika icon dimasukkan sebagai SVG */
.menu-toggle svg,
.menu-toggle svg * {
  color: #000 !important;
  fill: #000 !important;
  stroke: #000 !important;
}

/* Pastikan tidak ada background-clip atau mix-blend yang membuatnya transparan */
.menu-toggle,
.menu-toggle i,
.menu-toggle .fa,
.menu-toggle svg {
  -webkit-text-fill-color: #000 !important;
  mix-blend-mode: normal !important;
}

/* Jika masih ada style inline di elemen, tambahkan ini untuk prioritas tertinggi (jadi gunakan sementara) */
[style] > .menu-toggle,
.menu-toggle[style] {
  color: #000 !important;
  fill: #000 !important;
}
/* Warna icon hamburger jadi hitam */
.menu-toggle i {
  color: #000000 !important;
  font-size: 24px; /* opsional */
}

/* Hilangkan border jika ada */
.menu-toggle {
  border: none;
  background: transparent;
}



/* --- SWIPER CUSTOMIZATION --- */

.portfolio-section {
  padding: var(--spacing-3xl) 0;
}

.portfolio-card {
  display: grid;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-3xl);
  background: hsl(var(--color-surface));
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-base), transform var(--transition-base); /* Gabungkan transisi */
}

.portfolio-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px); /* Efek hover yang lebih halus dari scale */
}

@media (min-width: 768px) {
  .portfolio-card {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  
  .portfolio-card-reverse {
    direction: rtl;
  }
  
  .portfolio-card-reverse > * {
    direction: ltr;
  }
}

.portfolio-image {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, hsl(var(--color-border-light)) 0%, hsl(var(--color-border)) 100%);
  overflow: hidden;
}

.portfolio-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: white;
  color: hsl(var(--color-primary));
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  z-index: 10; /* Pastikan badge selalu di atas Swiper */
}

.badge-perdagangan { color: hsl(var(--color-primary)); }
.badge-peternakan { color: hsl(30 100% 50%); } /* Menggunakan --color-accent */
.badge-logistik { color: hsl(30 100% 50%); }    /* Menggunakan --color-accent */
.badge-otomotif { color: hsl(197 71% 73%); }    /* Warna kustom */

.portfolio-content {
  padding: var(--spacing-xl);
}

.portfolio-icon {
  width: 3rem;
  height: 3rem;
  background: hsl(var(--color-primary) / 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
}

.portfolio-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: hsl(var(--color-primary));
  stroke-width: 2;
}

.portfolio-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: hsl(var(--color-primary));
  margin-bottom: var(--spacing-md);
}

.portfolio-description {
  color: hsl(var(--color-text-muted));
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--spacing-xl);
}

.portfolio-features {
  margin-bottom: var(--spacing-xl);
}

.features-title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: hsl(var(--color-primary));
  margin-bottom: var(--spacing-md);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: hsl(var(--color-text-muted));
}

.check-icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke: hsl(var(--color-primary));
  stroke-width: 2.5;
  flex-shrink: 0;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: var(--font-weight-semibold);
    color: hsl(var(--color-primary));
    transition: color var(--transition-fast);
}

.btn-link:hover {
    color: hsl(var(--color-primary-dark));
}

.btn-link .arrow-icon {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    transition: transform var(--transition-fast);
}

.btn-link:hover .arrow-icon {
    transform: translateX(4px);
}

/* main section

/* ========== HERO WRAPPER ========== */
.ukps-hero {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 32px auto;
  border-radius: 20px;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: center;
  background-image: url('/asset/background_ukps.png');
  background-size: cover;
  background-position: center;
}

.ukps-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.4) 55%);
  z-index: 1;
}

.ukps-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 48px 56px;
  display: flex;
  gap: 32px;
  align-items: center;
}

/* LEFT TEXT */
.ukps-hero-left { width: 48%; color: white; }

.ukps-subtitle {
  color: hsl(var(--color-primary));
  font-size: var(--font-size-sm);
  margin-bottom: 12px;
  letter-spacing: 0.4px;
}

.ukps-hero-title {
  font-size: 48px;
  line-height: .95;
  font-weight: var(--font-weight-bold);
  margin-bottom: 16px;
  color: hsl(var(--color-primary));
  text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

.ukps-hero-desc {
  color: rgba(255,255,255,.82);
  max-width: 420px;
  margin-bottom: 22px;
}

.ukps-cta {
  display: inline-block;
  background: linear-gradient(135deg, hsl(var(--color-primary)), hsl(var(--color-primary-dark)));
  color: white;
  padding: 12px 22px;
  border-radius: 999px;
}

/* RIGHT SLIDER */
.ukps-hero-right {
  flex: 1;
  width: 52%;
  display: flex;
  justify-content: flex-start;
  position: relative;
}

.ukps-thumbs-swiper {
  width: 100%;
  padding-left: 12%;
}

.ukps-thumbs-swiper .swiper-slide {
  width: 150px;
  height: 230px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.ukps-thumbs-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* NAV BUTTONS inside the slider */
.ukps-nav-circles {
  position: absolute;
  bottom: -26px;   /* masuk area bawah foto */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 5;
}

.ukps-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.ukps-slide-index {
  position: absolute;
  right: 36px;
  bottom: 36px;
  color: white;
  font-weight: 700;
}

/* pastikan nav tepat di bawah slider dan dapat diklik */
.ukps-nav-circles {
  position: absolute;
  bottom: -50px; /* atau sesuaikan */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 999;            /* sangat tinggi supaya tidak tertutup */
  pointer-events: auto;    /* pastikan clickable */
}

/* pastikan tombol sendiri menerima klik */
.ukps-nav-btn,
.ukps-prev-btn,
.ukps-next-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: 0.2s ease;
  z-index: 1000;           /* lebih tinggi lagi */
  pointer-events: auto;
}

/* jika ada overlay atau pseudo-element yang menutupi area, pastikan tidak menangkap pointer */
.ukps-hero::before,
.ukps-hero-overlay {
  pointer-events: none;
}

/*mobiel responsive UKPS*/

/* =========================================
   MOBILE RESPONSIVE – UKPS HERO
   ========================================= */

/* Tablet & bawah */
@media (max-width: 1024px) {
  .ukps-hero-inner {
    padding: 32px;
    gap: 24px;
  }

  .ukps-hero-title {
    font-size: 40px;
  }
}

/* MOBILE */
@media (max-width: 768px) {

  /* HERO jadi vertical */
  .ukps-hero {
    min-height: auto;
  }

  .ukps-hero-inner {
    flex-direction: column;
    padding: 28px 20px 80px;
    text-align: center;
  }

  /* LEFT CONTENT */
  .ukps-hero-left {
    width: 100%;
  }

  .ukps-subtitle {
    font-size: 0.8rem;
  }

  .ukps-hero-title {
    font-size: 32px;
    line-height: 1.05;
  }

  .ukps-hero-desc {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.9rem;
  }

  /* RIGHT SLIDER */
  .ukps-hero-right {
    width: 100%;
    margin-top: 18px;
    justify-content: center;
  }

  .ukps-thumbs-swiper {
    padding-left: 0;
  }

  /* SLIDE CARD – dipanjangkan ke bawah */
  .ukps-thumbs-swiper .swiper-slide {
    width: 140px;
    height: 200px;
  }

  /* NAV BUTTON – tetap di bawah slider */
  .ukps-nav-circles {
    bottom: -42px;
    gap: 12px;
  }

  .ukps-prev-btn,
  .ukps-next-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  /* INDEX */
  .ukps-slide-index {
    right: 16px;
    bottom: 16px;
    font-size: 16px;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {

  .ukps-hero-inner {
    padding: 22px 16px 76px;
  }

  .ukps-hero-title {
    font-size: 26px;
  }

  .ukps-hero-desc {
    font-size: 0.85rem;
  }

  /* slide lebih tinggi agar kelihatan seperti card */
  .ukps-thumbs-swiper .swiper-slide {
    width: 130px;
    height: 190px;
  }

  .ukps-nav-circles {
    bottom: -38px;
  }
}

/* =========================================
   MOBILE – SMALLER SLIDER IMAGE
   ========================================= */

@media (max-width: 768px) {

  /* perkecil area slider */
  .ukps-hero-right {
    margin-top: 14px;
  }

  /* swiper container */
  .ukps-thumbs-swiper {
  width: 100%;
  max-width: 420px;   /* ⬅️ container TETAP */
  margin: 0 auto;
}


  /* ukuran kartu slider diperkecil */
  .ukps-thumbs-swiper .swiper-slide {
  width: 95px;     /* foto kecil */
  height: 135px;
}

  /* rapatkan jarak antar slide */
  .ukps-thumbs-swiper .swiper-wrapper {
    gap: 0;
  }

  /* tombol ikut mengecil */
  .ukps-prev-btn,
  .ukps-next-btn {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .ukps-nav-circles {
    bottom: -36px;
  }
}

/* EXTRA SMALL MOBILE */
@media (max-width: 480px) {

  .ukps-thumbs-swiper .swiper-slide {
    width: 105px;
    height: 150px;
  }

  .ukps-nav-circles {
    bottom: -32px;
  }

  .ukps-slide-index {
    font-size: 14px;
  }
}

.ukps-thumbs-swiper {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.ukps-thumbs-swiper .swiper-slide {
  width: 120px ;
  height: 190px;
  
}

.ukps-thumbs-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}



/*optimalps*/

.optimalps-hero {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 32px auto;
  border-radius: 20px;
  overflow: hidden;
  min-height: 440px;
  background: hsl(var(--color-background));
}

.optimalps-hero-inner {
  display: flex;
  gap: 48px;
  padding: 48px 56px;
  align-items: center;
}

/* LEFT SLIDER */
.optimalps-hero-left {
  width: 42%;
}

.optimalps-vertical-swiper {
  width: 100%;
  height: 340px;
  border-radius: 18px;
  overflow: hidden;
}

.optimalps-slide {
  border-radius: 18px;
  overflow: hidden;
}

.optimalps-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RIGHT CONTENT */
.optimalps-hero-right {
  width: 58%;
  color: white;
  padding-left: 120px;
}

.optimalps-subtitle {
  color: hsl(var(--color-primary));
  font-size: var(--font-size-sm);
  letter-spacing: 0.4px;
  margin-bottom: 12px;
}

.optimalps-hero-title {
  font-size: 48px;
  line-height: .95;
  font-weight: var(--font-weight-bold);
  margin-bottom: 18px;
  color: hsl(var(--color-primary));
}

/*optimal deskripsi*/
.optimalps-hero-desc {
  max-width: 460px;
  color: rgba(4, 4, 4, 0.82);
  margin-bottom: 24px;
}

.optimalps-cta {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    hsl(var(--color-primary)),
    hsl(var(--color-primary-dark))
  );
  color: white;
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .optimalps-hero-inner {
    flex-direction: column;
  }

  .optimalps-hero-left,
  .optimalps-hero-right {
    width: 100%;
  }

  .optimalps-vertical-swiper {
    height: 260px;
  }
}

@media (max-width: 900px) {
  .optimalps-hero-right {
    padding-left: 0;
  }
}


.optimalps-hero-inner {
  position: relative;
  display: flex;
  align-items: center;
}

/* container tombol */
.optimalps-between-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); /* tepat di tengah */
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 10;
  pointer-events: auto;
  margin-left: -32px;
}

/* tombol */
.optimalps-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;

  background: hsl(var(--color-primary));
  backdrop-filter: blur(6px);
  color: white;
  font-size: 20px;
  font-weight: 700;

  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease;
}

.optimalps-nav-btn:hover {
  background: rgba(74, 73, 73, 0.258);
}

@media (max-width: 768px) {
  .optimalps-between-nav {
    display: none;
  }
}

@media (max-width: 901px) {
  .optimalps-between-nav {
    display: none;
  }
}


/* sikabu farm*/

.sikabufarm-section {
    background-color: hsl(var(--color-background)); /* Sesuai sistem warna Anda */
    padding: 0px 0;
}

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

/* Judul & Hero Utama */
.sikabufarm-title {
    font-size: 48px;
    font-weight: 800;
    color: hsl(var(--color-secondary));
    margin-bottom: 30px;
    text-align: center; 
    width: 100%;
    display: block;
}

.sikabufarm-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 450px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: white;
}

/* Carousel Card Styles */
.sikabuCarousel {
    padding-bottom: 50px !important;
}

.swiper-slide {
    height: auto; 
    display: flex; 
}

.article-card {
    position: relative;
    width: 100%;
    height: 480px; /* Tinggi seragam untuk semua kolom */
    border-radius: 16px;
    overflow: hidden;
    background: #eee;
    cursor: grab;
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-10px);
}

.card-bg-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

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

.card-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
}

.tag {
    background: #2563eb;
    color: white;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 20px;
    align-self: flex-start;
    margin-bottom: 15px;
}

.card-overlay h3 {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.card-overlay p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
}

.read-more {
    color: #3b82f6;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
}

.badge {
    background: #2563eb;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
    display: inline-block;
    width: fit-content; 
  
}

/* Container Utama Carousel */
.sikabuSwiper {
    /* Tambahkan padding atas agar hover tidak terpotong */
    padding: 30px 0 60px 0 !important; 
    overflow: visible !important; /* Memungkinkan elemen keluar sedikit dari jalurnya */
    clip-path: inset(-30px 0 -60px 0); /* Membatasi overflow hanya pada area yang dibutuhkan */
}

/* Kartu Artikel */
.article-bento {
    position: relative;
    height: 400px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background-color: #eee;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    cursor: grab;
}

/* Efek Hover (Bergerak ke Atas) */
.article-bento:hover {
    transform: translateY(-20px); /* Melompat ke atas */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); /* Tambahkan bayangan agar efek dramatis */
    z-index: 10;
}

/* Badge Inovasi (Memperbaiki lebar agar fit-content) */
.badge-blue {
    background-color: #2563eb;
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    width: fit-content; /* Hanya sepanjang tulisan */
    display: inline-block;
    margin-bottom: 12px;
}

/* angkasa ban dan oli */
.angkasaban-section {
    padding: 20px 0;
    background-color: #ffffff;
    overflow: hidden;
}

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

.angkasaban-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: #1a1a1a;
}

/* Flex Layout agar Teks dan Gambar Berdampingan */
.angkasaban-flex-layout {
    display: flex;
    align-items: flex-start;
    gap: 40px; /* Jarak aman antara teks dan gambar */
}

.angkasaban-text-col {
    flex: 1; /* Memberikan ruang 50% */
}

.angkasaban-image-col {
    flex: 1; /* Memberikan ruang 50% */
    width: 100%;
}

/* Perbaikan Kontainer Gambar */
.image-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-frame {
    width: 100%;
    height: 320px;
    border-radius: 15px;
    overflow: hidden;
}

.main-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Gambar akan mengisi kotak tanpa gepeng */
}

.side-frames {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.side-frames img {
    width: 100%;
    height: 160px;
    border-radius: 12px;
    object-fit: cover;
}

/* Styling Tambahan */
.angkasaban-badge {
    background-color: #ef4444;
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.feature-row {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 15px;
}

.feature-row .label {
    font-weight: 800;
    color: #111;
}

/* Responsif Mobile */
@media (max-width: 768px) {
    .angkasaban-flex-layout {
        flex-direction: column;
    }
    .angkasaban-text-col, .angkasaban-image-col {
        width: 100%;
    }
}

/* Layout Desktop (Default) */
.angkasaban-flex-layout {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.angkasaban-text-col { flex: 1; }
.angkasaban-image-col { flex: 1; }

.image-stack { display: flex; flex-direction: column; gap: 15px; }
.main-frame { width: 100%; height: 350px; border-radius: 15px; overflow: hidden; }
.main-frame img { width: 100%; height: 100%; object-fit: cover; }
.side-frames { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.side-frames img { width: 100%; height: 160px; border-radius: 12px; object-fit: cover; }

/* --- PERBAIKAN UNTUK MOBILE --- */
@media (max-width: 768px) {
    .angkasaban-flex-layout {
        flex-direction: column; /* Menyusun elemen secara vertikal */
    }

    .angkasaban-image-col {
        order: 1; /* Memberi urutan pertama setelah judul */
        width: 100%;
        margin-bottom: 20px;
    }

    .angkasaban-text-col {
        order: 2; /* Memberi urutan kedua setelah gambar */
        width: 100%;
        text-align: center; /* Opsional: membuat teks rata tengah di HP */
    }

    .angkasaban-badge {
        margin: 0 auto 15px; /* Mengetengahkan badge jika teks rata tengah */
    }

    .main-frame {
        height: 250px; /* Mengecilkan tinggi gambar utama di HP agar tidak terlalu panjang */
    }
}

/* bintang transport */

/* Container Utama */
.bintangtransport-section {
    padding: 30px 0; /* Jarak rapat sesuai permintaan */
    background-color: #fcfcfc;
    overflow: hidden;
}

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

/* Judul di Tengah */
.bintangtransport-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 30px;
    width: 100%;
}

/* Layout Flex */
.bintangtransport-flex-layout {
    display: flex;
    align-items: center;
    gap: 40px;
}

.bintangtransport-text-col {
    flex: 1;
}

.bintangtransport-text-col h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
    font-style: italic;
}

.bintangtransport-text-col p {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 15px;
}

/* Container Gambar */
.bintangtransport-image-col {
    flex: 1;
}

.bintangtransport-main-frame {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.bintangtransport-main-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    .bintangtransport-flex-layout {
        flex-direction: column;
    }

    .bintangtransport-image-col {
        order: 1; /* Gambar muncul setelah Judul */
        width: 100%;
    }

    .bintangtransport-text-col {
        order: 2; /* Teks muncul setelah Gambar */
        width: 100%;
        text-align: justify;
    }

    .bintangtransport-title {
        font-size: 1.8rem;
    }

    .bintangtransport-main-frame {
        height: 250px;
    }
}