/* =========================================================
   PT INTERNATIONAL CARGO INSPEKSION
   Responsive stylesheet
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
    background: #E5E5E5;
    color: #222;
    font-family: "Montserrat", Arial, sans-serif;
}

img {
    max-width: 100%;
}

a {
    -webkit-tap-highlight-color: transparent;
}

section {
    width: 100%;
    padding: 80px 5vw;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

/* =========================================================
   Sticky Navbar
   ========================================================= */

.sticky-navbar {
    width: 100%;
    height: 88px;
    background: transparent;
}

header.sticky-navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 14px clamp(18px, 4vw, 56px);
    transition: background-color .3s ease, box-shadow .3s ease;
}

.logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.logo img {
    display: block;
    width: clamp(58px, 6vw, 80px);
    height: auto;
    margin: 0;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(14px, 2.2vw, 32px);
    margin-left: auto;
}

header nav a {
    display: inline-block;
    margin: 0;
    padding: 8px 0;
    border-bottom: 3px solid transparent;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(12px, 1.05vw, 15px);
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: border-color .2s ease, color .2s ease;
}

header nav a:hover,
header nav a:focus-visible {
    border-color: currentColor;
}

header.bgc {
    background: #6f93ff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

header.bgc nav a {
    color: #222;
}

header.bgc #openBtn {
    color: #222;
}

.mobile-navbar {
    display: none;
    margin-left: auto;
}

#openBtn {
    display: none;
    color: #fff;
    font-size: 25px;
    cursor: pointer;
}

.overlay-navbar {
    display: none;
}

/* =========================================================
   Hero / Slider
   ========================================================= */

.banner {
    position: relative;
    width: 100%;
    min-height: 100svh;
    min-height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    background: #333;
}

.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0, 0, 0, .42);
    pointer-events: none;
}

.banner .image-slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: circle(0% at 0 50%);
}

.banner .image-slide.active {
    clip-path: circle(150% at 0 50%);
    transition: clip-path 2s ease;
}

.banner .content {
    position: relative;
    z-index: 3;
    width: min(100% - 40px, 1050px);
    display: none;
    margin: 0 auto;
    padding: 0 10px 70px;
    color: #fff;
    text-align: center;
}

.banner .content.active {
    display: block;
}

.banner .content h1 {
    width: 100%;
    margin: 0 0 16px;
    font-size: clamp(28px, 4.2vw, 60px);
    font-weight: 600;
    letter-spacing: clamp(1px, .35vw, 5px);
    line-height: 1.15;
    text-align: center;
    overflow-wrap: anywhere;
}

.banner .content p {
    margin: 0 0 34px;
    padding: 0;
    color: #fff;
    font-size: clamp(17px, 2vw, 30px);
    line-height: 1.4;
    text-align: center;
}

.banner .content a {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 30px;
    border-radius: 5px;
    background: #fff;
    color: #1680AC;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.banner .content a:hover,
.banner .content a:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.slider-navigation {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0;
    transform: translateX(-50%);
}

.slider-navigation .nav-btn {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 0 2px rgba(255, 255, 255, .5);
    transition: transform .2s ease, background .2s ease;
}

.slider-navigation .nav-btn.active {
    background: #2696E9;
}

.slider-navigation .nav-btn:hover,
.slider-navigation .nav-btn:focus-visible {
    transform: scale(1.2);
}

/* =========================================================
   Services
   ========================================================= */

.services {
    width: 100%;
    margin: 0;
    padding-top: clamp(70px, 8vw, 120px);
    padding-bottom: clamp(70px, 8vw, 110px);
    text-align: center;
}

.services > h1,
.location > h1,
.client > h1 {
    margin-bottom: 12px;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 600;
    line-height: 1.2;
}

.services > p,
.location > p,
.client > p {
    min-height: 0;
    margin: 0;
    padding: 0;
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}

.grid {
    width: min(100%, 1150px);
    margin: 32px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 24px;
}

 .item {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 270px;
    height: auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 22px 18px 18px;
    border-radius: 15px;
    background: #B6C8FF;
    box-shadow: 5px 5px 12px rgba(0, 0, 0, .18);
}

.item > i {
    position: relative;
    z-index: 1;
    display: block;
    flex: 0 0 auto;
    color: rgb(80, 80, 80);
    font-size: clamp(70px, 8vw, 105px);
    line-height: 1;
    margin: 0 auto 14px;
    pointer-events: none;
}

.item > a.fake_buttons {
    position: absolute;
    inset: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
}

.item > .item__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    background: #B6C8FF;
    transform: translateY(100%);
    transition: transform .3s ease;
}

