/* CSS CLIENT */

/* CUSTOM NAVBAR */

/* Navbar default (belum discroll) */
#mainNavbar {
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#mainNavbar .nav-link,
#mainNavbar .app-brand-text {
    color: black;
}

#mainNavbar .navbar-toggler i {
    color: black;
}


/* Setelah discroll */
#mainNavbar.navbar-scrolled {
    background-color: #332858;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#mainNavbar.navbar-scrolled .nav-link,
#mainNavbar.navbar-scrolled .app-brand-text {
    color: white;
}

/* Warna ikon hamburger saat discroll */
#mainNavbar.navbar-scrolled .navbar-toggler i {
    color: white;
}

/* Warna ikon hamburger saat hover (tanpa discroll) */
#mainNavbar .navbar-toggler:hover i {
    color: white;
}

/* Warna ikon hamburger saat hover (setelah discroll) */
#mainNavbar.navbar-scrolled .navbar-toggler:hover i {
    color: white;
}

/* Warna background menu hamburger saat dibuka */
#navbarSupportedContent.collapse.show {
    background-color: #332858;
}

/* Warna teks menu di dalam hamburger (saat terbuka) */
#navbarSupportedContent.collapse.show .nav-item .nav-link {
    color: white;
}

/* Warna tombol close (X) di dalam hamburger */
#navbarSupportedContent.collapse.show .navbar-toggler i {
    color: white;
}

/* Brand text Navbar */
@media (max-width: 400px) {
    .app-brand-text.demo {
        font-size: 1rem;
    }
    
}

@media (min-width: 401px) and (max-width: 576px) {
    .app-brand-text.demo {
        font-size: 1.125rem;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .app-brand-text.demo {
        font-size: 1.25rem;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .app-brand-text.demo {
        font-size: 1.375rem;
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .app-brand-text.demo {
        font-size: 1.5rem;
    }
}

@media (min-width: 1201px) {
    .app-brand-text.demo {
        font-size: 1.75rem;
    }
}

/* Dropdown Tenant Fix */
.mega-dropdown .dropdown-menu {
    display: none;
    width: 100%;
    left: 0;
    right: 0;
    margin-top: 0;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.mega-dropdown:hover .dropdown-menu,
.mega-dropdown .dropdown-menu.show {
    display: block;
}

.navbar-nav {
    margin-left: -30px; /* Sesuaikan nilai ini sesuai kebutuhan */
}

 .nav-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
}

/* Fix untuk menu Hubungi Kami */
.navbar-nav .nav-item:last-child .nav-link {
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .navbar-nav .nav-item {
        padding: 8px 0;
    }

    .navbar-nav .nav-item .nav-link {
        white-space: normal;
    }
}

/* Dropdown saat navbar scrolled */
.navbar-scrolled-dropdown {
    background-color: #332858 !important;
    color: white !important;
}

.navbar-scrolled-dropdown .mega-dropdown-link {
    color: white !important;
}

.navbar-scrolled-dropdown .mega-dropdown-link:hover {
    color: #ff7043 !important;
}

.navbar-scrolled-text {
    color: white !important;
}

@media (max-width: 991.98px) {
    .landing-nav-menu .navbar-nav {
        transform: translateX(15px);
    }
}

@media (max-width: 400px) {
    .navbar-collapse.collapse.show {
        padding-left: 20px;
    }
    
    #navbarSupportedContent.collapse.show {
        padding-left: 20px;
    }
}

/* GLOBAL SECTION SPONSORS START */
.section-sponsors {
    width: 100%;
    height: auto;
    min-height: 320px;
    background: var(--white-one);
    padding: 74px 0px 64px 0px;
}

.row-sponsorships {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    -ms-align-items: center;
    -moz-align-items: center;
    -webkit-align-items: center;
}

.row-sponsorships img {
    max-width: 100%;
}

.title-headline-sponsors {
    max-width: 532px;
    text-align: center;
    font: normal clamp(0.91rem, 0.7186rem + 0.2991vw, 1.0775rem) var(--bs-body-font-family);
    line-height: 145%;
    color: var(--bs-gray);
    letter-spacing: 0.24px;
}

.title-headline-sponsors h2 {
    font: normal 700 36.24px/48.64px var(--bs-body-font-family);
    color: #332858;
    text-align: left;
}

.line-one-sponsors {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    -ms-align-items: center;
    -moz-align-items: center;
    -webkit-align-items: center;
    gap: 16px;
    padding: 8px 0px;
    position: relative;
    overflow: hidden;
    min-height: 202px;
    margin-top: 15px;
    margin-bottom: 12px;
}

.line-one-sponsors::before {
    background: linear-gradient(to right,
            white 0%,
            rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 190px;
    position: absolute;
    width: 200px;
    z-index: 2;
    left: 0;
    top: 0;
}

.line-one-sponsors::after {
    background: linear-gradient(to right,
            white 0%,
            rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 190px;
    position: absolute;
    width: 200px;
    z-index: 2;
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

/* // Animation scrollone */
@-webkit-keyframes scrollone {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-285px * 11));
    }
}

@keyframes scrollone {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-285px * 11));
    }
}

