html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", sans-serif;
    color: white;
}

#snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none; /* biar tidak mengganggu klik/touch */
    overflow: hidden; /* penting supaya animasi tidak bikin page tambah tinggi */
    z-index: 9999; /* tampil di atas semua konten */
}

.snowflake {
    position: absolute;
    top: -10px;
    user-select: none;
    pointer-events: none;
    animation: fall linear infinite;
    /* opsional, bisa kasih opacity atau warna jika ingin */
}

@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(calc(100vh)) rotate(360deg);
        opacity: 0.5;
    }
}
@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1400px;
    }
}

/* Navbar floating transparan */
.navbar {
    background-color: transparent;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-family: "inter", sans-serif;
    transition: background-color 0.3s ease;
}

.navbar .nav-link,
.navbar .navbar-brand {
    color: white !important;
}

.navbar .nav-link.active {
    color: #ffdd23 !important;
}

.navbar .btn-outline-light,
.navbar .btn-warning {
    margin-left: 10px;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #000;
        /* atau #003344 sesuai nuansa hero kamu */
        padding: 1rem;
        border-radius: 0 0 10px 10px;
    }

    .navbar-collapse .nav-link,
    .navbar-collapse .btn-register {
        color: #fff !important;
    }

    .navbar-collapse .btn-outline-light {
        border-color: #fff;
    }
}

/* Hero section dengan gradasi */
.hero-section {
    background: linear-gradient(
        297.45deg,
        #ffdd23 -7.88%,
        #13a2c0 26.62%,
        #0c3139 87.19%
    );
    /* padding: 150px 0px 80px; */
    /* cukup padding atas agar tidak ketiban navbar */
    /* min-height: 100vh; */
    text-align: left;
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 60px;
    font-weight: bold;
    line-height: 1.3;
}

.hero-section p {
    width: 440px;
    font-size: 20px;
    color: #d2d2d2;
    font-family: "inter", sans-serif;
}

.hero-empty-section {
    background: linear-gradient(
        297.45deg,
        #ffdd23 -7.88%,
        #13a2c0 26.62%,
        #0c3139 87.19%
    );
    padding: 150px 0px 80px;
    /* cukup padding atas agar tidak ketiban navbar */
    min-height: 100vh;
    text-align: left;
    position: relative;
    z-index: 1;
}

.aboutus-title-wrapper{
    color: #22464d;
}

.hero-empty-section h1 {
    font-size: 60px;
    font-weight: bold;
    line-height: 1.3;
}

.hero-empty-section p {
    width: 440px;
    font-size: 20px;
    color: #d2d2d2;
    font-family: "inter", sans-serif;
}

.highlight-yellow {
    color: #ffdd23;
}

.highlight-orange {
    color: #ffcc00;
}

.btn-join {
    padding: 10px;
    width: 196px;
    height: 46px;
    text-align: center;
    color: white;
    border-radius: 6px;
    background: #ffdd23;
    font-family: "inter", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
}

.btn-register {
    padding: 10px;
    width: 128px;
    height: 46px;
    text-align: center;
    color: white;
    border-radius: 6px;
    background: #ffdd23;
    font-family: "inter", sans-serif;
    font-size: 16px;
    line-height: 140%;
}

.nav-item {
    padding-right: 20px;
}

.btn-login {
    padding: 10px;
    width: 128px;
    height: 46px;
    text-align: center;
    color: #ffdd23;
    border-radius: 6px;
    border: 1px solid #ffdd23;
    font-family: "inter", sans-serif;
    font-size: 16px;
    line-height: 140%;
}

.rounded-top {
    border-top-left-radius: 2.25rem !important;
    border-top-right-radius: 2.25rem !important;
}

.feature {
    text-align: center;
    flex: 1 1 250px;
}

.feature img {
    width: 80%;
    border-radius: 10px;
}

.feature span {
    font-family: "inter", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 140%;
}

/* Bullet kuning di bawah */
.feature span::before {
    content: "• ";
    color: yellow;
}

.btn-info-lanjut {
    padding: 10px;
    width: 196px;
    height: 46px;
    text-align: center;
    color: white;
    border-radius: 6px;
    background: #176879;
    font-family: "inter", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
}

