/* BASIC */
:root {
    --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --primarycyan-bluemain: rgba(40, 123, 181, 1);
}
body {
    font-family: var(--font-family-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.btn-main {
    background-color: var(--primarycyan-bluemain);
}
.seo-heading {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
}
.white-space-nowrap {
    white-space: nowrap;
}
/* END BASIC */

.feature-card {
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.contact-form {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.sidebar-right {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    background-color: #f8f9fa;
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 60px;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1020;
    transition: box-shadow 0.3s ease;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}
.header.shadow-bottom {
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}
.navbar {
    padding: 0.75rem 0;
}
.header-right {
    gap: 1rem;
}
.header-logo-secondary {
    height: 40px;
    width: auto;
}
/* END HEADER */

/* SIDEBAR */
.sidebar-right.active {
    width: 300px;
    z-index: 1040;
}

.sidebar-content {
    padding: 20px;
    display: none;
}

.sidebar-right.active .sidebar-content {
    display: block;
}

.close-sidebar {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 32px;
    cursor: pointer;
}

.toggle-sidebar {
    padding: 8px;
    border: none;
    background: transparent;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s ease;

    position: static;
    right: auto;
    bottom: auto;
    box-shadow: none;
    border-radius: 0;
}
.toggle-sidebar:hover {
    color: #666;
}
.toggle-sidebar:focus {
    outline: none;
}
.sidebar-right {
    padding-top: 50px;
}
.sidebar img {
    max-width: 100%;
}
.sidebar a {
    color: #004B73;
    text-decoration: none;
    display: block;
}

.sidebar-title {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    color: #004B73;
    font-weight: 700;
    font-size: 1rem;
}

.sidebar-title--separator {
    font-size: 1.1rem;
    cursor: unset;
}

.sidebar-title.sidebar-title--separator span {
    background: linear-gradient(to right, #002F49, #00A6E5);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sidebar-chevron {
    transition: transform 0.3s ease;
}

.sidebar-chevron.expanded {
    transform: rotate(90deg);
}

.sidebar-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-left: 0;
}

.sidebar-submenu.expanded {
    max-height: 1200px; /* Adjust based on your content */
}

.sidebar-submenu li {
    padding: 6px 0;
    color: #777;
}

.sidebar-title.active {
    color: #007fc3;
    font-weight: 600;
}

.sidebar-submenu a.active {
    color: #007fc3;
    font-weight: 600;
}

.sidebar-title.active .sidebar-chevron {
    color: #007bff;
}
.sidebar .sidebar-publication {
    max-width: 160px;
}
.sidebar-title--active-page a.active {
    color: #007fc3;
}
/* END SIDEBAR */

/* FOOTER */
.footer {
    background: rgb(0,47,73);
    background: linear-gradient(90deg, rgba(0,47,73,1) 0%, rgba(0,166,229,1) 49%, rgba(243,12,248,1) 100%);
    font-size: 16px;
    font-weight: 700;
}
.footer-icon {
    width: 32px;
    height: auto;
}
/* END FOOTER */

/* CONTENT */
.container-main {
    background: #fff url(../images/bg-katadata.png) no-repeat top left;
    background-size: contain;
    background-position-x: -50px;
}
.page-green .container-main {
    background: #fff url(../images/bg-green.png) no-repeat top left;
    background-size: contain;
}
.page-oto .container-main {
    background: #fff url(../images/bg-oto.png) no-repeat top left;
    background-size: contain;
}
.page-jelajah .container-main {
    background: #fff url(../images/bg-jelajah.png) no-repeat top left;
    background-size: contain;
    background-position-y: 100px;
}
.page-banner .container-main {
    background-position-y: top;
}
.page-event .container-main {
    background: unset;
}

.content-primary-x {
    background: rgb(40,123,181);
    background: linear-gradient(90deg, rgba(40,123,181,1) 0%, rgba(150,212,255,1) 100%);
    border-radius: 0 70px 70px 0;
}
.content-wrapper {
    padding-top: 50px;
    min-height: 360px;
}
.img-desktop {
    max-width: 100%;
    position: absolute;
}
.img-desktop--preview {
    max-width: 77%;
    height: auto;
    left: 12%;
    top: 12px;
    object-fit: fill;
}
.img-mobile {
    max-width: 120px;
    position: absolute;
    right: 0;
    margin-top: 10px;
}
.img-mobile--preview {
    max-width: 110px;
    right: 5px;
    top: 15px;
    width: 100%;
}

.list-artikel li {
    border: 1px solid var(--bs-border-color);
    border-radius: 10px;
    padding: 10px 15px;
    margin-bottom: 10px;
}
.list-artikel .card-value {
    color: #004b73;
    font-weight: 700;
}
.card--artikel .card-title {
    font-weight: 700;
    font-size: 1.25rem;
}

.page-home .header,
.page-home .footer {
    display: none !important;
}
.page-home .container-main {
    background: #fff;
    background-size: contain;
    height: 100dvh;
    margin-top: 0 !important;
    padding: 20px;
    width: 100%;
    max-width: 100%;
}

.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}
.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/bg-hero.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.7;
    z-index: 2;
}
.hero-content-layer {
    position: relative;
    z-index: 3;
    height: 100%;
    padding: 20px 10px;
}
.hero-logo {
    max-width: 265px;
    height: auto;
}
.hero-content {
    color: white;
    font-size: 50px;
    font-weight: 900;
    line-height: 1.2;
}
.hero-content .underlined {
    border-bottom: 5px solid #fff;
}
.btn-hero {
    font-size: 20px;
    margin-top: 50px;
    background: #B125D2;
    color: #fff;
    border-color: #B125D2;
}
.btn.btn-hero:hover,
.btn.btn-hero:active {
    background: #8f1baa;
    color: #fff;
}

.content-wrapper.content-wrapper-media {
    height: auto;
}

.event-content {
    color: #fff;
}
.page-event .content-top {
    border-radius: 45px;
}
.page-ide .content-top {
    background: #ffc8dd url(../images/bg-event-ide.png) no-repeat top center;
    background-size: cover;
}
.page-safe .content-top {
    background: #1bbe6a url(../images/bg-event-safe.png) no-repeat top center;
    background-size: cover;
}
.page-adeging .content-top {
    background: #02604f url(../images/bg-event-adeging.png) no-repeat top center;
    background-size: cover;
}
.page-konser .content-top {
    background: #f5745d url(../images/bg-event-konser.png) no-repeat top center;
    background-size: cover;
}
.page-greencollab .content-top {
    background: #02604f url(../images/bg-event-adeging.png) no-repeat top center;
    background-size: cover;
}
.page-goestocampus .content-top {
    background: #da7642 url(../images/bg-event-databoks.png) no-repeat top center;
    background-size: cover;
}
.page-event.page-custom .content-top {
    background: #02604f url(../images/bg-event-adeging.png) no-repeat top center;
    background-size: cover;
}
.page-ide .event-content {
    color: #004B73;
}

.slider-container {
    width: 100%; /* Full width */
    margin: auto; /* Centers the whole slider */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    display: flex;
    justify-content: center; /* Centers content */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.slider-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari */
}

.content-gallery {
    display: flex;
    gap: 10px;
    padding: 10px; /* Add padding for spacing */
}

.content-gallery img {
    width: 500px; /* Adjust size */
    max-width: 80%;
    height: auto;
    flex-shrink: 0;
    scroll-snap-align: center;
    border-radius: 10px;
    margin: auto; /* Centers each image inside the container */
}  
.img-media-mobile {
    max-width: 289px;
}
.content-wrapper.content-sosmed {
    height: auto;
    min-height: 260px;
}
.content-sosmed .content-mobile {
    flex: 1 1 -moz-available;
}
.phone-mockup {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}
.phone-mockup.is-framed {
    border-radius: 20px;
    background: #1a1a1a;
    padding: 7px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}
.phone-screen {
    width: 100%;
    height: 100%;
    min-width: 100px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}
.phone-notch {
    width: 40px;
    height: 10px;
    background: #1a1a1a;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 15px;
    z-index: 2;
}
.screen-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.phone-content {
    width: 100%;
    height: 100%;
}

@media screen and (min-width: 576px) {
    .content-wrapper {
        height: 420px;
    }
    .img-mobile {
        max-width: 150px;
    }
    .img-mobile--preview {
        max-width: 130px;
        right: 10px;
        top: 30px;
    }
    .img-desktop--preview {
        max-width: 77%;
        height: 248px;
        left: 60px;
        top: 12px;
    }
    .card--artikel {
        max-width: 360px;
    }
    
    .phone-mockup.is-framed {
        border-radius: 40px;
    }
    .phone-screen {
        border-radius: 35px;
    }
    .phone-notch {
        width: 90px;
        height: 20px;
        top: 12px;
        border-radius: 15px;
    }
    .phone-notch::after {
        content: "";
        background: #1c1c1c;
        width: 12px;
        height: 12px;
        position: absolute;
        top: 4px;
        right: 4px;
        border: #353535 4px solid;
        border-radius: 50%;
    }
}

@media screen and (min-width: 768px) {
    .content-wrapper {
        height: 580px;
    }
    .img-mobile {
        max-width: 210px;
    }
    .img-mobile--preview {
        max-width: 186px;
        right: 12px;
        top: 38px;
    }
    .img-desktop--preview {
        max-width: 77%;
        height: 334px;
        left: 80px;
        top: 20px;
    }
    .hero-content {
        font-size: 70px;
    }
    .btn-hero {
        margin-top: 60px;
        font-size: 24px;
    }
}

@media screen and (min-width: 992px) {
    .container-main {
        background-position-y: top;
    }
    .page-home .container-main {
        background: #fff url(../images/bg-katadata.png) no-repeat center left;
        background-size: contain;
        padding: 40px;
    }
    .page-jelajah .container-main {
        background-position-y: 100px;
    }
    .content-wrapper {
        height: 465px;
    }
    .img-mobile {
        max-width: 185px;
    }
    .img-mobile--preview {
        max-width: 168px;
        right: 8px;
        top: 20px;
    }
    .img-desktop--preview {
        max-width: 77%;
        height: 300px;
        left: 72px;
        top: 15px;
    }
    .hero-content-layer {
        padding: 30px 20px;
    }
    .hero-content {
        font-size: 80px;
    }
    .phone-mockup {
        width: 300px;
        height: 600px;
    }
}

@media screen and (min-width: 1200px) {
    .img-desktop--preview {
        max-width: 77%;
        height: 355px;
        left: 85px;
        top: 20px;
    }
}

@media screen and (min-width: 1400px) {
    .content-wrapper {
        height: 545px;
    }
    .img-mobile {
        max-width: 255px;
    }
    .img-mobile--preview {
        max-width: 230px;
        right: 12px;
        top: 38px;
    }
    .img-desktop--preview {
        max-width: 77%;
        height: 422px;
        left: 100px;
        top: 25px;
    }
}

/* END CONTENT */