body{
    margin: 0;
    padding: 0;
    font-family: "Sen",sans-serif;
}

.wrapper{
    max-width: 1200px;
    margin: 0 auto;
}

.wrapper ul{
    margin: 0;
}

ul{
    list-style: none;
}

a{
    text-decoration: none;
}

.wrapper{
    max-width: 1100px;
    margin: 0 auto;
}


/* Header */
.header-links{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: #085984;
    background: linear-gradient(90deg,rgba(8, 89, 132, 1) 0%, rgba(1, 46, 69, 1) 100%);
    margin: 0;
    padding-right: 50px;
    height: 45px;;
}

/* header links */
.header-links ul{
    display: flex;
    justify-content:flex-end;
    margin: 0;
    gap: 20px;
}

.header-links li{
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-links li a{
    color: white;
    font-size: 11px;
}

/* navigation bar (menu bar) */
.mobile-nav{
    display: none;
} 

nav.sticky{
    z-index: 1000;
    position: fixed;
    background-color: #fff;
    top: 0;
    height: 70px;
    box-shadow: 0px 0px 5px black ;
}

.mobile-menu-container{
        display: none;
    }

nav.sticky .logo{
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

nav{
    width: 100%;
    height: fit-content;
    z-index: 1000;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 210px;
    transition: all 0.3s 
ease;
}

nav .logo{
    width: 175px;
    height: 76px;
    transition: all 0.5s ease;
}

nav ul{
        gap: 5px;
        max-width: 600px;
}

nav ul{
    display: flex;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    max-width: 750px;
    padding: 0;
}

nav li{
    padding: 5px;  
}

.active-nav{
    color: var(--dark-blue-color);
    text-decoration: underline solid var(--dark-blue-color) 2px;
    text-underline-offset: 5px;
}

nav a{
    color: black;
}

nav .judul-nav {
    color: black;
    font-weight: bolder;
    transition: all 0.3s ease;
    font-size: 16px;
}

nav .judul-nav:hover, a:hover{
    color: var(--dark-blue-color);
    text-decoration: underline solid var(--dark-blue-color) 2px;
    text-underline-offset: 5px;
}

nav .drop-down-head .judul-nav{
    color: black;
    text-decoration: 0
}


nav .drop-down-head.dropAktifs .judul-nav{
    color: var(--dark-blue-color);
    text-decoration: underline solid var(--dark-blue-color) 2px;
    text-underline-offset: 5px;
}

/* drop down menu */
.drop-down-head{
    display: flex;
    gap: 5px;
    align-items: center;
    background-color: var(--white-color);
    border-width: 0;
    padding: 2.5px;
}

.drop-down .drop-down-head img{
    transition: all 0.3s ease-in-out;
}

.drop-down{
    position: relative;
    width: 100%;
    max-width: max-content;
    padding: 0;
    height: 26px;
}

.drop-down .sub-menu{
    z-index: 100;
    width: max-content;
    top: 250%;
    left: -10%;
    position: absolute;
    max-height: fit-content;
}

.sub-menu .sub-menu-container{
    padding: 0 15px;
    margin: 0;
    border-radius: 5px;
    width: fit-content;
    background-color: #085984;
    height: 220px;
    display: grid;
    justify-content: space-between;
    overflow: hidden;
    max-height: 0;
    transition: .5s all ease-in-out;
}

.drop-down .sub-menu li{
    margin:0;
    display: flex;
    align-items: center;
}

.drop-down .sub-menu span{
    font-size: 13px;
    margin: 10px 0;
    color: #fff;
}

.drop-down .sub-menu span:hover{
    text-decoration: underline;
    text-decoration-color: #CF862A;
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
}

.drop-down .sub-menu.dropAktif .sub-menu-container{
    max-height: 500px;
    transition: 0.6s ease-in-out;
}

.sticky .drop-down .sub-menu{
    top: 200%;
}

.sticky .drop-down .sub-menu.dropAktif{
    top: 200%;
}

.layanan-button{
    display: flex;
    gap: 10px;
    background-color: transparent;
    justify-content: space-between;
    width: 100%;
    max-width: 250px;
    border-style: none;
    align-items: center;
}

.layanan-button svg{
    rotate: -90deg;
    transition: transform 0.3s ease-in-out, rotate 0.3s ease-in-out
}

.layanan-button svg.panah-aktif{
    rotate: 90deg;
    transition: transform 0.3s ease-in-out, rotate 0.3s ease-in-out
}

.layanan-button svg.panah-aktif path{
    fill: #CF862A;
}

.layanan-button.slideAktif span{
    color: #CF862A;
    text-decoration: underline;
    text-decoration-color: #CF862A;
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
}

/* isi dari sub menu */
.drop-down .sub-menu .isi-sub-menu li a{
    color: var(--white-color);
    font-size: 13px;
    margin: 10px 0;
    width: 100%;
}

.drop-down .sub-menu .isi-sub-menu.slideAktif li a:hover{
    z-index: 999;
    text-decoration: underline;
    text-decoration-color: #CF862A;
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
}

.isi-sub-menu .Soil, .isi-sub-menu .Geotechnical, .isi-sub-menu .Lifting{
    z-index: 100;
    height: fit-content;
    position: absolute;
    background-color: var(--dark-blue-color);
    border-radius: 5px;
    top: 0;
    left: 100%; 
    width: fit-content;
    padding: 0 30px;
    opacity: 0;
    visibility: hidden; 
    transition: 0.5s all ease;
}


.isi-sub-menu li{
    width: 260px;
}

.isi-sub-menu ul{
    display: grid;
}

.isi-sub-menu.slideAktif .Soil,
.isi-sub-menu.slideAktif .Geotechnical,
.isi-sub-menu.slideAktif .Lifting{
    opacity: 1;
    visibility: visible;
    left: 103%; 
}

/* footer */
footer{
    padding: 80px 0;
    background: linear-gradient(90deg, rgba(8, 89, 132, 1) 0%, rgba(1, 46, 69, 1) 100%);
}

.footer .footer-links{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid white;
    padding: 20px;
}

.links ul{
    padding: 0;
    display: grid;
    gap: 20px;
}

.links li{
    display: flex;
    align-items: center;
    gap: 10px;
}

.links li a{
    text-decoration: none;
    color: white;
    font-size: 11;
}

.copyright p{
    font-size: 15px;
    margin: 20;
    text-align: center;
    color: white;
}

/* Tambahan Layanan */
/* Header judul */
.container-gambar-judul{
    max-width: 100vw;
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
}

.container-gambar-judul::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(13, 28, 51, 0.85), rgba(13, 28, 51, 0.85));
}

