* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

div {
    padding: 0;
}

html,
body {
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

body.modal-open {
    overflow: hidden;
}

/* header*/
header {
    background-color: black;
    color: white;
    padding: 10px 20px;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* min-height dihapus supaya mengikuti isi */
}

/*nav*/
.nav_logo {
    display: flex;
    align-items: center;
}

.logo {
    max-height: 80px;
    width: auto;
    height: auto;
}

ul.nav_details {
    display: flex;
    gap: 20px;
    /* Jarak antar item */
    align-items: center;
    list-style: none;
    margin-left: auto;
    /* Mendorong menu ke kanan */
    padding: 0;
    height: auto;
}

ul.nav_details li {
    display: inline;
    /* Display list items in a line */
    margin-right: 10px;
    /* Space between items */
}

ul.nav_details li:first-child a {
    color: rgb(255, 247, 106);
    /* Ganti dengan warna yang diinginkan */

}

ul.nav_details li:last-child {
    margin-left: 40px;
    /* Atur jarak sesuai kebutuhan */
}

ul.nav_details li a {
    text-decoration: none;
    /* Hilangkan underline */
    color: white;
    /* Pastikan warna tetap terlihat */
    font-family: Arial, Helvetica, sans-serif;
    /* Ganti dengan font yang diinginkan */
    transition: color 0.3s ease;
}

ul.nav_details li a:hover {
    text-decoration: underline;
    /* Opsional: Tampilkan underline saat hover */
}

/*body*/
body {
    background-image: url('image/kitsukibackground.png');
    /* Change to your image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* Keep the background fixed */
}

/*home*/
.container_home {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    /* Set minimal height to full viewport height */
    height: 300px;

}

.home-text {
    text-align: center;
    padding: 100px 20px;
    color: white;
    font-family: 'Arial', sans-serif;
    background-image: url('image/kitsukibackground.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home-text p {
    font-size: 30px;
    margin-bottom: 10px;
    line-height: 1.6;
    font-weight: 300;
    color: #f0f0f0;
}

.home-text h1 {
    font-size: 50px;
    font-weight: 800;
    margin: 10px 0;
    line-height: 1.2;
    color: #ffffff;
}


/*hubungi kami*/

.rectangletext {
    background-color: #fff764;
    display: inline-block;
    margin: 30px auto 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    border: 2px solid #fff764;
    /* Tetapkan border kuning */
    color: black;
    height: 50px;
    justify-content: center;
    align-items: center;
    padding-top: 15px;
    padding-left: 10px;
    padding-right: 10px;
}

.rectangletext h2 {
    font-size: 16px;
    color: black;
    font-family: Arial, Helvetica, sans-serif;
}

.rectangletext a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 8px;
    font-family: Arial, Helvetica, sans-serif;
}

.rectangletext:hover {
    background-color: black;
    color: #fff764;
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
    border: 2px solid #fff764;
    /* Tetap border kuning saat hover */
}

.rectangletext:hover h2,
.rectangletext:hover a {
    color: #fff764;
}


/*about us*/
.about-us {
    color: white;
    font-size: 30px;
    /* Ukuran font */
    text-align: center;
    /* Rata tengah */
    font-family: Arial, Helvetica, sans-serif;
    /* Ganti dengan font yang diinginkan */
    background-image: url('image/kitsukibackground.png');
    background-size: cover;
    padding-top: 20px;
    position: relative;
    z-index: 0;
}

.about-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: -1;
}

.about-us h1 {
    font-size: 70px;
    font-weight: bold;
    color: white;
    text-align: center;
    margin-bottom: 30px;
}



