/* General Styles */
body {
    margin: 0;
    padding: 0;
    color: #333;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 30px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 20px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  padding: 0;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #0072CE;
}

.search-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-input {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
  width: 150px;
}

.search-btn {
  background: linear-gradient(to right, #002F6C, black);
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease-in-out;
}

.search-btn:hover {
  background: linear-gradient(to left, #002F6C, black);
}

.sticky {
  position: sticky;
  top: 0px;
  z-index: 1000;
}


/* Responsif untuk layar kecil */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 80px; /* Di bawah navbar */
    right: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    gap: 20px;
    padding: 20px 0;
    text-align: center;
  }

  .nav-links.show {
    display: flex; /* Tampilkan menu saat aktif */
  }

  .hamburger-menu {
    display: flex;
  }

  .search-container {
    display: none; /* Sembunyikan search di layar kecil */
  }
}

header {
  background: url("assets/ContactUS.png");
  background-size: cover;
  background-position: center; /* Tambahkan untuk memastikan gambar tetap terpusat */
}

/* Styling untuk judul header */
.judulheader {
  width: 40%;
  padding-top: 10vh;
  padding-left: 7vw;
  padding-bottom: 20vh;
}

.judulheader h2 {
  font-weight: 900;
  font-size: 2rem; /* Pastikan font-size dapat diatur */
}