.teks-judul{
    position: absolute;
    width: 100%;
    bottom: 50%;
    text-align: center;
    color: var(--white-color);
}

.teks-judul h2{
    font-size: 50px;
    font-weight: bolder;
}

/* main isi */
.main-isi{
    display: flex;
    margin:70px 0;
    justify-content:space-between;
    gap: 70px;
}

.main-gambar-slide{
    position: relative;
    width: fit-content;
    height: fit-content;
}

.main-gambar-slide #slider-img{
    width: 500px;
    filter: brightness(70%);
    border-radius: 5px;
}

.slider-btn{
    position: absolute;
    top: 37%;
    border-color: transparent;
    background-color: transparent;
    font-size: 30px;
    transition: transform .4s ease-in-out;
}

/* 1. Base State */
.slider-btn {
    padding: 20px; /* Memperbesar area sensitif sentuhan tanpa mengubah ukuran ikon */
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease-out, color 0.2s ease-out, opacity 0.2s ease-out;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    /* Tambahkan ini agar pergerakan transform lebih halus di HP */
    will-change: transform; 
}

.slider-btn.prev { left: -10%; }
.slider-btn.next { right: -10%; }

/* 2. Hover State (Desktop Only) */
/* Hanya jalankan hover jika menggunakan mouse presisi (Laptop/PC) */
@media (hover: hover) and (pointer: fine) {
    .slider-btn:hover {
        color: var(--orange-color);
    }
    .slider-btn.prev:hover { transform: translateX(-5px); }
    .slider-btn.next:hover { transform: translateX(5px); }
}

/* 3. Pressed State (Mobile & Desktop Click) */
/* Kita kurangi jarak gesernya (5px) agar tidak terlalu liar di layar HP yang kecil */
.slider-btn.is-pressed {
    color: var(--orange-color);
    opacity: 0.6;
}

.slider-btn.prev.is-pressed {
    transform: translateX(-5px);
}

.slider-btn.next.is-pressed {
    transform: translateX(5px);
}

