/* Penyesuaian template Transp untuk PT Dua Sukses Logistik */
html {
  scroll-behavior: smooth;
}
main [id] {
  scroll-margin-top: 80px;
}

/* Top bar */
.box-bar .address-icon svg {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: -3px;
}

/* Header logo */
.header .main-header .header-left .header-logo {
  max-width: 160px;
  min-width: 140px;
}
.header .main-header .header-left .header-logo a img {
  min-height: 0;
  height: 52px;
  width: auto;
}
.mobile-menu-logo {
  max-width: 150px;
}

/* Hero */
.dsl-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 36, 90, 0.9) 0%, rgba(2, 49, 119, 0.68) 45%, rgba(2, 49, 119, 0.15) 100%);
}
.dsl-banner .container {
  position: relative;
  z-index: 2;
}
.btn-link-white {
  color: #ffffff;
  font-weight: 600;
  padding-left: 0;
  padding-right: 0;
}
.btn-link-white:hover {
  color: #FD7004;
}

/* Klien */
.box-client-logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.box-client-logo img {
  max-height: 62px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.box-client-logo .client-text {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.5px;
  color: #023177;
  text-align: center;
}

/* Tentang Kami */
.box-images-pround .box-images .img-main {
  width: 100%;
}
.list-ticks-full li {
  display: flex;
  align-items: flex-start;
  width: 100%;
}
.list-ticks-full li svg {
  flex: 0 0 16px;
  margin-top: 4px;
}
.box-about-closing {
  border-left: 4px solid #FD7004;
  background-color: #EEF3FB;
  padding: 25px 30px;
  margin-top: 20px;
}

/* Visi & Misi */
.box-image-touch.dsl-touch {
  background-image: url(../imgs/dsl/visi-misi.jpg);
  background-position: center;
}
.misi-item {
  display: flex;
  align-items: flex-start;
}
.misi-item .misi-number {
  flex: 0 0 44px;
  height: 44px;
  line-height: 44px;
  margin-right: 12px;
  border-radius: 50%;
  background-color: #023177;
  color: #ffffff;
  font-weight: 700;
  text-align: center;
}

/* Layanan */
.card-offer {
  height: calc(100% - 30px);
}
.card-offer .tag-service {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #023177;
  background-color: #E6EEF9;
}

/* Mengapa Memilih Kami */
.card-why {
  min-height: 250px;
}
.card-why .box-author {
  display: flex;
  align-items: center;
}
.card-why .why-icon {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  margin-right: 15px;
  border-radius: 50%;
  background-color: #023177;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-why .why-icon svg {
  width: 30px;
  height: 30px;
}

/* Nilai Perusahaan */
.list-how-works li .image-how .img .letter {
  font-size: 36px;
  font-weight: 700;
  color: #023177;
}
.box-info-bottom-img .image-play img {
  width: 71px;
  background-color: #ffffff;
  border-radius: 50%;
  padding: 10px;
}
.box-image-how > img {
  aspect-ratio: 668 / 602;
  object-fit: cover;
}

/* Latar dekoratif Layanan (.bg-under) melebar 100px ke kanan; potong agar halaman tidak bisa digeser ke samping */
#layanan {
  overflow-x: clip;
}

