html {
    scroll-behavior: smooth;
}

#main-center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
}

#main-center svg {
    overflow: visible;
    width: 300px;
    height: 300px;
}

.scroll-inner {
    display: flex;
    height: 100%;
}

.scroll-inner-image {
    display: flex;
    height: 100%;
}

.bg-red {
    background: #ef4444;
}

.bg-blue {
    background: #3b82f6;
}

.bg-green {
    background: #22c55e;
}

.bg-purple {
    background: #9333ea;
}

.timeline {
    position: fixed;
    bottom: 76px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    overflow: hidden;
    z-index: 10;
}

.timeline-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(92deg, #996B55 2.09%, #E5AB8E 36.04%, #E5AB8E 64.18%, #996B55 99.1%);
    border-radius: 3px;
}

.fixed-button-wrapper {
    position: fixed;
    bottom: 40px;
    left: 40px;
    z-index: 50;
}

.run-button {
    position: relative;
    width: 96px;
    height: 96px;
    background-color: linear-gradient(92deg, #996B55 2.09%, #E5AB8E 36.04%, #E5AB8E 64.18%, #996B55 99.1%);
    border-radius: 9999px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 10px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition-property: transform;
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.run-button:hover {
    transform: scale(1.05);
}

/* Keyframe animations for the pulsating rings */
@keyframes ping-slow {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.animate-ping-slow {
    animation: ping-slow 3s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.bg {
    height: calc(100% + 38px + 38px);
    width: calc(100% - 200px);
    left: 100px;
    top: -38px;
    position: absolute;
}

.text-gradient {
    background: linear-gradient(92deg, #d4ae6f 2.09%, #d4ae6f 36.04%, #d4ae6f 64.18%, #d4ae6f 99.1%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

body {
    background-color: #1A341B;
}

.modal-point {
    position: absolute;
    width: 42px;
    height: 42px;
    border-radius: 1000px;
    background-color: #06162E;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11;
    cursor: pointer;

}

.modal-point .svg {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.pass {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(6, 22, 46, .2);
    animation-name: ping-fou;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.pass-half {
    animation-delay: 0.5s;
}

.pass-sen {
    animation-delay: 1s;
}

@keyframes ping-fou {

    0% {
        transform: scale(1);
        opacity: 0;
    }

    30% {
        transform: scale(1);
        opacity: 1;
    }

    60% {
        transform: scale(1.3);
        opacity: 1;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.modal {
    transition: opacity 0.3s ease;
}

.modal-content {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.bg-custom-indiago {
    background: linear-gradient(to top right, #1A341B 100%, #091E00 40%, #1A341B 0%);
}

.bg-custom {
    background: linear-gradient(92deg, #996B55 2.09%, #d4ae6f 36.04%, #d4ae6f 64.18%, #996B55 99.1%);

}

.backdrop {
    backdrop-filter: blur(20px);
}

.backdrop-4:hover {
    backdrop-filter: blur(12px);
}

.bg-container {
    width: 100%;
    height: 80vh;
    position: relative;
    overflow: hidden;
}

.bg-item {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fade-bg 15s linear infinite;
    filter: grayscale(40%);
}

.bg-1 {
    background-image: url('at-saigonriverside-1.jpg');
    animation-delay: 0s;
}

.bg-2 {
    background-image: url('at-saigonriverside-2.jpg');
    animation-delay: 5s;
}

.bg-3 {
    background-image: url('at-saigonriverside-3.jpg');
    animation-delay: 10s;
}

@keyframes fade-bg {
    0% {
        opacity: 0;
        scale: 1;
        /* Starts invisible */
    }

    10% {
        opacity: 1;
        scale: 1.05;
        /* Fades in smoothly */
    }

    33.33% {
        opacity: 1;
        scale: 1.2;
        /* Stays visible for a duration */
    }

    43.33% {
        opacity: 0;
        scale: 1.25;
        /* Fades out smoothly */
    }

    100% {
        opacity: 0;
        scale: 1.4;
        /* Stays invisible until the next cycle */
    }
}

.content-wrapper {
    /* display: flex; */
    gap: 40px;
}

.quote-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-left: 5px solid #996B55;
}

.dxmd .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dxmd .swiper-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.dxmd .swiper-prev-btn,
.dxmd .swiper-next-btn {
    background: none;
    border: 1px solid #fff;
    color: #fff;
    width: 80px;
    height: 80px;
    cursor: pointer;
}

.dxmd .swiper-pagination-bullet {
    background: #ccc;
    width: 10px;
    height: 10px;
}

@keyframes bg-zoom {
    0% {
        background-size: 100%;
    }

    100% {
        background-size: 120%;
        background-position: left;
    }
}


.map-container {
    position: relative;
    display: inline-block;
}

#myImage {
    display: block;
}

#highlightCanvas {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    pointer-events: none;
}

.modal-point {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-point.hovered .group {
    width: 10.5em !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.modal-point.hovered .group {
    width: 10.5em !important;
}

.modal-point.hovered .group .w-0 {
    width: 8.5em !important;
}

.modal-point.hovered .group .w-0 {
    padding-left: 0.2em !important;
}

.modal-point.hovered .group .point-icon {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.traingle {
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;

    border-left: 15px solid white;
}

.hover-image {
    width: 400px;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
    visibility: hidden;
    opacity: 0;
    z-index: 10;
    pointer-events: none;
    cursor: none;
}

.hover-image img {
    position: relative;
    left: 60%;
    width: 100%;
    height: auto;
    display: block;
}

.animation-scale-hue {
    animation: scaleIn 1s linear infinite alternate-reverse;
}

@keyframes scaleIn {
    0% {
        transform: scale(1);
        filter: blur(0.5px) brightness(80%);
    }

    60% {
        transform: scale(1.05);
        filter: blur(0) brightness(110%);
    }

    100% {
        transform: scale(1);
        filter: blur(0.5px) brightness(100%);
    }
}

.carousel-container {
    padding: 16px;
}

@media screen and (min-width: 960px) {
    .carousel-container {
        padding: 40px;
    }

    .animate-bg-zoom {
        animation: bg-zoom 10s ease-in-out infinite backwards;
    }

    .horizontal-scroll {
        height: 100vh;
        overflow: hidden;
    }

    .horizontal-image {
        height: 100vh;
        overflow: hidden;
    }

    .panel {
        flex: 0 0 100vw;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 3rem;
        color: #fff;
    }


    .panel-nal {
        flex: 0 0 100vw;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 3rem;
        color: #fff;
    }

}

.animated-image {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flower-icon-animation {
    animation: spin 6s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}