/* Container utama */
box-content {
  display: flex;
  flex-wrap: wrap; /* Agar elemen turun saat layar kecil */
  justify-content: center;
  align-items: flex-start;
  padding: 30px;
  background-color: red;
  border-radius: 20px;
  width: auto;
  gap: 20px; /* Jarak antara elemen */
}

/* Pastikan box-1 memiliki lebar penuh */
.box-1 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 10px;
  flex: 1;
  width: 100%;
  flex-basis: 50%;
  order: 1;
}

/* Text Styling */
.content-1,
.content-2,
.content-3 {
  text-align: left; /* Pastikan teks selalu rata kiri */
  width: 100%; /* Pastikan teks tidak menyempit */
}

.content-1 {
  color: #ca4a2c;
  font-size: clamp(0.9rem, 1.8vw, 0.9rem); /* Sedikit dikurangi dari 1rem */
}

.content-2 {
  font-size: clamp(1.8rem, 4.5vw, 60px); /* Dari 68px ke 60px */
  color: #252b34;
  font-weight: bold;
}

.content-3 {
  font-size: 100px;
  text-align: left;
}

.content-6 {
  font-size: clamp(2.3rem, 4.5vw, 50px); /* Dari 55px ke 50px */
  color: #252b34;
  font-weight: bold;
}

.img-4 {
  width: 100%; /* Gambar akan memenuhi lebar parent */
  max-width: 100%; /* Tidak melebihi ukuran aslinya */
  height: auto; /* Menjaga aspek rasio gambar */
  object-fit: cover; /* Memastikan gambar tetap proporsional */
  border-radius: 10px; /* Menjaga sudut membulat */
  display: block; /* Menghilangkan jarak ekstra dari elemen inline */
}

.box_submenu {
  margin-bottom: 30px;
  margin-top: 50px;
}

.sub_menu {
  font-size: 35px;
  font-weight: bold;
}

.unggulan {
  border-radius: 20px;
  max-width: 350px;
  transition: 0.3s;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .img-4 {
    width: 150%;
  }
}

@media (max-width: 768px) {
  .img-4 {
    width: 150%;
  }
}

@media (max-width: 576px) {
  .img-4 {
    max-height: 1500px;
  }

  .responsive_box {
    margin-top: 150px;
    height: 400px;
  }
}

/* Tombol */
.btn-custom {
  background-color: #f0c431;
  color: white;
  font-weight: bold;
  transition: 0.3s ease-in-out;
}

.btn-custom:hover {
  background-color: #e5b623;
  transform: scale(1.05);
}

.jarak-content {
  margin-top: 100px;
  margin-bottom: 30px;
}

/* new style */

.hero-section {
  display: flex;
  align-items: stretch;
  /* Menyamakan tinggi hero-text dan hero-image */
}

.hero-text,
.hero-image {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
  /* Pastikan kedua elemen berbagi 50% dari container */
}

.hero-text h1 {
  font-weight: bold;
  font-size: 65px;
  color: #252b34;
}

.hero-text p {
  font-size: 15px;
  color: #4a4a4a;
}

.btn-custom {
  background-color: #092d57;
  color: white;
  font-size: 18px;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: normal;
  text-decoration: none;
  display: inline-block;
  /* Pastikan tombol tidak melebar */
  width: 40%;
  /* Sesuaikan dengan kontennya */
}

.btn-custom-2 {
  background-color: rgb(255, 204, 0);
  color: white;
  font-size: 18px;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: normal;
  text-decoration: none;
  display: inline-block;
  /* Pastikan tombol tidak melebar */
  width: 50%;
  /* Sesuaikan dengan kontennya */
}

.custom-2 {
  background-color: rgb(255, 204, 0);
  color: white;
  font-size: 18px;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: normal;
  text-decoration: none;
  display: inline-block;
  /* Pastikan tombol tidak melebar */
  width: 50%;
  /* Sesuaikan dengan kontennya */
}

.btn-custom:hover {
  background-color: #092d57;
  color: white;
}