/* Unit Kami: kartu armada (foto, lencana nama + kapasitas, keterangan) */
.card-unit {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
  background-color: #ffffff;
  border: 1px solid #E8E9ED;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card-unit:hover {
  border-color: #023177;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(2, 49, 119, 0.12);
}
.card-unit .unit-image {
  height: 220px;
  padding: 25px 25px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #EEF3FB 0%, #F7F9FD 100%);
}
.card-unit .unit-image img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  transition: transform 0.3s ease;
}
.card-unit:hover .unit-image img {
  transform: scale(1.04);
}
.card-unit .unit-badge {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin: -28px 20px 0;
}
.card-unit .unit-icon {
  position: relative;
  z-index: 2;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background-color: #023177;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(2, 49, 119, 0.2);
}
.card-unit .unit-icon svg {
  width: 26px;
  height: 26px;
}
.card-unit .unit-label {
  flex: 1;
  min-width: 0;
  margin-left: -16px;
  padding-top: 6px;
}
.card-unit .unit-name {
  margin: 0;
  padding: 7px 26px 7px 26px;
  background-color: #023177;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
.card-unit .unit-capacity {
  display: inline-block;
  margin-top: 5px;
  padding: 4px 14px 4px 26px;
  border-radius: 0 20px 20px 0;
  background-color: #E6EEF9;
  color: #023177;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}
.card-unit .unit-desc {
  flex: 1;
  margin: 14px 20px 0;
}
.card-unit .unit-line {
  display: block;
  width: 48px;
  height: 3px;
  margin: 14px 20px 0;
  background-color: #FD7004;
}
@media (max-width: 575.98px) {
  .card-unit {
    padding-bottom: 16px;
  }
  .card-unit .unit-image {
    height: 130px;
    padding: 12px 12px 26px;
  }
  .card-unit .unit-badge {
    margin: -20px 10px 0;
  }
  .card-unit .unit-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    border-width: 2px;
  }
  .card-unit .unit-icon svg {
    width: 20px;
    height: 20px;
  }
  .card-unit .unit-label {
    margin-left: -12px;
    padding-top: 4px;
  }
  .card-unit .unit-name {
    padding: 5px 16px 5px 18px;
    font-size: 13px;
    line-height: 18px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  }
  .card-unit .unit-capacity {
    padding: 3px 10px 3px 18px;
    font-size: 11px;
    line-height: 15px;
  }
  .card-unit .unit-desc {
    margin: 10px 10px 0;
    font-size: 12px !important;
    line-height: 18px !important;
  }
  .card-unit .unit-line {
    margin: 10px 10px 0;
  }
}

/* Jangkauan */
.cardLeadingCompany {
  height: 100%;
  padding: 30px 25px;
}
.cardLeadingCompany .cardImage .img img {
  max-width: 46px;
}
.box-coverage {
  margin-top: 30px;
}
.box-image-map img {
  width: 100%;
  height: auto;
}

/* Galeri */
.box-gallery-dsl .gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
}
.box-gallery-dsl .gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.box-gallery-dsl .gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 4px solid #FD7004;
  background-color: rgba(2, 49, 119, 0);
  transition: background-color 0.3s ease;
}
.box-gallery-dsl .gallery-item:hover img {
  transform: scale(1.06);
}
.box-gallery-dsl .gallery-item:hover::after {
  background-color: rgba(2, 49, 119, 0.25);
}

/* Kontak */
.map-info .map-logo {
  max-width: 180px;
}
.box-map iframe {
  width: 100%;
}

/* Footer */
.footer .footer-logo {
  max-width: 180px;
}
.footer .contact-footer li span {
  color: #ffffff;
  font-size: 14px;
  line-height: 22px;
}
.footer .list-imgs li img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (max-width: 991.98px) {
  .map-info {
    position: relative;
    top: auto;
    bottom: auto;
    right: auto;
    max-width: 100%;
    margin-left: 0;
  }
  .card-why {
    min-height: 0;
  }
}

/* Penyesuaian tambahan */
.bg-customers-say::after {
  display: none;
}
.btn.btn-get-quote {
  white-space: nowrap;
}
@media (min-width: 1200px) {
  .footer .width-23 {
    width: 23%;
  }
  .footer .width-16 {
    width: 17%;
  }
  .footer .width-20 {
    width: 20%;
  }
}
@media (min-width: 992px) {
  .map-info {
    bottom: auto;
  }
}

.header .main-header .header-left .header-logo a img {
  height: 52px;
  width: auto;
}
.box-gallery-dsl .gallery-item img,
.footer .list-imgs li img {
  height: auto;
}

/* ==========================================================
   Palet warna DSL
   Biru logo (#023177) sebagai warna dominan. Oranye logo (#FD7004)
   hanya untuk aksen kecil (garis, ikon, teks sorotan) dan tidak
   dipakai sebagai background.
   ========================================================== */

/* Tombol utama: biru, hover biru lebih terang */
.btn.btn-brand-1,
.btn.btn-brand-1-big,
.btn.btn-get-quote {
  background: #023177;
  color: #ffffff;
}
.btn.btn-brand-1 svg,
.btn.btn-get-quote svg {
  color: #ffffff;
}
.btn.btn-brand-1:hover,
.btn.btn-brand-1-big:hover,
.btn.btn-get-quote:hover {
  background-color: #0A4AA8;
  color: #ffffff;
}