/* // Animation scrollone */

.slide-track {
    -webkit-animation: scrollone 40s linear infinite;
    animation: scrollone 40s linear infinite;
    display: flex;
    width: calc(250px * 20);
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    -ms-align-items: center;
    -moz-align-items: center;
    -webkit-align-items: center;
    gap: 36px;
}

.line-two-sponsors {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    -ms-align-items: center;
    -moz-align-items: center;
    -webkit-align-items: center;
    gap: 16px;
    padding: 8px 0px;
    position: relative;
    min-height: 202px;
    overflow: hidden;
    margin-bottom: 24px;
}

.line-two-sponsors::before {
    background: linear-gradient(to right,
            white 0%,
            rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 190px;
    position: absolute;
    width: 200px;
    z-index: 2;
    left: 0;
    top: 0;
}

.line-two-sponsors::after {
    background: linear-gradient(to right,
            white 0%,
            rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 190px;
    position: absolute;
    width: 200px;
    z-index: 2;
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

/* // Animation scrolltwo */
@-webkit-keyframes scrolltwo {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(250px * 7));
    }
}

@keyframes scrolltwo {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(250px * 7));
    }
}

/* // Animation scrolltwo */

@keyframes changeDir {
    0% {
        transform: translateX(0vw) rotateY(0);
    }

    49% {
        transform: translateX(89vw) rotateY(0);
    }

    50% {
        transform: translateX(90vw) rotateY(0.5turn);
    }

    99% {
        transform: translateX(1vw) rotateY(0.5turn);
    }

    100% {
        transform: translateX(0vw) rotateY(0);
    }
}

.slide-track-two {
    -webkit-animation: scrolltwo 40s linear infinite backwards;
    animation: scrolltwo 40s linear infinite backwards;
    /* animation: changeDir 5s linear infinite backwards; */
    position: absolute;
    display: flex;
    width: calc(250px * 8);
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    -ms-align-items: center;
    -moz-align-items: center;
    -webkit-align-items: center;
    gap: 36px;
    /* left: -119.56vw; */
}

.line-three-sponsors {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    -ms-align-items: center;
    -moz-align-items: center;
    -webkit-align-items: center;
    gap: 16px;
    padding: 8px 0px;
    position: relative;
}

.card-item-sponsors {
    width: 160px;
    height: 160px;
    padding: 24px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    -ms-align-items: center;
    -moz-align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -ms-justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    border-radius: 24px;
    gap: 12px;
    background-color: #ffffff;

    /* Efek bayangan (shadow) */
    box-shadow: 0 10px 20px rgba(51, 40, 88, 0.2),
        0 6px 6px rgba(51, 40, 88, 0.15);

    /* Stroke/border */
    border: 1px solid rgb(255, 255, 255);

    /* Transition untuk efek hover */
    transition: all 0.3s ease;
}

