/* CSS asli yang sudah kamu berikan */
.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.rowcar {
  display: flex;
  flex-wrap: wrap;
  /* justify-content: center; align-items: center; */
  background-color: #ffff;
  border-radius: 15px;
  /* margin-bottom: 50px; */
  width: 70%;
  height: 70%;
  margin: 0 auto 50px;
}

.col-lg-6 {
  flex-basis: 50%;
}

.warna {
  background-color: #16B88C;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.our-journey {
  margin-top: 20px;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffff;
}

.carousel-inner img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
}

.carousel-caption {
  position: relative;
  top: 0;
  left: 0;
  transform: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* background-color: #ffff; border-radius: 15px; */
}

.carousel-caption h5 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
  margin-left: 30px;
  margin-right: 30px;
}

.carousel-caption p {
  font-size: 15px;
  color: black;
  text-align: left;
  margin-left: 30px;
  margin-right: 30px;
}

.achievment {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  /* color: #16B88C; */
  margin-top: 30px;
  margin-bottom: 30px;
  /* box-shadow: 0 5px 10px rgba(0, 0, 0, 0.8); */
  text-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.achievment h2 {
  color: #16B88C;
}

.achievment h5 {
  color: #16B88C;
}

.items {
  display: flex;
  flex-direction: row;
}

.items img {
  width: 70%;
  height: auto;
}

.parag {
  font-weight: bold;
  color: black;
}

.headabout h4{
  margin-top: 150px; 
  margin-left: 150px;
  text-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.headabout a{
  margin-top: 400px; 
  margin-left: 150px;
  
}

.headabout img {
 max-width: 100%; 
 height: auto;
}

/* Media Queries untuk handphone dan tablet */

@media (max-width: 576px) {
  .carousel-caption {
    bottom: 20px;
  }
  .carousel-caption h4 {
    font-size: 18px;
  }
  .carousel-caption a {
    font-size: 14px;
    padding: 10px 20px;
  }
  .img-fluid {
    height: 200px;
  }
  .carousel-inner img {
    height: 200px;
  }
  .headabout h4{
    text-align: center;
    /* padding-right: 150px; */
    margin-left: 30px;
    margin-right: 30px;
    z-index: 2;
  }
  /* .headabout {
    display: flex;
    justify-content: center;
    align-items: center;
  } */
  
  .headabout img {
    width: 100% !important;
    height: 450px !important;
    object-fit: cover !important;
    margin: 0 auto !important;
    display: block !important;
    z-index: 1;
  }

  .headabout a{
    z-index: 2;
    
    margin-top: 320px;
    
    display: flex;
   justify-content: flex-start;
  }

  .skala img{
    scale: 50%;
  }
}

@media (max-width: 768px) {
  .col-lg-6 {
      flex-basis: 100%;
  }

  .rowcar {
    display: block; /* Ubah display menjadi block */
    flex-wrap: nowrap; /* Nonaktifkan flex-wrap */
    /* background-color: initial;  */
    /* border-radius: 0; Hapus border-radius */
    width: 100%; /* Sesuaikan width menjadi 100% */
    height: auto; /* Sesuaikan height menjadi auto */
    /* margin: 0; Hapus margin */
  }

  .carousel-caption {
    align-items: center;
    text-align: center;
  }

  .carousel-caption h5 {
      font-size: 28px;
  }

  .carousel-caption p {
      font-size: 14px;
  }

  .achievment {
      font-size: 24px;
  }

  .achievment h2, .achievment h5 {
      font-size: 20px;
  }

  .items {
      flex-direction: column;
  }

  .items img {
      width: 100%;
  }

  .carousel-caption h4 {
    font-size: 22px;
  }
  .carousel-caption a {
    font-size: 16px;
    padding: 12px 24px;
  }
  .img-fluid {
    height: 250px;
  }
}

@media (max-width: 1024px) {
  .col-lg-6 {
      flex-basis: 100%;
  }

  .rowcar {
      width: 85%;
      height: auto;
  }

  .carousel-caption h5 {
      font-size: 32px;
  }

  .carousel-caption p {
      font-size: 15px;
  }

  .achievment {
      font-size: 30px;
  }

  .achievment h2, .achievment h5 {
      font-size: 24px;
  }
  .carousel-inner img {
    height: 250px;
  }

  .carousel-caption {
    align-items: center;
    text-align: center;
  }
}