/* utils */

/* End utils */

/* Header */
.header-overlay-container {
    width: 100%;
    height: auto;
    position: relative;
}

.header-overlay-img {
    width: 100%;
    height: 625px;
    display: block;
    object-fit: cover;
}

.header-overlay-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        0deg,
        rgba(18, 20, 22, 0.6),
        rgba(18, 20, 22, 0.6)
    );
}

.header-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 94%;
}

.header-content-container {
    padding: 0 4px;
    position: relative;
}

.header-title {
    font-family: var(--font-1);
    font-style: normal;
    font-weight: 700;
    font-size: 44px;
    color: var(--white);
    margin-bottom: 16px;
}

.header-btn-product {
    background: var(--secondary);
    border-radius: 4px;
    padding: 6px 12px;
    font-family: var(--font-2);
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    color: var(--white);
    transition: var(--transition);
}

.header-btn-product:hover {
    filter: brightness(0.8);
    color: var(--white);
}

.header-btn-howto {
    background: transparent;
    border-radius: 4px;
    padding: 6px 12px;
    font-family: var(--font-2);
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    color: var(--white);
    border: 1px solid var(--white);
    transition: var(--transition);
}

.header-btn-howto:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    filter: brightness(0.8);
    color: var(--white);
}

.header-carousel-next {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -5%;
    top: 50%;
    color: var(--white);
    font-size: 24px;
    transition: var(--transition);
}

.header-carousel-next:hover {
    filter: brightness(0.8);
    color: var(--white);
}
/* End Header */

/* Keunggulan Perusahaan */
#keunggulanPerusahaan {
    margin-top: 64px;
}

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

.keper-ic {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    margin: 0 auto 16px;
}
/* End Keunggulan Perusahaan */

/* Keunggulan produk */
#keunggulanProduk {
    margin-top: 64px;
    padding: 32px 0;
    background-color: #f8f8f8;
}

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

.kepro-gutter {
    margin-left: -8px;
    margin-right: -8px;
}

.kepro-gutter > [class^="col-"],
.kepro-gutter > [class^=" col-"] {
    padding-left: 8px;
    padding-right: 8px;
}

.kepro-overlay-container {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    filter: drop-shadow(0px 0px 0px rgba(0, 0, 0, 0));
    opacity: 0.5;
    transition: var(--transition);
}

.kepro-overlay-container:hover {
    opacity: 1;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.kepro-overlay-img {
    width: 100%;
    height: 211px;
    display: block;
    object-fit: cover;
}

.kepro-overlay-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0) 100%
    );
    padding: 16px;
}
/* End Keunggulan produk */

/* Gambar proses */
#gambarProses {
    margin-top: 64px;
}

.gapro-container {
    padding: 0 16px;
}

.gapro-carousel .slick-slide {
    margin: 0 12px;
    opacity: 0.25;
    transition: var(--transition);
}

.gapro-carousel .slick-slide.slick-active {
    opacity: 0.75;
}

.gapro-carousel .slick-slide.slick-active.slick-center {
    opacity: 1;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.gapro-carousel .slick-dots li button:before {
    opacity: 0.25;
    font-size: 12px;
    color: var(--secondary) !important;
}

.gapro-carousel .slick-dots.slick-active li button:before {
    opacity: 1;
}

.gapro-img {
    width: 280px;
    height: 380px;
    object-fit: cover;
    border-radius: 4px;
}
/* End Gambar proses */

/* Tentang Kami */
#tentangKami {
    margin-top: 84px;
}

.teka-container {
    padding: 0 16px;
}

.teka-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.teka-vector {
    width: auto;
    height: auto;
    position: absolute;
    left: 0;
}
/* End Tentang Kami */

/* Kenapa harus beli kepada kami */
#kenapaHarusBeliKepadaKami {
    margin-top: 64px;
}

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

.keha-card {
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    border: 3px solid transparent;
    transition: var(--transition);
    height: 100%;
}

.keha-card:hover {
    border-color: var(--primary);
    transform: translateY(-12px);
}

.keha-card:hover h3 {
    color: var(--primary);
}

.keha-card .card-body {
    padding: 16px;
}

.keha-ic {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 16px;
}
/* End Kenapa harus beli kepada kami */

/* Testimoni */
#testimoni {
    background: #f8f8f8;
    margin-top: 64px;
    padding-top: 32px;
    padding-bottom: 32px;
}

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

.testimoni-carousel .slick-slide {
    margin: 0 24px 8px;
    opacity: 0.5;
    transition: var(--transition);
    transform: scale(0.98);
}

.testimoni-carousel .slick-slide.slick-active {
    opacity: 1;
    transform: scale(1);
}

.testimoni-card {
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
    border-radius: 4px;
    width: 350px;
    background-color: transparent;
    transition: var(--transition);
}

