body {
    padding: 0;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'NASA';
    src: url('/public/fonts/Nasalization.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

.nasa-font {
    font-family: 'NASA', sans-serif;
}

.navbar-top {
    /* display: flex; */
    height: 100%;
    background: linear-gradient(to left, #B50025 50%, #ffffff 50%);
    position: relative;
    overflow: visible;
    /* ubah dari hidden ke visible */
    z-index: 1030;
    /* naikkan z-index agar dropdown tetap tampil */
}

.navbar-top nav {
    z-index: 99;
}

.navbar-top::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100%;
    background: #fff;
    clip-path: path("M 0 0 Q 50 50 0 100 L 100 100 Q 50 50 100 0 Z");
    z-index: 1;
}

.navbar-top-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-bottom {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 0;
}

.lang-dropdown {
    position: relative;
    z-index: 100;
}

.lang-dropdown .dropdown-menu {
    min-width: auto;
}

.navbar-toggler {
    background-color: rgba(0, 0, 0, 0.05);
    border: 1px solid #ccc;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.nav-link {
    color: #333 !important;
}

.nav-link:hover {
    color: #B50025 !important;
}

.search-input {
    border-radius: 100px;
    transition: all 0.3s ease-in-out;
    border: none;
}

.search-input:focus {
    width: 260px;
    border-color: #888;
    box-shadow: 0 0 0 2px rgba(100, 100, 255, 0.2);
}

.navbar-top {
    position: sticky;
    top: 0;
}

.btn-red {
    background-color: #B50025;
    color: #fff;
    border-radius: 100px;
}

.btn-red:hover {
    background-color: #600013;
}

section#hero {
    height: 100vh;
    background: url('/public/images/hero2.jpg') center center / cover no-repeat;
    position: relative;
}

section#tentang {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: #fdf6e3 url('https://www.transparenttextures.com/patterns/nami.png') repeat;
    background-attachment: fixed;
    background-position: center;
    background-repeat: repeat;
    background-size: auto;
}

.sakura-left,
.sakura-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    z-index: 1;
}

.sakura-left {
    left: 0;
}

.sakura-right {
    right: 0;
}

.cloud {
    position: absolute;
    width: 100px;
    animation: float 6s ease-in-out infinite;
}

.cloud1 {
    top: 50px;
    left: 10%;
    animation-delay: 0s;
}

.cloud2 {
    bottom: 50px;
    right: 10%;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.container-content {
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.founder-photo {
    max-width: 250px;
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.particle-sakura {
    position: absolute;
    width: 20px;
    animation: fall 10s linear infinite;
    opacity: 0.8;
}

.particle-sakura:nth-child(even) {
    animation-delay: 3s;
}

@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0);
    }

    100% {
        transform: translateY(100vh) rotate(360deg);
    }
}

section#program {
    position: relative;
    padding: 100px 0 120px;
    background: linear-gradient(to bottom, #fefefe 0%, #fdf6e3 100%);
    overflow: hidden;
}

.section-shape-top,
.section-shape-bottom {
    position: absolute;
    width: 100%;
    height: 60px;
    background-repeat: repeat-x;
    background-size: 100px 100%;
    z-index: 1;
}

.section-shape-top {
    top: 0;
    left: 0;
    background-image: linear-gradient(135deg, transparent 25%, #ffffff 25%, #fdf6e3 50%, transparent 50%, transparent 75%, #fdf6e3 75%, #fdf6e3);
}

.section-shape-bottom {
    bottom: 0;
    left: 0;
    background-image: linear-gradient(135deg, #fdf6e3 25%, transparent 25%, transparent 50%, #fdf6e3 50%, #fdf6e3 75%, transparent 75%, transparent);
}

.program-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
}

.program-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.program-card:hover .program-icon {
    transform: rotate(-8deg) scale(1.1);
}

.program-text {
    font-size: 0.95rem;
}

.program-stats {
    margin-top: 80px;
}

.stat-item {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 30px 20px;
    transition: all 0.3s ease-in-out;
    text-align: center;
    height: 100%;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    font-size: 2.5rem;
    color: #B50025;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.stat-label {
    color: #666;
    font-size: 0.95rem;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}

section#galeri {
    position: relative;
    padding: 100px 0;
    background: #fffef8 url('https://www.transparenttextures.com/patterns/paper-fibers.png') repeat;
    overflow: hidden;
}

