body{
    background-color: transparent;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100dvh;
    overflow: auto;
    position: absolute;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none;
}

.splash {
    color: white;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

:root {--footer-height: 30px;}

.desktop {
    display: none;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    width: 100vw;
    position: relative;
}

.desk-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: fixed;
    z-index: -999;
    top: 0;
    left: 0;
}

.desk-container{
    width: 100%;
    height: 100%;
    left: 0;
    top: -85px;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9;
}


.main-fullscreen {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

.background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.background-home {background-image: url(../img/survey-img/bg.png);}
.background-image {background-image: url(../img/survey-img/background-step.png);}
.background-gradient {background: linear-gradient(185deg,rgba(255, 255, 255, 1) 10%, rgba(222, 240, 255, 1) 100%);}

.pt-6{padding-top:6rem !important;}
.py-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}
.top-60{top:60% !important;}
.top-55{top:55% !important;}
.top-40{top:40% !important;}
.top-30{top:30% !important;}
.top-20{top:20% !important;}
.overflow-y{overflow-y:auto !important;}
.text-transfrom-none{text-transform: none !important;}
.display-contents{display:contents !important;}
.border-radius-10{border-radius: 10% !important;}
.border-radius-20{border-radius:20px !important;}
.border-thumb{border: 7px solid #fff !important;}
.w-100-vh{width:100vh !important;}
.form-style-5 .form-control {
    color: #252424;
    font-weight: 600;
}
.social-icons li a {line-height: 35px;}
#nickname-error{
    text-align: center;
    width: 100%;
}
.bg-grass {
    background-image: url(../img/survey-img/Group.png);
    background-size: cover;
    background-position: top !important;
    background-repeat: no-repeat !important;
    height: 40vh !important;
}