/* Di atas background biru (hero, CTA) tombol dibuat putih */
.dsl-banner .btn.btn-brand-1-big,
.bg-get-quote .btn.btn-get-quote {
  background: #ffffff;
  color: #023177;
}
.bg-get-quote .btn.btn-get-quote svg {
  color: #023177;
}
.dsl-banner .btn.btn-brand-1-big:hover,
.bg-get-quote .btn.btn-get-quote:hover,
.bg-get-quote .btn.btn-get-quote:hover * {
  background-color: #E6EEF9;
  color: #023177;
}
.swiper-pagination-banner .swiper-pagination-bullet-active {
  background: #ffffff;
  width: 28px;
}

/* Label kecil (Visi & Misi) */
.btn.btn-tag {
  background: #023177;
  color: #ffffff;
}

/* Kartu jangkauan wilayah */
.cardLeadingCompany:hover .cardImage .img {
  background-color: #ffffff;
}

/* Tombol panah slider */
.swiper-button-prev-style-1:hover svg,
.swiper-button-next-style-1:hover svg {
  color: #ffffff;
}

/* Nilai perusahaan */
.list-how-works li .image-how .img {
  border-color: #023177;
}

/* Aksen oranye tipis, bukan bingkai tebal */
.card-offer {
  border-bottom-width: 4px;
}
.box-form-contact-leading.box-coverage {
  border: 1px solid #E8E9ED;
  border-top: 4px solid #FD7004;
}
.header .main-menu li div.sub-menu,
.header .main-menu li ul {
  border-top-width: 4px;
}

/* ==========================================================
   Tipografi
   Satu huruf (Epilogue) dengan satu skala ukuran untuk semua section:
   - Judul section  : h2, biru (putih di atas latar biru)
   - Judul kartu    : h5, 600
   - Paragraf       : 16px (font-md), isi kartu 14px (font-sm), abu #5B647C
   - Tombol         : 15px, 600
   ========================================================== */
body {
  font-family: "epilogue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "epilogue", sans-serif;
  font-weight: 600;
  color: #023177;
  letter-spacing: -0.01em;
}
h1, .banner-title { font-size: 64px; line-height: 72px; }
h2 { font-size: 48px; line-height: 56px; }
h3 { font-size: 32px; line-height: 40px; }
h4 { font-size: 26px; line-height: 34px; }
h5 { font-size: 22px; line-height: 30px; }
h6 { font-size: 18px; line-height: 26px; }

@media (max-width: 1199.98px) {
  h1, .banner-title { font-size: 56px; line-height: 64px; }
  h2 { font-size: 42px; line-height: 50px; }
  h3 { font-size: 28px; line-height: 36px; }
}
@media (max-width: 991.98px) {
  h1, .banner-title { font-size: 48px; line-height: 56px; }
  h2 { font-size: 36px; line-height: 44px; }
  h3 { font-size: 26px; line-height: 34px; }
  h4 { font-size: 24px; line-height: 32px; }
  h5 { font-size: 20px; line-height: 28px; }
}
@media (max-width: 575.98px) {
  h1, .banner-title { font-size: 34px; line-height: 42px; }
  h2 { font-size: 28px; line-height: 36px; }
  h3 { font-size: 24px; line-height: 32px; }
  h4 { font-size: 20px; line-height: 28px; }
  h5 { font-size: 18px; line-height: 26px; }
  h6 { font-size: 16px; line-height: 24px; }
}

/* Judul kartu "Mengapa Memilih Kami" kini h5 */
.card-why .author-name {
  margin: 0;
}

/* Tombol: ukuran dan ketebalan huruf seragam */
.btn.btn-brand-1,
.btn.btn-brand-1-big,
.btn.btn-brand-2,
.btn.btn-get-quote,
.btn.btn-link-medium,
.btn.btn-link-white {
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0;
  text-transform: none;
}
.btn.btn-get-quote {
  padding: 20px 34px;
}
.btn.btn-get-quote svg {
  height: 20px;
}

