/* Ensure global box-sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Gallery Sub-header */
.sub-header-galeri {
    background-image: url(../../../assets/images/galeri/galeri.png);
    background-repeat: no-repeat;
    padding: 100px 0px;
    background-color: #3a57e8;
    background-size: cover;
    color: #fff;
}

.text-galeri {
    color: #f5b203;
    font-family: "Poppins", sans-serif;
    font-size: 60px;
    font-weight: 700;
    line-height: 60px;
}

/* FAQ Foto Container */
.container-faq-foto {
    background-image: linear-gradient(to bottom, #2758a7, #0f2241);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 30px;
}

.font-faq-foto {
    color: #fff;
    font-family: "Poppins", sans-serif !important;
    font-size: 40px !important;
    font-weight: 700 !important;
    line-height: 50px !important;
}

/* About Section Video */
.aboutsection-video {
    display: flex;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(169, 105, 105, 0.05);
    box-shadow: 0px 0px 25px 9px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16.5px);
    width: 85%;
    margin: 200px auto 0;
    border-radius: 20px;
    padding: 20px;
}

.aboutsection-video iframe {
    border-radius: 20px;
}

/* Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Button Container */
.container-button-kuning {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 200px 0 50px;
}

.container-button-kuning .btnkuning {
    text-align: center;
    background: #f5b203;
    border-radius: 10px;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
    width: 80%;
    padding: 10px 0;
}

.read-more-btn {
    display: none;
    background-color: #85a5c8; /* Change to your preferred color */
    color: white; /* Change to your preferred color */
    border: none;
    padding: 10px 20px; /* Adjust as needed */
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px; /* Adjust as needed */
    margin: 4px 2px;
    transition-duration: 0.4s; /* Adjust as needed */
    cursor: pointer;
    border-radius: 12px; /* Adjust as needed */
}

.read-more-btn:hover {
    background-color: white; /* Change to your preferred color */
    color: black;
}

.description-text {
    overflow: hidden;
}

@media only screen and (max-width: 768px) {
    .description-text {
        max-height: 200px;
        text-overflow: ellipsis;
    }
    .description-container.open .description-text {
        max-height: none;
    }
    .read-more-btn {
        display: inline; /* Show the button by default */
        margin-bottom: 20px;
    }
    .description-container.open .read-more-btn {
        display: inline; /* Show the button when the description is open */
    }
}