.item:hover .item__overlay,
.item:focus-within .item__overlay,
.item.touch-active .item__overlay {
    transform: translateY(0);
}

/* Judul layanan selalu terlihat di bawah icon */
.item > .service-title {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 56px;
    margin: 0;
    padding: 8px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.25;
    font-weight: 700;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: normal;
}

.item > .item__overlay h3 {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 56px;
    height: auto;
    margin: 0;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #6f93ff;
    color: #222;
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.25;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: normal;
    transform: translateY(-100%);
    transition: transform .3s ease;
}

/* Saat card dibuka, judul tetap tampil */
.item:hover .item__overlay h3,
.item:focus-within .item__overlay h3,
.item.touch-active .item__overlay h3 {
    transform: translateY(0);
}

.item__body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    opacity: 0;
    transition: opacity .35s ease .1s;
}

.item:hover .item__body,
.item:focus-within .item__body,
.item.touch-active .item__body {
    opacity: 1;
}

.item__body p,
.item__body .p2,
.item__body .p3 {
    margin: 0 0 12px;
    padding: 0;
    color: #000;
    font-size: 13px;
    line-height: 1.5;
}

.item__body a {
    position: static;
    align-self: center;
    display: inline-block;
    width: auto;
    min-width: 95px;
    padding: 7px 12px;
    border-radius: 5px;
    background: #6f93ff;
    color: #222;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

/* =========================================================
   Location
   ========================================================= */

.location {
    width: 100%;
    margin: 0;
    padding-top: clamp(60px, 7vw, 100px);
    padding-bottom: clamp(60px, 7vw, 90px);
    text-align: center;
}

#map {
    width: 100%;
    height: clamp(320px, 45vw, 500px);
    margin-top: 28px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 20px;
}

.location > div:last-child {
    margin-top: 16px;
}

.location h6 {
    display: block;
    margin: 6px 0;
    padding: 0;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(14px, 1.5vw, 20px);
    font-weight: 500;
}

/* =========================================================
   Clients
   ========================================================= */

.client {
    width: 100%;
    margin: 0;
    padding-top: 30px;
    padding-bottom: 70px;
    text-align: center;
}

.client-logo {
    width: min(100%, 600px);
    margin: 30px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px 50px;
}

.client-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo img {
    display: block;
    width: min(150px, 35vw);
    height: auto;
    padding: 10px;
}

/* =========================================================
   Floating buttons
   ========================================================= */

.float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 10000;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #25d366;
    color: #fff;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.float i {
    margin: 0;
    font-size: 30px;
}

.float:hover,
.float:focus-visible {
    background: #fff;
    color: #25d366;
    transform: translateY(-2px);
}

.back-to-top {
    display: none;
    position: fixed;
    right: 24px;
    bottom: 90px;
    z-index: 10000;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    outline: 0;
    background: rgb(117, 117, 117);
    color: #000;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}

.back-to-top i {
    margin: 0;
    font-size: 28px;
}

.back-to-top:hover {
    background: #555;
    color: #fff;
}

/* =========================================================
   Footer
   ========================================================= */

.hiasan {
    width: 100%;
    line-height: 0;
}

.hiasan img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 70px;
    object-fit: cover;
}

.container {
    width: min(1170px, calc(100% - 40px));
    margin: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

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

.footer {
    background: #24262b;
    padding: 45px 0;
}

.footer-horizontal,
.footer-col {
    width: 25%;
    min-width: 0;
    padding: 0 15px;
}

.footer-horizontal .logo-footer,
.footer-horizontal .logo-kan {
    display: block;
    width: 200px;
    height: auto;
    margin: 0 auto 20px 0;
}

.footer-col h4 {
    position: relative;
    margin: 0 0 28px;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-transform: capitalize;
}

.footer-col h4::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 2px;
    background: #e91e63;
}

.footer-col h5,
.footer-col h6 {
    position: relative;
    margin: 0 0 8px;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
}

.footer-col h6 {
    margin-left: 0;
}

.footer-col h2 {
    margin: 0;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-col ul li a {
    display: block;
    color: #bbb;
    font-size: 16px;
    font-weight: 300;
    text-decoration: none;
    transition: all .3s ease;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 8px;
}

.footer-col .social-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-col .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    line-height: 1;
}

.footer-col img {
    display: block;
    width: 60px;
    height: auto;
    margin: 0;
}