/* Efek hover untuk interaktivitas */
.card-item-sponsors:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(51, 40, 88, 0.3),
        0 10px 10px rgba(51, 40, 88, 0.2);
    border-color: #332858;
    /* Warna border berubah saat hover */
}

/* GLOBAL SECTION SPONSORS END */

/* GLOBAL MEDIA PARTNERS START */
.media-partnership {
    width: 100%;
    height: auto;
    min-height: 320px;
    background: var(--bs-danger-border-subtle);
    padding: 74px 0px 70px 0px;
}

.row-one-media-parners {
    width: 100%;
    padding-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    -ms-justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
}

.title-headline-media {
    max-width: 532px;
    text-align: center;
    font: normal clamp(0.91rem, 0.7186rem + 0.2991vw, 1.0775rem) var(--bs-body-font-family);
    line-height: 145%;
    color: var(--bs-black);
    letter-spacing: 0.24px;
}

.title-headline-media h2 {
    font: normal 700 36.24px/48.64px var(--bs-body-font-family);
    color: var(--bs-pink);
}

.row-two-media-parners {
    padding-top: 16px;
    width: 100%;
    min-height: 96px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    -ms-justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    overflow: unset;
    position: relative;
}

.line-media-partners {
    width: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    -ms-align-items: center;
    -moz-align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -ms-justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    gap: 36px;
}

.card-item-media {
    min-width: 20%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    -ms-justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
}

.card-item-media img {
    max-width: 100%;
}

.item-media-rectangle {
    min-width: 20%;
    max-width: 20%;
    padding: 4px 14px;
}

.item-media-square {
    min-width: 20%;
    max-width: 20%;
    padding: 4px 20px;
}

/* Perbesar ukuran logo media partner */
.card-item-media.item-media-rectangle,
.card-item-media.item-media-square {
    min-width: 200px;
    /* Diperbesar */
    max-width: 200px;
    /* Diperbesar */
    padding: 4px;
    /* Dikurangi padding */
}

/* Perbaikan tampilan mobile */
@media (max-width: 767.98px) {
    .title-headline-sponsors h2 {
        font-size: 28px;
        /* Ukuran font lebih kecil di mobile */
        line-height: 36px;
        display: block !important;
        /* Pastikan judul muncul */
    }

    .main-sponsor-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }

    .main-sponsor-logo img {
        max-width: 80%;
        margin-bottom: 10px;
    }

    .card-item-sponsors {
        width: 140px;
        height: 140px;
    }

    .line-media-partners {
        justify-content: center;
    }

    .card-item-media.item-media-rectangle,
    .card-item-media.item-media-square {
        min-width: 100px;
        max-width: 100px;
    }
}