/* Label kecil (Visi & Misi, jenis layanan) */
.btn.btn-tag,
.card-offer .tag-service {
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

/* Top bar */
.box-bar .phone-icon,
.box-bar .email-icon,
.box-bar .address-icon {
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
}

/* Footer: semua teks isi 14px */
.footer p,
.footer .menu-footer li a,
.footer .contact-footer li span,
.footer .footer-bottom span,
.footer .menu-bottom li a {
  font-size: 14px !important;
  font-weight: 400;
  line-height: 24px !important;
}

/* ==========================================================
   Tombol WhatsApp melayang
   ========================================================== */
.wa-widget {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-family: "epilogue", sans-serif;
}
.wa-fab {
  position: relative;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background-color: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(2, 49, 119, 0.28);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.wa-fab:hover {
  transform: scale(1.06);
}
.wa-fab:focus-visible {
  outline: 3px solid #023177 !important;
  outline-offset: 3px;
}
.wa-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: #25D366;
  z-index: -1;
  animation: wa-pulse 2.2s ease-out infinite;
}
.wa-fab svg {
  width: 30px;
  height: 30px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.wa-fab .wa-icon-close {
  position: absolute;
  width: 24px;
  height: 24px;
  opacity: 0;
  transform: rotate(-90deg);
}
.wa-widget.is-open .wa-fab {
  background-color: #023177;
}
.wa-widget.is-open .wa-fab::before {
  animation: none;
  opacity: 0;
}
.wa-widget.is-open .wa-icon-open {
  opacity: 0;
  transform: rotate(90deg);
}
.wa-widget.is-open .wa-icon-close {
  opacity: 1;
  transform: rotate(0);
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.7); opacity: 0; }
}
@keyframes wa-in {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

/* Pesan pembuka kecil */
.wa-teaser {
  position: relative;
  max-width: 230px;
  padding: 12px 30px 12px 14px;
  background-color: #ffffff;
  border-left: 3px solid #FD7004;
  box-shadow: 0 8px 24px rgba(2, 49, 119, 0.18);
  color: #06183A;
  font-size: 13px;
  line-height: 19px;
  cursor: pointer;
  animation: wa-in 0.3s ease;
}
.wa-teaser[hidden],
.wa-panel[hidden] {
  display: none;
}
.wa-teaser p {
  margin: 0;
  color: #06183A;
  font-size: 13px;
  line-height: 19px;
}
.wa-teaser strong {
  color: #023177;
}
.wa-teaser-close {
  position: absolute;
  top: 4px;
  right: 6px;
  border: 0;
  background: none;
  color: #818692;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

/* Panel chat */
.wa-panel {
  width: 340px;
  max-width: calc(100vw - 32px);
  background-color: #ffffff;
  box-shadow: 0 16px 40px rgba(2, 49, 119, 0.25);
  overflow: hidden;
  transform-origin: bottom right;
  animation: wa-in 0.25s ease;
}
.wa-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background-color: #023177;
  color: #ffffff;
}
.wa-avatar {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffffff;
  overflow: hidden;
}
.wa-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.wa-panel-info {
  flex: 1;
  min-width: 0;
}
.wa-panel-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  color: #ffffff;
}
.wa-panel-status {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 16px;
  color: #CBD9F0;
}
.wa-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background-color: #25D366;
}
.wa-panel-close {
  border: 0;
  background: none;
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  opacity: 0.8;
  cursor: pointer;
}
.wa-panel-close:hover {
  opacity: 1;
}
.wa-panel-body {
  padding: 16px;
  max-height: 55vh;
  overflow-y: auto;
  background-color: #EEF3FB;
}
.wa-bubble {
  display: inline-block;
  padding: 10px 14px;
  background-color: #ffffff;
  border-radius: 0 12px 12px 12px;
  color: #06183A;
  font-size: 14px;
  line-height: 21px;
  box-shadow: 0 1px 2px rgba(6, 24, 58, 0.08);
}
.wa-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.wa-topic {
  padding: 7px 12px;
  border: 1px solid #023177;
  border-radius: 20px;
  background-color: #ffffff;
  color: #023177;
  font-size: 13px;
  line-height: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.wa-topic:hover,
.wa-topic:focus-visible {
  background-color: #023177;
  color: #ffffff;
}
.wa-form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #E8E9ED;
}
.wa-form textarea {
  flex: 1;
  resize: none;
  max-height: 96px;
  padding: 9px 12px;
  border: 1px solid #E8E9ED;
  border-radius: 20px;
  color: #06183A;
  font-size: 14px;
  line-height: 20px;
}
.wa-form textarea:focus {
  border-color: #023177;
}
.wa-send {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background-color: #023177;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.wa-send:hover {
  background-color: #0A4AA8;
}
.wa-send svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 575.98px) {
  .wa-widget {
    right: 16px;
    bottom: 84px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab::before,
  .wa-panel,
  .wa-teaser {
    animation: none;
  }
}
