html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.banner img {
  width: var(--widthbanner);
  height: var(--heightbanner);
  object-fit: cover; 
  display: block;
  filter: var(--filterbanner2);
}

.banner .text {
  position: absolute;
  top: 50%;          
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
}

.banner .text h1 {
  font-family: var(--fontjudul);
  font-weight: 800;
  font-size: var(--sizejudul);
}

/*Section-1*/
.section-1 {
  text-align: center;
}

.section-1 h1 {
    font-size: var(--sizesubjudul);
}

.judul-section {
  font-family: var(--fontjudul);
  margin: 20px 0;
  color: var(--blue);
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slides {
  position: relative;
}

.slide {
  display: none;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 370px;
  object-fit: cover;
  display: block;
}

.caption {
  background: var(--blue);
  color: white;
  text-align: center;
  padding: 55px 55px 100px; 
}

.indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.caption h2 {
  margin: 0 0 10px;
  font-family: var(--fontjudul);
  font-size: var(--sizesubjudul);
}

.caption p {
  margin: 0;
  font-size: var(--sizeisi);
  font-family: var(--fontisi);
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dot.active {
  background-color: #fff;
}

/*Section-2*/
.section-2 {
  display: grid;
  grid-template-columns: 3fr 1fr;
  align-items: center;
  gap: 40px;
  padding: var(--padding);
  font-family: var(--fontisi);
  margin-top: 20px;
  text-align: left; /* Tambahkan ini */
}

.section-2 .text h4 {
  color: var(--blue);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-2 .text h2 {
  font-family: var(--fontjudul);
  font-size: var(--sizesubjudul);
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 20px;
}

.section-2 .text p {
  color: black;
  max-width: 100%;
  font-size: var(--sizeisi);
  text-align: justify;
}

.section-2 .foto {
  display: flex;
  justify-content: center; 
}

.section-2 .foto img {
  width: 300px;
  object-fit: cover;
  border-radius: 50%;
}

/*Section-3*/
.section-3 {
  text-align: left; /* Tambahkan ini */
}

.box-judul {
  background-color: var(--blue);
  margin-bottom: var(--marginjudul);
  width: 100%;
}

.judul h1 {
  font-size: var(--sizesubjudul);
  padding: var(--paddingsub);
  color: white;
  font-family: var(--fontjudul);
}

.judul {
  font-family: var(--fontjudul);
  font-weight: 800;
}

.isi-HambaTuhan {
  padding: var(--paddingsub);
}

.card-HT {
  font-family: var(--fontisi);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 20px;
  border: 0.1px solid rgb(218, 216, 216);
  border-radius: 10px;
  margin-bottom: 20px;

}

.card-HT img {
  width: 200px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  aspect-ratio: 1 / 1;
}

.details-HT h2 {
  font-size: 18px;
  margin: 0;
}

.details-HT h3 {
  color: var(--grey);
  font-size: var(--sizeisi);
  font-weight: normal;
  margin: 10px 0 16px 0;
}

.details-HT .btn-komisi {
  background-color: var(--blue);
  font-size: var(--sizeisi);
  border-radius: 10px; 
  padding: 10px 20px;
  color: white;
  margin: 0;
  max-width: 100px;
  display: inline-block;
}

/* Responsif untuk tablet */
@media (max-width: 768px) {
  .card-HT {
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: center;
  }
  
  .card-HT img {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
  
  .details-HT {
    text-align: center;
  }

  .details-HT h2 {
    margin: 0;
  }
  
  .details-HT .btn-komisi {
    margin: 0 auto;
  }
}

/* Responsif untuk handphone */
@media (max-width: 480px) {
  .card-HT {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
  }
  
  .card-HT img {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    display: block;
  }
  
  .details-HT {
    text-align: center;
  }

  .details-HT h2 {
    margin: 0;
  }
  
  .details-HT .btn-komisi {
    margin: 10px auto 0;
    display: block;
  }
}

/*------------------RESPONSIF--------------------*/

/*Tablet*/
@media (max-width: 768px) {
  .section-2 {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 55px;
    text-align: center;
  }
  .section-2 .foto {
    order: -1; 
    margin-bottom: 20px;
  }

  .section-2 .text h2 {
    font-size: var(--sizesubjudultablet);
  }

  .section-2 .text p {
    font-size: var(--sizeisitablet);
  }
}

/*HP*/
@media (max-width: 480px) {
  .section-2 {
    padding: 55px;
    gap: 15px;
  }

  .section-2 .foto img {
    width: 220px;
  }

  .section-2 .foto {
    order: -1;
  }

  .section-2 .text h2 {
    font-size: var(--sizesubjudulhp);
  }

  .section-2 .text p {
    font-size: var(--sizeisihp);
  }
}