/* Global */

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
span,
b,
.faq-section button {
    font-family: "Poppins", sans-serif;
}

.list-produk h2,
.faq-section h5,
.testimoni h5,
.list-kota h3,
.cta-page h4,
.tentang-kami h3,
.artikel h5 {
    font-size: 26px;
}

/* Akhir Global */

/* Menu header */
.header-desktop {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background-color: #fff;
    padding: 5px 0;
    z-index: 99;
}

.header-desktop .nav-link {
    color: #1e3956;
}

/* Container */
.navbar {
    background-color: #fff;
    padding: 10px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Burger Icon */
.burger {
    cursor: pointer;
    display: block;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #1e3956;
    margin: 5px 0;
}

/* Menu */
.menu {
    display: none;
    background-color: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li {
    border-top: 1px solid #1e395677;
}

.menu a {
    color: #1e3956;
    text-decoration: none;
    display: block;
    padding: 12px 20px;
}

.menu .submenu {
    display: none;
    background-color: #fff;
}

.menu .submenu a {
    padding-left: 40px;
}

.menu li.has-submenu>a::after {
    content: ' ▼';
    float: right;
}

/* Show Menu */
.menu.active {
    display: block;
}

.menu .submenu.active {
    display: block;
}

/* Akhir menu header */

/* Section Header */
.header-beranda {
    background-image: url('../images/hero-image.webp');
    padding: 280px 0;
    background-size: cover;
}

.header-beranda h1 {
    font-family: "Poppins", sans-serif;
    color: #0F6B4D;
    font-size: 40px;
    font-weight: 700;
}

.header-beranda .text-header {
    width: 60%;
    background-color: #f8f5e9e1;
    padding: 35px;
    border-radius: 30px;
}

.header-beranda .container .btn {
    background-color: #0F6B4D;
    color: #ffffff;
    border-radius: 30px;
    padding: 8px 20px;
}

/* Akhir Section Header */

/* Section Tentang Kami */
.tentang-kami {
    border-radius: 0 0 35px 35px;
    position: relative;
}

.tentang-kami .container {
    margin-top: -70px;
    border-radius: 30px;
}

.tentang-kami .container div p {
    text-align: justify;
    padding-right: 25px;
}

.tentang-kami .container img {
    border-radius: 20px;
    width: 500px;
}

/* Akhir Section Tentang Kami */

/* Section Produk */
.list-produk {
    background-image: url('../images/bg-11.webp');
    background-repeat: no-repeat;
    background-size: cover;
}

.list-produk h2 {
    background-color: #0F6B4D;
    border-radius: 15px;
    padding: 5px 100px;
    display: inline-block;
    margin: auto;
}

.list-produk .container {
    display: grid;
    grid-template-columns:
        repeat(2, 1fr);
    gap: 10px;
}

.list-produk .container .card-section div .text-title {
    font-size: 20px;
    font-weight: 600;
}

.card-section {
    border-radius: 15px;
    box-shadow: 1px 3px 5px #aaa;
    background-color: #fff;
}

.card-section ul {
    margin-top: -10px;
}

.card-section span {
    font-size: 14px;
}

.card-section img {
    width: 100%;
}

.list-produk .card-section .btn {
    background-color: #0F6B4D;
    color: #fff;
}

/* Akhir Section Produk */

/* Section CTA */
.cta-page .container {
    background-color: #dc9a29;
    padding: 100px 30px;
    border-radius: 20px;
    margin-top: 100px;
}

.cta-page .container .button-cta {
    background-color: #0F6B4D;
    color: #ffffff;
    display: inline-block;
    border-radius: 30px;
    padding: 5px 15px 5px 30px;
}

.cta-page .container .button-cta i {
    font-size: 30px;
    margin-right: -10px;
}

.cta-page .container .button-cta a {
    font-weight: bold;
    margin-top: -12px;
}

.cta-page .container .text-cta {
    width: 55%;
    text-align: justify;
}

.cta-page .container .image-cta {
    position: relative;
    margin-top: -600px;
}

.cta-page .container img {
    position: absolute;
}

/* Akhir Section CTA */

/* Section FAQ */
.faq-section,
.faq-section .container .accordion-item,
.faq-section .container .accordion-item .accordion-header {
    background-image: url('../images/bg-2.webp');
    background-size: cover;
}

.faq-section .container .accordion-item .accordion-header .accordion-button {
    border-radius: 20px;
}

.faq-section .container #button-faq,
.artikel .container #button-artikel {
    border-radius: 20px;
    font-weight: 600;
}

.faq-section .container p,
.faq-section .container ol li {
    text-align: left;
}

/* Akhir section FAQ */

/* Section button WA */
.button-wa {
    position: fixed;
    bottom: 10%;
    right: 5%;
    z-index: 999;
}

.button-wa img {
    width: 70px;
}

.button-wa a {
    background-color: #0F6B4D;
    padding: 5px 5px 5px 20px;
    border-radius: 20px;
}

/* Akhir section button WA */

/* Section list kota */
.list-kota .container {
    box-shadow: 1px 1px 3px #aaa;
    padding: 30px;
}

.list-kota .container .d-grid {
    grid-template-columns:
        repeat(4, 1fr);
    gap: 10px;
}

.list-kota .container .d-grid a {
    color: #1e3956;
}

/* Akhir section list kota */

/* Section artikel */
.artikel .container img {
    width: 100%;
    border-radius: 20px;
}

.artikel .list-artikel span {
    font-size: 14px;
    color: #aaa;
}

.artikel .container #button-artikel {
    background-color: #0F6B4D;
    color: #ffffff;
}