.testimoni-carousel .slick-active .testimoni-card {
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    background-color: var(--white);
}

.testimoni-carousel .slick-active h3 {
    color: var(--primary);
}

.testimoni-card .card-body {
    padding: 16px;
}

.testimoni-star {
    color: #ffe600;
}

.testimoni-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}

.testimoni-carousel .slick-dots li button:before {
    opacity: 0.25;
    font-size: 12px;
    color: var(--secondary) !important;
}

.testimoni-carousel .slick-dots.slick-active li button:before {
    opacity: 1;
}
/* End Testimoni */

/* Product */
#products {
    margin-top: 64px;
    margin-bottom: 64px;
}

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

.products-card {
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    height: 100%;
}

.products-card .card-img-top {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-position: center;
    object-fit: cover;
}

.products-card .card-body {
    padding: 16px;
}

.products-detail-btn {
    position: absolute;
    width: 100%;
    background: var(--primary);
    bottom: 0;
    z-index: 4;
    border-radius: 4px;
    font: 400 16px "Nunito", sans-serif;
    color: var(--white) !important;
    transition: var(--transition);
    opacity: 0;
}

.products-card:hover .products-detail-btn {
    opacity: 1;
}

.products-card-btn {
    width: 32px;
    height: 32px;
    background-color: var(--secondary);
    border-radius: 50%;
    font-size: 16px;
    color: var(--white) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.products-card-btn:hover {
    filter: brightness(0.8);
}

.products-card h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* End Product */

@media (max-width: 767.98px) {
    /* Header */
    .header-carousel {
        display: none !important;
    }

    .header-content {
        position: unset;
        background-color: red;
        top: 0;
        transform: none;
        padding-top: 120px;
        padding-bottom: 64px;
        background: linear-gradient(
                0deg,
                rgba(18, 20, 22, 0.6),
                rgba(18, 20, 22, 0.6)
            ),
            url(../../../../front_assets/images/pages/home/header-img-3.jpg)
                no-repeat center center;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        width: 100%;
    }

    .header-carousel-next {
        display: none !important;
    }

    .header-title {
        font-size: 30px;
    }
    /* End Header */

    /* Keunggulan produk */
    .kepro-overlay-container {
        opacity: 1;
    }
    /* End Keunggulan produk */

    /* Gambar Proses */
    .gapro-carousel .slick-slide {
        margin: 0 4px;
    }

    .gapro-img {
        width: 100%;
        height: 280px;
    }
    /* End Gambar Proses */

    /* Tentang kami */
    .teka-img {
        height: 260px;
    }
    /* End Tentang kami */

    /* Kenapa harus beli kepada kami */
    .keha-ic {
        margin: 0 auto 16px;
        display: block;
    }
    /* End Kenapa harus beli kepada kami */

    /* Testimoni */
    .testimoni-card {
        width: 100%;
    }

    .testimoni-carousel .slick-slide {
        margin: 8px 4px;
        opacity: 1;
        transform: scale(1);
    }
    /* End Testimoni */

    /* Product */
    .products-card-btn {
        width: 100%;
        border-radius: 0;
        padding-top: 20px;
        padding-bottom: 20px;
        font-size: 14px;
    }

    .products-gutter {
        margin-left: -8px;
        margin-right: -8px;
    }

    .products-gutter > [class^="col-"],
    .products-gutter > [class^=" col-"] {
        padding-left: 8px;
        padding-right: 8px;
    }

    .products-detail-btn {
        opacity: 1;
        font-size: 12px;
        border-radius: 0;
    }
    /* End Product */
}

@media (min-width: 768px) and (max-width: 998px) {
    /* Header */
    .header-carousel {
        display: none !important;
    }

    .header-content {
        position: unset;
        background-color: red;
        top: 0;
        transform: none;
        padding-top: 120px;
        padding-bottom: 64px;
        background: linear-gradient(
                0deg,
                rgba(18, 20, 22, 0.6),
                rgba(18, 20, 22, 0.6)
            ),
            url(../../../../front_assets/images/pages/home/header-img-3.jpg)
                no-repeat center center;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        width: 100%;
    }

    .header-carousel-next {
        display: none !important;
    }
    /* End Header */

    /* tentang kami */
    .teka-img {
        height: 320px;
    }
    /* End tentang kami */

    /* Kenapa harus beli kepada kami */
    .keha-ic {
        margin: 0 auto 16px;
        display: block;
    }
    /* End Kenapa harus beli kepada kami */

    /* Testimoni */
    .testimoni-card {
        width: 100%;
    }

    .testimoni-carousel .slick-slide {
        margin: 8px 4px;
        opacity: 1;
        transform: scale(1);
    }
    /* End Testimoni */

    /* Products */
    .products-card-btn {
        width: 100%;
        border-radius: 0;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    /* End Products */
}