.down-mobile {
    display: none;
}

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 900px) {
    section {
        padding-left: 4vw;
        padding-right: 4vw;
    }

    header nav {
        gap: 18px;
    }

    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-horizontal,
    .footer-col {
        width: 50%;
        margin-bottom: 30px;
    }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 700px) {
    section {
        padding: 55px 20px;
    }

    header.sticky-navbar {
        height: 72px;
        padding: 10px 18px;
    }

    .sticky-navbar {
        height: 72px;
    }

    header .logo img {
        width: 60px;
    }

    header nav {
        display: none;
    }

    .mobile-navbar {
        display: block;
    }

    #openBtn {
        display: block;
    }

    .overlay-navbar {
        position: fixed;
        inset: 0;
        z-index: 10001;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100dvh;
        padding: 70px 25px 40px;
        overflow-y: auto;
        background: rgba(111, 147, 255, .98);
        transform: translateY(-100%);
        transition: transform .35s ease;
    }

    .overlay-navbar.is-open {
        transform: translateY(0);
    }

    .overlay-navbar ul {
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
        text-align: center;
    }

    .overlay-navbar .fa {
        position: absolute;
        top: 24px;
        right: 22px;
        color: #fff;
        font-size: 25px;
        cursor: pointer;
    }

    .overlay-navbar ul li {
        margin: 0;
    }

    .overlay-navbar ul li a {
        display: block;
        padding: 14px 10px;
        color: #fff;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 18px;
        line-height: 1.3;
        text-decoration: none;
    }

    .banner {
        min-height: 100svh;
        min-height: 100vh;
    }

    .banner .content {
        width: calc(100% - 32px);
        padding: 0 8px 65px;
    }

    .banner .content h1 {
        margin-bottom: 14px;
        font-size: clamp(25px, 7.5vw, 34px);
        letter-spacing: 0;
        line-height: 1.18;
    }

    .banner .content p {
        margin-bottom: 28px;
        font-size: clamp(16px, 5vw, 21px);
        line-height: 1.4;
    }

    .banner .content a {
        min-height: 44px;
        padding: 11px 24px;
        font-size: 15px;
    }

    .slider-navigation {
        bottom: 22px;
        gap: 14px;
    }

    .slider-navigation .nav-btn {
        width: 10px;
        height: 10px;
        flex-basis: 10px;
    }

    .services {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 25px;
    }


    .item {
        width: 100%;
        min-height: 285px;
        height: auto;
        padding: 20px 14px 18px;
    }

    .item > i {
        font-size: 82px;
        margin-bottom: 12px;
    }

    .item > .service-title {
        min-height: 60px;
        padding: 8px 4px;
        font-size: 16px;
        line-height: 1.3;
    }

    .item__body {
        padding: 14px 14px 16px;
        overflow-y: auto;
    }

    .item__body p,
    .item__body .p2,
    .item__body .p3 {
        margin-bottom: 12px;
        font-size: 13px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    #map {
        height: 360px;
        margin-top: 22px;
        border-radius: 14px;
    }

    .location h6 {
        font-size: 14px;
    }

    .client {
        padding-top: 25px;
        padding-bottom: 55px;
    }

    .client-logo {
        gap: 20px 28px;
        margin-top: 24px;
    }

    .client-logo img {
        width: 110px;
        padding: 6px;
    }

    .float {
        right: 15px;
        bottom: 18px;
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .float i {
        font-size: 25px;
    }

    .back-to-top {
        right: 15px;
        bottom: 76px;
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .back-to-top i {
        font-size: 24px;
    }

    .hiasan img {
        height: auto;
        min-height: 18px;
        object-fit: cover;
    }

    /* One footer layout is easier to maintain and prevents the old
       desktop/mobile duplicated footer from getting out of sync. */
    .footer {
        padding: 35px 0;
    }

    .footer .container {
        display: block;
        width: calc(100% - 40px);
    }

    .footer .row {
        display: block;
    }

    .footer-horizontal,
    .footer-col {
        width: 100%;
        padding: 0;
        margin-bottom: 30px;
    }

    .footer-horizontal .logo-footer {
        width: 120px;
        margin: 0 0 24px;
    }

    .footer-col h4 {
        margin-bottom: 25px;
    }

    .footer-col h5,
    .footer-col h6 {
        font-size: 12px;
        line-height: 1.55;
    }

    .footer-col .social-links {
        gap: 12px;
    }

    .footer-col img {
        width: 58px;
    }

    .down-mobile {
        display: none;
    }
}

/* Small phones */
@media (max-width: 380px) {
    section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .banner .content {
        width: calc(100% - 20px);
    }

    .banner .content h1 {
        font-size: 23px;
    }

    .banner .content p {
        font-size: 15px;
    }

    .item {
        height: 200px;
    }

    #map {
        height: 320px;
    }

    .client-logo img {
        width: 95px;
    }
}
