/* ==================================================
   BASE
================================================== */

:root {
  --primary: #0d6efd;
  --primary-dark: #0b5ed7;
  --dark: #212529;
  --muted: #6c757d;
  --light-bg: #f6f9ff;
  --white: #ffffff;
  --border: #e6e9f0;
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--white);
  color: var(--dark);
  font-family: "Ubuntu", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

body.mobile-menu-open,
body.wid-lightbox-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Poppins", sans-serif;
  line-height: 1.2;
}

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

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

button,
input {
  font: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  min-width: 0;
  margin: 0 auto;
  padding-right: 24px;
  padding-left: 24px;
}

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

.btn-primary {
  display: inline-flex;
  min-height: 46px;
  padding: 12px 28px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}

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

.btn-primary:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.btn-outline-light {
  display: inline-flex;
  min-height: 46px;
  padding: 12px 34px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  border-radius: 50px;
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

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

/* ==================================================
   HEADER
================================================== */

.header {
  position: fixed;
  z-index: 999;
  top: 18px;
  right: 0;
  left: 0;
  transition: top 0.3s ease;
}

.header-inner {
  display: flex;
  width: 100%;
  max-width: 1240px;
  min-width: 0;
  margin: 0 auto;
  padding: 10px 18px 10px 28px;
  align-items: center;
  justify-content: space-between;
  border-radius: 60px;
  background: var(--white);
  box-shadow: 0 10px 40px rgba(13, 110, 253, 0.08);
  transition:
    border-radius 0.3s ease,
    box-shadow 0.3s ease;
}

.header.scrolled {
  top: 0;
}

.header.scrolled .header-inner {
  border-radius: 0;
}

.logo {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  width: auto;
  height: 42px;
  object-fit: contain;
}

.navbar {
  min-width: 0;
}

.navbar ul {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-link {
  position: relative;
  color: var(--dark);
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.btn-signin {
  display: inline-flex;
  min-height: 42px;
  padding: 10px 26px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50px;
  background: var(--primary);
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  transition: background-color 0.25s ease;
}

.btn-signin:hover {
  background: var(--primary-dark);
}

.mobile-nav-toggle {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-size: 24px;
  cursor: pointer;
}

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

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: center;
  overflow: hidden;
  background:
    url("assets/hero-trucks.webp")
    center / cover
    no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-content h1 {
  margin-bottom: 20px;
  color: var(--dark);
  font-size: 56px;
  font-weight: 700;
}

.hero-content p {
  max-width: 480px;
  margin-bottom: 32px;
  color: #333;
  font-size: 19px;
}

.hero-mascot {
  position: absolute;
  z-index: 2;
  right: 6%;
  bottom: 0;
  width: 340px;
  animation: floaty 3s ease-in-out infinite;
}

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

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

/* ==================================================
   TRACKING FORM
================================================== */

.tracking-section {
  position: relative;
  z-index: 5;
  margin-top: -55px;
}

.tracking-card {
  width: 100%;
  max-width: 980px;
  min-width: 0;
  padding: 26px 30px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.tracking-card h4 {
  max-width: 430px;
  margin-bottom: 14px;
  font-size: 20px;
}

.tracking-form {
  display: flex;
  width: 100%;
  max-width: 430px;
  min-width: 0;
  gap: 10px;
}

.tracking-form input {
  width: 100%;
  min-width: 0;
  padding: 12px 16px;
  flex: 1 1 auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  font-family: "Ubuntu", sans-serif;
  font-size: 15px;
}

.tracking-form input:focus {
  border-color: var(--primary);
}

.tracking-result {
  width: 100%;
  max-width: 100%;
  min-height: 18px;
  margin-top: 12px;
  color: var(--primary);
  font-size: 14px;
}

/* ==================================================
   SECTION TITLE
================================================== */

.section-title {
  margin-bottom: 50px;
  text-align: center;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
  font-size: 38px;
  font-weight: 700;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 60px;
  height: 3px;
  background: var(--primary);
  transform: translateX(-50%);
}

.section-title p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 17px;
}

/* ==================================================
   ABOUT
================================================== */

.about-section {
  padding: 100px 0 90px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 50px;
}

.subtitle {
  color: var(--primary);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
}

.about-text {
  min-width: 0;
}

.about-text h2 {
  margin: 10px 0 18px;
  font-size: 34px;
  font-weight: 700;
}

.about-text > p {
  margin-bottom: 16px;
  color: #555;
}

.about-contacts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 26px;
}

.about-contact {
  min-width: 0;
}

.about-contact h5 {
  margin-bottom: 14px;
  font-size: 18px;
}

.about-contact p {
  margin-bottom: 14px;
  color: #555;
  font-size: 14px;
}

.about-contact a {
  color: var(--primary);
  font-weight: 500;
  overflow-wrap: anywhere;
}

.about-contact a i {
  margin-right: 4px;
}

.about-visual {
  position: relative;
  min-width: 0;
}

.about-visual img {
  width: 100%;
}

.experience-badge {
  position: absolute;
  right: 0;
  bottom: 24px;
  padding: 18px 26px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 14px 40px rgba(13, 110, 253, 0.35);
}

.experience-badge h3 {
  font-size: 30px;
  font-weight: 700;
}

.experience-badge h3 span {
  font-size: 15px;
  font-weight: 400;
}

.experience-badge p {
  font-size: 13px;
  opacity: 0.9;
}

/* ==================================================
   FEATURES
================================================== */

.features-section {
  padding: 80px 0;
  background: var(--light-bg);
}

.feature-tabs {
  max-width: 1080px;
  margin: 0 auto;
}

.tab-nav {
  display: flex;
  width: 100%;
  max-width: 560px;
  margin: 0 auto 50px;
  padding: 6px;
  justify-content: center;
  gap: 0;
  overflow: hidden;
  border-radius: 50px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  list-style: none;
}

.tab-item {
  min-width: 0;
  padding: 14px 10px;
  flex: 1 1 0;
  border-radius: 50px;
  text-align: center;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.tab-item h4 {
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.tab-item.active {
  background: var(--primary);
}

.tab-item.active h4 {
  color: var(--white);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 50px;
}

.tab-text,
.tab-image {
  min-width: 0;
}

.tab-text h3 {
  position: relative;
  margin-bottom: 18px;
  padding-bottom: 14px;
  font-size: 30px;
  font-weight: 700;
}

.tab-text h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
}

.tab-text > p {
  margin-bottom: 22px;
  color: #444;
  font-style: italic;
}

.check-list {
  display: grid;
  gap: 16px;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  color: #555;
  font-size: 15px;
}

.check-list li i {
  display: grid;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  place-items: center;
  flex: 0 0 24px;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.12);
  color: var(--primary);
  font-size: 12px;
}

.value-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 70px;
}

.value-card {
  min-width: 0;
  padding: 30px 24px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.value-card:hover {
  box-shadow: 0 18px 40px rgba(13, 110, 253, 0.15);
  transform: translateY(-8px);
}

.value-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.12);
  color: var(--primary);
  font-size: 22px;
}