/* Perbaikan khusus untuk judul sponsor di mobile */
@media (max-width: 767.98px) {
    .title-headline-sponsors {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .title-headline-sponsors h2 {
        font-size: 24px;
        line-height: 32px;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .row-sponsorships>.col-lg-4 {
        order: -1;
        /* Memindahkan judul ke atas */
        margin-bottom: 20px;
    }
}

/* GLOBAL MEDIA PARTNERS END */

/* CAROUSEL CITY START*/
/* .area-slider-section {
    padding: 0px;
    margin-top: 100px;
    background-color: #f9f9f9;
}

.area-swiper {
    width: 100%;
    height: auto !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.area-swiper .swiper-slide {
    position: relative;
    width: 350px;
    height: 250px;
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    margin-right: 20px !important;
}

.area-swiper .swiper-button-next.swiper-button-white,
.area-swiper .swiper-button-prev.swiper-button-white {
    color: white;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.area-swiper .swiper-button-next:after,
.area-swiper .swiper-button-prev:after {
    font-size: 1.2rem;
}

.area-swiper .swiper-button-next:hover,
.area-swiper .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.8);
}

.swiper-button-next,
.swiper-button-prev {
    z-index: 10;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.slide-text {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    width: calc(100% - 2rem);
    color: white;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.city-name {
    font-size: 1.5rem;
    padding: 6px 12px;
    transform: translateY(48px);
    z-index: 1;
    transition: transform 0.3s ease, z-index 0.3s;
}

.view-guide {
    font-size: 0.95rem;
    padding: 6px 12px 6px 0px;
    color: white;
    opacity: 0;
    transform: translateY(0px);
    position: relative;
    pointer-events: auto;
    z-index: 2;
    transition: all 0.3s ease;
}

.view-guide::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 82%;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.view-guide:hover::after {
    width: 0%;
}

.swiper-slide:hover .city-name {
    transform: translateY(-6px);
    z-index: 2;
}

.swiper-slide:hover .view-guide {
    opacity: 1;
    transform: translateY(0);
    z-index: 1;
} */


.area-slider-section {
    padding: 0;
    margin-top: 100px;
    background-color: #f9f9f9;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    width: 100%;
}

.city-box,
.empty-box {
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: visible;
    display: block;
    padding: 0;
    margin: 0;
    background: transparent;
}

.box-ungu-awal {
    position: absolute;
    width: 60%;
    height: 60%;
    background-color: #332858;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    transition: transform 0.5s ease;
    transform: translate(0, 0);
    z-index: 10;
}

.box-ungu {
    position: absolute;
    bottom: -10;
    left: -10;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-image: url('/frontend25/img/map-soloraya.png');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    transition: transform 1s ease;
    z-index: 10;
}

.empty-box.active .box-ungu {
    transform: translate(-20px, 20px);
}

.city-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.slide-text {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    width: calc(100% - 2rem);
    color: white;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

.city-name {
    font-size: 1.5rem;
    transform: translateY(48px);
    transition: transform 0.3s ease;
}

.view-guide {
    font-size: 0.95rem;
    color: white;
    opacity: 0;
    transform: translateY(0);
    position: relative;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.view-guide::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 82%;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.view-guide:hover::after {
    width: 0%;
}

.city-box:hover .city-name {
    transform: translateY(-6px);
}

.city-box:hover .view-guide {
    opacity: 1;
    transform: translateY(0);
}


@media (max-width: 768px) {
    .city-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 kolom untuk tampilan mobile */
    }

    /* empty-box tidak lagi disembunyikan di sini */
}



/* CAROUSEL CITY END*/

/* HERO ANIMATION START*/

.hero-zoom-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 18s infinite;
    opacity: 0;
    animation-fill-mode: forwards;
    z-index: 0;
    border-radius: 0 0 3.5rem 3.5rem;
    filter: brightness(0.85);
}

.hero-zoom-img:nth-child(1) {
    animation-delay: 0s;
}

.hero-zoom-img:nth-child(2) {
    animation-delay: 6s;
}

.hero-zoom-img:nth-child(3) {
    animation-delay: 12s;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
        opacity: 0;
        z-index: 0;
    }

    5% {
        opacity: 1;
        z-index: 1;
    }

    33% {
        transform: scale(1.1);
        opacity: 1;
        z-index: 1;
    }

    38% {
        opacity: 0;
        z-index: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
        z-index: 0;
    }
}

.hero-keyword {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    color: #ffffff;
    background-color: transparent;
    height: 42px;
    overflow: hidden;
    transition: color 0.3s ease;
}

.hero-keyword::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0%;
    height: 100%;
    background-color: #ff7043;
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 8px;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.hero-keyword.active {
    color: white;
    font-weight: 600;
}

.hero-keyword.active::before {
    width: 100%;
    left: 50%;
}

.hero-keywords {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hero-keyword {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    color: #ffffff;
    background-color: transparent;
    height: 42px;
    overflow: hidden;
    transition: color 0.3s ease;
    /* cursor: pointer; */
}

.hero-keyword::before {
    content: "";
    position: absolute;
    left: 80%;
    top: 50%;
    width: 0%;
    height: 100%;
    background-color: #ff7043;
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 8px;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.hero-keyword.active {
    color: white;
    font-weight: 600;
}

.hero-keyword.active::before {
    width: 100%;
    left: 50%;
}

.hero-maskot {
    position: absolute;
    top: 40%;
    /* posisi vertikal di tengah */
    right: 8rem;
    /* tetap di kanan */
    transform: translateY(-50%);
    /* sesuaikan ke tengah */
    z-index: 10;
    width: auto;
    max-width: 30vw;
    max-height: 60vh;
    pointer-events: none;
}

.hero-maskot img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: opacity 0.4s ease-in-out;
    opacity: 1;
}

@media screen and (max-width: 991px) {
    .hero-maskot {
        display: none;
    }
}

/* HERO ANIMATION END*/


/* Tombol */

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

#customToastBtn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
}

.icon-float {
    position: fixed;
    width: 120px;
    height: 120px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 40px;
}

.icon-wa {
    bottom: 40px;
}

.icon-shop {
    bottom: 150px;
}

.icon-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.icon-float:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

@media screen and (max-width: 480px) {
    .icon-float {
        width: 80px;
        height: 80px;
        bottom: 15px;
        right: 15px;
    }

    .icon-wa {
        bottom: 10px;
    }

    .icon-shop {
        bottom: 85px;
    }
}

/* CUSTOM EVENT */

/* Main Event Image Container - Diperkecil */
.main-event-image-container {
    position: relative;
    width: 100%;
    padding-top: 120%;
    /* Rasio portrait yang lebih compact (6:5) */
    overflow: hidden;
    background-color: white;
    margin: 0 auto;
    max-height: 400px;
}

.main-event-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.event-list-item img {
    object-fit: cover;
    height: 200px;
    width: 100%;
}

/* Event Section Styling */

.custom-event-section {
    margin-top: -120px;
    /* Sesuaikan nilai ini sesuai kebutuhan */
    position: relative;
    z-index: 5;
    /* Pastikan lebih tinggi dari hero section */
}

/* Pastikan hero section memiliki z-index yang lebih rendah */
#hero-animation {
    position: relative;
    z-index: 1;
}