.title {
    font-size: clamp(3rem, 10vw, 4rem);
    font-weight: 900;
    background: #057430;
    background: linear-gradient(to right, #057430 50%, #033E19 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 50px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
    font-style: italic;
    letter-spacing: -2px;
    animation: titlePulse 2s ease-out;
}

@keyframes titlePulse {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* BTN HOME */
.buttons {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    animation: buttonsFade 1.2s ease-out 0.5s both;
}

@keyframes buttonsFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-home {
    padding: 10px 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    background: #ff7a3d;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 0 #e56330, 0 15px 20px rgba(255, 123, 61, 0.3);
    position: relative;
    top: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
}

.btn-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}
.btn-home:hover::before {
    left: 100%;
}
.btn-home:hover {
    top: -3px;
    box-shadow: 0 8px 0 #e56330, 0 18px 30px rgba(255, 123, 61, 0.4);
    background: #ff8f5a;
}
.btn-home:active {
    top: 5px;
    box-shadow: 0 5px 0 #e56330, 0 8px 15px rgba(255, 123, 61, 0.3);
}
.btn-play {
    font-size: 1.2rem;
    margin-left: 3px;
}


.img-vector-bottom{border-bottom-right-radius: 55px;}
.img-vector-top{border-top-left-radius: 55px;}

.modal-overflow{
    height: 350px;
    overflow-y: scroll;
}
.img-modal {
    position: absolute;
    bottom: -5px;
    right: 55px;
    width: 100px;
}

/* STEP-1 */
.btn-step{
    background: #ff7a3d;
    border: 0 !important;
    border-radius: 50px;
    color: white;
    padding: 10px 20px;
    width: fit-content;
}

.title-h2 {
    font-size: clamp(3rem, 10vw, 4rem);
    font-weight: 900;
    background: linear-gradient(to right, #057430 50%, #033E19 100%);
    -webkit-background-clip:text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
    animation: titlePulse 2s ease-out;
}

 /* MATA BLINK */
 .character-container {
    position: relative;
}

.eyes-container {
    position: absolute;
    top: 80px;
    left: 32.5%;
    width: 95px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.eye-wrapper {
    position: relative;
    width: 40px; /* Adjusted from 35px */
    height: 45px; /* Adjusted from 40px */
}

.eye {
    width: 35px;
    height: 40px;
    background: white;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
    transition: height 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.eye.blink {
    height: 3px;
}

/* Pupil */
.pupil {
    position: absolute;
    width: 20px;
    height: 22px;
    background: #1a1a1a;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

/* Eye shine */
.eye-shine {
    position: absolute;
    width: 8px;
    height: 10px;
    background: white;
    border-radius: 50%;
    top: 8px;
    left: 8px;
    pointer-events: none;
}

/* Cheeks */
.cheek {
    position: absolute;
    width: 35px;
    height: 25px;
    background: rgba(255, 105, 180, 0.3);
    border-radius: 50%;
    top: 80px;
}

.cheek.left {
    left: 20px;
}

.cheek.right {
    right: 20px;
}


/* STEP 2 */
.option {
    background: #f0f0f0;
    padding: 15px;
    border-radius: 50px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid transparent;
    overflow: hidden;
    line-height: 1.4;
    position: relative;
    text-transform: none !important;
    margin-bottom: 20px;
    width: 32.3%;
    margin-left: 5px;
    margin-right: 5px;
}

.option:nth-child(3n) {
    animation: slideInOption 0.8s ease-out;
    background-image: url(../img/survey-img/btn-merah.png);
    background-size: auto;
    background-position: center center;
    border: 5px solid #fff;
}

.option:nth-child(3n+1) {
    animation: slideInOption 1s ease-out;
    background-image: url(../img/survey-img/btn-hijau.png);
    background-size: auto;
    background-position: center center;
    border: 5px solid #fff;
}

.option:nth-child(3n+2) {
    animation: slideInOption 1.2s ease-out;
    background-image: url(../img/survey-img/btn-orange.png);
    background-size: auto;
    background-position: center center;
    border: 5px solid #fff;
}

.option::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    /* background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%); */
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.option:hover::before {opacity: 1;}
.option:hover {
    transform: translateY(5px) scale(1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}
.option.active {
    border-color: #ff7a3d;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255,107,53,0.3);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #ff7a3d;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    opacity: 0.7;
    transition: all 0.3s ease;
    z-index: 1000;
}
.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}


/* Cahaya Ke Atas */
.light-glow {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(255, 220, 0, 0.8) 0%, rgba(255, 220, 0, 0.8) 40%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s 
ease;
}
.lamp-on .light-glow {opacity: 1;}

/* Cahaya ke bawah */
.light-beam {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 100px 160px 100px;
    border-color: transparent transparent rgba(255, 220, 0, 0.3) transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.lamp-on .light-beam {opacity: 1;}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.blinking .light-glow,
.blinking .light-beam {
    animation: blink 3s infinite;
}

/* STEP 3 */
.car{
    background-image: url(../img/survey-img/step3/car.png);
    position: absolute;
    width: 50px;
    height: 32px;
    top: 37%;
    left: 300px;
    animation: car-drive-fade 15s linear infinite;
}

@keyframes car-drive-fade {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    5% {
        opacity: 1; /* Muncul setelah masuk layar */
    }
    70% {
        opacity: 1; /* Tetap terlihat sampai 70% perjalanan */
    }
    85% {
        transform: translateX(calc(58vw + 0px));
        opacity: 0; /* Menghilang sebelum ujung layar */
    }
    100% {
        transform: translateX(calc(58vw + 0px));
        opacity: 0;
    }
}

/* STEP 4 */
.thumb-info.thumb-info-bottom-info-dark .thumb-info-title {
    background-image: url(../img/survey-img/step4/vector-orange.png);
    background-color: transparent;
    background-repeat: no-repeat !important;
    background-size: cover;
    padding:45px;
    color:#fff !important;
    opacity:1 !important;
    transform:none !important;
}

.thumb-info.thumb-info-bottom-info-white .thumb-info-title {
    background-image: url(../img/survey-img/step4/vector-ijo.png);
    background-color: transparent;
    background-repeat: no-repeat !important;
    background-size: cover;
    padding:45px;
    color:#fff !important;
    opacity:1 !important;
    transform:none !important;
}
.thumb-info .thumb-info-wrapper > img{height: 315px !important;}
.thumb-info .thumb-info-wrapper{border-radius:20px !important;}
.overlay-gradient-top-content:before {opacity: 0.5 !important;}

.play-btn i,
.play-btn img {
    transform: translateY(50%);
    transition: all 0.2s ease;
    font-size:30px;
    color:#fff !important;
}

.play-btn i:hover,
.play-btn img:hover {
    transform: translateY(50%) scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-radius: 50px;
}

.modal-share{border-radius: 30px;}

.btn-close {
    width: 1.1em;
    height: 1.1em;
    padding: .25em .25em;
    color: #fff !important;
    border-radius: 50px;
    opacity: 1;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    background-color: #ff7a3d;
    border: 4px solid #fff;
    top: -50px;
    position: relative;
    right: -5px;
    font-size: 14.5px;
}

.btn-close-large{
    top: -20px;
    right: -15px;
}

.owl-carousel .owl-dots .owl-dot.active span{background-color: #ff7a3d;}

.bg-thumb{
    background-image: url(../img/survey-img/step4/Latar-1.png) !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: bottom center !important;
}

.thumb-info .thumb-info-wrapper:after{
    left: 0px;
    right: -5px;
}

/* FOOTER */
#footer{background:transparent;}
.bar-slider {
    background-image: url(../img/survey-img/sa-bar.svg);
    background-size: 100%;
    background-position: 100%;
    height: 8px;
    background-repeat: no-repeat;
}


/* Decorative Elements */
.decoration {
    position: absolute;
    pointer-events: none;
}

.line-grid {
    width: 577px;
    height: 917px;
    background-image: url(../img/survey-img/line.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.9;
    grid-column: 10 / 11;
    grid-row: 10 / 11;
    position: relative;
    z-index: 0;
    animation: cloudFloat 25s infinite ease-in-out;
    place-self: center;
    pointer-events: none;
}

.cloud {
    width: 159px;
    height: 159px;
    background-image: url(../img/survey-img/step1/cloud.png);
    opacity: 0.9;
    animation: cloudFloat 25s infinite ease-in-out;
}

.cloud-large {
    width: 138px;
    height: 268px;
    background-image: url(../img/survey-img/step1/cloud-large.png);
    opacity: 0.95;
    animation: cloudFloatLarge 30s infinite ease-in-out;
}

.cloud1 {
    top: 28%;
    left: 10px;
    animation: cloudFloat1 35s infinite ease-in-out;
    animation-delay: 0s;
}

.cloud2 {
    top: 25%;
    right: -15px;
    animation: cloudFloat2 40s infinite ease-in-out;
    animation-delay: 5s;
}

.cloud3 {
    top: 10%;
    left: -40px;
    animation: cloudFloat3 45s infinite ease-in-out;
    animation-delay: 10s;
}

/* ANIMATIONS */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInOption {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes checkmark {
    from {
        transform: scale(0) rotate(-180deg);
    }
    to {
        transform: scale(1) rotate(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(30px) translateY(-10px);
    }
    50% {
        transform: translateX(-20px) translateY(5px);
    }
    75% {
        transform: translateX(20px) translateY(-5px);
    }
}

@keyframes wave {
    from {
        background-position-x: 0;
    }
    to {
        background-position-x: 1440px;
    }
}

/* ANIMATION */
.icon-floating {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.icon-heartbeat {
    animation: heartbeat 1.5s ease-in-out infinite;
}
@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.1);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.1);
    }
    70% {
        transform: scale(1);
    }
}

.icon-breathing {
    animation: breathe 3s ease-in-out infinite;
}
@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.icon-dance {
    animation: dance 3s ease-in-out infinite;
}
@keyframes dance {
    0% {
        transform: rotate(-8deg) translateY(0);
    }
    25% {
        transform: rotate(0deg) translateY(-5px);
    }
    50% {
        transform: rotate(8deg) translateY(0);
    }
    75% {
        transform: rotate(0deg) translateY(-5px);
    }
    100% {
        transform: rotate(-8deg) translateY(0);
    }
}

.icon-slide {
    animation: slideSmall 2s ease-in-out infinite;
}
@keyframes slideSmall {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);  /* Geser kiri 10px */
    }
    50% {
        transform: translateX(0);
    }
    75% {
        transform: translateX(10px);   /* Geser kanan 10px */
    }
    100% {
        transform: translateX(0);
    }
}

.icon-slide-smooth {
    animation: slideSmoothSmall 3s ease-in-out infinite;
}
@keyframes slideSmoothSmall {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(15px);  /* Geser kanan 15px */
    }
}

.icon-slide-smooth-tiny {
    animation: slideTiny 1.5s ease-in-out infinite;
}
@keyframes slideTiny {
    0%, 100% {
        transform: translateX(-5px);  /* Start di kiri 5px */
    }
    50% {
        transform: translateX(5px);   /* Geser ke kanan 5px */
    }
}

.icon-pink {
    animation: bounce 3s ease-in-out infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(-2deg); }
    75% { transform: translateY(-10px) rotate(2deg); }
}

.tree{
    animation: sway-left 3s ease-in-out infinite 1s;
}
@keyframes sway-left {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-2deg);
    }
    75% {
        transform: rotate(2deg);
    }
}

@keyframes sway-right {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(2deg);
    }
    75% {
        transform: rotate(-2deg);
    }
}