.main-teks h3{
    font-size: 25px;
    font-weight: 900;
    color: var(--dark-blue-color);
    margin: 0 0 30px 0;
}

.main-teks p, .main-teks ul{
    font-size: 14px;
    color: var(--dark-blue-color);
}

.main-teks .SNI-judul{
    list-style:circle;
    font-weight: 700;
    margin-bottom: 3px;
}

.main-teks .SNI-isi{
    margin-bottom: 10px;
}

/* navigasi bawah */
.container-navigasi{
    display: flex;
    justify-content: space-between;
    margin-bottom: 70px;
    padding: 10px;
    border-radius: 5px;
}

.container-navigasi .isi-nav-bawah{
    width: 350px;
    padding: 20px;
    background-color: var(--dark-blue-color);
    border-radius: 5px;
}

.container-navigasi .isi-nav-bawah h4{
    color: var(--orange-color);
    margin: 0 0 10px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--white-color)
}

.container-navigasi .isi-nav-bawah ul{
    padding-left: 15px ;
    list-style:circle ;
    color: var(--white-color);
}

.container-navigasi .isi-nav-bawah li{
    margin-bottom: 15px;
}

.container-navigasi .isi-nav-bawah a{
    color: var(--white-color);
}

/* Slider gambar */
#slider-img {
    width: 100%;
    display: block;
    transition: opacity 0.4s ease-in-out; /* Transisi halus */
    opacity: 1;
}

.slider-btn {
    /* ... (style sebelumnya) ... */
    transition: background 0.3s;
}

/* Memastikan dots berada di atas gambar */
.slider-dots {
    position: absolute;
    bottom: 15px;
    z-index: 11;
}

/* Pad Configuration */
@media(max-width: 1100px) {
    /* header*/
    .mobile-nav{
        display: none;
    }

    .wrapper{
        width: 915px;
    }

    .header-links .link-logo{
        scale: 65%;
    }
    .header-links li a{
        font-size: 10px;
    }

    /* navigation */
    nav{
    padding: 10px 50px;
    }

    nav .logo{
        scale: 85%;
    }

    nav .judul-nav a, .drop-down .drop-down-head span {
        font-size: 12px;
    }

    nav ul{
        gap: 5px;
        max-width: 600px;
    }

    .mobile-menu-container{
        display: none;
    }

     /*Hero sectionn*/
    section .hero-section{
        gap: 10px;
    }

     .hero-section .left{
        width: 100%;
        max-width: 420px;
     }

     .hero-section .right{
        width: 100%;
        max-width: 350px;
     }

     footer{
        padding: 15px;
     }

     .links li a{
        width: 500px;
        font-size: 15px;
     }

     .links li img{
        scale: 80%;
     }

     .logo-footer{
        scale: 75%;
     }

     .copyright p{
        font-size: 10px;
     }

    .layanan-button{
        max-width: 200px;
    }

    .drop-down .sub-menu span{
        font-size: 11px;
    }

    .isi-sub-menu .Soil, .isi-sub-menu .Geotechnical, .isi-sub-menu .Lifting {
    width: 100%;
    max-width: 250px;
    }

    .isi-sub-menu li a{
        font-size: 10px;
    }

    .isi-sub-menu li {
    width: 100%;
    }
    /* tambahan konfidurasi layanan */
    .teks-judul{
    bottom: 40%;
    }

    .main-isi{
        display: grid;
    }

    .main-gambar-slide{
        order: 2;
        justify-self: center;
    }

    .main-teks{
        order: 1;
    }

    .container-navigasi .isi-nav-bawah {
    max-width: 280px;
    width: 100%;
    }
}