.gallery-bg-cloud,
.gallery-bg-sakura {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.gallery-bg-cloud {
    width: 120px;
    opacity: 0.2;
    animation: cloudFloat 25s linear infinite;
}

.gallery-bg-cloud.cloud1 {
    top: 50px;
    left: 5%;
    animation-delay: 0s;
}

.gallery-bg-cloud.cloud2 {
    top: 150px;
    right: 10%;
    animation-delay: 8s;
}

.gallery-bg-sakura {
    width: 24px;
    animation: sakuraFall 15s linear infinite;
    opacity: 0.6;
}

.gallery-bg-sakura:nth-child(odd) {
    animation-duration: 20s;
}

.gallery-bg-sakura:nth-child(even) {
    animation-duration: 12s;
}

.gallery-grid {
    column-count: 3;
    column-gap: 1rem;
    position: relative;
    z-index: 2;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    break-inside: avoid;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

section#faq {
    padding: 100px 0;
    background: #fffef8 url('https://www.transparenttextures.com/patterns/paper-fibers.png') repeat;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

.faq-item:hover {
    transform: translateY(-3px);
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    cursor: pointer;
}

.faq-header h6 {
    margin: 0;
    font-weight: 600;
}

.sakura-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.4s ease;
}

.faq-collapse.show~.faq-header .sakura-icon,
.faq-header[aria-expanded="true"] .sakura-icon {
    transform: rotate(180deg) scale(1.2);
}

.faq-body {
    padding: 0 1.25rem 1rem 1.25rem;
    display: none;
}

.faq-collapse.show .faq-body {
    display: block;
    animation: expand 0.3s ease;
}

section#kontak {
    position: relative;
    background: #fdf6e3 url('element-contact-texture.png') repeat;
    padding: 100px 0;
    overflow: hidden;
}

.contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    animation: fadeUp 1s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.contact-card:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.contact-info h5 {
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-info p {
    margin-bottom: 0;
}

iframe {
    border-radius: 20px;
    width: 100%;
    height: 300px;
    border: none;
}

.particle-sakura {
    position: absolute;
    width: 20px;
    animation: sakuraFall 15s linear infinite;
    opacity: 0.6;
    pointer-events: none;
}

.particle-sakura:nth-child(odd) {
    animation-duration: 18s;
}

.particle-sakura:nth-child(even) {
    animation-duration: 12s;
}

section#artikel {
    padding: 100px 0;
    background: #fffef8 url('element-article-texture.png') repeat;
}

.artikel-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
}

.artikel-card {
    flex: 0 0 300px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    scroll-snap-align: start;
    padding: 0;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.artikel-card:hover {
    transform: translateY(-4px);
}

.artikel-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.artikel-content {
    padding: 1.25rem;
}

.artikel-title {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.artikel-text {
    font-size: 0.95rem;
    color: #555;
}

.fab {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 2rem;
    right: 2rem;
    background-color: green;
    color: #ffffff !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
    z-index: 9999;
}

.fab:hover {
    transform: scale(1.1);
}


@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sakuraFall {
    0% {
        transform: translateY(-50px) rotate(0deg);
    }

    100% {
        transform: translateY(100vh) rotate(360deg);
    }
}

@keyframes cloudFloat {
    0% {
        transform: translateX(-10%);
    }

    100% {
        transform: translateX(110vw);
    }
}

@keyframes expand {
    from {
        opacity: 0;
        transform: scaleY(0.95);
    }

    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        column-count: 1;
    }

    .navbar-top nav {
        z-index: 1;
    }

    section#hero {
        height: 70vh;
    }

    section#tentang {
        clip-path: polygon(0 10vw, 50% 0, 100% 10vw, 100% 100%, 0 100%);
        padding-top: 30vh;
        margin-top: -3rem;
        background: #fdf6e3 url('https://www.transparenttextures.com/patterns/nami.png') repeat;
        background-attachment: fixed;
        background-position: center;
        background-size: auto;
        z-index: 10;
        position: relative;
    }

    .founder-photo {
        max-width: 150px;
        width: 100%;
        border-radius: 1rem;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }
}

@media (min-width: 992px) {
    .navbar-collapse {
        justify-content: center;
    }

    .navbar-nav {
        flex-direction: row;
        align-items: center;
    }

    .navbar-nav .nav-item {
        margin: 0 0.5rem;
        position: relative;
    }

    .navbar-nav .nav-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: -0.5rem;
        top: 50%;
        transform: translateY(-50%);
        height: 60%;
        width: 1px;
        background-color: #ccc;
    }
}