/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

:root {
  --primary-blue: #0a2463; /* Biru Tua elegan */
  --secondary-blue: #1e40af; /* Biru lebih terang untuk gradient */
  --primary-gold: #d4af37; /* Kuning Emas */
  --secondary-gold: #f4c430; /* Kuning Emas cerah */
  --dark: #050f24; /* Biru hampir hitam untuk footer */
  --gray: #f8f9fa;
  --gray-dark: #333;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--gray);
  color: var(--dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== HEADER ===== */
.header {
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--secondary-blue)
  );
  padding: 15px 20px;
  box-shadow: 0 4px 15px rgba(10, 36, 99, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 55px;
  height: 55px;
  background: linear-gradient(
    135deg,
    var(--primary-gold),
    var(--secondary-gold)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-weight: bold;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.logo-text h1 {
  font-size: 20px;
  color: var(--white);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.logo-text span {
  font-size: 11px;
  color: var(--primary-gold);
  font-weight: 600;
  letter-spacing: 2px;
}

.nav-desktop {
  display: flex;
  gap: 25px;
}

.nav-desktop a {
  color: #e0e0e0;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.3s;
}

.nav-desktop a:hover {
  color: var(--primary-gold);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== HERO / TRACKING SECTION ===== */
.tracking-section {
  background: linear-gradient(135deg, #f0f4ff 0%, #e6eaff 100%);
  padding: 60px 20px 70px;
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid var(--primary-gold);
}

.tracking-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.tracking-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tracking-subtitle {
  font-size: 15px;
  color: var(--gray-dark);
  margin-bottom: 30px;
}

.tracking-form {
  display: flex;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto 20px;
  background: white;
  padding: 8px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(10, 36, 99, 0.15);
  border: 1px solid rgba(10, 36, 99, 0.1);
}

.tracking-form input {
  flex: 1;
  padding: 14px 22px;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  outline: none;
  background: transparent;
  color: var(--primary-blue);
}

.tracking-form input::placeholder {
  color: #888;
}

.btn-lacak {
  background: linear-gradient(
    135deg,
    var(--primary-gold),
    var(--secondary-gold)
  );
  color: var(--primary-blue);
  border: none;
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-lacak:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(10, 36, 99, 0.4);
}

.truck-illustration {
  max-width: 220px;
  margin: 30px auto 0;
  animation: truckMove 3s ease-in-out infinite;
}

@keyframes truckMove {
  0%,
  100% {
    transform: translateX(-10px);
  }
  50% {
    transform: translateX(10px);
  }
}

.resi-info {
  margin-top: 15px;
  font-size: 13px;
  color: var(--gray-dark);
}

.resi-info a {
  color: var(--primary-blue);
  font-weight: 600;
}

/* ===== INFO CARDS ===== */
.info-section {
  padding: 60px 20px;
  background: white;
}

.info-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 28px;
  color: var(--primary-blue);
  margin-bottom: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-dark);
  margin-bottom: 40px;
  font-size: 15px;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.info-card {
  background: white;
  padding: 30px 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  border-top: 4px solid var(--primary-gold);
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(10, 36, 99, 0.15);
  border-top-color: var(--primary-blue);
}

.info-card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--secondary-blue)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 32px;
  box-shadow: 0 5px 15px rgba(10, 36, 99, 0.3);
}

.info-card h3 {
  font-size: 18px;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.info-card p {
  color: var(--gray-dark);
  font-size: 14px;
}

/* ===== KOTA LAYANAN ===== */
.kota-section {
  padding: 60px 20px;
  background: var(--gray);
}

.kota-container {
  max-width: 1200px;
  margin: 0 auto;
}

.kota-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.kota-item {
  background: white;
  padding: 18px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s;
  border-left: 4px solid var(--primary-blue);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.kota-item:hover {
  transform: translateX(5px);
  border-left-color: var(--primary-gold);
}

.kota-icon {
  font-size: 24px;
}

.kota-info h4 {
  font-size: 15px;
  color: var(--primary-blue);
  margin-bottom: 2px;
}

.kota-info span {
  font-size: 12px;
  color: var(--gray-dark);
}

/* ===== CONTACT ===== */
.contact-section {
  padding: 60px 20px;
  background: white;
}

.contact-container {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info h3 {
  font-size: 22px;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--secondary-blue)
  );
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  color: var(--primary-gold);
}

.contact-item h4 {
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 3px;
}

.contact-item p {
  font-size: 14px;
  color: var(--gray-dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-kirim {
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--secondary-blue)
  );
  color: var(--white);
  border: none;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s;
}

.btn-kirim:hover {
  background: linear-gradient(
    135deg,
    var(--primary-gold),
    var(--secondary-gold)
  );
  color: var(--primary-blue);
}

/* ===== BOTTOM BAR (Mobile Menu) ===== */
.bottom-bar {
  background: var(--primary-blue);
  color: white;
  padding: 18px 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: sticky;
  bottom: 0;
  z-index: 90;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

.bottom-bar-item {
  text-align: center;
  cursor: pointer;
  transition: color 0.3s;
}

.bottom-bar-item:hover {
  color: var(--primary-gold);
}

.bottom-bar-item .icon {
  font-size: 22px;
  margin-bottom: 3px;
}

.bottom-bar-item .label {
  font-size: 11px;
  font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: #ccc;
  padding: 40px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer-col h4 {
  color: var(--primary-gold);
  margin-bottom: 15px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col p,
.footer-col a {
  color: #ccc;
  font-size: 14px;
  line-height: 1.8;
  display: block;
}

.footer-col a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: #888;
}

/* ===== TRACKING RESULT ===== */
.result-section {
  padding: 40px 20px;
  min-height: 60vh;
}

.result-container {
  max-width: 900px;
  margin: 0 auto;
}

.result-header {
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--secondary-blue)
  );
  padding: 20px 25px;
  border-radius: 12px 12px 0 0;
  margin-bottom: 0;
  color: white;
  border-bottom: 4px solid var(--primary-gold);
}

.result-header h2 {
  font-size: 22px;
  color: var(--white);
}

.result-header .resi-number {
  font-size: 16px;
  color: var(--primary-gold);
  font-weight: 700;
  margin-top: 5px;
}

.paket-info {
  background: white;
  border-radius: 0 0 12px 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
}

.paket-info h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--primary-blue);
  border-bottom: 2px solid var(--primary-gold);
  padding-bottom: 8px;
}

.paket-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.paket-info-item label {
  font-size: 12px;
  color: var(--gray-dark);
  display: block;
  margin-bottom: 3px;
}

.paket-info-item strong {
  font-size: 14px;
  color: var(--dark);
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.status-diproses {
  background: #fff3cd;
  color: #856404;
}
.status-perjalanan {
  background: #d1ecf1;
  color: #0c5460;
}
.status-terkirim {
  background: #d4edda;
  color: #155724;
}
.status-gagal {
  background: #f8d7da;
  color: #721c24;
}

.timeline {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.timeline h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--primary-blue);
  border-bottom: 2px solid var(--primary-gold);
  padding-bottom: 8px;
}

.timeline-item {
  display: flex;
  gap: 18px;
  padding-bottom: 25px;
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 35px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--primary-gold), #eee);
}

.timeline-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--secondary-blue)
  );
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  font-size: 14px;
  font-weight: bold;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(10, 36, 99, 0.3);
  border: 2px solid white;
}