@media(max-width: 800px){
    header{
        position: relative;
        z-index: 100;
    }

    .header-links li a{
        font-size: 8px;
    }
    
    /* navigation menu */
    nav{
        display: none;
    }

    main .mobile-menu-container{
        display: grid;
        align-items: center;
        padding: 0;

    }
    

    .mobile-nav.stickyMobile{
        z-index: 100;
        position: fixed;
        background-color: #fff;
        top: 0;
        height: 70px;
        box-shadow: 0px 0px 5px black ;
        transition:all 0.3s ease;
    }

    .mobile-nav{
       width: 100%;
       max-width:768px ;
       height: 100px;
       z-index: 200;
       background-color: white;
       display: flex;
       justify-content: space-between;
       align-items: center;
       padding: 10px 60px 10px 30px; 
       transition:all 0.3s ease;
    }

    .mobile-nav.stickyMobile .menu-icon{
        scale: 60%;
        transition:all 0.3s ease;
    }

    .mobile-nav .menu-icon.erase{
        opacity: 0;
        pointer-events: none;
    }

    .mobile-menu-container .active-nav{
        color: var(--orange-color);
        text-decoration: underline solid var(--orange-color) 2px;
        text-underline-offset: 5px;
    }

    .mobile-nav .logo{
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        transition:all 0.3s ease;
    }

    .logo img{
        height: 100%;
        transition:all 0.3s ease;
    }

    /* mulai icon burger */
    .switcher{
        display: none;
    }

    .menu-icon{
        position: relative;
        width: 40px;
        height: 25px;
        cursor: pointer;
        left: 0;
    }

    .hamburger-line{
        position: absolute;
        width: 30px;
        height: 5px;
        background-color: var(--dark-blue-color);
        top: 0;
        transition: 0.25 all ease-in-out;
    }

    .hamburger-line:nth-child(2){
        top: 0;
        transition: 0.5s all ease-in-out;
    }

    .hamburger-line:nth-child(3){
        top: 50%;
        transform: translateY(-50%);
        transition: 0.3s all ease-in-out;
    }

    .hamburger-line:nth-child(4){
        top: auto;
        bottom: 0;
        transition: 0.3s all ease-in-out;
    }

    .switcher:checked ~ .hamburger-line:nth-child(2) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
        transition: 0.5s all ease-in-out;
    }

    .switcher:checked ~ .hamburger-line:nth-child(3) {
        opacity: 0;
        transition: 0.3s all ease-in-out;
    }

    .switcher:checked ~ .hamburger-line:nth-child(4) {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
        transition: 0.3s all ease-in-out;
    }
    /* akhir */

    .wrapper{
        width: 100%;
        max-width: 768px;
        padding: 50px;
    }

    footer{
        padding: 10px;
        width: 100%;
        max-width: 768px;
    }

    footer .wrapper{
        padding: 0;
    }

    .links li img{
        scale: 75%;
    }

    .footer .footer-links{
        padding: 10px 30px;
    }

    .links li a{
        width: 270px;
        font-size:13px;
    }

    .logo-footer{
        scale: 70%;
    }

    /* tambahan drop down event */

    .mobile-menu-container{
        width: 100%;
        max-width: 768px;
        z-index: 10;
        position: fixed;
        height: max-content;
        transition:all 0.3s ease;
        max-height: 0px;
        overflow: hidden;
    }

    .mobile-menu-container.active{
        z-index: 100;
        transition: all 400ms ease;
        max-height: 1000px;
    }

    .mobile-menu-container.stickyMobileContainer{
        top: 70px;
        position: fixed;
        background-color: #fff;
        max-height: 0;
        box-shadow: 10px 0px 5px black ;
        overflow: hidden;
        transition: max-height .4s all ease-in-out;
    }

    .mobile-menu-container.stickyMobileContainer.active{
        transition:all 0.3s ease;
        max-height: 1000px;
        transition: max-height .4s all ease-in-out;
    }

    /* CONTAINER UTAMA (Pintu Luar) */
    .mobile-menu-container {
        width: 100%;
        max-width: 768px; /* Mengikuti batas yang Anda tentukan sebelumnya */
        position: fixed; /* Agar menempel saat scroll */
        top: 140px; /* Sesuaikan dengan tinggi header Anda */
        left: 0;
        height: 100vh;
        background: #ffffff;
        z-index: 100;
        overflow: hidden;

        /* Efek Buka Tutup Menu Utama */
        transition: max-height 0.4s ease-in-out, opacity 0.5s ease;
        max-height: 0; /* Tertutup secara default */
        opacity: 0;
    }

    /* Saat Hamburger di-klik (tambahkan class 'active' via JS) */
    .mobile-menu-container.active {

        max-height: 100vh;
        opacity: 1;
        transition: max-height 0.4s ease-in-out, opacity 0.5s ease;
    }

    /* PANEL DI DALAM (Sistem Slide Adobe) */
    .panel {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--light-blue-color);
        padding: 20px;
        transition: transform 0.4s ease-in-out;
        color: white;
    }

    /* Hierarki Layer */
    #main-panel { z-index: 10; transform: translateX(0); }
    #sub-panel { z-index: 20; transform: translateX(100%); }
    #second-sub-panel { z-index: 30; transform: translateX(100%); }

    /* Class untuk mengaktifkan panel */
    .panel.active { transform: translateX(0) !important; }

    /* Class untuk mendorong panel keluar ke kiri */
    .panel.exit { transform: translateX(-100%); }

    /* Visual Menu-Item agar Tag <a> tidak mengganggu */
    .menu-item {
        padding: 15px 0;
        border-bottom: 1px solid var(--orange-color);
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .menu-item a {
        text-decoration: none;
        color: inherit;
        display: block;
        width: 100%;
    }

    /* tombol kembali */
    .back-btn{
        margin-bottom: 50px;
        color: var(--orange-color);
        height: 30px;
        border-bottom: 2px solid var(--orange-color);
    }

    .container-navigasi .isi-nav-bawah {
        max-width: 210px;
        width: 100%;
    }

    .teks-judul{
        bottom:43%;
    }

}