.custom-event-card {
    background: linear-gradient(180deg, rgba(51, 40, 88, 1), rgba(255, 255, 255, 1));
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.position-absolute.top-0.end-0 {
    z-index: 10;
    transform: translateY(-10px);
    /* Adjust this value as needed */
}

@media (max-width: 767.98px) {
    .position-absolute.top-0.end-0 {
        position: relative !important;
        text-align: right;
        margin-bottom: 1rem;
        top: auto !important;
        right: auto !important;
        transform: none;
    }

    .event-item {
        margin-top: 2rem;
    }
}

.event-image {
    height: 350px;
    object-fit: cover;
    width: 100%;
}

@media (max-width: 768px) {
    .event-image {
        height: 250px;
    }
}

.event-item {
    transition: transform 0.3s ease;
}

.event-item:hover {
    transform: translateY(-5px);
}

.hover-shadow:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary1 {
    background-color: #ffffff;
    color: #332858;
    font-weight: bold;
    border-radius: 30px;
    padding: 10px 20px;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary1:hover {
    background-color: #332858;
    color: #ffffff;
}

.btn-primary2 {
    background-color: green;
    color: white;
    font-weight: bold;
    border-radius: 30px;
    padding: 10px 20px;
    border: none;
    transition: all 0.3s ease;
    width: 200px;
}

.btn-primary2:hover {
    background-color: #332858;
    color: #ffffff;
}

.btn-primary3 {
    background-color: orange;
    color: white;
    font-weight: bold;
    border-radius: 30px;
    padding: 10px 20px;
    border: none;
    transition: all 0.3s ease;
    width: 200px;
}

.btn-primary3:hover {
    background-color: #332858;
    color: #ffffff;
}

/* Text event */
.event-item .card-title {
    font-size: 1.5rem;
}

.event-item .card-text {
    font-size: 1rem;
}

.event-item .card-title-side {
    font-size: 1rem;
}



/* RUNNING TEXT */

.scroll-text-container {
    position: relative;
    margin-top: 30px;
    margin-bottom: 30px;
    height: 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: transparent;
    z-index: 20;
}

.scroll-text {
    white-space: nowrap;
    font-size: 3rem;
    font-weight: bold;
    color: transparent;
    -webkit-text-stroke: 1px #332858;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(3px);
    border-radius: 25px;
    padding: 8px 16px;
    transform: translateX(100%);
    /* Mulai dari kanan penuh */
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.city-up {
    margin-top: -20px;
}


/* 3JS */

#threejs-cta-container {
    padding: 20px;
    box-sizing: border-box;
}

/* MARQUEE */

.floating-marquee-wrapper {
    position: relative;
    height: 100%;
    margin-top: 50px;
    margin-bottom: -40px;
    /* mengangkat sedikit ke atas agar menempel event */
    z-index: 20;
    overflow: hidden;
    display: flex;
    justify-content: center;
    pointer-events: none;
    /* supaya tidak menghalangi klik ke bawah */
}

.floating-marquee-text {
    /* width: 50%; */
    white-space: nowrap;
    font-size: 5rem;
    font-weight: bold;
    color: transparent;
    -webkit-text-stroke: 1px #332858;
    /* border: 2px solid purple; */
    border-radius: 25px;
    padding: 8px 16px;
    animation: scrollText 30s linear infinite;
    text-align: center;
    pointer-events: auto;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(3px);
}

/* Animasi berjalan ke kiri */
@keyframes scrollText {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}


/* BERITA */

/* Untuk section "Berita" */
#berita {
    position: relative;
    z-index: 10;
    /* Lebih rendah dari CTA */
    background-color: #332858;
    padding-bottom: 200px;
    /* Ditambah dari 150px ke 200px */
    margin-bottom: -150px;
    /* Ditambah dari -100px ke -150px */
}

#berita h1,
#berita span {
    color: #ffffff;
}

