/* Utilities */
:root {
    --black: #000;
    --primary: #fff000;
    --white: #fff;
    --grey: #2E2E22;
    --secondary: #E81500;

    --transition: all 250ms ease;
}

.subtitle-font {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 32px;
}

.body-font {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
}

.btn-layout {
    background-color: var(--secondary);
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-size: 16px;
    color: var(--white) !important;
    transition: var(--transition);
    border-radius: 12px;
    padding: 12px 24px;
    line-height: normal;
    font-weight: 700;
}

.color-grey {
    color: var(--grey);
}

/* End */

/* Header */
.page-header {
    padding-top: 64px;
    padding-bottom: 64px;
}

header {
    background: url(../../front_assets/img/layanan-page/header-bg.webp) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.header-title {
    font-family: 'Inter', sans-serif;
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
}

.header-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow:  0px 2px 8px rgba(0, 0, 0, 0.25);
    border: 5px solid white;
}

.header-carousel .slick-dots li button:before {
    color: white;
}
/* End Header */


/* Tentang Gawaikita */
#tentangGawaikita {
    background: linear-gradient(90deg, #FFF000 0%, #FFD700 100%);
    padding: 48px 0;
}

#tentangGawaikita .icon-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

#tentangGawaikita .icon-container img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

#tentangGawaikita h2 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 16px;
}
/* End Tentang Gawaikita */


/* Kasus Kerusakan */
#kasusKerusakan {
    margin-top: 80px;
}

#kasusKerusakan .card {
    background: linear-gradient(90deg, rgba(255, 240, 0, 0.25) 0%, rgba(255, 215, 0, 0.25) 100%);
}

#kasusKerusakan .card-body {
    padding: 24px;
}

#kasusKerusakan .icon-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(90deg, #FFD700 0%, #FFB300 100%);;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

#kasusKerusakan .icon-container img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

#kasusKerusakan h3 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 16px;
}

.kerusakan-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 48px;
}
/* End Kasus Kerusakan */

/* Artikel Terkait */
#artikelTerkait {
    margin-top: 80px;
}

#artikelTerkait h3 {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 16px;
}

.artikel-img {
    object-fit: cover; 
    width: 100%; 
    height: 500px;
}
/* End Artikel Terkait */

/* Service Di Gawaikita */
#serviceDiGawikita {
    background: url(../../front_assets/img/layanan-page/service-bg.webp) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    padding: 120px 0;
    margin-top: 80px;
}

#serviceDiGawikita h2 {
    font-family: 'Inter', sans-serif;
    font-size: 50px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 48px;
}

#serviceDiGawikita p {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 32px;
    text-align: center;
}

#serviceDiGawikita a {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
}
/* End Service Di Gawaikita */

/* Before After */
.before-after-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
/* End Before After */

/* FAQ */
#faq {
    margin-top: 80px;
}

#faq .faq-toggle {
    display: flex;
    align-items: center;
    font-weight: 600;
    text-decoration: none;
    width: 100%;
    text-align: left;
    padding: 1rem;
    border: none;
    background: transparent;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
}

#faq .card-header {
    background: linear-gradient(90deg, rgba(255, 240, 0, 0.25) 0%, rgba(255, 215, 0, 0.25) 100%);
    border: none;
    border-radius: 6px;
}

#faq .card {
    border: none;
}

#faq .faq-toggle[aria-expanded="true"] {
    border: 1px solid #007bff;
    background-color: #fff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
    border-radius: 6px;
}

#faq .faq-icon {
    transition: transform 0.3s ease;
    color: red;
}

#faq .faq-toggle[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

#faq .card-body {
    padding: 2rem;
    color: #555;
    font-size: 14px;
}
/* End FAQ */

/* Testimoni */
#testimoni {
    margin-top: 80px;
}

.testimoni-container {
    padding: 0 8px;
}

.testimoni-card {
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    position: relative;
    width: 615px;
    overflow: inherit;
}

.testimoni-card .card-body {
    padding: 24px 24px 60px 24px;
}

.testimoni-desc {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    text-align: center;
    color: #2E2E22;
    margin-bottom: 0;
}

.testimoni-name {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    color: #060606;
    margin-bottom: 8px;
}

.testimoni-history {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 10px;
    text-align: center;
    color: #060606;
    display: block;
}

.testimoni-divider {
    border: 1px solid #ECEDEF;
    margin-top: 20px;
    margin-bottom: 16px;
}

.testimoni-star {
    font-size: 12px;
    color: #F8B805;
    margin-right: 8px;
}

.testimoni-carousel .slick-slide {
    margin: 24px 12px 40px;
}

.testimoni-grey {
    color: #828282;
}

.testimoni-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    display: block;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15%;
    border: 2px solid #FFF000;
}

.testimoni-carousel .slick-prev {
    left: 23%;
    z-index: 10;
}

.testimoni-carousel .slick-next {
    right: 23%;
    z-index: 10;
}

.testimoni-carousel .slick-slide {
    opacity: .25;
    transition: var(--transition);
}

.testimoni-carousel .slick-slide.slick-center {
    opacity: 1;
}

.testimoni-carousel .slick-prev:before,
.testimoni-carousel .slick-next:before {
    color: var(--grey-v2);
}

.testimoni-google-img {
    width: 64px;
    height: 64px;
    position: absolute;
    bottom: 6px;
    left: 6px;
}
/* End Testimoni */

/* Merek Lainnya */
#merekLainnya img {
    width: 100%;
    height: 283px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 2px solid var(--grey);
}

#merekLainnya h3 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 16px;
    text-align: center;
}
/* Merek Lainnya */

/* Footer */
#copyrightFooter {
    background: #000;
    padding: 16px 0;
    margin-top: 48px;
}
/* End Footer */


@media (max-width: 991.98px) {
    /* Header */
    .header-img {
        height: 300px;
    }

    .header-title {
        font-size: 32px;
        text-align: center;
    }
    /* End Header */

    /* Tentang Gawaikita */
    #tentangGawaikita .icon-container {
        margin-left: auto;
        margin-right: auto;
    }

    #tentangGawaikita h2 {
        text-align: center;
    }
    /* End Tentang Gawaikita */

    /* Kasus Kerusakan */
    #kasusKerusakan .icon-container {
        margin-left: auto;
        margin-right: auto;
    }

    #kasusKerusakan h3 {
        text-align: center;
    }
    /* End Kasus Kerusakan */

    /* Service Di Gawaikita */
    #serviceDiGawikita h2 {
        text-align: center;
        font-size: 40px;
    }
    /* Service Di Gawaikita */

    /* FAQ */
    #faq .faq-toggle {
        font-size: 20px;
    }
    /* End FAQ */

    /* Testimoni */
    .testimoni-card {
        width: 100%;
    }
    .testimoni-carousel .slick-slide {
        opacity: 1;
    }

    .testimoni-carousel .slick-prev {
        left: 0;
    }

    .testimoni-carousel .slick-next {
        right: 0;
    }
    /* End Testimoni */

    /* Artikel */
    .artikel-img {
        height: 283px;
    }
    /* End Artikel */

    /* Before After */
    .before-after-image {
        height: 283px;
    }
    /* End Before After */
}
