@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
    --black-1: #101319;
    --black-2: #1F221E;

    --white-2: #FAFAFA;
    
    --grey-1: #989998;
    --grey-2: #5F6165;
    --grey-3: #696B68;
    --grey-5: #6B6D73;

    --blue-3: #B2D5F0;
    --blue-4: #6BAFE3;
    --blue-5: #2E487D;
    --blue-6: #3A86FF;

    --primary-navy: #002060;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--grey-3);
}

#tentang-kami,team-kami,#portofolio {
    scroll-margin-top: 100px;
}

html {
    scroll-behavior: smooth;
}

.nav-link {
    color: #000 !important;
    transition: 0.2s;
}

.nav-link.active {
    color: #0d6efd !important; /* biru */
    font-weight: bold;
}

/* MATIKAN efek biru pas diklik */
.nav-link:focus,
.nav-link:active {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Button */
.btn-cs-lg {
    border-radius: 16px;
    padding: 17px 32px;
}
.btn-cs-md {
    border-radius: 16px;
    padding: 10px 24px;
}

.btn-white-2 {
    background: var(--white-2);
    border-color: rgb(152, 153, 152, 15%);
    color: var(--black-2);
    border-radius: 16px;
}
.btn-white-2:hover {
    background-color: var(--blue-5);
    color: var(--white-2);
    border-color: unset;
}

.btn-blue-5 {
    background-color: var(--blue-5);
    color: #FFFFFF;
}
.btn-blue-5:hover {
    background-color: var(--primary-navy);
    color: var(--white-2);
}

/* Text */
.text-black-1 { color: var(--black-1); }
.text-black-2 { color: var(--black-2); }

.text-white-1 { color: var(--white-1); }

.text-grey-1 { color: var(--grey-1); }
.text-grey-2 { color: var(--grey-2); }
.text-grey-3 { color: var(--grey-3); }
.text-grey-5 { color: var(--grey-5); }

.text-blue-3 { color: var(--blue-3); }
.text-blue-4 { color: var(--blue-4); }
.text-blue-5 { color: var(--blue-5); }
.text-blue-6 { color: var(--blue-6); }

.text-primary-navy { color: var(--primary-navy) !important; }

.section-hero {
    padding-top: 65px;
}
.section-sosmed,
.section-news,
.section-video,
.section-recommendation,
.section-maps {
    margin-top: 120px;
}
.section-title {
    margin-bottom: 64px;
    text-align: center;
    font-weight: 600;
}
.section-title > div {
    color: var(--black-2);
    padding-bottom: 24px;
    font-weight: 700;
    font-size: 48px;
}
.section-title p {
    font-size: 18px;
}

.leadership-carousel {
    position: relative;
}

.leadership-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none; 
}

.leadership-carousel .owl-nav button {
    pointer-events: all;
    width: 45px;
    height: 45px;
    border-radius: 50% !important;
    background: #e9f0ff !important;
    color: #0d6efd !important;
    border: none !important;
    transition: 0.3s;
}

.leadership-carousel .owl-nav button:hover {
    background: #0d6efd !important;
    color: #ffffff !important;
}

.leadership-carousel .owl-nav .owl-prev {
    margin-left: -25px;
}

.leadership-carousel .owl-nav .owl-next {
    margin-right: -25px;
}

.service-card {
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(13,110,253,0.15);
}

.service-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.adv-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.slider-img {
    height: 450px;
    object-fit: cover;
}

.team-img {
    height: 300px;
    object-fit: cover;
}

.owl-nav {
    display: block !important;
}

.owl-nav button {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 999;
}

.owl-nav .owl-prev {
    left: 0;
}

.owl-nav .owl-next {
    right: 0;
}

.custom-nav {
    width: 45px !important;
    height: 45px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;

    background: #e9f1ff;
    border-radius: 50%;

    font-size: 20px !important;
    font-weight: bold;
    color: #0d6efd;
}

.custom-nav:hover {
    background: #0d6efd;
    color: #fff;
    transform: scale(1.1);
    transition: 0.3s;
}

.owl-nav button {
    background: transparent !important;
    border: none !important;
}

.solution-img {
    width: 150px;      
    height: 140px;     
    object-fit: cover; 
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .solution-img {
        width: 220px !important; /* fix lebar di desktop */
        height: 150px !important;
        flex-shrink: 0;
    }
}

.project-section .project-card {
    flex: 0 0 auto;
    width: 200px;
}

.project-section .project-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

/* text biar gak ngerusak layout */
.project-section .project-card p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-section .slide {
    width: max-content;
}

@keyframes slideLeft {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-1 * var(--scroll-width)));
    }
}

@keyframes slideRight {
    from {
        transform: translateX(calc(-1 * var(--scroll-width)));
    }
    to {
        transform: translateX(0);
    }
}

.project-section .slide-left {
    animation: slideLeft linear infinite;
}

.project-section .slide-right {
    animation: slideRight linear infinite;
}

.project-section .slide:hover {
    animation-play-state: paused;
}