* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333;
    font-family: 'Poppins' ,sans-serif;
    overflow-x: hidden;
}


.header {
    background-image: url('foto/pintu_depan.avif') ; /* Ganti dengan path gambar Anda */
    position: relative;
    width: auto;
    height: 25rem; /* Sesuaikan tinggi sesuai kebutuhan */
    filter: brightness(100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Gelap: 0.3, lebih terang: 0.1 */
    z-index: -1;
}

.header-content h2 {
    padding: 0px 10rem;
    max-width: 1000px;
    filter: brightness(100%);
    font-size: 50px;
    color: white;
    text-align: center;
    font-weight: 700;
    z-index: 5;
}


@media (max-width: 600px) {
    .header-content h2  {
      padding: 0px 3rem;
      font-size: 2rem;
    }
  }

  @media (max-width: 600px){
    .header {
        height: 18rem;
        width: 100%;
    }
  }


/* ------------------------------------------------------------content-------------------------------------------------------- */

.faq-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 7rem auto;
    padding: 20px 6rem;  
    box-sizing: border-box;
}

.faq-content-left h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #798645;
}

@media (max-width: 600px) {
    .faq-content {
        margin: 1rem auto;
        padding: 10px 2rem;
    }
  }

  @media (max-width: 780px) {
    .faq-content {
        padding: 100px;
        display: grid;
    }
  }

  @media (max-width: 900px) {
    .faq-content {
        padding: 80px 50px;
        margin: 2rem auto;
    }
  }


@media (max-width: 780px) {
    .faq-content-left h2  {
        text-align: center;
        font-size: 1rem;
    }
  }

  @media (max-width: 900px) {
    .faq-content-left h2  {
        text-align: center;
        font-size: 2rem;
    }
  }

  @media (max-width: 780px) {
    .faq-content-left p  {
        text-align: center;
        font-size: 1rem;

    }
  }


  @media (max-width: 900px) {
    .faq-content-left p  {
        text-align: center;
        font-size: 0.8rem;

    }
  }

  @media (max-width: 600px) {
    hr  {
        justify-content: center;
        width: 100%;

    }
  }


.faq-content-left, .faq-content-right {
    flex: 1; /* Membagi ruang secara proporsional */
    box-sizing: border-box; /* Menghindari padding mempengaruhi ukuran elemen */
}

.faq-content-left {
    text-align: left;
    padding: 20px;
}

@media (max-width:320px) {
    .faq-content-left {
        padding: 0;
    }
}

.faq-content-left p {
    font-size: 1.2rem;
    white-space: pre-line;
}

@media (max-width:426px) {
    .faq-content-left p {
        font-size: 1rem;
    }
}

.faq-content-right {
    text-align: left;
    padding: 0px 20px;
    border-left: 1px solid rgb(189, 189, 189);
}

@media (max-width:600px) {
    .faq-content-right {
        border-left: none;
        border-top: 1px solid rgb(189, 189, 189);
    }
}

@media (max-width:780px) {
    .faq-content-right {
        border-left: none;
        border-top: 1px solid rgb(189, 189, 189);
    }
}

.faq-item {
    display: block;
}

hr {
    position: relative;
    margin: 0px 60px 0px 0px;
}


/* .faq-content-left h2 {
    padding: 10px 0px;
    font-size: 2.5rem;
    color: #798645;
} */

.tombol-call {
    width: 100%;
    padding: 30px 0px;
    justify-content: center;
    margin: 0px auto;
    
}

@media (max-width:780px ){
    .tombol-call {
        display: grid;
    }
}

@media (max-width:900px ){
    .tombol-call {
        display: grid;
    }
}

.tombol-call button{
    display: flex;
    width: 20rem;
    padding: 11px 0px;
    justify-content: center;
    margin: 20px 0px;
    border-radius: 30px;
    background: none;
    cursor: pointer;
    font-family: "Poppins", serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1.1rem;
}

@media (max-width:600px) {
    .tombol-call button {
        width: 18rem;
    }
}

@media (max-width:900px) {
    .tombol-call button {
        width: 18rem;
    }
}

.tombol-call a {
    justify-content: center;
    margin: 0px auto;
}

.tombol-1 a {
    text-decoration: none;
}

.tombol-2 a {
    text-decoration: none;
}

