body {
    font-family: 'Montserrat', sans-serif;
}

.menu-active {
    background-color: #ebf5fa;
    color: #1a2185;
    font-weight: 600;
}

.sidebar-link {
    transition:
        background-color 0.2s,
        color 0.2s;
}

#mobile-nav-fade {
    transition: opacity 0.3s;
}

/* (Opsional) Untuk menyembunyikan scrollbar di browser Webkit (Chrome, Safari, Edge) */
.hide-scrollbar {
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
    scrollbar-width: none;
    /* Firefox */
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
    /* Safari and Chrome */
}

/* ========= HERO SECTION ========= */
.hero-training {
    background: linear-gradient(135deg, #032dce 0%, #0222a0 60%, #031d8a 100%);
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
}

/* Decorative shapes */
.hero-shape {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

/* Orange star burst shapes */
.hero-shape--star-1 {
    top: 60px;
    right: 80px;
    width: 70px;
    height: 70px;
}

.hero-shape--star-2 {
    bottom: 120px;
    right: 180px;
    width: 50px;
    height: 50px;
    animation: hero-float 4s ease-in-out infinite 1s;
}

.hero-shape--star-3 {
    top: 140px;
    left: 55%;
    width: 35px;
    height: 35px;
    animation: hero-float 5s ease-in-out infinite 0.5s;
}

/* Orange/white circle outlines */
.hero-shape--ring-1 {
    top: 30px;
    left: 60px;
    width: 90px;
    height: 90px;
    border: 3px solid rgba(254, 117, 2, 0.5);
    border-radius: 50%;
    animation: hero-float 6s ease-in-out infinite;
}

.hero-shape--ring-2 {
    bottom: 80px;
    left: 120px;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: hero-float 5s ease-in-out infinite 2s;
}

.hero-shape--ring-3 {
    top: 50%;
    right: 40px;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

/* Small filled circles */
.hero-shape--dot-1 {
    top: 100px;
    right: 250px;
    width: 12px;
    height: 12px;
    background: #fe7502;
    border-radius: 50%;
    animation: hero-float 3s ease-in-out infinite 0.3s;
}

.hero-shape--dot-2 {
    bottom: 140px;
    left: 200px;
    width: 8px;
    height: 8px;
    background: #fe7502;
    border-radius: 50%;
    opacity: 0.7;
    animation: hero-float 4s ease-in-out infinite 1.5s;
}

.hero-shape--dot-3 {
    top: 40px;
    left: 40%;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}

/* Rotated square accents */
.hero-shape--square-1 {
    bottom: 60px;
    right: 100px;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(254, 117, 2, 0.4);
    transform: rotate(45deg);
    animation: hero-float 5s ease-in-out infinite 0.8s;
}

.hero-shape--square-2 {
    top: 80px;
    left: 30%;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    transform: rotate(45deg);
}

/* Large orange glow */
.hero-shape--glow {
    top: -80px;
    right: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(254, 117, 2, 0.15) 0%,
        transparent 70%
    );
    border-radius: 50%;
}

/* Badge style for subtitle elements */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    padding: 8px 20px;
    border-radius: 999px;
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-badge i {
    color: #fe7502;
}

/* Banner image in hero */
.hero-banner-frame {
    position: relative;
    max-width: 300px;
    width: 100%;
    border-radius: 28px;
    transform: rotate(2deg);
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 3px rgba(254, 117, 2, 0.4);
}

.hero-banner-frame:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.35),
        0 0 0 3px rgba(254, 117, 2, 0.6);
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 28px;
    object-fit: cover;
}

/* Wave transition */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 2;
    line-height: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* Animation */
@keyframes hero-float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* Override for rotated squares */
.hero-shape--square-1 {
    animation: hero-float-rotate 5s ease-in-out infinite 0.8s;
}

@keyframes hero-float-rotate {
    0%,
    100% {
        transform: rotate(45deg) translateY(0px);
    }
    50% {
        transform: rotate(45deg) translateY(-12px);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-training {
        min-height: 400px;
    }

    .hero-shape--star-1 {
        width: 45px;
        height: 45px;
        right: 20px;
        top: 40px;
    }

    .hero-shape--ring-1 {
        width: 50px;
        height: 50px;
        left: 20px;
        top: 20px;
    }

    .hero-shape--ring-3 {
        display: none;
    }

    .hero-shape--glow {
        width: 200px;
        height: 200px;
    }

    .hero-wave svg {
        height: 50px;
    }

    .hero-banner-frame {
        max-width: 220px;
        transform: rotate(0deg);
    }
}

/* Custom Swiper Navigation Styles */
.myCarousel .swiper-button-next,
.myCarousel .swiper-button-prev {
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
}

/* Hide default Swiper icons */
.myCarousel .swiper-button-next::after,
.myCarousel .swiper-button-prev::after {
    display: none;
}

/* Pagination styling */
.myCarousel .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    opacity: 1;
    transition: all 0.3s ease;
}

.myCarousel .swiper-pagination-bullet-active {
    background: var(--color-primary, #4f46e5);
    width: 24px;
    border-radius: 5px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .myCarousel .swiper-button-next,
    .myCarousel .swiper-button-prev {
        opacity: 1 !important;
        width: 40px !important;
        height: 40px !important;
    }

    .myCarousel .swiper-button-prev {
        left: 8px !important;
    }

    .myCarousel .swiper-button-next {
        right: 8px !important;
    }
}
