/* Global CSS */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
}

.testimoni h5,
.cta-page h4,
.benefit h3,
.product h3,
.keunggulan h2,
.list-kota h3,
.kontak-kami .container h2,
.tentang-kami-page h2,
.gallery h4,
.about h3 {
    font-size: 32px;
}

p,
a,
ul li,
span,
b,
.header .nav-link,
.header-mobile .menu p,
button,
.btn {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    color: #111827;
}

.nav-link,
.header-mobile .icon p {
    color: #05548c;
    font-family: Inter, Arial, Helvetica, sans-serif;
}

/* Akhir global CSS */

/* Header */
.header-desktop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    z-index: 9999999;
    margin: -10px 0;
}

.menu {
    border-radius: 15px 15px 0 0;
}

.header-desktop .header .nav-link {
    color: #05548c;
    font-weight: 600;
}

.header-beranda {
    background-color: #F8F8F8;
    padding: 120px 0;
    border-radius: 0 0 50px 50px;
}

.header-beranda h1 {
    padding-top: 50px;
    color: #05548c;
}

.header-beranda .text-header {
    width: 100%;
}

.header-beranda .text-header p {
    text-align: left;
    font-size: 18px;
}

.header-beranda .container .image-header img {
    width: 100%;
    padding-left: 50px;
}

.menu .icon p {
    margin: -7px 0 5px 0;
}

.menu .icon a i {
    color: #05548c;
}

.header-beranda .container .btn {
    background-color: #05548c;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 30px;
}

.header-beranda .text-header .alamat {
    color: #ffffff;
    font-size: 1px;
}

.header-beranda .card {
    padding: 20px 20px 10px 50px;
    box-shadow: 1px 1px 7px #ccc;
    border-radius: 20px;
}

/* Akhir header */

/* Section CTA */
.cta-page .container {
    background-color: #065286;
    padding: 100px 30px;
    border-radius: 20px;
    margin-top: 100px;
    color: #ffffff;
}

.cta-page .container .button-cta {
    background-color: #b3bb32;
    display: inline-block;
    border-radius: 30px;
    padding: 10px 10px 5px 25px;
}

.cta-page .container .button-cta a {
    font-weight: bold;
    margin-left: -7px;
    margin-top: -15px;
}

.cta-page .container .button-cta i {
    font-size: 30px;
}

/* Akhir Section CTA */

/* Section Keunggulan */
.keunggulan {
    padding: 50px 0;
}

.keunggulan .container {
    position: relative;
}

.keunggulan .container .d-grid {
    grid-template-columns:
        repeat(4, 1fr);
    gap: 10px;
    align-items: stretch;
}

.keunggulan .card-section {
    background-color: #05548c;
    border-radius: 20px;
    padding: 20px 20px 10px 20px;
}

.keunggulan .card-section img {
    width: 30%;
    display: block;
    margin: auto;
}

.keunggulan .card-section p {
    text-align: center;
}

/* Akhir Section Keunggulan */

/* Section product */

.product {
    padding: 50px 0;
    background-image: url('../images/bg-3.webp');
    background-size: cover;
    background-position: top center;
}

.product .container .d-grid {
    grid-template-columns:
        repeat(2, 1fr);
    gap: 20px;
}

.product .container .d-grid .card-section {
    border-radius: 20px;
    padding: 20px;
    box-shadow: 1px 1px 5px #aaa;
    background-color: #ffffff;
}

.product .btn {
    background-color: #095586;
    color: #ffffff;
    border-radius: 30px;
    padding: 10px 20px;
}

/* Akhir Section product */

/* Section testimoni */
.carousel-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