/* --- */
/* Modifikasi untuk teks "dan Aktivitas" */
#berita h1 span:not(.position-relative) {
    color: #ff7043;
}

/* Modifikasi untuk tombol "Berita Selengkapnya" */
#berita .btn-primary1 {
    background-color: #ffffff;
    color: #332858;
    border: 1px solid #332858;
}

#berita .btn-primary1:hover {
    background-color: #332858;
    color: #ffffff;
    border: 1px solid #332858;
}

#berita a.text-primary1 {
    color: #ffffff;
}

/* Container utama kartu berita */
.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Wrapper untuk memastikan konsistensi */
.news-image-wrapper {
    width: 100%;
    padding-top: 75%;
    /* Rasio 4:3 (ubah sesuai kebutuhan: 56.25% untuk 16:9, 100% untuk persegi) */
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

/* Container gambar */
.news-image-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Gambar itu sendiri */
.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Efek hover */
.news-card:hover .news-image {
    transform: scale(1.05);
}

/* Style untuk teks */
.news-title {
    font-size: 20px;
    text-align: justify;
    padding-top: 1rem;
    margin: 0.5rem 0;
    min-height: 3em;
    /* Untuk konsistensi tinggi judul */
}

.news-date {
    display: block;
    color: #ff7043;
    margin-top: auto;
    /* Untuk mendorong tanggal ke bawah */
}

.fa-clock {
    padding-right: 0.5rem;
}

/* Ensure previous sections don't clip */
.section-py {
    position: relative;
    z-index: 50;
    /* Lower than CTA */
    overflow: visible !important;
}

/* CTA Section */

#landingCTA {
    position: relative;
    z-index: 20;
    /* Lebih tinggi dari berita */
    background: transparent !important;
    padding: 80px 0 150px 0;
    /* Tambahkan padding bottom lebih besar */
    height: auto;
    min-height: 500px;
    /* Tinggi yang cukup untuk model */
    overflow: visible !important;

}


/* Text Column - General styling (might be overridden by cta-text-box) */

.landing-cta .text-center.text-lg-start {

    position: relative;
    z-index: 1002;
    background: none;
    padding: 0;
    border-radius: 0;
    max-width: none;
    margin-left: 0;
    box-shadow: none;
}

