* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #333;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: white;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #000;
}

.nav-links a:hover {
  color: #004d28;
}

.title-01 {
  text-align: center;
  padding: 100px 20px;
  background-color: #004d28;
  color: #e60000;
}

.title-01 h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.title-01 p {
  font-size: 18px;
  margin-bottom: 30px;
}

.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.button:hover {
  scale: 1.05;
}

/* Logo */
.logo {
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  color: red;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  z-index: 1100;
}

/* Services Menu */
.services-content {
  text-align: center;
  padding: 50px 20px;
  background-color: white;
}

.services-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

.services-content p {
  font-size: 1rem;
  margin-top: 10px;
  color: #666;
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 50px 20px;
}

.service {
  flex: 1 1 calc(33.333% - 40px); /* Each service takes 1/3 of the row */
  max-width: 300px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service img {
  width: 100%;
  height: 500px; /* Atur tinggi tetap */
  object-fit: cover; /* Agar gambar tetap proporsional */
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}

.service:hover img {
  transform: scale(1.1);
}

.service-title {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 10px 20px;
  border-radius: 20px;
}

/* why us */
.why-choose-us {
  text-align: center;
  padding: 50px 20px;
  background-color: #004d28;
}

.why-choose-us h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: 700;
  color: white;
}

.content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background-color: #025b30;
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.card .icon {
  margin-bottom: 20px;
}

.card .icon img {
  width: 60px;
  height: 60px;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 600;
  color: white;
}

.card p {
  font-size: 1rem;
  color: #ccc;
}

/* About Us */
.title-about-us {
  text-align: center;
  padding: 50px 20px;
}

.title-about-us h1 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.content-about-us {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.image-section {
  text-align: center;
  margin-bottom: 50px;
}

.image-section img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.image-section p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.see-more-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #02743d;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}

.see-more-btn:hover {
  background-color: #001e0f;
  color: #fff;
}

.about-us-00 {
  margin-bottom: 50px;
}

.about-us-00 h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.about-us-00 p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.about-us-00-images {
  display: flex;
  gap: 20px;
}

.about-us-00 img {
  width: 50%;
  border-radius: 10px;
}

.span-red {
  color: red;
  font-weight: bold;
}

.visi-red {
  color: red;
  font-weight: bold;
}

/* Timeline Section */
.timeline-section {
  margin-top: 50px;
  text-align: center;
}

.timeline-content {
  text-align: center;
}

.timeline-content img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}

.timeline-content h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 1rem;
  color: #000000;
}

/*Term & Conditions */
.container {
  max-width: 800px;
  margin: 50px auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.header-term-conditions {
  background: linear-gradient(to bottom, #003611, #00661a);
  text-align: center;
  padding: 20px 10px;
}

.header-term-conditions h1 {
  margin: 0;
  color: #ffffff;
  font-size: 28px;
}

.updated-date {
  margin: 0;
  color: #ff0000;
  font-size: 14px;
}

.content-term-conditions {
  padding: 20px;
  color: #333;
  line-height: 1.6;
}

.content-term-conditions p {
  margin-bottom: 15px;
}

.content-term-conditions strong {
  font-weight: bold;
}

/* Contact Us Footer */
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 40px;
  background-color: #f9f9f9;
  font-family: Arial, sans-serif;
  color: #555;
}

.footer-column {
  width: 23%;
}

.contact h3 {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
}

.contact p {
  margin: 5px 0;
}

.footer-column h3 {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin: 5px 0;
  font-size: 14px;
  color: #555;
}

/* Footer */
footer {
  position: relative;
  overflow: hidden;
  color: #333;
  text-align: center;
  padding: 0px;
}

.sky {
  background-color: white;
  height: 120px;
}

.road {
  background-color: #333;
  height: 100px;
  position: relative;
}

/* Truck Animation */
.truck-container {
  position: absolute;
  bottom: 10px;
  left: -200px;
}

.truck {
  width: 500px;
  animation: truckMove 15s linear infinite;
}

@keyframes truckMove {
  0% {
    transform: translateX(-100vw);
  }
  100% {
    transform: translateX(100vw);
  }
}

footer p {
  margin-top: 100px;
  font-size: small;
  color: #004d28;
}

/* Gallery */
.gallery-container {
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 900px;
  margin: 100px auto;
}

.gallery-main {
  margin-bottom: 20px;
}

.main-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.gallery-text h1 {
  font-size: 2em;
  margin: 10px 0;
}

.gallery-text p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.gallery-thumbnails img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s;
}

.gallery-thumbnails img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.3);
}

.gallery-view-all button {
  background-color: #ff6f61;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.gallery-view-all button:hover {
  background-color: #ff4a3c;
}

/* Gudang */
.gudang {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  text-align: center;
}

.gudang-header h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 10px;
  padding-top: 100px;
}

.gudang-header p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 50px;
}

.gudang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gudang-item {
  position: relative;
}

.gudang-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gudang-item img:hover {
  transform: scale(1.05);
}

.gudang-item p {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #333;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #ccc;
    display: none;
    text-align: center;
    z-index: 1000;
  }

  .nav-links.active {
    display: block;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .hamburger {
    display: block;
    z-index: 1100;
  }
}

@media screen and (max-width: 768px) {
  .service {
    flex: 1 1 100%; /* Full width on smaller screens */
  }
}

@media (max-width: 768px) {
  .content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-us-00-images {
    flex-direction: column;
  }

  .about-us-00-images img {
    width: 100%;
  }

  .timeline {
    flex-wrap: wrap;
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-column {
    width: 100%;
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .container {
    margin: 20px;
  }

  .header-term-conditions h1 {
    font-size: 22px;
  }

  .updated-date {
    font-size: 12px;
  }

  .content-term-conditions {
    padding: 15px;
  }

  .content-term-conditions p {
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .header-term-conditions h1 {
    font-size: 25px;
  }

  .content-term-conditions p {
    font-size: 16px;
  }
}