.timeline-content h4 {
  font-size: 15px;
  color: var(--primary-blue);
  margin-bottom: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

.timeline-content .timeline-location {
  font-size: 13px;
  color: var(--primary-gold);
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-content p {
  font-size: 13px;
  color: var(--gray-dark);
  margin-bottom: 4px;
}

.timeline-content .timeline-date {
  font-size: 12px;
  color: #888;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  padding: 15px 20px;
  border-radius: 10px;
  text-align: center;
  margin: 20px 0;
  font-weight: 600;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  padding: 15px 20px;
  border-radius: 10px;
  text-align: center;
  margin: 20px 0;
  font-weight: 600;
}

/* ===== RESPONSIVE / MOBILE ===== */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .tracking-title {
    font-size: 24px;
  }

  .tracking-form {
    flex-direction: column;
    border-radius: 15px;
    padding: 12px;
  }

  .tracking-form input {
    text-align: center;
    padding: 12px 16px;
  }

  .btn-lacak {
    width: 100%;
  }

  .truck-illustration {
    max-width: 160px;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .bottom-bar {
    display: flex;
  }

  .section-title {
    font-size: 22px;
  }

  .logo-text h1 {
    font-size: 16px;
  }

  .logo-text span {
    font-size: 9px;
  }

  .logo-img {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

@media (min-width: 769px) {
  .bottom-bar {
    display: none;
  }
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background: var(--primary-blue);
  padding: 30px 20px;
  z-index: 200;
  transition: right 0.3s ease;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav a {
  display: block;
  color: white;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 16px;
  font-weight: 600;
}

.mobile-nav a:hover {
  color: var(--primary-gold);
}

.mobile-nav-close {
  color: white;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  margin-bottom: 20px;
  float: right;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 150;
}

.overlay.active {
  display: block;
}

/* ===== TRACKING SECTION NEW LAYOUT ===== */
.tracking-section {
  background: linear-gradient(135deg, #0a2463 0%, #1e40af 100%) !important;
  padding: 60px 20px 80px !important;
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid var(--primary-gold);
}

.tracking-container-new {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.tracking-container-new .tracking-title {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tracking-container-new .tracking-subtitle {
  font-size: 15px;
  color: #e0e0e0 !important;
  margin-bottom: 25px;
}

.tracking-container-new .tracking-form {
  display: flex;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto 20px;
  background: white;
  padding: 8px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--primary-gold);
}

.tracking-container-new .tracking-form input {
  flex: 1;
  padding: 14px 22px;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  outline: none;
  background: transparent;
  color: var(--primary-blue);
}

.tracking-container-new .btn-lacak {
  background: linear-gradient(
    135deg,
    var(--primary-gold),
    var(--secondary-gold)
  ) !important;
  color: var(--primary-blue) !important;
  border: none;
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
}

.tracking-container-new .btn-lacak:hover {
  background: white !important;
  color: var(--primary-blue) !important;
}

.tracking-container-new .resi-info {
  margin-top: 15px;
  font-size: 13px;
  color: #ccc !important;
}

.tracking-container-new .resi-info a {
  color: var(--primary-gold) !important;
  font-weight: 600;
}

/* ===== TRUCK BOX (Hidden initially, slides in from LEFT to center) ===== */
.truck-box {
  max-width: 650px; /* DIPERBESAR dari 400px menjadi 550px */
  margin: 30px auto 0;
  opacity: 0;
  transform: translateX(-300px); /* Mulai dari luar layar sebelah KIRI */
  transition:
    opacity 0.8s ease,
    transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.truck-box.active {
  opacity: 1;
  transform: translateX(0); /* Geser ke KANAN menuju tengah */
}

.truck-img-animate {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.5));
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .truck-box {
    max-width: 380px; /* Diperbesar juga untuk HP */
  }
}

/* ==========================================
   NEW DESIGN - BORHU LOGISTIK (Biru-Emas)
   ========================================== */

/* ===== VARIABLES ===== */
:root {
  --primary-blue: #0a2463;
  --secondary-blue: #1e40af;
  --primary-gold: #ffd700;
  --secondary-gold: #fcd34d;
  --dark-blue: #061838;
  --light-gray: #f8fafc;
  --medium-gray: #e2e8f0;
  --text-dark: #1e293b;
  --text-gray: #64748b;
}

/* ===== BASE ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HERO SECTION (2 KOLOM) ===== */
.hero-section {
  background: linear-gradient(135deg, #061838 0%, #0a2463 50%, #1e40af 100%);
  padding: 60px 20px 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid var(--primary-gold);
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(
      circle at 20% 50%,
      rgba(255, 215, 0, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(30, 64, 175, 0.3) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--primary-gold),
    var(--secondary-gold)
  );
  color: var(--primary-blue);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero-title-yellow {
  color: var(--primary-gold);
}

.hero-desc {
  color: #cbd5e1;
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 500px;
}

.hero-form {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.form-input-wrapper {
  flex: 1;
  position: relative;
  background: white;
  border-radius: 50px;
  padding: 4px 20px 4px 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
}

.form-input-wrapper input {
  width: 100%;
  padding: 14px 0;
  border: none;
  background: transparent;
  font-size: 15px;
  outline: none;
  color: var(--text-dark);
}

.hero-btn {
  background: linear-gradient(
    135deg,
    var(--primary-gold),
    var(--secondary-gold)
  );
  color: var(--primary-blue);
  border: none;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.hero-info {
  color: #94a3b8;
  font-size: 13px;
}

.hero-info a {
  color: var(--primary-gold);
  font-weight: 600;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== TRUK ANIMATION ===== */
.truck-box {
  max-width: 550px;
  margin: 30px auto 0;
  opacity: 0;
  transform: translateX(-300px);
  transition:
    opacity 0.8s ease,
    transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.truck-box.active {
  opacity: 1;
  transform: translateX(0);
}

.truck-img-animate {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}

/* ===== SECTION STYLES ===== */
.section-light {
  padding: 80px 20px;
  background: white;
}

.section-dark {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: white;
}

.section-gray {
  padding: 80px 20px;
  background: var(--light-gray);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-line {
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-gold);
  margin: 0 auto 20px;
  border-radius: 2px;
}

.section-line-yellow {
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-gold);
  margin-bottom: 20px;
  border-radius: 2px;
}

.section-title-blue {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-title-yellow {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-gold);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-subtitle-gray {
  color: var(--text-gray);
  font-size: 16px;
}

/* ===== SERVICES GRID (5 KOLOM) ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--light-gray);
  padding: 35px 20px;
  border-radius: 16px;
  text-align: center;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  border: 1px solid var(--medium-gray);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(10, 36, 99, 0.15);
  background: white;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--secondary-blue)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  box-shadow: 0 5px 15px rgba(10, 36, 99, 0.3);
}

.service-card h3 {
  color: var(--primary-blue);
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 700;
}

.service-card p {
  color: var(--text-gray);
  font-size: 13px;
  line-height: 1.5;
}

/* ===== WHY CHOOSE US (6 FEATURES) ===== */
.why-header {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.why-left .why-desc {
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.why-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.feature-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.feature-icon-circle {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-gold),
    var(--secondary-gold)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 22px;
  font-weight: bold;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.feature-item h4 {
  color: white;
  font-size: 15px;
  margin-bottom: 4px;
  font-weight: 700;
}

.feature-item p {
  color: #94a3b8;
  font-size: 13px;
}

/* ===== NEWS CARDS ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.news-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  border: 1px solid var(--medium-gray);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10, 36, 99, 0.15);
}

.news-content {
  padding: 25px;
}

.news-badge {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--primary-gold),
    var(--secondary-gold)
  );
  color: var(--primary-blue);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
}

.news-title {
  color: var(--primary-blue);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-excerpt {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.news-date {
  color: #94a3b8;
  font-size: 13px;
}

/* ===== PROFIL CARD ===== */
.profil-card {
  background: white;
  padding: 35px;
  border-radius: 16px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--primary-gold);
}

.profil-title {
  color: var(--primary-blue);
  font-size: 24px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profil-img {
  width: 360px;
  max-width: 360px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  object-fit: contain;
}
.profil-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
}

.empty-state {
  text-align: center;
  padding: 40px;
  background: white;
  border-radius: 12px;
  color: var(--text-gray);
}

/* ===== CTA SECTION ===== */
.section-cta {
  background: linear-gradient(
    135deg,
    var(--primary-gold),
    var(--secondary-gold)
  );
  padding: 60px 20px;
}

.cta-title {
  color: var(--primary-blue);
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 15px;
}

.cta-desc {
  color: var(--primary-blue);
  font-size: 16px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-btn {
  display: inline-block;
  background: var(--primary-blue);
  color: white;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(10, 36, 99, 0.4);
  transition: transform 0.3s;
}

.cta-btn:hover {
  transform: scale(1.05);
}

.hero-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--primary-gold);
  border: 2px solid var(--primary-gold);
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: 0.3s;
}

.hero-btn-outline:hover {
  background: var(--primary-gold);
  color: var(--primary-blue);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-header {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-right {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-form {
    flex-direction: column;
    border-radius: 15px;
    padding: 12px;
  }
  .hero-btn {
    width: 100%;
  }
  .hero-title {
    font-size: 28px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-right {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .section-title-blue,
  .section-title-yellow {
    font-size: 24px;
  }
}

/* ==========================================
   NEW DESIGN - BORHU LOGISTIK (Biru-Emas)
   ========================================== */

/* ===== VARIABLES ===== */
:root {
  --primary-blue: #0a2463;
  --secondary-blue: #1e40af;
  --primary-gold: #ffd700;
  --secondary-gold: #fcd34d;
  --dark-blue: #061838;
  --light-gray: #f8fafc;
  --medium-gray: #e2e8f0;
  --text-dark: #1e293b;
  --text-gray: #64748b;
}

/* ===== BASE ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HERO SECTION (2 KOLOM) ===== */
.hero-section {
  background: linear-gradient(135deg, #061838 0%, #0a2463 50%, #1e40af 100%);
  padding: 60px 20px 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid var(--primary-gold);
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(
      circle at 20% 50%,
      rgba(255, 215, 0, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(30, 64, 175, 0.3) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--primary-gold),
    var(--secondary-gold)
  );
  color: var(--primary-blue);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero-title-yellow {
  color: var(--primary-gold);
}

.hero-desc {
  color: #cbd5e1;
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 500px;
}

.hero-form {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.form-input-wrapper {
  flex: 1;
  position: relative;
  background: white;
  border-radius: 50px;
  padding: 4px 20px 4px 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
}

.form-input-wrapper input {
  width: 100%;
  padding: 14px 0;
  border: none;
  background: transparent;
  font-size: 15px;
  outline: none;
  color: var(--text-dark);
}

.hero-btn {
  background: linear-gradient(
    135deg,
    var(--primary-gold),
    var(--secondary-gold)
  );
  color: var(--primary-blue);
  border: none;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.hero-info {
  color: #94a3b8;
  font-size: 13px;
}

.hero-info a {
  color: var(--primary-gold);
  font-weight: 600;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== TRUK ANIMATION ===== */
.truck-box {
  max-width: 550px;
  margin: 30px auto 0;
  opacity: 0;
  transform: translateX(-300px);
  transition:
    opacity 0.8s ease,
    transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.truck-box.active {
  opacity: 1;
  transform: translateX(0);
}

.truck-img-animate {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}

/* ===== SECTION STYLES ===== */
.section-light {
  padding: 80px 20px;
  background: white;
}

.section-dark {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: white;
}

.section-gray {
  padding: 80px 20px;
  background: var(--light-gray);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-line {
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-gold);
  margin: 0 auto 20px;
  border-radius: 2px;
}

.section-line-yellow {
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-gold);
  margin-bottom: 20px;
  border-radius: 2px;
}

.section-title-blue {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-title-yellow {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-gold);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-subtitle-gray {
  color: var(--text-gray);
  font-size: 16px;
}

/* ===== SERVICES GRID (5 KOLOM) ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--light-gray);
  padding: 35px 20px;
  border-radius: 16px;
  text-align: center;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  border: 1px solid var(--medium-gray);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(10, 36, 99, 0.15);
  background: white;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--secondary-blue)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  box-shadow: 0 5px 15px rgba(10, 36, 99, 0.3);
}

.service-card h3 {
  color: var(--primary-blue);
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 700;
}

.service-card p {
  color: var(--text-gray);
  font-size: 13px;
  line-height: 1.5;
}

/* ===== WHY CHOOSE US (6 FEATURES) ===== */
.why-header {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.why-left .why-desc {
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.why-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.feature-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.feature-icon-circle {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-gold),
    var(--secondary-gold)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 22px;
  font-weight: bold;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.feature-item h4 {
  color: white;
  font-size: 15px;
  margin-bottom: 4px;
  font-weight: 700;
}

.feature-item p {
  color: #94a3b8;
  font-size: 13px;
}

/* ===== NEWS CARDS ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.news-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  border: 1px solid var(--medium-gray);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10, 36, 99, 0.15);
}

.news-badge {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--primary-gold),
    var(--secondary-gold)
  );
  color: var(--primary-blue);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
}

.news-title {
  color: var(--primary-blue);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-excerpt {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.news-date {
  color: #94a3b8;
  font-size: 13px;
}

/* ===== PROFIL CARD ===== */
.profil-card {
  background: white;
  padding: 35px;
  border-radius: 16px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--primary-gold);
}

.profil-title {
  color: var(--primary-blue);
  font-size: 24px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profil-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 25px;
  display: block;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.profil-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
}

.empty-state {
  text-align: center;
  padding: 40px;
  background: white;
  border-radius: 12px;
  color: var(--text-gray);
}

/* ===== CTA SECTION ===== */
.section-cta {
  background: linear-gradient(
    135deg,
    var(--primary-gold),
    var(--secondary-gold)
  );
  padding: 60px 20px;
}

.cta-title {
  color: var(--primary-blue);
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 15px;
}

.cta-desc {
  color: var(--primary-blue);
  font-size: 16px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-btn {
  display: inline-block;
  background: var(--primary-blue);
  color: white;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(10, 36, 99, 0.4);
  transition: transform 0.3s;
}

.cta-btn:hover {
  transform: scale(1.05);
}

.hero-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--primary-gold);
  border: 2px solid var(--primary-gold);
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: 0.3s;
}

.hero-btn-outline:hover {
  background: var(--primary-gold);
  color: var(--primary-blue);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-header {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-right {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-form {
    flex-direction: column;
    border-radius: 15px;
    padding: 12px;
  }
  .hero-btn {
    width: 100%;
  }
  .hero-title {
    font-size: 28px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-right {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .section-title-blue,
  .section-title-yellow {
    font-size: 24px;
  }
}

/* ===== AKTIVASI MENU HAMBURGER MOBILE ===== */
@media (max-width: 768px) {
  /* Sembunyikan menu desktop */
  .nav-desktop {
    display: none !important;
  }

  /* Tampilkan tombol hamburger */
  .menu-toggle {
    display: flex !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 10px !important;
    z-index: 201 !important;
  }

  /* Pastikan garis 3 terlihat jelas */
  .menu-toggle span {
    width: 28px !important;
    height: 3px !important;
    background: white !important;
    border-radius: 2px !important;
    transition: 0.3s !important;
    display: block !important;
  }

  /* Efek animasi saat menu dibuka (X) */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
  }

  /* Pastikan header tidak tertutup */
  .header {
    position: sticky;
    top: 0;
    z-index: 200;
  }

  /* Style mobile nav */
  .mobile-nav {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 350px;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    padding: 80px 25px 30px;
    z-index: 199;
    transition: right 0.3s ease;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
  }

  .mobile-nav.active {
    right: 0;
  }

  .mobile-nav a {
    display: block;
    color: white;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
    font-weight: 600;
    transition: 0.3s;
  }

  .mobile-nav a:hover {
    color: var(--primary-gold);
    padding-left: 10px;
  }

  .mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
  }

  /* Overlay hitam saat menu dibuka */
  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 198;
    backdrop-filter: blur(2px);
  }

  .overlay.active {
    display: block;
  }
}

/* ==========================================
   FIX: CEGAH HORIZONTAL SCROLL DI MOBILE
   ========================================== */

/* Pastikan body tidak bisa scroll ke samping */
html,
body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* Pastikan semua section tidak melebihi lebar layar */
section {
  max-width: 100% !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}

/* Pastikan container juga tidak overflow */
.container,
.hero-container,
.info-container,
.tracking-container-new,
.contact-container,
.kota-container,
.result-container {
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

/* Fix grid di mobile agar tidak terlalu lebar */
@media (max-width: 768px) {
  /* Hero section */
  .hero-section {
    padding: 40px 15px !important;
    overflow: hidden !important;
  }

  .hero-container {
    gap: 25px !important;
  }

  .hero-title {
    font-size: 24px !important;
    line-height: 1.3 !important;
    word-wrap: break-word !important;
  }

  .hero-desc {
    font-size: 14px !important;
  }

  /* Form tracking di mobile */
  .hero-form {
    flex-direction: column !important;
    width: 100% !important;
  }

  .form-input-wrapper {
    width: 100% !important;
    padding: 4px 15px 4px 45px !important;
  }

  .hero-btn {
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 14px !important;
  }

  /* Truk animasi */
  .truck-box {
    max-width: 280px !important;
    margin: 20px auto 0 !important;
  }

  /* Section padding lebih kecil di mobile */
  .section-light,
  .section-dark,
  .section-gray,
  .section-cta {
    padding: 40px 15px !important;
  }

  /* Services grid - 2 kolom di mobile */
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }

  .service-card {
    padding: 20px 10px !important;
  }

  .service-icon {
    width: 50px !important;
    height: 50px !important;
    font-size: 24px !important;
  }

  .service-card h3 {
    font-size: 13px !important;
  }

  .service-card p {
    font-size: 11px !important;
  }

  /* Why choose us */
  .why-header {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .why-right {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .section-title-yellow {
    font-size: 24px !important;
  }

  /* News grid */
  .news-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .news-img-wrapper {
    height: 180px !important;
  }

  /* Profil */
  .profil-card {
    padding: 20px !important;
  }

  .profil-title {
    font-size: 20px !important;
  }

  /* CTA */
  .cta-title {
    font-size: 22px !important;
  }

  .cta-desc {
    font-size: 14px !important;
  }

  /* Section header */
  .section-header {
    margin-bottom: 30px !important;
  }

  .section-title-blue {
    font-size: 22px !important;
  }

  .section-subtitle-gray {
    font-size: 14px !important;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }

  .footer {
    padding: 30px 15px 15px !important;
  }
}

/* Khusus untuk tablet (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-title {
    font-size: 32px !important;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Fix elemen yang sering bikin overflow */
img {
  max-width: 100% !important;
  height: auto !important;
}

/* Pastikan tabel juga tidak overflow */
table {
  max-width: 100% !important;
}

/* Fix untuk elemen dengan position absolute yang bisa bikin overflow */
.hero-section::before,
.truck-animation-wrapper,
.truck-box {
  max-width: 100% !important;
}

/* Cegah teks panjang bikin overflow */
h1,
h2,
h3,
h4,
p {
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}

/* ==========================================
   STICKY HEADER - TETAP DI ATAS SAAT SCROLL
   ========================================== */

/* ==========================================
   FIXED HEADER - SEMUA DEVICE (FIX BERSIH)
   ========================================== */

/* Header pakai position: fixed agar benar-benar menempel */
.header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: linear-gradient(135deg, #0a2463, #1e40af) !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2) !important;
}

/* Beri ruang di body agar konten tidak tertutup header */
body {
  padding-top: 75px !important;
}

/* Mobile nav dan overlay mulai dari bawah header */
.mobile-nav,
.overlay {
  top: 75px !important;
}

.mobile-nav {
  padding-top: 20px !important;
}

/* Khusus mobile - kompres ukuran */
@media (max-width: 768px) {
  body {
    padding-top: 65px !important;
  }
  .mobile-nav,
  .overlay {
    top: 65px !important;
  }
  .header {
    padding: 10px 15px !important;
  }
  .logo-img {
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
  }
  .logo-text h1 {
    font-size: 14px !important;
  }
  .logo-text span {
    font-size: 9px !important;
  }
  .menu-toggle {
    padding: 8px !important;
  }
  .menu-toggle span {
    height: 3px !important;
    background: white !important;
    width: 24px !important;
  }
}

/* ==========================================
   WATERMARK RUTE - SURABAYA-KUPANG-TIMOR LESTE
   ========================================== */

/* Watermark utama di body halaman depan */
body::before {
  content: "SURABAYA • KUPANG • TIMOR LESTE";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-size: 80px;
  font-weight: 900;
  color: rgba(10, 36, 99, 0.04);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  letter-spacing: 5px;
  text-transform: uppercase;
}

/* Watermark tambahan lebih kecil */
body::after {
  content: "BORHU LOGISTIK & TRANSPOR";
  position: fixed;
  bottom: 10%;
  right: -50px;
  transform: rotate(-30deg);
  font-size: 50px;
  font-weight: 900;
  color: rgba(212, 175, 55, 0.05);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Pastikan semua konten tetap di atas watermark */
.header,
.hero-section,
.section-light,
.section-dark,
.section-gray,
.section-cta,
.footer {
  position: relative;
  z-index: 1;
}

/* ==========================================
   DASHBOARD ADMIN - TAMPILAN LEBIH MENARIIK
   ========================================== */

/* Header admin lebih menarik */
.header-admin {
  background: linear-gradient(135deg, #0a2463 0%, #1e40af 100%) !important;
  padding: 18px 25px !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  box-shadow: 0 4px 20px rgba(10, 36, 99, 0.3) !important;
  border-bottom: 3px solid #d4af37 !important;
}

.header-admin h1 {
  color: #d4af37 !important;
  font-size: 20px !important;
  letter-spacing: 1px !important;
  font-weight: 700 !important;
}

.header-admin a {
  background: linear-gradient(135deg, #d4af37, #fcd34d) !important;
  color: #0a2463 !important;
  padding: 8px 18px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  transition: all 0.3s !important;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3) !important;
}

.header-admin a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.5) !important;
}

/* Sidebar admin lebih elegan */
.sidebar {
  background: linear-gradient(180deg, #0a2463 0%, #061838 100%) !important;
  border-right: 2px solid rgba(212, 175, 55, 0.2) !important;
}

.sidebar a {
  color: rgba(255, 255, 255, 0.9) !important;
  border-left: 4px solid transparent !important;
  transition: all 0.3s !important;
}

.sidebar a:hover {
  background: rgba(212, 175, 55, 0.1) !important;
  border-left-color: #d4af37 !important;
  color: #d4af37 !important;
}

/* Kartu di dashboard lebih menarik */
.card {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%) !important;
  border: 1px solid #e2e8f0 !important;
  border-left: 4px solid #d4af37 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.3s !important;
}

.card:hover {
  box-shadow: 0 8px 25px rgba(10, 36, 99, 0.1) !important;
}

.card h2 {
  color: #0a2463 !important;
  font-weight: 700 !important;
  border-bottom: 2px solid #d4af37 !important;
  padding-bottom: 10px !important;
  margin-bottom: 15px !important;
}

/* Tabel admin lebih profesional */
table {
  border-radius: 8px !important;
  overflow: hidden !important;
}

table th {
  background: linear-gradient(135deg, #0a2463, #1e40af) !important;
  color: #d4af37 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
  letter-spacing: 1px !important;
  padding: 15px !important;
}

table td {
  padding: 12px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

table tr:hover td {
  background: #f8fafc !important;
}

/* Tombol admin lebih menarik */
.btn {
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: all 0.3s !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.btn-success {
  background: linear-gradient(135deg, #16a34a, #22c55e) !important;
  border: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, #0a2463, #1e40af) !important;
  border: none !important;
}

.btn-warning {
  background: linear-gradient(135deg, #d4af37, #fcd34d) !important;
  color: #0a2463 !important;
  border: none !important;
}

.btn-danger {
  background: linear-gradient(135deg, #dc3545, #e74c3c) !important;
  border: none !important;
}

.btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

/* Form input admin lebih keren */
.form-group input,
.form-group select,
.form-group textarea {
  border: 2px solid #e2e8f0 !important;
  border-radius: 8px !important;
  transition: all 0.3s !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0a2463 !important;
  box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.1) !important;
}

/* Alert/notif lebih menarik */
.alert {
  border-radius: 8px !important;
  border-left: 4px solid !important;
  animation: slideIn 0.3s ease !important;
}

@keyframes slideIn {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Login box lebih premium */
.login-box {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%) !important;
  border: 1px solid #e2e8f0 !important;
  border-top: 5px solid #d4af37 !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.login-box h2 {
  color: #0a2463 !important;
}

/* ==========================================
   LAYOUT PROFIL TENTANG KAMI (FOTO KANAN, TEKS KIRI)
   ========================================== */

/* Grid layout untuk profil - 3 kolom, wrap ke bawah jika lebih dari 3 */
.section-gray .container {
  max-width: 1200px !important;
}

.section-gray .info-container > .profil-card,
.section-gray .container > .profil-card {
  display: flex !important;
  flex-direction: row !important;
  gap: 20px !important;
  align-items: flex-start !important;
  padding: 20px !important;
  margin-bottom: 20px !important;
}

/* Text di kiri (lebih besar) */
.section-gray .profil-card .profil-text {
  flex: 1 !important;
  order: 1 !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

/* Title tetap di atas text */
.section-gray .profil-card .profil-title {
  flex: 1 !important;
  order: 1 !important;
  width: 100% !important;
  margin-bottom: 12px !important;
  font-size: 18px !important;
}

/* Foto di kanan */
.section-gray .profil-card .profil-img {
  width: 280px !important;
  max-width: 280px !important;
  height: 200px !important;
  max-height: 200px !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  order: 2 !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Pastikan title dan text berada di container kiri */
.section-gray .profil-card .profil-title + .profil-img + .profil-text {
  flex: 1 !important;
}

/* Wrapper untuk konten kiri (title + text) */
.section-gray .profil-card {
  flex-wrap: wrap !important;
}

/* Mobile - foto kembali ke atas */
@media (max-width: 768px) {
  .section-gray .profil-card {
    flex-direction: column !important;
    padding: 15px !important;
  }

  .section-gray .profil-card .profil-img {
    width: 100% !important;
    max-width: 100% !important;
    height: 180px !important;
    max-height: 180px !important;
    order: 0 !important;
    margin-bottom: 15px !important;
  }

  .section-gray .profil-card .profil-title {
    order: 1 !important;
  }

  .section-gray .profil-card .profil-text {
    order: 2 !important;
  }
}

/* ===== FOOTER ===== */

.footer {
  background: #062c68;
  color: rgba(255, 255, 255, 0.85);
  padding: 40px 0 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding-bottom: 30px;
}

.footer-brand .footer-logo {
  justify-content: center !important;
}

.footer-logo-mark {
  margin: 0 auto 12px auto !important;
  width: 42px;
  height: 42px;
}

.footer-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer-logo-text h2 {
  font-size: 22px;
  color: #ffd600;
  font-weight: 900;
  line-height: 1;
  margin: 0;
}

.footer-logo-text span {
  font-size: 11px;
  color: #ffffff;
  letter-spacing: 0.5px;
  display: block;
  margin-top: 2px;
}

.footer-tagline {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  margin: 0;
}

.footer-col {
  text-align: center;
}

.footer-col.footer-brand {
  text-align: center !important;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.footer-col a,
.footer-col p {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  margin-bottom: 8px;
  transition: color 0.3s;
  line-height: 1.5;
  text-decoration: none;
  text-align: center;
}

.footer-col a:hover {
  color: #ffd600;
}

.footer-icon {
  margin-right: 5px;
  display: inline-block;
  width: 18px;
}

.footer-contact-link {
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 13px;
  transition: color 0.3s;
}

.footer-contact-link:hover {
  color: #ffd600;
}

/* ===== IKON SOSIAL ===== */
.social-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  flex: 0 1 auto;
  transition: all 0.3s ease;
}

.social-item:hover {
  color: #ffd600;
  transform: translateY(-3px);
}

.social-icon-small {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.social-icon-small svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.social-item[title="Facebook"]:hover .social-icon-small {
  background: #1877f2;
  border-color: #1877f2;
  color: #ffffff;
}

.social-item[title="Instagram"]:hover .social-icon-small {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
  border-color: transparent;
  color: #ffffff;
}

.social-item[title="TikTok"]:hover .social-icon-small {
  background: #000000;
  border-color: #ff0000;
  color: #ff0000;
}

.social-item[title="YouTube"]:hover .social-icon-small {
  background: #ff0000;
  border-color: #ff0000;
  color: #ffffff;
}

.social-name-small {
  font-size: 11px;
  font-weight: 500;
  text-align: center;
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 0;
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffd600;
}

.footer-links span {
  margin: 0 8px;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px 30px;
  }
  .footer-bottom-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 0 20px;
  }
}

/* ===== LOGO HEADER (GAMBAR) ===== */
.header-logo-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .header-logo-img {
    width: 40px;
    height: 40px;
  }
}

/* ===== LIGHTBOX (POP-UP GAMBAR UTUH) ===== INFO TERBARU PUNYA*/
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #ffffff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.lightbox-close:hover {
  color: #ffd600;
}

/* ===== KONTAK FOOTER RAPI ===== */
.contact-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}

.contact-item:hover {
  color: #ffd600;
}

.contact-item .footer-icon {
  margin-right: 0;
  width: auto;
  flex-shrink: 0;
}

.address-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.address-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.city-label {
  font-size: 11px;
  font-weight: 700;
  color: #ffd600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.address-item p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.4;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contact-item,
  .address-item {
    justify-content: center;
    align-items: center;
  }
}
/* ===== ANIMASI HALAMAN KOTA LAYANAN ===== */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-down {
  animation: fadeDown 0.8s ease-out;
}
.animate-fade-up {
  animation: fadeUp 0.8s ease-out 0.2s both;
}

/* Animasi untuk kartu kota */
.kota-item {
  opacity: 0;
  animation: fadeUp 0.5s ease-out forwards;
}

/* Delay bertingkat untuk efek staggered */
.kota-item:nth-child(1) {
  animation-delay: 0.1s;
}
.kota-item:nth-child(2) {
  animation-delay: 0.2s;
}
.kota-item:nth-child(3) {
  animation-delay: 0.3s;
}
.kota-item:nth-child(4) {
  animation-delay: 0.4s;
}
.kota-item:nth-child(5) {
  animation-delay: 0.5s;
}
.kota-item:nth-child(6) {
  animation-delay: 0.6s;
}
.kota-item:nth-child(7) {
  animation-delay: 0.7s;
}
.kota-item:nth-child(8) {
  animation-delay: 0.8s;
}