.carousel-wrapper {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial {
    background: #f9f9f9;
    border-radius: 20px;
    padding: 20px;
    margin: 10px;
    flex: 0 0 calc(33.333% - 20px);
    /* Default 3 kolom */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

    /* Bikin konten rata atas dan bawah */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Pastikan paragraf testimoni ada di bagian atas */
.testimonial p {
    flex-grow: 1;
    /* isi area di atas */
    margin-bottom: 15px;
    text-align: justify;
}

/* Bagian bawah: foto + nama sejajar */
.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-footer p {
    margin: 0;
    font-weight: bold;
    font-size: 0.9rem;
}

.testimonial-footer img {
    width: 50px;
    border-radius: 50%;
}

/* Arrow Navigation */
.carousel-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    width: 45px;
    z-index: 2;
    border-radius: 50%;
}

.carousel-arrow.prev {
    left: 20px;
}

.carousel-arrow.next {
    right: 20px;
}

/* Dots Navigation */
.carousel-dots {
    text-align: center;
    margin-top: 15px;
}

.carousel-dots button {
    border: none;
    background: #ccc;
    width: 7px;
    height: 12px;
    margin: 5px;
    border-radius: 50%;
    cursor: pointer;
}

.carousel-dots button.active {
    background: #333;
}

/* Akhir Section Testimoni */


/* Section button WA */
.button-wa {
    position: fixed;
    bottom: 10%;
    right: 5%;
    z-index: 99999999;
}

.button-wa img {
    width: 70px;
}

.button-wa a {
    background: #05548c;
    padding: 5px 0 5px 10px;
    border-radius: 20px;
}

/* Akhir section button WA */

/* Section footer */
footer {
    background-color: #095586;
    padding: 20px 0 0 0;
    border-radius: 20px 20px 0 0;
}

footer .logo-footer {
    width: 220px;
    border-radius: 40px;
}

footer h3,
footer h6 {
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.5em;
}

footer .detail-navigasi {
    margin-top: -10px;
}

footer h6 {
    margin-bottom: 30px;
}

footer .navigasi-produk {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    grid-column-gap: 50px;
}

/* Akhir section footer */

.produk-page {
    margin-top: -50px;
}

/* Page kontak kami */
.kontak-kami {
    margin-top: -40px
}

.kontak-kami .container {
    margin-top: 120px
}

.kontak-kami .container .col {
    box-shadow: 2px 3px 7px #aaa;
    border-radius: 20px
}

/* Akhir page kontak kami */

.detail-produk .list-produk {
    margin-top: 100px;
    background-image: url('../images/bg-5.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding-bottom: 50px;
}

.title-product {
    font-size: 20px;
}

.img-benefit {
    width: 40%;
    border-radius: 20px;
}

.gallery {
    margin: 50px 0;
}

.img-location {
    width: 50%;
}

.gallery video {
    display: block;
    margin: auto;
    margin-top: 30px;
    width: 780px;
    height: 450px;
}

.cta-page .container .text-cta div p {
    color: #ffffff;
}

@media only screen and (max-width: 767px) {

    /* Global CSS */
    .list-produk h3,
    .testimoni h5,
    .cta-page h4,
    .benefit h3,
    .product h3,
    .keunggulan h2,
    .kontak-kami .container h2,
    .tentang-kami-page h2,
    .gallery h4,
    .about h3 {
        font-size: 18px;
    }

    p,
    a,
    ul li,
    ol li,
    b,
    button,
    .accordion .accordion-item .accordion-button,
    i,
    span,
    footer h6 {
        font-family: "Poppins", sans-serif;
        font-size: 14px;
    }

    .header-mobile .icon p,
    footer {
        font-size: 12px;
    }

    /* Akhir global CSS */

    /* Header */
    .header-mobile .menu {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        padding: 0;
        z-index: 1000;
        background-color: #ffffff;
    }

    /* Akhir header */

    /* Section header */
    .header-beranda {
        display: block;
        position: relative;
        padding: 0;
        border-radius: 0;
    }

    .header-beranda .container .btn {
        font-size: 14px;
        padding: 5px 10px;
    }

    .header-beranda #header-image-beranda {
        width: 30%;
    }

    .header-beranda ul span i {
        font-size: 10px;
    }

    .header-beranda #header-image-beranda {
        position: relative;
        border-radius: 0 0 20px 20px;
    }

    .header-beranda .d-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .header-beranda .card {
        padding: 20px 20px 10px 20px;
        box-shadow: 1px 1px 7px #ccc;
        border-radius: 20px;
        margin-bottom: 15px;
        margin-top: -10px;
    }

    .header-beranda .container p {
        font-size: 14px;
        text-align: justify;
    }

    .header-beranda .image-header {
        margin-top: 0px;
    }

    .header-beranda h1 { 
        font-size: 18px;
    }

    /* Akhir section header */

    .cta-page {
        margin: 0 10px;
    }

    .cta-page .container {
        padding: 30px 20px;
        margin-top: 20px;
    }

    .cta-page .container .image-cta {
        position: relative;
        margin-top: 0;
    }

    .cta-page .container img {
        position: relative;
        display: block;
        margin: auto;
        width: 200px;
        margin-top: 30px;
    }

    .cta-page .container .text-cta p {
        text-align: justify;
    }

    .cta-page .container .button-cta {
        padding: 8px 15px 5px 25px;
    }

    .cta-page .container .button-cta a {
        font-size: 14px;
        padding: 3px 3px 3px 8px;
        margin-left: -7px;
        margin-top: -10px;
    }

    .cta-page .container .button-cta i {
        font-size: 25px;
    }

    .keunggulan {
        margin-top: 20px;
        padding: 0 0 20px 0;
    }

    .keunggulan .container {
        padding: 0;
    }

    .keunggulan .container .list-keunggulan {
        padding: 0 10px;
    }

    .keunggulan .card-section img {
        width: 20%;
    }

    .keunggulan .container .d-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    /* Section product */
    .product {
        padding: 20px 0;
    }

    .product .container .d-grid {
        grid-template-columns:
            repeat(1, 1fr);
        gap: 10px;
    }

    .product .container .d-grid .card-section {
        padding: 10px;
    }

    .product .container .d-grid .card-section .img-1 {
        width: 12%;
    }

    .product .container .d-grid .card-section .img-2 {
        width: 35%;
    }

    /* Akhir Section product */

    .button-wa img {
        width: 45px;
    }

    /* Section testimoni */
    .testimoni {
        background-image: url('../images/bg-2.webp');
    }

    .testimonial {
        flex: 0 0 calc(100% - 20px);
        background-color: #ffffffcc;
    }

    .testimonial-footer p {
        font-size: 13px;
    }

    .testimonial-footer img {
        width: 30px;
    }

    /* Arrow Navigation */
    .carousel-arrow {
        padding: 3px;
        width: 30px;
    }

    /* Dots Navigation */
    .carousel-dots {
        display: none;
    }

    /* Akhir section testimoni */

    footer {
        padding-bottom: 30px;
    }

    footer .logo-footer {
        margin-bottom: 30px;
        width: 120px;
    }

    footer h3,
    footer h6 {
        margin-top: 0;
        font-size: 14px;
    }

    footer .alamat-kota {
        margin-bottom: 5px;
    }

    footer .detail-alamat {
        margin-bottom: 5px;
    }

    footer h6 {
        margin-bottom: 14px;
    }

    footer .navigasi-produk {
        display: grid;
        grid-template-columns:
            repeat(3, 1fr);
        gap: 0;
    }

    footer .list-produk ul {
        padding-left: 30px;
    }

    footer .list-produk i {
        font-size: 8px;
        margin-left: -10px;
    }

    .produk-page {
        margin-top: 0;
    }

    /* Page kontak kami */
    .kontak-kami .container {
        margin-top: 70px;
    }

    .kontak-kami .container .teks {
        box-shadow: 2px 3px 7px #aaa;
    }

    /* Akhir page kontak kami */

    .detail-produk .list-produk {
        margin-top: 30px;
        padding-bottom: 30px;
    }

    .header-beranda .container .image-header img {
        padding-left: 0;
    }

    .title-product {
        font-size: 14px;
    }

    .img-benefit {
        margin-top: -30px;
        width: 100%;
    }

    .img-location {
        width: 100%;
    }

    .gallery video {
        margin-top: 20px;
        width: 350px;
        height: 210px;
    }
    
    .product .btn {
        border-radius: 20px;
        padding: 5px 10px;
        font-size: 14px;
    }
    
    .benefit div p,
    .product div p {
        font-size: 14px;
    }

    .keunggulan p,
    .benefit div p,
    .product .container div p {
        text-align: justify;
    }
}