@media (max-width: 768px) {
    .isi {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .isi p {
        max-width: 100%;
        order: 2;
    }

    .ratio {
        width: 100%;
        height: auto;
        padding-bottom: 56.25%;
        order: 1;
        position: relative;
    }

    .ratio iframe {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }

    .rectangletext {
        width: 100%;
        order: 3;
        text-align: center;
        margin-top: 20px;
    }

    .Signature-Event {
        padding: 20px;
    }

    .Signature-Event h1 {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .kumpulan-video {
        flex-direction: column;
        align-items: center;
    }

    .kumpulan-video video {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin-bottom: 20px;
    }
}



/*services*/

.services {
    color: white;
    /* Jarak atas */
    font-family: Arial, Helvetica, sans-serif;
    /* Ganti dengan font yang diinginkan */
    justify-content: center;
    padding-top: 20px;
    z-index: 0;
    overflow: hidden;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
    /* Agar overlay di belakang teks */
}

.services h1 {
    font-size: 70px;
    font-weight: bold;
    color: white;
    text-align: center;
    margin-bottom: 30px;
}

.indukservices {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: (5 20%);
    align-items: center;
    max-width: 1200px;
    /* Biar gak terlalu lebar */
    margin: 0 auto;
    /* Biar di tengah */
    padding: 20px;
    grid-auto-flow: row dense;
}

.rectanglelist {
    background-color: rgba(41, 40, 40, 0.7);
    color: white;
    /* Biar 2 item muat dalam 1 baris */
    display: flex;
    align-items: flex-start;
    border-radius: 10px;
    flex-direction: row;
    box-sizing: border-box;
    height: auto;
    max-width: 500px;
    align-items: start;
    overflow: hidden;
}

/* Position and span definitions */
.rectanglelist.a {
    grid-column: 1 / span 1;
    /* 25% width */
    grid-row: 1 / span 3;
    /* 60% height (3 x 20%) */
    align-self: flex-start;
}

.rectanglelist.b {
    grid-column: 2 / span 1;
    /* 25% width */
    grid-row: 1 / span 2;
    /* 40% height (2 x 20%) */
    align-self: flex-start;
}

.rectanglelist.c {
    grid-column: 1 / span 1;
    grid-row: 4 / span 2;
    /* starts lower in the grid */
}

.rectanglelist.d {
    grid-column: 2 / span 1;
    grid-row: 3 / span 2;
}

.rectanglelist img {
    width: 60%;
    object-fit: cover;
    height: 100%;
}

.rectangle-list-text {
    text-align: justify;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 12px;
    padding: 20px;
}

.rectangle-list-text h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
    /* Sesuaikan warna jika pakai background gelap */
}

.rectangle-list-text ul {
    padding-left: 20px;
    margin-top: 10px;
    line-height: 1.6;
}

.rectangle-list-text li {
    list-style-type: disc;
    margin-bottom: 8px;
    color: #eee;
    /* Sesuaikan warna jika pakai background gelap */
}

@media (max-width: 768px) {
    .indukservices {
        display: flex;
        flex-direction: column;
        padding: 10px;
    }

    .rectanglelist {
        max-width: 100%;
        margin-bottom: 20px;
        flex-direction: column;
    }

    .rectanglelist img {
        width: 100%;
        height: auto;
    }

    .rectanglelist.a,
    .rectanglelist.b,
    .rectanglelist.c,
    .rectanglelist.d {
        grid-column: auto;
        grid-row: auto;
        align-self: stretch;
    }
}



/*clients*/
.clients {
    color: white;
    text-align: center;
    /* Rata tengah */
    /* Jarak atas */
    font-family: Arial, Helvetica, sans-serif;
    /* Ganti dengan font yang diinginkan */
    background-image: url('image/kitsukibackground.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 20px;
    z-index: 0;
    overflow: hidden;
    position: relative;
}

.clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.clients h1 {
    font-size: 70px;
    font-weight: bold;
    color: white;
    text-align: center;
}

.clients-isi {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 150px;
    /* Jarak antar logo */
    flex-wrap: wrap;
    /* Biar responsive di layar kecil */
}

.logoclient {
    width: 300px;
    /* Ukuran sama untuk semua logo */
    height: auto;
    object-fit: contain;
}


/*introduction*/
.Introduction-card {
    color: white;
    font-size: 30px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    background-image: url('image/kitsukibackground.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 20px;
}

.Introduction-card h1 {
    font-size: 70px;
    font-weight: bold;
    color: white;
    text-align: center;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.isidescription {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 0 auto;
}

.info-box {
    background-color: #000;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    min-height: 400px;
    /* Tinggi disamaratakan */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.number-circle {
    width: 80px;
    height: 80px;
    background-color: #333;
    border-radius: 50%;
    color: white;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.card-text {
    margin-top: 60px;
    /* Untuk beri ruang di bawah number-circle */
    flex-grow: 1;
    display: flex;
    align-items: stretch;
    justify-content: center;

}

.description {
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    min-height: 200px;
}

/*testimony carousel*/
.testimony-carousel {
    background-color: rgba(41, 40, 40, 0.7);
    padding: 40px 0;
}

.testimony-carousel h1 {
    font-size: 70px;
    margin-bottom: 10px;
    line-height: 1.6;
    font-weight: 300;
    color: #f0f0f0;
    text-align: center;
    padding-bottom: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

.testimony-wrapper {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-wrapper img.arched-img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-top-left-radius: 100% 60%;
    border-top-right-radius: 100% 60%;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 90px;
}

.image-wrapper a {
    margin-left: 60px;
}

.text-box {
    background-color: black;
    position: relative;
    right: 100px;
    /* Atur jarak dari kiri supaya overlap dengan image */
    z-index: 2;
    max-width: 400px;
    /* Menempel dengan gambar */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    top: 90px;
}

.text-box2 {
    background-color: black;
    /* Atur jarak dari kiri supaya overlap dengan image */
    position: relative;
    left: 100px;
    z-index: 2;
    max-width: 400px;
    /* Menempel dengan gambar */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    top: 90px;
}

.text-box h4 {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.6;
    font-weight: 300;
    color: #f0f0f0;
    text-align: center;
    text-align: left;
}

.text-box2 h4 {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.6;
    font-weight: 300;
    color: #f0f0f0;
    text-align: center;
    text-align: left;
}

/*testimony list*/
.testimony-list {
    display: flex;
    justify-content: center;
    /* Tengahin konten */
    gap: 100px;
    padding: 20px;
    flex-wrap: wrap;
    /* Agar bisa wrap ke bawah */
    margin: 0 auto;
    /* Pusatkan konten */
}

.testimony-list video {
    width: 60%;
    max-width: 280px;
    /* Batas lebar maksimum video */
    height: auto;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .testimony-wrapper {
        flex-direction: column !important;
        padding: 20px;
        text-align: center;
    }

    .testimony-wrapper:has(.text-box2) {
        flex-direction: column-reverse !important;
    }

    .image-wrapper img.arched-img {
        width: 80%;
        height: auto;
        margin-bottom: 20px;
        border-radius: 20px;
    }

    .image-wrapper a {
        margin-left: 0;
        margin-top: 20px;
    }

    .text-box {
        position: static;
        left: auto;
        right: auto;
        top: auto;
        margin-left: 0;
        max-width: 100%;
        text-align: left;
    }

    .text-box2 {
        position: static;
        margin: 20px 0 0 0;
        top: 0;
        left: 0;
        max-width: 100%;
        box-shadow: none;
    }

    .text-box h4 {
        font-size: 16px;
        text-align: left;
    }

    .text-box2 h4 {
        font-size: 16px;
        text-align: left;
    }

    .carousel-item {
        text-align: center;
    }
    
    .testimony-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .testimony-list video {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin-bottom: 20px;
    }
    
}


/*gallery*/
.gallery {
    padding-bottom: 240px;
    background-color: black;
}

.gallery h1 {
    font-size: 70px;
    margin-bottom: 10px;
    line-height: 1.6;
    font-weight: bold;
    color: #f0f0f0;
    text-align: center;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns */
    grid-template-rows: repeat(3, auto);
    /* 3 rows */
    gap: 10px;
    /* space between items */
}

.grid-item {
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    width: 100%;
    height: 100%;
}

.grid-item img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: black;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
}

/* The Close Button */
.close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
    display: flex;
    justify-content: center;
    justify-items: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.mySlides img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Caption text */
.caption-container {
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    color: white;
}

img.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}

img.hover-shadow {
    transition: 0.3s;
}

.hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns */
    }

    .grid-item {
        padding: 10px;
    }

    .modal-content {
        width: 100%;
        max-width: 100%;
    }
}

/*footer*/
footer {
    color: white;
    padding: 20px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    margin-top: 20px;
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 1000px;
    margin: 0 auto;
}

/*contact*/

.contact {
    display: flex;
    /* Tambahkan ini */
    justify-content: flex-end;
    /* Horizontal center */
    align-items: center;
    /* Vertical center */
    flex-direction: column;
    /* Supaya isinya tersusun dari atas ke bawah */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 50px 20px;
    background-color: #000;
    text-align: center;
    position: relative;
    /* Untuk lapisan ::before */
}

.contact::before {
    content: '';
    position: absolute;
    /* Tambahkan ini agar overlay menutupi .contact */
    inset: 0;
    z-index: 0;
}

.contact h1 {
    font-size: 72px;
    font-weight: bold;
    color: white;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    font-family: Arial, Helvetica, sans-serif;
}

.contact-container {
    position: relative;
    /* Agar kontennya tetap di atas lapisan ::before */
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 600px;
    width: 100%;
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 40px;
    font-size: 24px;
}

.contact-item svg {
    width: 28px;
    height: 28px;
}