/* SLIDER OTHER*/
.container-scroll {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    cursor: grab;
}

.container-scroll:active {
    cursor: grabbing;
}

.scroll-wrapper {
    display: grid;
    grid-template-columns: repeat(20, 320px);
    grid-auto-rows: 270px;
    gap: 20px;
    padding: 40px;
    width: fit-content;
    min-width: 100%;
}

.card-scroll {
    border-radius: 12px;
    padding: 30px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card-scroll:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-scroll.orange {
    background: url(../img/survey-img/bg-creation.png) no-repeat center center;
    background-size: cover;
    background-color: #ff6b35;
}

.card-scroll.teal {
    background: url(../img/survey-img/bg-creation.png) no-repeat center center;
    background-size: cover;
    background-color: #6b9999;
}

.card-scroll.dark-green {
    background: url(../img/survey-img/bg-creation.png) no-repeat center center;
    background-size: cover;
    background-color: #1e4d2b;
}

.card-title {
    font-size: 24px;
    font-weight: semibold;
    margin-bottom: 15px;
    line-height: 1.2;
}

.card-description{
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 0px;
}

.author {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom:5px;
}

.view-btn {
    background: rgba(0, 0, 0, 0.3);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 12px;
    transition: background 0.3s ease;
    width: 100%;
    text-align: center;
    letter-spacing:0.6px;
}

.view-btn:hover {
    background: rgba(255,255,255,0.3);
}

.center-badge {
    background: transparent;
    border-radius: 12px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    grid-column: 10 / 11;
    grid-row: 10 / 11;
    padding: 0px;
    position: relative;
    z-index: 2;
}


.center-badge p {
    text-align: center;
    margin-bottom: 15px;
    line-height:22px;
}

.center-badge .drag-hint {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    padding: 4px 20px;
    border-radius: 20px;
}

.back-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    background: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 1001;
    transition: transform 0.3s ease;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.arrow-scroll {display: inline-block;}

/* Smooth scrolling */
html {scroll-behavior: smooth;}

/* Custom scrollbar */
.container-scroll::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

.container-scroll::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

.container-scroll::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.container-scroll::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Firefox scrollbar */
.container-scroll {
    scrollbar-width: thin;
    scrollbar-color: #888 #e0e0e0;
}

/* Gradient overlay di atas dan bawah */
.container-scroll::before,
.container-scroll::after {
    content: '';
    position: fixed;
    left: 0;
    right: 0;
    height: 100px;
    pointer-events: none;
    z-index: 1000;
}

.container-scroll::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.container-scroll::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}
/* SLIDE OTHER*/

