body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #ededed;
}

h1 {
  color: #3d3d3d;
}

/* === Navbar Styles === */
/* === Navbar Container (Improved) === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  padding: 15px 5%; /* changed from 40px to % for flexibility */
  color: #011d58;
  box-sizing: border-box; /* ensures padding doesn’t overflow width */
  transition: top 0.4s ease;
  z-index: 1000;
}


.navbar .logo {
  font-size: 1.5em;
  font-weight: bold;
  color: #011d58;
  text-decoration: none;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 25px;
}

.navbar ul li a {
  color: #011d58;
  text-decoration: none;
  font-size: 1em;
  transition: color 0.3s ease;
}

.navbar ul li a:hover {
  color: orange;
}

.banner {
  width: 100%;
  height: 55vw;
  overflow: hidden;
  position: relative;
}

.banner img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;              /* start from the middle */
  left: 0;
  transform: translateY(-50%); /* shift image upward by half its height */
}

.banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 100, 255, 0.4); /* transparent blue overlay */
  mix-blend-mode: multiply; /* blends the color nicely */
}

.banner-section {
  position: absolute;
  top: 27vw;
  left: 5vw;
  color: white;
}

.banner-section h1 {
  color: white;
  font-size: 2.5vw;
  margin: 0;
}

.banner-section p {
  font-size: 5vw;
  margin-top: 1vw;
  margin-bottom: 2vw;
}

.learn-more-link {
  display: inline-block;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.5vw;
  padding: 12px 24px;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background-color: #022c85;
}

/* Hover Effects */
.learn-more-link:hover {
  color: #022c85;
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(203, 58, 57, 0.3);
}

.learn-more-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: white;
  transition: all 0.3s ease;
  z-index: -1;
}

.learn-more-link:hover::before {
  width: 100%;
}

/* Arrow Animation */
.learn-more-link::after {
  content: '→';
  margin-left: 8px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.learn-more-link:hover::after {
  transform: translateX(5px);
}

.layanan-heading {
  text-align: center;
}

.layanan-heading h1 {
  font-size: 4vw;
  font-weight: 500;
}

.layanan-heading p {
  font-size: 1.5vw;
}

.dotted-line {
  border: none;
  border-top: 5px dotted #011d58;  /* your navy color */
  width: 85%;                    /* 👈 set desired length */
  margin: 4vw auto;               /* centers it horizontally */
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

.layanan-flex {
  position: relative;
  display: flex;
  justify-content: space-evenly;
  padding: 0 7vw;
  z-index: 1;
}

.service-card {
  position: relative;
  background-color: white;
  width: 17vw;
  height: 17vw;
  text-align: center;
  border-radius: 4px;
  box-shadow: 10px 10px 0 #011d58;
  margin: 0.5vw auto;
  padding-top: 30px;
  transform-origin: top center;
}

.service-card .circle {
  position: absolute;
  top: -2vw;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5vw;
  height: 2.5vw;
  border: 0.2vw solid #011d58;
  border-radius: 50%;
  background-color: transparent;
}

.weight-icon {
  width: 8vw;
}

.truck-icon {
  width: 12vw;
  margin-top: -1vw;
}

.locations-icon {
  width: 10vw;
  margin-top: -1vw;
}

.safety-icon {
  width: 8vw;
}

.service-card p {
  position: absolute;
  top: 13vw;
  font-weight: 500;
  font-size: 1vw;
  padding: 0 0.5vw;
}

.service-card:hover {
  transform: scale(1.05);  /* 👈 slightly enlarges the card */
  box-shadow: 15px 15px 0 #011d58;  /* makes the shadow more dramatic */
}

.service-card:hover .circle {
  background-color: #011d58;
}

.white-line {
  border: none;
  border-top: 5px solid white;
  width: 100%;
  margin-top: 7vw;
  opacity: 0.8;
}

.section-heading {
  font-size: 5vw;
  padding-left: 8vw;
}

.armada-trucks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.armada-cards {
  position: relative;
  flex: 1;
  height: 30vw;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: end;
}

/* bottom glass overlay */
.armada-cards .glass {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 41%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  transition: all 0.4s ease-in-out;
  margin-bottom: -7vw;
}

/* Hover expand effect */
.armada-cards:hover .glass {
  height: 100%;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  margin-bottom: 0;
}

/* Text styling */
.armada-cards h1 {
  color: white;
  font-size: 2.3vw;
  margin: 1vw 0;
}

#pickup {
  background-image: url('assets/pickup.png');
  background-size: cover;
  background-position: center;
}

#coltdiesel {
  background-image: url('assets/colt_diesel.png');
  background-size: cover;
  background-position: center;
}

#trontonbak {
  background-image: url('assets/tronton.png');
  background-size: cover;
  background-position: center;
}

#trontonlosbak {
  background-image: url('assets/tronton_losbak.png');
  background-size: cover;
  background-position: center;
}

#trailer {
  background-image: url('assets/trailer.png');
  background-size: cover;
  background-position: center;
}

.clients {
  margin: 50px 0;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 50px;
  background-color: #011d58;
  text-align: center;
}

.clients h1 {
  color: white;
  font-size: 5vw;
}

.clients-list {
  display: flex;
  justify-content: space-evenly;
  color: white;
}

.client-card {
  background-color: white;
  border: solid black;
  border-width: 20px 15px 20px 15px;
  width: 8vw;
  height: 8vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.client-card img {
  width: 100%;
}

/* === Footer Styles === */
.footer {
  background-color: #1a1a1a;
  color: #f2f2f2;
  padding: 60px 0 20px;
  font-family: 'Montserrat', sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-company h2 {
  font-weight: 700;
  margin-bottom: 10px;
  color: #ff6600;
}

.footer-company p {
  font-size: 14px;
  line-height: 1.5;
}

.footer-info h3,
.footer-links h3 {
  margin-bottom: 15px;
  color: #ff6600;
}

.footer-info p {
  font-size: 14px;
  margin: 6px 0;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin: 8px 0;
}

.footer-links a {
  text-decoration: none;
  color: #f2f2f2;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ff6600;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  margin-top: 40px;
  padding-top: 15px;
  font-size: 13px;
  color: #ccc;
}

/* === Responsive (for mobile) === */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar ul {
    flex-direction: column;
    width: 100%;
  }

  .navbar ul li a {
    display: block;
    padding: 10px 0;
    width: 100%;
  }
}
