* {
  margin: 0;
}

body {
  font-family: "Roboto", sans-serif;
}

/* Navbar default styling */
.navbar {
  width: 100%;
  height: 50px;
  background-color: rgb(255, 255, 255);
  position: sticky;
  top: 0;
  transition: 1s ease all;
  z-index: 100;
}

.navbar-container {
  display: flex;
  align-items: center;
  padding: 0 50px;
  height: 100%;
  color: white;
  font-family: "Sen", sans-serif;
}

.logo-container {
  flex: 1;
}

.logo {
  font-size: 30px;
  color: #4dbf00;
}

.menu-container {
  flex: 6;
}

.menu-list {
  display: flex;
  list-style: none;
}

.menu-list-item {
  margin-right: 30px;
}

.menu-list-item.active {
  font-weight: bold;
}

.profile-container {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.profile-text-container {
  margin: 0 20px;
}

.profile-picture {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.toggle {
  width: 40px;
  height: 20px;
  background-color: white;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: relative;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .navbar-container {
    padding: 0 30px;
  }

  .menu-list {
    gap: 20px;
  }

  .menu-list-item {
    margin-right: 15px;
  }
}

@media screen and (max-width: 768px) {
  .menu-container {
    display: none;
  }

  .toggle {
    display: block;
  }

  .profile-container {
    justify-content: space-between;
    flex: 1;
  }
}

@media screen and (max-width: 480px) {
  .navbar-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }

  .logo {
    font-size: 24px;
  }

  .profile-container {
    justify-content: center;
    flex-direction: column;
  }

  .profile-text-container {
    margin: 10px 0;
  }

  .profile-picture {
    width: 28px;
    height: 28px;
  }
}



.container {
  background-color: #151515;
  min-height: calc(100vh - 50px);
  color: white;
  transition: 1s ease all;
}

.content-container {
  margin-left: 0px;
}

.featured-content {
  height: 50vh;
  padding: 50px;
}

.featured-title {
  width: 200px;
}

.featured-desc {
  width: 500px;
  color: lightgray;
  margin: 30px 0;
}

.featured-button {
  background-color: #dbdbdb;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-weight: bold;
}

.vertical-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 2000px;
  margin: 0 auto;
}

/* Item vertikal */
.vertical-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap; /* Menambahkan flex-wrap untuk tata letak yang lebih fleksibel */
}

/* Gambar */
.vertical-item-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

/* Konten teks */
.vertical-item-content {
  flex: 1;
}

.vertical-item-content h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #333;
}

.vertical-item-content p {
  margin: 10 0 15px;
  font-size: 16px;
  color: #555;
}

.vertical-item-button {
  padding: 10px 15px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.vertical-item-button:hover {
  background: #05ba02;
}

/* Responsiveness */
@media (max-width: 1024px) {
  .featured-content {
    padding: 30px; /* Mengurangi padding untuk layar lebih kecil */
  }

  .featured-desc {
    width: 100%; /* Mengambil seluruh lebar */
  }

  .vertical-container {
    gap: 10px; /* Mengurangi jarak antar elemen */
  }

  .vertical-item {
    flex-direction: column; /* Menumpuk elemen secara vertikal */
    text-align: center;
  }

  .vertical-item-img {
    width: 100%; /* Gambar menyesuaikan lebar kontainer */
    height: auto; /* Mengatur tinggi proporsional */
  }

  .vertical-item-content h3 {
    font-size: 18px; /* Mengurangi ukuran font */
  }

  .vertical-item-content p {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .featured-content {
    height: auto; /* Menghapus batas tinggi tetap */
    padding: 20px;
  }

  .featured-title {
    font-size: 16px;
  }

  .featured-desc {
    font-size: 14px; /* Mengurangi ukuran font untuk layar kecil */
  }

  .vertical-item-content h3 {
    font-size: 16px;
  }

  .vertical-item-content p {
    font-size: 12px;
  }

  .vertical-item-button {
    font-size: 14px;
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  .featured-button {
    padding: 8px 10px; /* Mengurangi padding untuk tombol */
    font-size: 12px;
  }

  .vertical-item {
    gap: 10px; /* Mengurangi jarak antar elemen */
  }

  .vertical-item-img {
    border-radius: 5px; /* Mengurangi border-radius */
  }
}


.vertical-item-button:hover {
  background: #05ba02;
}

.arrow {
  font-size: 120px;
  position: absolute;
  top: 90px;
  right: 0;
  color: lightgray;
  opacity: 0.5;
  cursor: pointer;
}

.container.active {
  background-color: white;

}
.image-slider {
  position: relative;
  width: 80%;
  max-width: 1080px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slider-track {
  display: flex;
  transition: transform 0.3s ease-in-out;
}

.slider-slide {
  min-width: 100%;
  box-sizing: border-box;
}

.slider-slide img {
  width: 100%;
  display: block;
}

.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 18px;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  outline: none;
}

#prev-slide {
  left: 10px;
}

#next-slide {
  right: 10px;
}

.slider-button:hover {
  background: rgba(0, 0, 0, 0.8);
}


/* Footer Styles */
footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1500px;
  margin: 20px auto; /* Mengurangi margin untuk layar lebih kecil */
  padding: 0 20px;
  gap: 20px; /* Menambahkan gap antar elemen */
}

.footer-section {
  flex: 1;
  margin: 20px; /* Mengurangi margin untuk layar kecil */
  min-width: 300px; /* Mengurangi ukuran minimum */
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #f0db4f;
}

.footer-section p,
.footer-section ul {
  font-size: 14px;
  line-height: 1.6;
}

.footer-section ul li {
  margin-bottom: 5px;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  border-top: 1px solid #555;
  padding-top: 10px;
}

/* Responsiveness */
@media only screen and (max-width: 768px) {
  .footer-container {
    justify-content: center; /* Elemen ditumpuk ke tengah */
    text-align: center;
    gap: 10px; /* Mengurangi jarak antar elemen */
  }

  .footer-section {
    flex: 1 1 100%; /* Setiap elemen mengambil seluruh lebar */
    margin: 10px 0; /* Mengurangi margin antar elemen */
    min-width: auto; /* Menghapus batas minimum untuk lebar */
  }

  .footer-section ul {
    padding: 0; /* Menghapus padding yang tidak perlu */
  }

  .footer-section h3 {
    font-size: 16px; /* Mengurangi ukuran font untuk layar kecil */
  }

  .footer-section p,
  .footer-section ul {
    font-size: 12px; /* Mengurangi ukuran font untuk layar kecil */
  }
}

@media only screen and (max-width: 480px) {
  .footer-section {
    margin: 5px 0; /* Margin lebih kecil untuk layar sangat kecil */
  }

  .footer-section h3 {
    font-size: 14px;
  }

  .footer-bottom {
    font-size: 12px; /* Menyesuaikan ukuran font footer bawah */
  }
}