/* Akhir section artikel */

footer {
    background-color: #dc9a29;
    color: white;
    padding-top: 10px;
    border-radius: 50px 50px 0 0;
}

footer .logo-footer {
    width: 200px;
}

footer h5 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 32px;
    color: #FFD918;
}

footer .logo-footer {
    width: 200px;
}

footer .logo-asuransi {
    padding: 15px 0;
    background-color: #ffffff;
    border-radius: 20px;
}

/* Produk Page */
.page-produk h2 {
    font-size: 26px;
}

.page-produk .container .d-grid {
    grid-template-columns:
        repeat(2, 1fr);
    gap: 10px;
}

.page-produk .container .d-grid div {
    padding: 20px;
    border-radius: 20px;
    border: 1px 1px 1px solid #000;
    box-shadow: 1px 1px 5px #aaa;
    margin: 10px 10px 0 10px;
    background-color: #ffffff;
}

.page-produk .container .d-grid div .judul-produk {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}

.page-produk .header-asuransi-keluarga {
    background-image: linear-gradient(to right, #1e3956, #28aaa4);
    padding: 100px 0;
}

.page-produk .header-asuransi-keluarga .container,
.page-produk .header-asuransi-bisnis-kantor .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-produk .header-asuransi-keluarga h1,
.page-produk .header-asuransi-bisnis-kantor h1 {
    font-size: 30px;
    color: #ffffff;
}

.page-produk .header-asuransi-keluarga h1 span,
.page-produk .header-asuransi-bisnis-kantor h1 span {
    color: #FFD918;
    font-weight: 700;
}

.page-produk .header-asuransi-keluarga img,
.page-produk .header-asuransi-bisnis-kantor img {
    width: 600px;
    border-radius: 20px;
}

.page-produk .bg-corak {
    background-image: url('../images/bg-asuransi.webp');
    background-size: cover;
    background-repeat: no-repeat;
    padding: 30px 0;
}

.page-produk .header-asuransi-bisnis-kantor {
    background-image: linear-gradient(to bottom right, #1e3956, #28aaa4);
    padding: 100px 0;
}

.page-produk .container .d-grid {
    text-align: center;
}

.page-produk .container .d-grid .btn {
    background-color: #0F6B4D;
    color: #ffffff;
    font-weight: 500;
    border-radius: 30px;
}

.page-produk .container .d-grid ul li {
    text-align: left;
}

.page-produk .container .d-grid img {
    width: 100%;
}

.tentang-kami-page .section-penjelasan-tentang-kami .d-lg-flex img {
    width: 500px;
    margin-left: 50px;
    border-radius: 20px;
}

/* Akhir Produk Page */


/* Section testimoni */
.testimoni {
    margin-top: 100px;
}

.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(100% / 3 - 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 */

@media only screen and (max-width: 767px) {

    .list-produk h2,
    .faq-section h5,
    .testimoni h5,
    .list-kota h3,
    .cta-page h4,
    .tentang-kami h3,
    .artikel h5 {
        font-size: 18px;
        font-weight: 700;
    }

    p,
    ul li,
    ol li {
        font-size: 14px;
    }

    /* Section header */
    .header-beranda {
        background-image: url('../images/hero-image-mobile.webp');
        background-position: center center;
        background-size: cover;
        padding: 130px 10px 300px 10px;
    }

    .header-beranda h1 {
        color: #0F6B4D;
        font-size: 20px;
        text-align: center;
    }

    .header-beranda .text-header {
        width: 100%;
    }

    .header-beranda .text-header p {
        text-align: center;
    }

    .header-beranda .container .btn {
        font-size: 14px;
        padding: 4px 13px;
    }

    /* Section Tentang Kami */
    .tentang-kami .container {
        margin-top: -100px;
        padding: 10px;
    }

    .tentang-kami .container img {
        width: 100%;
        display: block;
        margin: auto;
    }

    .tentang-kami .container ul li,
    .tentang-kami .container div p {
        margin-left: -10px;
        padding-right: 0;
    }

    /* Akhir Section Tentang Kami */

    /* Section produk */
    .list-produk h2 {
        margin: 0 10px;
        padding: 5px 50px;
        margin-bottom: 10px;
    }

    .list-produk .container .card-section div .text-title,
    .list-produk .container .card-section div .btn {
        font-size: 14px;
    }

    /* Section CTA */
    .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 {
        width: 100%;
    }

    .cta-page .container .button-cta a {
        font-size: 13px;
        padding: 3px 3px 3px 8px;
        margin-left: 3px;
        margin-top: -10px;
    }

    .cta-page .container .button-cta i {
        font-size: 25px;
    }

    /* Akhir Section CTA */

    /* Section FAQ */
    .faq-section .container .accordion-item .accordion-button {
        border-radius: 15px;
    }

    .accordion-item {
        font-size: 14px;
    }

    .accordion-header .accordion-button {
        font-size: 13px;
    }

    .faq-section .container #button-faq {
        font-size: 14px;
    }

    /* Akhir section FAQ */

    /* Section Button WA */
    .button-wa img {
        width: 45px;
    }

    .button-wa a {
        font-size: 14px;
    }

    /* Akhir Section Button WA */

    /* Section List Kota */
    .list-kota .container .d-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Akhir Section List Kota */

    /* Section artikel */
    .artikel .container img {
        width: 40%;
    }

    .artikel .container .list-artikel {
        display: flex;
        align-items: center;
    }

    .artikel .list-artikel span {
        font-size: 10px;
    }

    .artikel .list-artikel h6 {
        font-size: 14px;
    }

    .artikel .container #button-artikel {
        font-size: 14px;
    }

    /* Akhir section artikel */

    /* Footer */
    footer .logo-footer {
        border-radius: 30px;
    }

    footer .container h3 {
        font-size: 16px;
    }

    footer .container .judul-alamat,
    footer .container .produk-footer {
        font-size: 14px;
    }

    footer .copyright a {
        font-size: 10px;
    }

    /* Akhir footer */


    /* Produk Page */
    .page-produk h2 {
        font-size: 14px;
    }

    .page-produk .container .d-grid,
    .list-produk .container {
        grid-template-columns:
            repeat(1, 1fr);
        gap: 5px;
    }

    .page-produk .container .d-grid div .judul-produk {
        font-size: 14px;
    }

    .page-produk .container ul li,
    .page-produk .container ol li {
        margin-left: -20px;
        text-align: justify;
    }

    .page-produk {
        margin-top: -30px;
    }

    .page-produk .header-asuransi-keluarga .container,
    .page-produk .header-asuransi-bisnis-kantor .container {
        display: block;
        padding: 0 20px;
    }

    .page-produk .header-asuransi-keluarga h1,
    .page-produk .header-asuransi-bisnis-kantor h1 {
        font-size: 20px;
        text-align: center;
    }

    .page-produk .header-asuransi-keluarga h1 span,
    .page-produk .header-asuransi-bisnis-kantor h1 span {
        color: #FFD918;
        font-weight: 700;
    }

    .page-produk .header-asuransi-keluarga img,
    .page-produk .header-asuransi-bisnis-kantor img {
        width: 330px;
        margin: auto;
        display: block;
    }

    .page-produk .bg-corak {
        background-image: url('../images/bg-asuransi.webp');
        background-size: cover;
        background-repeat: no-repeat;
        padding: 30px 0;
    }

    .page-produk .header-asuransi-bisnis-kantor {
        background-image: linear-gradient(to bottom right, #1e3956, #28aaa4);
        padding: 140px 0;
    }

    .page-produk .container .d-grid img {
        width: 100%;
    }

    .list-produk .container .card-section img {
        width: 96%;
    }

    .page-produk .container .d-grid .btn {
        font-size: 14px;
    }

    /* Akhir Produk Page */

    .tentang-kami-page .section-penjelasan-tentang-kami .d-lg-flex img {
        width: 350px;
        display: block;
        margin: auto;
    }
    
    /* Section testimoni */

    .testimoni {
        margin-top: 20px;
    }

    .testimonial {
        flex: 0 0 calc(100% / 1 - 20px);
        background-color: #ffffffcc;
    }

    .testimonial-footer p {
        font-size: 14px;
    }

    .testimonial-footer img {
        width: 30px;
    }

    /* Arrow Navigation */
    .carousel-arrow {
        padding: 3px;
        width: 30px;
    }

    /* Dots Navigation */
    .carousel-dots {
        display: none;
    }

    /* Akhir section testimoni */
}


/* Responsive - Desktop Menu Hidden */
@media(min-width: 768px) {
    .burger {
        display: none;
    }

    .menu {
        display: flex !important;
    }

    .menu ul {
        display: flex;
    }

    .menu li {
        border: none;
    }

    .menu a {
        padding: 10px 15px;
    }

    .menu .submenu {
        position: absolute;
        display: none;
    }

    .menu li:hover .submenu {
        display: block;
    }

    .menu .submenu a {
        padding: 10px 20px;
    }
}