/* Styling untuk background biru */
.headerbluebg {
  background: linear-gradient(to right, #002F6C, black);
  width: 50%;
  text-align: center;
  padding: 10px;
  color: white;
  border-radius: 25px;
}

/* Heading dan paragraf */
h2 {
  font-size: 28px;
  margin-top: 5px;
}

p.description {
  color: #777;
  font-size: 14px;
}

/* Responsif untuk layar sedang */
@media screen and (max-width: 768px) {
  .judulheader {
      width: 60%; /* Lebar lebih besar untuk layar sedang */
      padding-left: 5vw;
  }

  .headerbluebg {
      width: 70%; /* Sesuaikan lebar background biru */
      font-size: 0.9rem; /* Kurangi ukuran teks */
  }

  h2 {
      font-size: 24px; /* Kurangi ukuran heading */
  }

  p.description {
      font-size: 12px; /* Sesuaikan font untuk deskripsi */
  }
}

/* Responsif untuk layar kecil */
@media screen and (max-width: 480px) {
  .judulheader {
      width: 90%; /* Lebar penuh untuk layar kecil */
      padding-left: 3vw;
      padding-top: 15vh;
      padding-bottom: 15vh;
  }

  .headerbluebg {
      width: 90%; /* Lebar hampir penuh */
      font-size: 0.8rem; /* Lebih kecil untuk layar kecil */
      padding: 8px; /* Kurangi padding */
  }

  h2 {
      font-size: 20px; /* Ukuran heading lebih kecil */
  }

  p.description {
      font-size: 10px; /* Ukuran deskripsi lebih kecil */
  }
}


main {
  margin-block-start: 10vh;
  margin-block-end: 10vh;
}

.container-subjudul {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 5vh;
  margin-bottom: 5vh;
}

.subjudul {
  display: flex;
  flex-shrink: 0;
  align-content: center;
  align-items: center;
  text-align: center;
  object-position: center;
  justify-self: center;
  justify-content: center;
  justify-items: center;
  margin-bottom: 10px;
}

.subjudul-icon {
  width: 3%;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  align-content: center;
  object-position: center;
}

.sub-h6 {
  text-align: center;
  margin-bottom: 0;
  color: #002F6C;
}

.text-center {
  text-align: center;
}

.text-center h3 {
  font-weight: 900;
}

.text-center h5 {
  margin-top: 10vh;
  background: linear-gradient(to right, #002F6C, black);
  width: 50%;
  text-align: center;
  padding: 10px;
  color: white;
  font-weight: 600;
  border-radius: 25px;
  align-content: center;
  align-items: center;
  text-align: center;
  object-position: center;
  justify-self: center;
  justify-content: center;
  justify-items: center;
}

/* Section Styling */
#contact-us {
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

/* Section Title */
.get-in-touch .content {
    margin-bottom: 40px;
}

.small-title {
    font-size: 14px;
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
}

.icon {
    width: 40px;
    vertical-align: middle;
    margin-right: 5px;
}

/* Contact Cards */
.contact-cards {
  display: flex;
  flex-wrap: wrap; /* Memungkinkan elemen berpindah ke baris baru jika ruang tidak cukup */
  justify-content: center; /* Pusatkan elemen secara horizontal */
  gap: 20px;
  margin-bottom: 40px;
}

.contact-card {
  background-color: #9966A7;
  color: #fff;
  padding: 20px;
  border-radius: 8px;
  width: calc(33.33% - 20px); /* Tiga kolom pada layar besar */
  max-width: 200px; /* Pastikan tidak terlalu besar */
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  flex: 1 1 calc(33.33% - 20px); /* Gunakan fleksibilitas untuk ukuran */
}

.contact-card img {
  width: 40px;
  margin-bottom: 10px;
}

.contact-card h3 {
  margin: 10px 0;
}

/* Responsif untuk layar sedang */
@media screen and (max-width: 768px) {
  .contact-card {
      width: calc(50% - 20px); /* Dua kolom pada layar sedang */
      flex: 1 1 calc(50% - 20px);
  }
}

/* Responsif untuk layar kecil */
@media screen and (max-width: 480px) {
  .contact-card {
      width: 100%; /* Satu kolom pada layar kecil */
      flex: 1 1 100%;
  }
}


/* Get In Touch Section */
.get-in-touch {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.get-in-touch .content {
    text-align: left;
    width: 45%;
}

.contact-form {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    width: 45%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background-color: #004AAD;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background-color: #003377;
}

/* Map Section */
.map-container iframe {
  width: 100%;
  max-width: 90%;
  height: 400px;
  border: 0;
  border-radius: 8px;
  margin: 0 auto; /* Pusatkan secara horizontal */
  display: block; /* Pastikan iframe menjadi elemen blok */
}

/* Media Queries untuk perangkat yang lebih kecil */
@media screen and (max-width: 768px) {
  .map-container iframe {
      width: 95%; /* Kurangi margin untuk layar kecil */
      height: 300px; /* Sesuaikan tinggi */
  }
}

@media screen and (max-width: 480px) {
  .map-container iframe {
      width: 100%; /* Gunakan seluruh lebar layar */
      height: 250px; /* Sesuaikan tinggi */
  }
}


/* FOOTER */
.bg-dark {
  background-color: #9966A7 !important;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.py-5 {
  padding-bottom: 1rem !important;
}

.col-md-3 img {
  height: 7vh;
  background-color: black;
  border-radius: 10px;
  padding: 5px;
  transform: background 0.3 ease;
}

.col-md-3 img:hover {
  background: linear-gradient(135deg, #002F6C, black);
}

.list-unstyled.d-flex a {
  margin-right: 10px;
  margin-left: 0px;
}

.list-unstyled.d-flex a:last-child {
  margin-right: 0;
}

.list-unstyled a {
  text-decoration: none !important;
  color: white;
  margin-left: 10px;
}

.list-unstyled a:hover {
  color: skyblue;
}

.ratakiri{
  margin-left: 0 !important;
}

.col-md-3 h5 {
  font-weight: 600;
}

.me-3 i {
  font-size: 1.5rem;
}

.me-3 i:hover {
  color: skyblue;
}

.footercopy {
  text-align: center;
  color: white;
  padding-top: 0;
}

.footercopy hr {
  padding-bottom: 0px;
  margin-block-end: 0px;
}

.footercopy h6 {
  font-size: 14px;
  padding: 10px;
  margin-block-start: 0px;
  margin-block-end: 0px;
  letter-spacing: 1px;
}