@media(max-width: 450px){
    .wrapper{
        width: 100%;
        max-width: 450px;
    }

    .header-links li a{
        font-size: 5px;
        width: 100%;
        max-width: 120px;
    }

    .header-links .link-logo{
        height: auto;
        width: 20px;
    }

    .header-links{
        width: 100%;
        max-width: 100vw;
        padding: 0;
        margin: 0;
        justify-content: space-around;
    }

    .header-links ul{
        padding: 15px;
    }

    header .mobile-nav{
       width: 100%;
       max-width:450px ;
       height: 100px;
       z-index: 200;
       background-color: white;
       display: flex;
       justify-content: space-between;
       align-items: center;
       padding: 10px 30px; 
       transition:all 0.3s ease;
    }

    .mobile-nav .logo{
        height: 40px;
        width: auto;
        align-items: center;
    }

    .mobile-nav .menu-icon{
        scale: 65%;
        display: flex;
        justify-content: flex-end;
    }

    footer {
        background: #085984;
        background: linear-gradient(90deg,rgba(8, 89, 132, 1) 0%, rgba(1, 46, 69, 1) 100%);
        padding: 20px 0;
        width: 100%;
        max-width: 100%;
    }

    footer .wrapper {
        padding: 0;
    }

    .footer .footer-links {
        display: grid;
        justify-content: start; 
        justify-items: start;
        align-items: center;
        gap: 15px;
        padding: 10px 20px; 
    }

    .footer .footer-links .links li img {
        width: 20px; 
        height: auto;
        object-fit: contain;
    }

    .footer .footer-links .links li a {
        font-size: 12px; 
        text-align: left;
        width: auto;
    }

    .footer .logo-footer {
        display: block;
        width: 350px;
        height: auto;
        margin-left: -45px;   
        
        margin-right: auto;
        margin-top: 20px;  
    }
    
    .footer .logo-footer img {
        width: 100%;
        display: block;
    }
    
    /* tmabahana konfigurasi layanan */
    .teks-judul h2 {
    font-size: 35px;
    }
    
    .teks-judul {
        bottom: 45%;
    }

    .main-teks {
        max-width: fill;
    }

    .main-teks h3{
        font-size: 16px;
    }

    .main-teks p{
        font-size: 12px;
    }

    .main-gambar-slide #slider-img {
    width: 300px;
    }

    .container-navigasi .isi-nav-bawah {
        max-width: 425px;
    }

    .container-navigasi .isi-nav-bawah h4, .container-navigasi .isi-nav-bawah a{
    font-size: 12px;
    }

    .container-navigasi{
        display: grid;   
        gap: 10px;
        justify-content: center;
    }

    .wrapper{
        padding: 0 20px;
    }

    .slider-btn.next{
        right: -14%;
        top: 28%;
    }

    .slider-btn.prev{
        left: -15%;
        top: 30%;
    }
    
    .container-gambar-judul img{
        position: absolute;
        left: -50%;
    }
}

@media(max-width: 330px){
    .header-links .map {
        max-width: 80px;
    }

    .links ul{
        max-width: 260px;
    }

    .footer .footer-links .links li a {
        font-size: 10px;
        text-align: left;
        width: auto;
    }

    .main-gambar-slide #slider-img {
        width: 250px;
    }

    .container-gambar-judul img{
        position: absolute;
        left: -80%;
    }
}