@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
}

/* Navbar */
.navbar {
    position: fixed; /* Agar navbar selalu di atas */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030; /* Agar berada di atas elemen lain */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Menambahkan shadow */
    background-color: #fff;
    height: 80px;
    margin: 0; /* Awalnya mentok atas, kanan, kiri */
    border-radius: 0;
    padding: 0.5rem;
    transition: all 0.3s ease-in-out;
}

.navbar-brand {
    font-weight: 500;
    color: black;
    font-size: 24px;
    transition: 0.3s color;
}

.navbar-toggler {
    border: none;
    font-size: 1.25rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.nav-link {
    color: #666777;
    font-weight: 500;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #000;
}

.navbar.scrolled {
    border: 2px solid #182dd0; /* Warna border saat di-scroll */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Tambahkan bayangan */
    background-color: #fff; /* Warna latar tetap */
    margin: 20px; /* Tambahkan margin saat scroll */
    border-radius: 16px; /* Berubah menjadi rounded saat scroll */
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.section-title::before {
    content: "_";
    position: absolute;
    left: 0;
    top: 0;
    color: #007bff;
    font-weight: bold;
    font-size: 1.5rem;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s;
}

.whatsapp-float:hover {
    background-color: #1ebe57;
}

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

.video-slider-container {
    position: relative;
    overflow: hidden;
    padding: 30px 0;
}

.video-slider-wrapper {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
    scroll-behavior: smooth;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.video-slider-wrapper::-webkit-scrollbar {
    display: none;
}

.video-slide {
    flex: 0 0 auto;
    width: 80%;
    max-width: 300px;
    scroll-snap-align: center;
    display: flex;
    justify-content: center;
}

.video-slide video {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover; /* Agar video terpotong dengan proporsional */
    border-radius: 10px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 24px;
    border: none;
    border-radius: 50%;
    padding: 10px 15px;
    cursor: pointer;
}

.slider-nav.left {
    left: 10px;
}

.slider-nav.right {
    right: 10px;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

@media (min-width: 768px) {
    .video-slide {
        width: 45%;
    }
}

@media (min-width: 992px) {
    .video-slide {
        width: 30%;
    }
}

.photo-slider-container {
    position: relative;
    overflow: hidden;
    margin-top: 30px;
}

.photo-slider-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.photo-slider-wrapper::-webkit-scrollbar {
    display: none;
}

.photo-slide {
    flex: 0 0 auto;
    width: 300px;
    margin-right: 20px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #007bff;
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 1;
}
.slider-nav.left {
    left: 0;
}
.slider-nav.right {
    right: 0;
}