.cta-text-box {
    position: relative;
    z-index: 40;
    /* Lebih tinggi dari model 3D */
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    margin: 0 auto;
}

.landing-cta .cta-text-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    /* Mengatur lebar maksimum box */
    margin: 0 auto;
    /* Pusatkan box jika perlu, atau gunakan margin-left jika ingin di kiri */
    text-align: center;
}


/* Adjustments for the image */
.landing-cta .cta-image {
    max-width: 100%;
    /* Pastikan gambar responsif */
    height: auto;
    display: block;
    /* Menghilangkan ruang ekstra di bawah gambar */
    margin-left: auto;
    /* Untuk memposisikan gambar di kanan jika diatur col-lg-6 */
    margin-right: auto;
    /* Untuk memposisikan gambar di kanan jika diatur col-lg-6 */

}

/* Responsive adjustments for smaller screens */

@media (min-width: 992px) {

    /* Large devices (desktops) */
    .landing-cta .cta-text-box {
        max-width: 80%;
        /* Sesuaikan lebar di desktop */
        margin-left: 5%;
        /*margin-left: -20px;*/
        /* Dorong ke kiri */
        text-align: left;
        /* Teks rata kiri di desktop */

    }

}

/* 3D Model Container */
.model-3d-container {
    width: 100%;
    height: 700px;
    /* Adjust based on your needs */
    position: relative;
    z-index: 30;
    /* Lebih tinggi dari CTA */
    margin-top: -100px;
    /* Naikkan model ke atas */

}

.model-3d-container canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    position: relative;
    z-index: 1001;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .model-3d-container {
        height: 400px;
        margin-bottom: 60px;
        margin-top: 20px;
    }
}

@media (max-width: 767.98px) {
    .model-3d-container {
        height: 300px;
    }
}

/* Ensure the canvas fills its container */
.model-3d-container canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}


/* Perbaikan untuk menu mobile */
.landing-nav-menu {
    transition: all 0.3s ease;
}

@media (max-width: 991.98px) {
    .landing-nav-menu {
        background-color: #332858;
        padding: 1rem;
        border-radius: 0 0 10px 10px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .landing-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .landing-menu-overlay.d-lg-none.show {
        opacity: 1;
        pointer-events: auto;
    }
}

/* Memastikan dropdown tertutup saat mobile */
@media (max-width: 991.98px) {
    .mega-dropdown .dropdown-menu {
        background-color: transparent !important;
        padding-left: 0 !important;
        box-shadow: none !important;
        border: none !important;
    }

    .mega-dropdown-link {
        color: white !important;
        padding: 0.5rem 1rem !important;
        background-color: transparent !important;
    }

    .mega-dropdown-link:hover {
        color: #ff7043 !important;
        background-color: transparent !important;
    }

    /* Hilangkan padding tambahan */
    .mega-dropdown .dropdown-menu .nav-item {
        padding: 0 !important;
    }

    /* Hilangkan margin pada link */
    .mega-dropdown .dropdown-menu .nav-link {
        margin: 0 !important;
    }
}


/* Mobile menu styles */
@media (max-width: 991.98px) {
    #tenantDropdown {
        background-color: transparent !important;
        padding: 0 !important;
    }

    #tenantDropdown .nav-link {
        color: white !important;
        padding: 0.5rem 1rem !important;
    }

    #tenantDropdown .nav-link:hover {
        color: #ff7043 !important;
    }

    /* Hilangkan border dan shadow */
    #tenantDropdown.collapse:not(.show) {
        display: none;
    }
}

/* Desktop menu styles */
@media (min-width: 992px) {
    #tenantDropdown {
        position: absolute;
        width: 200px;
        background-color: white;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .navbar-scrolled #tenantDropdown {
        background-color: #332858 !important;
    }
}


/* Scan Barcode */

/* Scan Barcode Styles */
#scanner-container {
    position: relative;
}

#scanner-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(255, 112, 67, 0.8);
    border-radius: 8px;
    pointer-events: none;
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.7;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.7;
    }
}

.drawingBuffer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    #scanner-container {
        height: 250px;
    }
}