@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;1,100;1,200;1,300;1,400;1,500;1,600;1,900&display=swap');

body {
    font-family: "Poppins", sans-serif;
}




.btn-danger{
    background-color: blue;
    border-radius: 10px;
    border-color: rgb(67, 52, 232);
    padding: 10px 45px;
    color: white;
}

.btn-outline-danger{
    background-color: transparent;
    border-radius: 10px;
    border-color: blue;
    padding: 10px 45px;
    color: blue;
}

.btn-outline-danger2 {
    background-color: transparent;
    border-radius: 10px;
    border-color: blue;
    padding: 10px 45px;
    color: blue;
    transition: all 0.3s ease; /* Tambahkan ini agar perubahan warna halus */
}

.btn-outline-danger2:hover {
    background-color: #007bff; /* Warna biru */
    border-color: #007bff;     /* Border ikut jadi biru agar rapi */
    color: white;              /* Warna teks tetap putih */
}

.nav-item .nav-link {
    font-size: 18px;
    margin-left: 5px;
    margin-right: 5px;

}

.scroll-nav-active {
    background-color: white;
    border-bottom: 1px solid blue;
    box-shadow: 20px 11px 11px -1px rgba(1,1,1,0.08);
}

.text-nav-active {
    color: black;
}

#hero {
    background-image: url('../../assets/il/il-photo-001.PNG');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 550px; /* Tinggi minimal area hero */
    display: flex;
    align-items: flex-start; /* Teks bersandar ke atas */
    padding-top: 140px; /* Jarak dari Navbar ke teks (Atur ini untuk naik/turun) */
    color: white;
    position: relative;
}

/* Hilangkan padding-top di sini agar tidak double */
.hero-title {
    padding-top: 0; 
}

.hero-text {
    font-weight: 700;
    line-height: 1.2;
}

/* RESPONSIVE BREAKPOINTS */

/* Tampilan Mobile (HP) */
@media screen and (max-width: 767px) {
    #hero {
        min-height: 450px;
        padding-top: 110px; /* Lebih naik lagi di HP */
    }
    .hero-text {
        font-size: 28px; /* Ukuran teks lebih pas untuk HP */
    }
    #Program {
        margin-top: -60px !important; /* Card naik sedikit di HP */
    }
}

/* Tampilan Tablet & Kecil */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .hero-text {
        font-size: 40px;
    }
    #Program {
        margin-top: -80px !important;
    }
}

/* Tampilan Laptop/PC (Layar Besar) */
@media screen and (min-width: 992px) {
    #hero {
        padding-top: 160px; /* Jarak ideal di layar lebar */
    }
    .hero-text {
        font-size: 55px;
    }
    #Program {
        margin-top: -100px !important; /* Efek melayang card lebih terasa */
    }
}


.stripe {
    height: 5px;
    width: 200px;
    background-color: blue;
}

#join {
    background-color: rgb(0, 0, 0);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 900px;
}

#video {
    background-image: url("../../assets/il/il-photo-video.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 500px;
}

.section-foto {
    background-image: url('path/to/your/image.jpg'); /* Pastikan ada background-image jika pakai parallax */
    background-attachment: fixed;
    background-position: center; /* Diubah ke center agar lebih seimbang saat di-zoom cover */
    background-size: cover;
    
    /* Gunakan min-height agar tidak 'mati' di angka 1080px */
    min-height: 100vh; 
    width: 100%;
    
    /* Perbaikan kode warna (6 digit f) */
    color: #ffffff; 
    
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 0; /* Memberi napas pada konten di dalamnya */
}

.paralax {
    background-image: url("../il/il-photo-kegiatan.jpg");
}

.stripe-putih {
    height: 5px;
    width: 80px;
    background-color: white;
}

/* Mengatur transisi awal pada link navbar */
    .navbar-nav .nav-link {
        color: black !important; /* Warna default (abu-abu tua) */
        transition: all 0.3s ease-in-out; /* Efek fade selama 0.3 detik */
        position: relative;
        font-weight: 500;
    }

    /* Efek saat kursor menyentuh (Hover) */
    .navbar-nav .nav-link:hover {
        color: blue !important; /* Berubah jadi merah (sesuai tema Annibras) */
        opacity: 0.8; /* Efek fade transparan sedikit */
    }



    .navbar-nav .nav-link:hover::after {
        width: 100%;
    }

    @media (max-width: 768px) {
        #hero {
            padding-top: 120px !important; /* Agar teks tidak tertutup navbar mobile */
            padding-bottom: 100px !important; /* Memberi ruang untuk card yang naik */
        }
        
        #Program {
            margin-top: -60px !important; /* Kurangi margin negatif di HP agar tidak terlalu 'balapan' ke atas */
        }

        .hero-text {
            font-size: 1.8rem !important; /* Kecilkan sedikit font judul di HP agar tidak boros tempat */
        }
    }

    @media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; /* Menghilangkan gap agar tidak tertutup saat kursor pindah */
        background-color: white;
    }
    }
    .nav-link:focus, .dropdown-item:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Opsional: Memberi jarak jika panah ingin dipertahankan */
.dropdown-toggle::after {
    margin-left: 0.5em; 
    vertical-align: 0.255em;
}

/* Menghilangkan tanda panah (caret) di menu dropdown */
.dropdown-toggle::after {
    display: none !important;
}

/* Memastikan tidak ada border atau outline saat menu diklik */
.nav-link.dropdown-toggle {
    border: none !important;
    outline: none !important;
}