.btn-custom-2:hover {
  color: white;
}

.btn-custom i {
  margin-right: 8px;
}

.hero-image img {
  object-fit: cover;
  /* Mengisi area dengan proporsi tetap */
  height: 100%;
  /* Memastikan gambar menyesuaikan tinggi hero-image */
  width: 100%;
}

/* Responsif */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    text-align: left;
  }

  .hero-text {
    width: 100%;
    padding: 0 5%;
  }

  .hero-image {
    justify-content: center;
    margin-top: 20px;
    width: 500px;
  }

  .btn-custom {
    width: 100%;
  }
}

/* batas */

.button-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 200px;
  /* Default jarak */
  margin-top: 100px;
}

.button-container a {
  background-color: #092d57;
  color: white;
  max-width: 250px;
  display: inline-block;
  text-align: center;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
}

/* Media Query untuk layar kecil */
@media (max-width: 768px) {
  .button-container {
    flex-direction: column;
    /* Agar tetap dalam kolom */
    gap: 10px;
    /* Jarak antar tombol lebih kecil di layar kecil */
  }
}

/* batas */

.info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
}

.card {
  background-color: #092d57;
  color: white;
  border-radius: 10px;
  padding: 40px 20px 20px;
  max-width: 350px;
  width: 100%;
  text-align: center;
  position: relative;
  /* Dibutuhkan untuk posisi ikon */
}

.icon-circle {
  background-color: rgb(0, 255, 234);
  /* Warna biru */
  color: white;
  /* Warna ikon */
  width: 80px;
  height: 80px;
  border-radius: 50%;
  /* Membuat lingkaran */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  position: absolute;
  top: -30px;
  /* Menggeser ikon ke atas */
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.card h3 {
  color: #ff9800;
  margin-top: 20px;
  margin-bottom: 15px;
}

.card ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.card ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
  color: white;
  font-size: 15px;
  font-weight: bold;
}

.card ul li i {
  color: rgb(0, 203, 230);
  margin-right: 10px;
}

/* batas */
.small-text {
  font-size: 12px !important;
  color: red;
}

.card-paket {
  background-color: #092d57;
  border-radius: 15px;
  height: 700px;
}

/* Responsif */
/*@media (max-width: 768px) {*/
/*  .info {*/
/*    flex-direction: column;*/
/*    align-items: center;*/
/*  }*/
/*  .card {*/
/*    max-width: 90%;*/
/*  }*/
/*  .hero-image img{*/
/*      display: none;*/
/*  }*/
/*}*/

/* Tablet dan bawah (≤768px) */
@media (max-width: 768px) {
  .info {
    flex-direction: column;
    align-items: center;
  }
  .hero-text h1 {
    color: red;
  }
  .card {
    max-width: 90%;
  }
  .hero-image img {
    display: none !important;
    visibility: hidden;
    width: 0;
    height: 0;
  }
}

/* Mobile kecil (≤576px) */
@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 1.5rem;
  }
  .card {
    max-width: 100%;
  }
  .hero-image img {
    display: none !important;
    visibility: hidden;
    width: 0;
    height: 0;
  }
}

/* Layar sedang (769px - 992px) */
@media (min-width: 769px) and (max-width: 992px) {
  .hero-text h1 {
    color: blue;
  }
  .card {
    max-width: 80%;
  }
  .hero-image img {
    display: none !important;
    visibility: hidden;
    width: 0;
    height: 0;
  }
}

/* Layar besar (993px - 1200px) */
@media (min-width: 993px) and (max-width: 1200px) {
  .hero-text h1 {
    color: green;
  }
  .card {
    max-width: 70%;
  }
  .hero-image img {
    display: none !important;
    visibility: hidden;
    width: 0;
    height: 0;
  }
}

/* Layar sangat besar (≥1201px) */
@media (min-width: 1201px) {
  .hero-text h1 {
    color: black;
  }
  .card {
    max-width: 60%;
  }
  .hero-image img {
    display: none !important;
    visibility: hidden;
    width: 0;
    height: 0;
  }
}
