/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Font */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar */
.navbar {
  background-color: #fff;
  border-bottom: 2px solid #c20000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 50px;
  margin-right: 20px;
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px 12px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #c20000;
}

/* Dropdown Menu Styling */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; /* sits right under the parent */
  left: 0;
  min-width: 200px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
  list-style: none;
  z-index: 1000;
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.dropdown-menu li a:hover {
  background-color: #f5f5f5;
  color: #c20000;
}

/* Show dropdown on hover (fix gap issue too) */
.dropdown:hover > .dropdown-menu {
  display: block;
}

/* Prevent dropdown from disappearing when hovering between items */
.dropdown {
  position: relative;
}

.dropdown-menu:hover {
  display: block;
}

.about-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 20px;
  line-height: 1.8;
  color: #333;
  font-family: 'Segoe UI', sans-serif;
}

.about-header h2 {
  font-size: 2.5rem;
  color: #c20000;
  border-left: 4px solid #c20000;
  padding-left: 10px;
  margin-bottom: 20px;
}

.about-description p {
  margin-bottom: 15px;
}

.why-choose-us {
  margin-top: 40px;
  text-align: center;
}

.why-choose-us h3 {
  font-size: 2rem;
  font-weight: 600;
}

.highlight-red {
  color: #c20000;
}



.easy-freight-section {
  position: relative;
  padding: 80px 20px;
  background: url('images/freepik-plane.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  z-index: 1;
}

.easy-freight-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)); /* Gelapkan */
  z-index: 0;
}

.easy-freight {
  color: white;
  text-align: center;
  font-size: 1.4rem;
  max-width: 800px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 2;
}

.service-box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.service-box {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border-top: 4px solid #c20000;
}

.service-box .number {
  font-size: 2rem;
  font-weight: 700;
  color: gold;
}

.service-box .title {
  font-size: 1.2rem;
  margin-top: 10px;
  font-weight: 600;
  color: #fff;
}

.service-box .content {
  font-size: 0.95rem;
  margin-top: 10px;
  color: #eee;
}


.testimonial-section {
  background: #fff;
  padding: 80px 20px;
  text-align: center;
}

.testimonial-title {
  font-size: 2.5rem;
  color: #c20000;
  margin-bottom: 10px;
  font-weight: 700;
}

.testimonial-subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 50px;
}

.testimonial-carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
  position: relative;
}

.testimonial-carousel {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonial-carousel::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 260px; /* Kecikkan sikit card */
  background: #f8f8f8;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
}

.testimonial-content p {
  font-size: 1rem;
  color: #333;
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-author {
  text-align: left;
}

.testimonial-author strong {
  font-size: 1rem;
  color: #c20000;
  display: block;
}

.testimonial-author span {
  font-size: 0.85rem;
  color: #777;
}

.scroll-btn-wrapper {
  flex-shrink: 0;
}

.scroll-btn {
  background: #c20000;
  border: none;
  color: white;
  font-size: 2rem;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.scroll-btn:hover {
  background: #a00000;
}

.testimonial-highlight-section {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.highlight-box {
  max-width: 900px;
  margin: auto;
  background: #fff0f0;
  padding: 30px 25px;
  border-left: 3px solid #c20000;
  border-right: 3px solid #c20000;
  border-radius: 10px;
  font-style: italic;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.highlight-quote {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.client-header {
  margin-top: 70px;
  margin-bottom: 20px;
}

.our-client {
  font-size: 2rem;
  font-weight: 700;
  color: #c20000;
  margin-bottom: 10px;
}

.collab-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.collab img {
  max-width: 160px;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.collab img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.slider-wrapper {
  width: 100%;
  overflow: hidden;
  background: #fff;
  padding: 30px 0;
}

.slider-track {
  display: flex;
  gap: 40px;
  width: calc(200%); /* sebab kita duplicate */
  animation: scroll 20s linear infinite;
  /*align-items: center;*/
}

.slider-track img {
  height: clamp(60px, 8vw, 90px); /* Responsive ikut skrin */
  width: auto;
  object-fit: contain;
  /*transition: transform 0.3s ease;*/
  filter: grayscale(100%);
}


.slider-track img:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-80%);
  }
}

/*----------chatbox-------*/

    /* Chatbot Bubble Button */
    #chatbot-toggle {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: #c20000;
      color: #fff;
      border: none;
      border-radius: 50%;
      width: 60px;
      height: 60px;
      font-size: 24px;
      cursor: pointer;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    /* Chatbox */
    #chatbot-box {
      position: fixed;
      bottom: 90px;
      right: 20px;
      width: 320px;
      max-height: 400px;
      background: #fff;
      border: 1px solid #ccc;
      border-radius: 10px;
      display: none;
      flex-direction: column;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0,0,0,0.2);
      z-index: 999;
    }

    #chatbot-messages {
      flex: 1;
      overflow-y: auto;
      padding: 10px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .message {
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }

    .user-message {
      justify-content: flex-end;
    }

    .bot-message {
      justify-content: flex-start;
    }

    .avatar {
      width: 30px;
      height: 30px;
      border-radius: 50%;
    }

    .message-text {
      max-width: 200px;
      padding: 8px 12px;
      border-radius: 15px;
      background-color: #f1f1f1;
      font-size: 14px;
    }

    .user-message .message-text {
      background-color: #c20000;
      color: white;
      border-bottom-right-radius: 0;
    }

    .bot-message .message-text {
      background-color: #f1f1f1;
      border-bottom-left-radius: 0;
    }

    #chatbot-input-container {
      display: flex;
      border-top: 1px solid #ddd;
    }

    #chatbot-input {
      flex: 1;
      border: none;
      padding: 10px;
      font-size: 14px;
      outline: none;
    }

    #chatbot-send {
      background: #c20000;
      color: white;
      border: none;
      padding: 10px 15px;
      cursor: pointer;
    }




.footer {
  background-color: white;
  padding: 40px 20px 20px;
  border-top: 2px solid #c20000; /* line merah */
}

.footer-top {
  text-align: center;
  margin-bottom: 30px;
}
.footer-logo {
  max-width: 150px;
  margin-bottom: 15px;
}
.footer-description {
  font-size: 14px;
  max-width: 500px;
  margin: 0 auto 20px;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 18px;
}
.social-icons a {
  color: #c20000;
  transition: transform 0.3s ease;
}
.social-icons a:hover {
  transform: scale(1.2);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.footer-column h3 {
  color: #c20000;
  margin-bottom: 10px;
}
.footer-column a {
  display: inline-block;
  margin: 4px 0;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-column a {
  display: block;
  margin: 6px 0;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-column a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #c20000;
  transition: width 0.3s ease;
}

.footer-column a:hover {
  color: #c20000;
  transform: translateX(4px);
}

.footer-column a:hover::after {
  width: 100%;
}


.footer-rights {
  text-align: center;
  font-size: 13px;
  margin-top: 40px;
  color: #777;
}