.tombol-1 button {
    color: #798645;
    border: 2px solid #798645;
    background-color: white;
    transition: all 0.3s ease;
}

.tombol-1 button:hover {
    background-color: #798645;
    color: white;
}


.tombol-2 button {
    color: white;
    border: 2px solid #798645;
    background-color: #798645;
}

.tombol-slide {
    justify-content: center;
    margin-bottom: 50px;
    margin-top: 30px;
    color: pink;
    display: flex;
}

.tombol-slide button {
    padding: 0.6rem 1rem;
    border: 2px solid #798645;
    border-radius: 180px;
    margin: 0px 7px;
    font-size: 20px;
    cursor: pointer;
}

.faq-nav-btn-1 {
    color: white;
    background-color: #798645;
    transition: all 0.3s ease;
}

.faq-nav-btn-2 {
    color: #798645;
    background-color: white;
    transition: all 0.3s ease;

}

.inactive {
    background-color: white;
    color: black;
  }

  .active {
    background-color: #798645;
    color: white;
  }

.question button{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 15px;
    background-color: white;
    border:1px solid rgb(100, 100, 100);
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
    font-size: 1.2rem;
    color: black;
    font-family: "Poppins", serif;
    font-weight: 500;
    font-style: normal;
    cursor: pointer;
    transition: border-radius 0.3s ease;
}


.question span {
    justify-content: flex-start; /* Mengatur agar konten tombol mulai dari kiri */
    align-items: center; /* Menjaga konten tombol tetap sejajar secara vertikal */
    text-align: left; /* Membuat teks dalam tombol rata kiri */
}

.question i {
    transition: transform 0.3s ease;
}

.question p{
    font-size: 18px;
    font-family: "Poppins", serif;
    font-weight: 400;
    font-style: normal;
    max-height: 0;
    opacity: 0;
    line-height: 1.5;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgb(100, 100, 100);
    border: none;
}



.d-arrow{
    transition: transform 0.5s ease-in ;
    color: #fff;
}

/*add this class when click*/
.question p.show{
    max-height: 300px; 
    opacity: 1;
    padding:0px 15px 30px 15px;
    border-bottom: 1px solid rgb(100, 100, 100);  /* Hanya border bottom */

}


.hidden {
    display: none;
}



   /* ---------------------------------------------------- FOOTER-------------------------------------------------- */

   footer {
    background-color: #798645;
}

.footer-kontainer {
    display: flex;
    box-sizing: border-box;
    justify-content: center;
    margin: 3rem auto;
}

.footer-image {
    justify-content: center;
    margin: auto 0;
}

.footer-image img {
    max-width: 242px;
    margin: auto 0;
}

.footer-content {
    margin: 6rem 4rem;
}

.footer-head {
    display: flex;
}

.footer-content h4 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: white;
}

.footer-content ul {
    list-style: none;
    text-decoration: none;
    color: white;
}

.footer-content ul li {
    padding: 0.2rem 0;
}

.footer-content ul a {
    position: relative;
    display: inline-block;
    list-style: none;
    text-decoration: none;
    color: white;
    display: block;
    transition: all 0.3s ease;
}

.footer-content ul li:hover {
    transform: translateX(10px); /* Geser ke kiri 5px */
    color: black;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.footer-content i {
    margin-right: 16px;
    font-size: 1.1rem;
}

.sosial-link a i {
    font-size: 1.2rem;
    display: inline-block;
    margin: 10px 10px 0 0;
    color: white;
    background-color: rgba(255, 255, 255, 0.247);
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 25px;
    text-align: center;
}

.sosial-link a i:hover {
    transition: all 0.3s ease;
    color: black;
    background-color: white;
}

.copyright {
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    box-sizing: border-box;
}

@media (max-width:980px) {

    .footer-image img {
        max-width: 270px;
    }

    .footer-content ul li {
        font-size: 1rem ;
    }

    .footer-kontainer {
        max-width: 800px;
        justify-content: center;
        text-align: center;
    }

    .footer-head {
    display: grid;
    }

    .footer-content {
        margin: 2rem 0;
    }
}


@media (max-width:600px) {

    .footer-image img {
        max-width: 242px;
    }

    .footer-kontainer {
        justify-content: left;
        padding: 0 30px;
        text-align: left;
    }

    .footer-head {
    display: grid;
    }

    .footer-content {
        justify-content: left;
        margin: 2rem 0;
    }
}
 