.value-card h4 {
  margin-bottom: 10px;
  font-size: 20px;
}

.value-card p {
  color: var(--muted);
  font-size: 14px;
}

/* ==================================================
   REALTIME
================================================== */

.realtime-section {
  padding: 90px 0;
}

.realtime-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 30px;
}

.realtime-item {
  display: flex;
  gap: 18px;
  margin-bottom: 42px;
}

.realtime-item.right {
  text-align: right;
}

.realtime-item.right .rt-text {
  order: 1;
}

.realtime-item.right .rt-icon {
  order: 2;
}

.rt-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  flex: 0 0 54px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 20px;
}

.rt-text {
  min-width: 0;
}

.rt-text h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.rt-text p {
  color: var(--muted);
  font-size: 14px;
}

.realtime-phone img {
  max-width: 300px;
  margin: 0 auto;
}

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

.cta-section {
  padding: 40px 0 90px;
}

.cta-box {
  position: relative;
  overflow: hidden;
  padding: 70px 30px;
  border-radius: 16px;
  background: linear-gradient(120deg, #4d94ff, #0d6efd);
  color: var(--white);
  text-align: center;
}

.cta-box h2 {
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
  font-size: 40px;
  font-weight: 700;
}

.cta-box p {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto 26px;
}

.cta-box .btn-outline-light {
  position: relative;
  z-index: 2;
}

.cta-blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.blob-1 {
  bottom: 10%;
  left: 4%;
  width: 120px;
  height: 120px;
}

.blob-2 {
  top: 20%;
  right: 6%;
  width: 90px;
  height: 90px;
}

.blob-3 {
  right: 2%;
  bottom: -60px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
}

/* ==================================================
   SERVICES
================================================== */

.services-section {
  padding: 90px 0;
  background: var(--light-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.service-item {
  display: flex;
  min-width: 0;
  padding: 30px;
  gap: 20px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-item:hover {
  box-shadow: 0 18px 40px rgba(13, 110, 253, 0.15);
  transform: translateY(-6px);
}

.service-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  flex: 0 0 56px;
  border-radius: 12px;
  background: rgba(13, 110, 253, 0.12);
  color: var(--primary);
  font-size: 24px;
}

.service-item h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.service-item p {
  color: var(--muted);
  font-size: 14px;
}

/* ==================================================
   CLIENTS
================================================== */

.clients-section {
  padding: 90px 0;
}

.clients-marquee {
  overflow: hidden;
  -webkit-mask-image:
    linear-gradient(
      90deg,
      transparent,
      #000 8%,
      #000 92%,
      transparent
    );
  mask-image:
    linear-gradient(
      90deg,
      transparent,
      #000 8%,
      #000 92%,
      transparent
    );
}

.clients-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 60px;
  animation: scroll-x 40s linear infinite;
}

.clients-track:hover {
  animation-play-state: paused;
}

.client-logo {
  display: grid;
  height: 70px;
  place-items: center;
  filter: grayscale(100%);
  opacity: 0.7;
  transition:
    filter 0.3s ease,
    opacity 0.3s ease;
}

.client-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

.client-logo span {
  color: var(--muted);
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
}

@keyframes scroll-x {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

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

.testimonials-section {
  padding: 90px 0;
  background: var(--light-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.testimonial-card {
  position: relative;
  min-width: 0;
  padding: 34px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-card h3 {
  font-size: 20px;
}

.testimonial-card h4 {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.testimonial-stars {
  margin-bottom: 16px;
  color: #ffc107;
}

.testimonial-card p {
  position: relative;
  padding: 0 26px;
  color: #555;
  font-size: 14px;
  font-style: italic;
}

.testimonial-card p .fa-quote-left {
  position: absolute;
  top: 0;
  left: 0;
  color: #cfe0ff;
  font-size: 18px;
}

.testimonial-card p .fa-quote-right {
  margin-left: 6px;
  color: #cfe0ff;
  font-size: 18px;
}

/* ==================================================
   COUNTERS
================================================== */

.counters-section {
  padding: 80px 0;
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: center;
}

.counter {
  color: var(--dark);
  font-family: "Poppins", sans-serif;
  font-size: 56px;
  font-weight: 700;
}

.counter-line {
  width: 40px;
  height: 3px;
  margin: 14px auto;
  background: var(--primary);
}

.counter-item p {
  color: var(--muted);
  font-size: 16px;
}

/* ==================================================
   GALLERY
================================================== */

.gallery-section {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background: #fff;
}

.gallery-diagonal {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      transparent 55%,
      var(--light-bg) 55%
    );
}

.gallery-section .container {
  position: relative;
  z-index: 1;
}

.gallery-carousel {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 18px;
}

.gallery-viewport {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  min-width: 0;
  gap: 24px;
  transition: transform 0.5s ease;
}

.gallery-slide {
  min-width: 0;
  flex: 0 0 calc((100% - 48px) / 3);
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

.gallery-slide img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.gallery-btn {
  width: 46px;
  height: 46px;
  padding: 0;
  flex: 0 0 46px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  font-size: 16px;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.gallery-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.gallery-dots {
  display: flex;
  margin-top: 30px;
  justify-content: center;
  gap: 8px;
}

.gallery-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cbd6ea;
  cursor: pointer;
  transition:
    width 0.25s ease,
    background-color 0.25s ease;
}

.gallery-dots button.active {
  width: 26px;
  border-radius: 6px;
  background: var(--primary);
}

/* ==================================================
   CTA 2
================================================== */

.cta2-section {
  padding: 80px 0;
  background: var(--primary);
  color: var(--white);
  text-align: center;
}

.cta2-section h3 {
  margin-bottom: 12px;
  font-size: 30px;
  font-weight: 700;
}

.cta2-section p {
  margin-bottom: 26px;
  opacity: 0.95;
}

/* ==================================================
   CONTACT
================================================== */

.contact-section {
  padding: 90px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.contact-info,
.contact-map {
  min-width: 0;
}

.contact-info h3 {
  margin-bottom: 12px;
  font-size: 26px;
}

.contact-lead {
  margin-bottom: 26px;
  color: var(--muted);
}

.contact-block {
  display: flex;
  min-width: 0;
  gap: 16px;
  margin-bottom: 22px;
}

.contact-ic {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  flex: 0 0 46px;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.12);
  color: var(--primary);
  font-size: 18px;
}

.contact-block h4 {
  margin-bottom: 4px;
  font-size: 17px;
}

.contact-block p {
  margin-bottom: 6px;
  color: #555;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.contact-map {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-map iframe {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: 12px;
}

.contact-visual {
  display: grid;
  overflow: hidden;
  padding: 30px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #cfe0ff, #eaf1ff);
}

.contact-visual img {
  max-width: 260px;
}

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

.footer {
  padding: 26px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer p {
  color: var(--muted);
  font-size: 14px;
}

.footer strong {
  color: var(--dark);
}

/* ==================================================
   BACK TO TOP
================================================== */

.back-to-top {
  position: fixed;
  z-index: 998;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease,
    background-color 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
}

/* ==================================================
   REVEAL
================================================== */

[data-reveal] {
  opacity: 0;
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

[data-reveal="up"] {
  transform: translateY(40px);
}

[data-reveal="left"] {
  transform: translateX(-50px);
}

[data-reveal="right"] {
  transform: translateX(50px);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translate(0, 0);
}

/* ==================================================
   RESPONSIVE — LAPTOP KECIL
================================================== */

@media (max-width: 1100px) {
  .header {
    top: 12px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .header-inner {
    padding: 10px 16px 10px 20px;
  }

  .navbar ul {
    gap: 18px;
  }

  .nav-link {
    font-size: 14px;
  }

  .btn-signin {
    padding: 10px 18px;
  }

  .hero-content h1 {
    font-size: clamp(44px, 5vw, 54px);
  }

  .hero-mascot {
    right: 3%;
    width: min(300px, 30vw);
  }

  .value-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .realtime-grid {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(220px, auto)
      minmax(0, 1fr);
    gap: 20px;
  }
}

/* ==================================================
   RESPONSIVE — TABLET / MOBILE NAV
================================================== */

@media (max-width: 992px) {
  .container {
    padding-right: 20px;
    padding-left: 20px;
  }

  .header {
    top: 12px;
    right: 0;
    left: 0;
    padding-right: 16px;
    padding-left: 16px;
  }

  .header.scrolled {
    top: 0;
  }

  .header-inner {
    width: 100%;
    max-width: 1240px;
    min-width: 0;
    min-height: 66px;
    margin: 0 auto;
    padding: 10px 14px 10px 18px;
    border-radius: 18px;
  }

  .header.scrolled .header-inner {
    border-radius: 0 0 16px 16px;
  }

  .logo {
    min-width: 0;
    flex: 1 1 auto;
  }

  .logo img {
    width: auto;
    max-width: 180px;
    height: 40px;
    object-fit: contain;
  }

  .btn-signin {
    display: none;
  }

  .mobile-nav-toggle {
    position: relative;
    z-index: 1002;
    display: grid;
    width: 44px;
    height: 44px;
    min-width: 44px;
    margin-left: 12px;
    place-items: center;
    flex: 0 0 44px;
    color: var(--primary);
    font-size: 26px;
    line-height: 1;
  }

  .navbar {
    position: fixed;
    z-index: 1001;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: 96px 28px 32px;
    overflow-y: auto;
    background: var(--white);
    box-shadow: -12px 0 35px rgba(0, 0, 0, 0.14);

    transform: translate3d(110%, 0, 0);
    visibility: hidden;
    pointer-events: none;

    transition:
      transform 0.35s ease,
      visibility 0s linear 0.35s;
  }

  .navbar.open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;

    transition:
      transform 0.35s ease,
      visibility 0s linear 0s;
  }

  .navbar ul {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .navbar li {
    width: 100%;
  }

  .navbar .nav-link {
    display: block;
    width: 100%;
    padding: 12px 10px;
    font-size: 16px;
  }

  .hero {
    min-height: 760px;
    padding: 142px 0 138px;
    background-position: center;
  }

  .hero-content {
    max-width: 640px;
  }

  .hero-content h1 {
    font-size: clamp(40px, 7vw, 52px);
  }

  .hero-mascot {
    display: none;
  }

  .tracking-section {
    margin-top: -82px;
  }

  .tracking-card {
    width: 100%;
    max-width: 100%;
  }

  .about-grid,
  .tab-content,
  .services-grid,
  .testimonials-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-visual {
    max-width: 760px;
    margin: 0 auto;
  }

  .realtime-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
    margin: 0 auto;
  }

  .realtime-phone {
    order: -1;
    margin-bottom: 24px;
  }

  .realtime-item,
  .realtime-item.right {
    text-align: left;
  }

  .realtime-item.right .rt-icon {
    order: 1;
  }

  .realtime-item.right .rt-text {
    order: 2;
  }

  .gallery-slide {
    flex: 0 0 calc((100% - 24px) / 2);
  }

  .gallery-diagonal {
    display: none;
  }
}

/* ==================================================
   RESPONSIVE — TABLET PORTRAIT
================================================== */

@media (max-width: 768px) {
  .container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .header {
    top: 10px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .header.scrolled {
    top: 0;
  }

  .header-inner {
    min-height: 66px;
    padding: 8px 10px 8px 16px;
    border-radius: 20px;
  }

  .header.scrolled .header-inner {
    border-radius: 0 0 18px 18px;
  }

  .logo img {
    max-width: 150px;
    height: 36px;
  }

  .mobile-nav-toggle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    margin-left: 10px;
    flex-basis: 44px;
  }

  .hero {
    min-height: 680px;
    padding: 126px 0 124px;
  }

  .hero-content h1 {
    margin-bottom: 16px;
    font-size: clamp(36px, 11vw, 46px);
  }

  .hero-content p {
    max-width: 100%;
    margin-bottom: 26px;
    font-size: 17px;
  }

  .tracking-section {
    margin-top: -72px;
  }

  .tracking-card {
    padding: 22px;
    border-radius: 18px;
  }

  .tracking-card h4,
  .tracking-form {
    max-width: 100%;
  }

  .tracking-form {
    align-items: stretch;
  }

  .about-section,
  .features-section,
  .realtime-section,
  .services-section,
  .clients-section,
  .testimonials-section,
  .gallery-section,
  .contact-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .section-title {
    margin-bottom: 36px;
  }

  .section-title h2 {
    font-size: clamp(28px, 8vw, 34px);
  }

  .about-grid,
  .tab-content,
  .contact-grid {
    gap: 34px;
  }

  .about-text h2 {
    font-size: 30px;
  }

  .about-contacts,
  .value-cards,
  .counters-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .experience-badge {
    position: relative;
    right: auto;
    bottom: auto;
    width: fit-content;
    max-width: 100%;
    margin: -34px 16px 0 auto;
  }

  /*
   * Features tetap seperti desain lama:
   * tab horizontal pill, bukan grid vertikal.
   */
  .tab-nav {
    display: flex;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 34px;
    padding: 6px;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 50px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tab-nav::-webkit-scrollbar {
    display: none;
  }

  .tab-item {
    min-width: 150px;
    padding: 13px 14px;
    flex: 0 0 auto;
    border-radius: 50px;
  }

  .tab-item h4 {
    font-size: 15px;
  }

  .tab-image {
    order: -1;
  }

  .cta-box {
    padding: 54px 22px;
  }

  .cta-box h2 {
    font-size: 30px;
  }

  .service-item {
    padding: 24px;
  }

  .clients-track {
    gap: 36px;
  }

  .gallery-carousel {
    gap: 10px;
  }

  .gallery-slide {
    flex: 0 0 100%;
  }

  .gallery-btn {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .contact-map iframe {
    min-height: 320px;
    height: 320px;
  }

  .counter {
    font-size: 46px;
  }
}

/* ==================================================
   RESPONSIVE — PHONE
================================================== */

@media (max-width: 560px) {
  .container {
    padding-right: 14px;
    padding-left: 14px;
  }

  .header {
    padding-right: 8px;
    padding-left: 8px;
  }

  .header-inner {
    min-height: 64px;
    padding: 7px 8px 7px 12px;
    border-radius: 18px;
  }

  .logo img {
    max-width: 128px;
    height: 34px;
  }

  .mobile-nav-toggle {
    width: 42px;
    height: 42px;
    min-width: 42px;
    margin-left: 8px;
    flex-basis: 42px;
    font-size: 25px;
  }

  .hero {
    min-height: 620px;
    padding-top: 116px;
    padding-bottom: 108px;
  }

  .hero-content h1 {
    font-size: clamp(34px, 12vw, 42px);
  }

  .hero-content p {
    font-size: 16px;
  }

  .tracking-card {
    padding: 20px 16px;
  }

  .tracking-form {
    flex-direction: column;
  }

  .tracking-form input,
  .tracking-form button {
    width: 100%;
  }

  .about-contacts {
    gap: 8px;
  }

  .about-contact {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
  }

  .experience-badge {
    width: calc(100% - 24px);
    margin: -24px 12px 0;
  }

  .tab-nav {
    margin-bottom: 30px;
    padding: 5px;
  }

  .tab-item {
    min-width: 138px;
    padding: 12px;
  }

  .tab-item h4 {
    font-size: 14px;
  }

  .value-card,
  .service-item,
  .testimonial-card {
    padding: 22px 18px;
  }

  .service-item {
    flex-direction: column;
  }

  .realtime-item {
    gap: 14px;
    margin-bottom: 28px;
  }

  .rt-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .cta-box h2 {
    font-size: 27px;
  }

  .cta2-section {
    padding: 62px 0;
  }

  .cta2-section h3 {
    font-size: 26px;
  }

  .gallery-carousel {
    position: relative;
    display: block;
  }

  .gallery-btn {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
  }

  .gallery-btn.prev {
    left: 8px;
  }

  .gallery-btn.next {
    right: 8px;
  }

  .gallery-slide img {
    height: 240px;
  }

  .contact-block {
    align-items: flex-start;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }
}

/* ==================================================
   RESPONSIVE — SMALL PHONE
================================================== */

@media (max-width: 380px) {
  .header-inner {
    padding-left: 10px;
  }

  .logo img {
    max-width: 112px;
    height: 32px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .tracking-card {
    padding: 18px 14px;
  }

  .section-title h2 {
    font-size: 27px;
  }

  .tab-item {
    min-width: 128px;
  }
}

/* ==================================================
   REDUCED MOTION
================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}