.faq-section {
    background: linear-gradient(
        297.45deg,
        #ffdd23 -7.88%,
        #13a2c0 26.62%,
        #0c3139 87.19%
    );
    padding: 150px 0px 80px;
    /* cukup padding atas agar tidak ketiban navbar */
    min-height: 70vh;
    text-align: left;
    position: relative;
    z-index: 1;
}

.faq-section h1 {
    font-size: 60px;
    font-weight: bold;
    line-height: 1.3;
}

.faq-section p {
    width: auto;
    font-size: 20px;
    color: #d2d2d2;
    font-family: "inter", sans-serif;
}

.faq-div {
    max-width: 700px;
    width: 100%;
}

h2.faq-title {
    text-align: center;
    color: #fff;
    font-weight: bold;
    margin-bottom: 30px;
}

.card-faq {
    border: none;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.card-header-faq {
    background-color: #ffffff;
    padding: 1rem 1.25rem;
    cursor: pointer;
}

.card-header-faq h5 {
    margin: 0;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
}

.card-body-faq {
    background-color: #ffffff;
    color: #333;
    padding: 1rem 1.25rem;
    width: 100%;
    /* Pastikan lebar mengikuti container induk */
    box-sizing: border-box;
    /* Supaya padding termasuk di dalam width */
    overflow-wrap: break-word;
    /* Pecah kata jika terlalu panjang */
    word-wrap: break-word;
    /* fallback */
    word-break: break-word;
    /* untuk browser lain */
    white-space: normal;
    /* supaya teks wrap ke baris berikutnya */
}

.circle-icon {
    background-color: #176879;
    color: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.circle-icon.rotate {
    transform: rotate(180deg);
}

.btn-faq {
    text-align: left;
    color: #000;
    font-weight: 600;
    padding: 0;
    background: none;
    border: none;
    outline: none;
    width: 100%;
}

button:focus {
    outline: none !important;
    box-shadow: none !important;
}

.card-carousel img {
    height: 350px;
    object-fit: cover;
    border-radius: 11px 11px 0px 0px;
}

.card-carousel .card-body {
    border-radius: 0px 0px 11px 11px;
}

.carousel-inner {
    padding-bottom: 20px;
}

.card-title-carousel {
    font-size: 1.1rem;
    font-weight: bold;
}

.carousel-indicators {
    bottom: -30px;
}

.carousel-indicators li {
    background-color: #0c3139;
}

.carousel-indicators-hero {
    bottom: 30px;
}

.carousel-indicators-hero li {
    background-color: #0c3139;
}

.bg-carousel {
    background-color: #176879;
}

.carousel-item {
    transition: transform 0.8s ease, opacity 0.8s ease;
}

@media (max-width: 768px) {


    .card-carousel img {
        height: 250px;
    }

    .carousel-inner {
        padding-bottom: 40px;
    }

    .slider-title h1,
    .slider-title h2,
    .slider-title h3,
    .slider-title h4,
    .slider-title h5,
    .slider-title h6,
    .slider-title span,
    .slider-title div{
        font-size: 14px !important;
        line-height: 1.2 !important;
        width: 250px !important;
        word-break: break-word !important;
    }

    .slider-title p{
        font-size: 8px !important;
        width: 250px !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
    }

    .slider-subtitle {
        font-size: 8px !important;
        width: 250px !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
    }

    .slider-caption-wrapper {
        padding: 0 10px;
        text-align: left;
        align-items: flex-start !important;
    }

    .button-hero-section {
        margin-top: 2px !important;
    }

    .btn-join {
        font-size: 7px !important;
        padding: 3px 8px;
        height: auto;
        width: auto;
        max-width: 100% !important;
    }

     .navbar {
        position: relative !important; /* Bukan fixed */
        background-color: #ffffff !important; /* Warna putih */
        z-index: 1 !important; /* Di bawah hero yang mungkin pakai z-index lebih tinggi */
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .navbar .nav-link,
    .navbar .navbar-brand {
        color: #000 !important; /* Teks gelap agar kontras dengan background putih */
    }

    .navbar-collapse {
        background-color: #ffffff !important;
    }


    .btn-login {
        color: #ffdd23 !important;
    }


    .nav-item {
        padding-right: 0px;
    }

     /* Pastikan FAQ section responsif */
    .faq-section {
        padding: 80px 15px;
    }

    .faq-div {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .card-faq {
        width: 100%;
        margin: 0 auto 15px;
        border-radius: 10px;
        overflow: hidden;
        display: block !important;
    }

    /* Inilah bagian utama agar teks tidak keluar */
    .card-body-faq,
    .card-body-faq * {
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Opsional: kecilkan ukuran font untuk mobile agar nyaman dibaca */
    .card-body-faq {
        font-size: 14px;
        line-height: 1.6;
        overflow-x: hidden; /* cegah scroll ke samping */
    }
}

.hero-caption{
    top: 15%;
    left: 0;
    right: 0;
}


.footer {
    background-color: #0c3c42;
    color: white;
    padding: 40px 40px 0px;
}

.footer a {
    color: white;
}

.social-icon {
    width: 35px;
    height: 35px;
    background-color: #0fa7ad;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    color: white;
}

.input-group-text {
    background-color: white;
}

.google-btn {
    background-color: #ffffff;
    color: #444;
    border: 1px solid #ddd;
    transition: background-color 0.3s ease;
}

.google-btn:hover {
    background-color: #f1f1f1;
}

.google-logo {
    width: 20px;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    /* Transparan putih */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Pastikan overlay di depan elemen lain */
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg) /* rtl:ignore */;
    }
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: -0.125em;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: 0.75s linear infinite spinner-border;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

@keyframes spinner-grow {
    0% {
        transform: scale(0);
    }

    50% {
        opacity: 1;
        transform: none;
    }
}

.spinner-grow {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: -0.125em;
    background-color: currentColor;
    border-radius: 50%;
    opacity: 0;
    animation: 0.75s linear infinite spinner-grow;
}

.spinner-grow-sm {
    width: 1rem;
    height: 1rem;
}

@media (prefers-reduced-motion: reduce) {
    .spinner-border,
    .spinner-grow {
        animation-duration: 1.5s;
    }
}

.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.slider-caption-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
}

.text-left {
    align-items: flex-start;
    text-align: left;
}

.text-center {
    align-items: center;
    text-align: center;
}

.text-right {
    align-items: flex-end;
    text-align: right;
}

.slider-title,
.slider-subtitle {
    display: block;
    font-weight: bold;
    line-height: 1.2;
}

.button-hero-section {
    margin-top: 20px;
}

.aboutus-title {
    color: #22464d;
    font-family: "inter", sans-serif;
    font-weight: 700;
    font-size: 48px;
}

/* ✅ Responsive text size for mobile */


@media (max-width: 576px) {
    img.logo-responsive {
        max-height: 35px;
        /* lebih kecil untuk layar kecil */
    }

    .rounded-top {
        border-top-left-radius: 0.5rem !important;
        border-top-right-radius: 0.5rem !important;
    }

    .aboutus-title {
        font-size: 27px;
        /* lebih kecil untuk layar kecil */
    }
}

@media (min-width: 577px) {
    img.logo-responsive {
        max-height: 55px;
    }
}

@keyframes slide-in-left {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-right {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-top {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slide-in-bottom {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-in-left,
.slide-in-right,
.slide-in-top,
.slide-in-bottom {
    animation-duration: 0.8s;
    animation-fill-mode: both;
    opacity: 0;
}

.slide-in-left {
    animation-name: slide-in-left;
}

.slide-in-right {
    animation-name: slide-in-right;
}

.slide-in-top {
    animation-name: slide-in-top;
}

.slide-in-bottom {
    animation-name: slide-in-bottom;
}



.album-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 25px;
            padding: 0 20px;
        }
        .album-item {
            position: relative;
            cursor: pointer;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .album-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        }
        .album-item img {
            display: block;
            width: 300px;
            height: 200px;
            object-fit: cover;
        }
        .album-item .overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            color: white;
            padding: 30px 15px 15px 15px;
            text-align: left;
        }
        .album-item .overlay h3 {
            margin: 0 0 5px 0;
        }
        .album-item .overlay p {
            margin: 0;
            font-size: 0.9em;
            opacity: 0.9;
        }
