/* ================= Global Styles ================= */
body {
    font-family: Arial, sans-serif;
    background-color: #FBFBFB;
    color: #333;
}

/* ================= Hero Section ================= */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.overlay {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.overlay p {
    color: rgb(255, 255, 255);
    font-size: 28px;
}

/* ================= Animations ================= */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ================= Animations Usage ================= */
.overlay h1, .overlay h6, .overlay p, .overlay a {
    opacity: 0;
    animation: fadeSlideUp 1s ease-in-out forwards;
}
.overlay h1 { animation-delay: 0.3s; }
.overlay h6 { animation-delay: 0.6s; }
.overlay p { animation-delay: 0.9s; }
.overlay a { animation-delay: 1.2s; }

.custom h2, .custom p, .custom .row,
.container-fluid h3, .container-fluid p, .container-fluid .row {
    opacity: 0;
    animation: fadeInUp 1s ease-in-out 0.5s forwards;
}

.member .col-lg-6:first-child {
    opacity: 0;
    animation: slideInLeft 1s ease-in-out 0.3s forwards;
}

.member .col-lg-6:last-child {
    opacity: 0;
    animation: slideInRight 1s ease-in-out 0.6s forwards;
}

/* ================= Swiper ================= */
.swiper {
    width: 100%;
    height: 150px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ================= Custom Section ================= */
.custom {
    background-color: #002147;
    color: #fff;
}

/* ================= Berita ================= */
.berita {
    padding: 3rem 0;
}

.card {
    transition: all 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* ================= Navbar ================= */
.navbar {
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ================= Contact ================= */
.contact-container {
    max-width: 900px;
    width: 100%;
    margin: 100px auto 0 auto;
}

.maps-container {
    max-width: 1000px;
    margin: auto;
}

/* ================= Responsive Styles ================= */
@media (max-width: 768px) {
    .overlay h1 { font-size: 2rem; }
    .overlay h6 { font-size: 1.5rem; }
    .overlay p { font-size: 1rem; padding: 0 10px; }
    .overlay a { font-size: 1rem; padding: 10px 20px; }
    .swiper { height: 120px; }
    .swiper-slide { width: 120px; }
    .berita { padding: 2rem 0; }
    .card { margin-bottom: 20px; }
    .card h5 { font-size: 1.2rem; }
    .card p { font-size: 1rem; }
    iframe { height: 200px !important; }
    .btn { width: 50%; }
}

@media (max-width: 576px) {
    .swiper { height: 100px; }
    .swiper-slide { width: 100px; }
    .swiper-slide img { max-width: 80px; }
}