/* SOCIAL ICON SHARE POP UP STEP 4*/
.social-icons-popup {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    animation: bounceIn 0.6s ease-out backwards;
}

.social-item:nth-child(1) { animation-delay: 0.5s; }
.social-item:nth-child(2) { animation-delay: 0.6s; }
.social-item:nth-child(3) { animation-delay: 0.7s; }
.social-item:nth-child(4) { animation-delay: 0.8s; }
.social-item:nth-child(5) { animation-delay: 0.9s; }

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(100px);
    }
    50% {
        transform: scale(1.05) translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.icon-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.icon-wrapper:hover::before {
    width: 50px;
    height: 50px;
}

.icon-wrapper:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.icon-wrapper.pulse {
    animation: pulse 0.6s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.icon-wrapper svg {
    width: 25px;
    height: 25px;
    fill: white;
    z-index: 1;
    position: relative;
    transition: transform 0.3s ease;
}

.icon-wrapper:hover svg {
    transform: rotate(360deg) scale(1.1);
}

/* WhatsApp */
.whatsapp {background: linear-gradient(135deg, #25D366, #128C7E);}
/* Telegram */
.telegram {background: linear-gradient(135deg, #2AABEE, #0088cc);}
/* X (Twitter) */
.x-twitter {background: linear-gradient(135deg, #000000, #333333);}
/* Facebook */
.facebook {background: linear-gradient(135deg, #1877F2, #0e5bb8);}
/* Instagram */
.instagram {background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF, #515BD4);}

.label {
    font-size: 13px;
    color: #555;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.social-item:hover .label {
    opacity: 1;
    transform: translateY(0);
}

/* Floating animation for icons */
.floating {animation: floating 3s ease-in-out infinite;}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
/* SOCIAL ICON SHARE POP UP STEP 4*/

/* LOADING PAGE RESULT ANIMATION */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/survey-img/step1/background.png) !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-container.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Main loader wrapper */
.loader-wrapper {
    position: relative;
    width: 300px;
    height: 140px;
}

/* Central card */
.central-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 230px;
    height: 120px;
    padding: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Rotating characters */
.character {
    position: absolute;
    width: 90px !important;
    height: 90px !important;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: rotate 6s linear infinite;
}
@keyframes rotate {
    from {
        transform: rotate(0deg) translateX(175px) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(175px) rotate(-360deg);
    }
}

.character-1 {
    background: linear-gradient(140deg,rgba(255, 255, 255, 1) 0%, rgba(243, 127, 57, 1) 35%);
    border:3px solid white;
    animation-delay: 0s;
}
.character-1 img{
    width: 60px !important;
    height:auto !important;
}

.character-2 {
    background: linear-gradient(140deg,rgba(255, 255, 255, 1) 0%, rgba(243, 127, 57, 1) 35%);
    border:3px solid white;
    animation: rotate-offset-2 6s linear infinite;
    transform: rotate(60deg) translateX(175px) rotate(-60deg);
}
.character-2 img{
    width: 60px !important;
    height:auto !important;
}

.character-3 {
    background: linear-gradient(140deg,rgba(255, 255, 255, 1) 0%, rgba(243, 127, 57, 1) 35%);
    border:3px solid white;
    animation: rotate-offset-3 6s linear infinite;
    transform: rotate(120deg) translateX(175px) rotate(-120deg);
}
.character-3 img{
    width: 60px !important;
    height:auto !important;
}

.character-4 {
    background: linear-gradient(140deg,rgba(255, 255, 255, 1) 0%, rgba(243, 127, 57, 1) 35%);
    border:3px solid white;
    animation: rotate-offset-4 6s linear infinite;
    transform: rotate(180deg) translateX(175px) rotate(-180deg);
}
.character-4 img{
    width: 60px !important;
    height:auto !important;
}

.character-5 {
    background: linear-gradient(140deg,rgba(255, 255, 255, 1) 0%, rgba(243, 127, 57, 1) 35%);
    border:3px solid white;
    animation: rotate-offset-5 6s linear infinite;
    transform: rotate(300deg) translateX(175px) rotate(-300deg);
}
.character-5 img{
    width: 60px !important;
    height:auto !important;
}

.character-6 {
    background: linear-gradient(140deg,rgba(255, 255, 255, 1) 0%, rgba(243, 127, 57, 1) 35%);
    border:3px solid white;
    animation: rotate-offset-6 6s linear infinite;
    transform: rotate(240deg) translateX(175px) rotate(-240deg);
}
.character-6 img{
    width: 60px !important;
    height:auto !important;
}

@keyframes rotate-offset-5 {
    from {
        transform: rotate(300deg) translateX(175px) rotate(-300deg);
    }
    to {
        transform: rotate(660deg) translateX(175px) rotate(-660deg);
    }
}

@keyframes rotate-offset-2 {
    from {
        transform: rotate(60deg) translateX(175px) rotate(-60deg);
    }
    to {
        transform: rotate(420deg) translateX(175px) rotate(-420deg);
    }
}

@keyframes rotate-offset-3 {
    from {
        transform: rotate(120deg) translateX(175px) rotate(-120deg);
    }
    to {
        transform: rotate(480deg) translateX(175px) rotate(-480deg);
    }
}

@keyframes rotate-offset-4 {
    from {
        transform: rotate(180deg) translateX(175px) rotate(-180deg);
    }
    to {
        transform: rotate(540deg) translateX(175px) rotate(-540deg);
    }
}

@keyframes rotate-offset-6 {
    from {
        transform: rotate(240deg) translateX(175px) rotate(-240deg);
    }
    to {
        transform: rotate(600deg) translateX(175px) rotate(-600deg);
    }
}

/* Loading text */
.loading-text {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(to right, #057430 50%, #033E19 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

.loading-dots {
    display: inline-block;
    width: 20px;
    text-align: left;
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(4) infinite;
}

@keyframes dots {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
    100% { content: ''; }
}

/* Progress bar */
.progress-bar-container {
    width: 220px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #fff, #F37F39);
    border-radius: 3px;
    width: 0%;
    animation: loading 3s ease-in-out forwards;
}

@keyframes loading {
    0% { width: 0%; }
    25% { width: 30%; }
    50% { width: 60%; }
    75% { width: 85%; }
    100% { width: 100%; }
}

.main-content {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: 3.5s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .loader-wrapper {
        width: 300px;
        height: 150px;
    }
    .central-card {
        width: 200px;
        height: 135px;
    }
    .character {
        width: 45px;
        height: 45px;
        
    }
    @keyframes rotate {
        from {
            transform: rotate(0deg) translateX(150px) rotate(0deg);
        }
        to {
            transform: rotate(360deg) translateX(150px) rotate(-360deg);
        }
    }
    
    @keyframes rotate-offset-5 {
        from {
            transform: rotate(300deg) translateX(150px) rotate(-300deg);
        }
        to {
            transform: rotate(660deg) translateX(150px) rotate(-660deg);
        }
    }
    
    @keyframes rotate-offset-2 {
        from {
            transform: rotate(60deg) translateX(150px) rotate(-60deg);
        }
        to {
            transform: rotate(420deg) translateX(150px) rotate(-420deg);
        }
    }
    
    @keyframes rotate-offset-3 {
        from {
            transform: rotate(120deg) translateX(150px) rotate(-120deg);
        }
        to {
            transform: rotate(480deg) translateX(150px) rotate(-480deg);
        }
    }
    
    @keyframes rotate-offset-4 {
        from {
            transform: rotate(180deg) translateX(150px) rotate(-180deg);
        }
        to {
            transform: rotate(540deg) translateX(150px) rotate(-540deg);
        }
    }
    
    @keyframes rotate-offset-6 {
        from {
            transform: rotate(240deg) translateX(150px) rotate(-240deg);
        }
        to {
            transform: rotate(600deg) translateX(150px) rotate(-600deg);
        }
    }
    .progress-bar-container {
        width: 200px;
    }
    .main-content h1 {
        font-size: 36px;
    }
    .main-content p {
        font-size: 18px;
    }
}
/* LOADING PAGE RESULT ANIMATION */

/* CURSOR ANMIATION */
.popup-icon {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

.popup-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    20% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -100px) scale(1);
    }
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 768px) {
    .mt-1-m {margin-top: 1.5rem !important;}
    .mt-2-m {margin-top: 2.5rem !important;}
    .mt-3-m {margin-top: 3.5rem !important;}
    .mt-5-m {margin-top: 5.5rem !important;}
    .mt-6-m {margin-top: 6.5rem !important;}
    .mt-10-m {margin-top: 10.5rem !important;}
    .mb-1-m {margin-bottom: 1.5rem !important;}
    .mb-2-m {margin-bottom: 2.5rem !important;}
    .mb-5-m {margin-bottom: 5.5rem !important;}
    .p-1-m {padding:1rem !important;}
    .p-2-m {padding:2rem !important;}
    .pt-3-m {padding-top: 3rem !important;}
    .pt-7-m {padding-top: 7rem;}
    .pb-0-m {padding-bottom: 0 !important;}
    .pb-1-m {padding-bottom: 1rem !important;}
    .pb-2-m {padding-bottom: 2rem !important;}
    .pb-3-m {padding-bottom: 3rem !important;}
    .ps-0-m {padding-left: 0 !important;}
    .top-20-m{top:20% !important;}
    .text-center-m{text-align:center !important;}
    .border-radius-2{border-radius:25px !important;}
    .position-relative-m{position:relative !important;}
    .icon-home-m{width:25px;}
    .img-vector-top {
        border-top-left-radius: 5px;
        width: 170px;
    }
    .icon-hand{
        top: 15px;
        left: 20px;
    }

    .splash-mobile{
        overflow-x: hidden !important;
        background-attachment: scroll;
    }
    
    .background-layer {
        background-attachment: scroll; /* Fixed background bisa bermasalah di iOS */
        background-size: cover;
        background-position: center center;
    }
    html.photography-demo-2 #header.transparent-header {
        background-color: #fff;
        position: fixed;
    }
    #header .header-logo img {
        width: 185px;
        height: auto !important;
    }
    .title {
        font-size: clamp(2.5rem, 11vw, 4rem);
        line-height: 1.15;
    }
    .buttons {gap: 20px;}
    .title-h2 {
        line-height: 1.4;
        font-size: 2.5em !important;
    }
    /* MATA BLINK */
    .eyes-container {
        top: 40px;
        left: 30%;
        width: 62px;
    }
    .eye {
        width: 20px;
        height: 25px;
    }
    .pupil {
        width: 14px;
        height: 16px;
        top: 35%;
        left: 35%;
    }
    .eye-shine {
        width: 5px;
        height: 7px;
        top: 7px;
        left: 7px;
    }
    /* STEP 2 */
    .cloud1 {top: 6%;}
    .cloud2 {top: 13%;}
    .option {width: 83.33333333%;}
    .desk-container-two{top:-60px !important;}

    .light-glow {
        top: 7px;
        width: 20px;
        height: 15px;
    }
    .light-beam {
        top: 20px;
        border-width: 0 80px 165px 80px;
    }

    /* STEP 3 */
    .car{
        top: 56%;
        left: 50px;
    }
    /* STEP 4 */
    .thumb-info.thumb-info-bottom-info-white .thumb-info-title,
    .thumb-info.thumb-info-bottom-info-dark .thumb-info-title {
        padding:25px;
    }
    .play-btn i{font-size: 25px;}
    .bg-thumb{
        background-image: url(../img/survey-img/step4/latar-bg.png) !important;
        background-repeat: no-repeat !important;
        background-size: 100% !important;
        background-position: bottom center !important;
    }
    .thumb-info .thumb-info-wrapper > img {
        height: 200px !important;
    }
}

/* Extra Small Mobile (320px - 374px) - iPhone SE, small Android */
@media (max-width: 374px) {
    
}

/* Small Mobile (375px - 480px) - iPhone 12/13/14, most Android */
@media (min-width: 375px) and (max-width: 480px) {
    
}

/* Large Mobile / Phablet (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    
}

/* Tablet Portrait (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    
}

/* Landscape Mode untuk Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    
}

/* iPhone 12 Pro Max, 13 Pro Max, 14 Plus */
@media (min-width: 428px) and (max-width: 480px) and (min-height: 900px) {

}

/* Prevent zoom on scroll - PENTING */
@media (max-width: 991px) {
    
}

/* Fix untuk prevent horizontal scroll */
@media (max-width: 991px) {
    
}

/* Large desktop */
@media (min-width: 1920px) {
    .background-layer {
        background-size: cover;
    }

    .survey-container {
        max-width: 1400px;
    }
}

/* iOS specific fixes */
@supports (-webkit-touch-callout: none) {
    .background-layer {
        background-attachment: scroll;
    }
    .main-fullscreen {
        min-height: -webkit-fill-available;
    }
}