.fontmoserat, p, a, .btn {
    font-family: 'Montserrat', serif !important;
    letter-spacing: .2px !important;
}

body {
    font-family: "DM Serif Text", serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    letter-spacing: 1.2px
}

.bg-custom-footer {
    background-image: url('{{ asset("files/images/website/bgfooter.svg") }}') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0 !important;
    padding: 0 !important;
}

.text-justify {
    text-align: justify;
}

.card i.fs-5 {
    color: #b3b3b3 !important;
    font-size: 18px !important;
}

.dropdown-item:focus, 
.dropdown-item.active {
    background-color: transparent !important; /* Menghapus warna latar belakang biru */
    color: inherit !important;               /* Mempertahankan warna teks default */
}

.bg-custom {
    background-color: #008a73;
    color: #FFF !important;
}

.bg-custom:hover, .bg-custom:focus, .bg-custom:active {
    background-color: #008a73;
    color: #FFF !important;
}

a.bg-custom-jadwal {
    background-color: #008a73 !important;
    color: #FFF !important;   
    border-color: #008a73 !important; /* Warna border focus */ 
}

.nav-item a.bg-custom-jadwal:hover {
    background-color: #008a73 !important;
    
    color: #FFF !important;    
}

.border-custom-outline {
    border: 2px solid #008a73 !important;
}

span.textfoot {
    font-size: 12px !important;
}

.image-card {
    border-radius: 12px;
    width: 100px;
    height: 100px;
    object-fit: contain;
}   

.image-card-event {
    width: 30px;
    height: 30px;
}

.border-dashed-top {
    border-top: 2px dashed #e2e2e2; /* Warna dan gaya border */
}

.ribbon {
    top: 0;
    right: 0;
    padding: 5px 30px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    border-top-right-radius: 12px;
    border-bottom-left-radius: 12px;
    z-index: 10;
}


a {
    text-decoration: none !important;
    color: #000 !important;
}

.dropdown-toggle::after {
    display: none; /* Hide the default arrow */
}

.btn-custom-primary {
    background-color: #00977e;
    color: #FFF !important;
    padding: 10px 18px;
}

.btn-custom-primary:hover {
    background-color: #03b698;
    color: #FFF !important;
}

.btn-custom-primary-sm {
    background-color: #00977e;
    color: #FFF !important;
    padding: 2px 12px;
}

.btn-custom-primary-sm:hover {
    background-color: #03b698;
    color: #FFF !important;
}

input.form-control {
    padding: 10px 14px;
}

input:focus {
    border-color: #03b698 !important; /* Warna border focus */
    box-shadow: none !important; /* Shadow fokus */
    outline: #03b698 solid 1px !important; /* Menghapus outline default */
}

select.form-control {
    padding: 10px 14px;
}

select:focus {
    border-color: #03b698 !important; /* Warna border focus */
    box-shadow: none !important; /* Shadow fokus */
    outline: #03b698 solid 1px !important; /* Menghapus outline default */
}

.navbar  {
    z-index: 9999;
}

/* Active Link Styling */
.navbar .nav-link.active {
    color: #008a73 !important; /* Warna biru Bootstrap */
}

/* Dropdown Active Styling */
.navbar .dropdown-menu .dropdown-item.active {
    background-color: #f8f9fa; /* Warna latar belakang abu-abu terang */
    color: #008a73 !important; /* Warna biru untuk item aktif */
}

/* Navbar Sticky Shadow */
.navbar.fixed-top {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Efek bayangan halus */
}

/* Responsive Navbar Toggler */
.navbar-toggler {
    border: none; /* Hilangkan border tombol */
    outline: none; /* Hilangkan outline saat fokus */
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%280,123,255,1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    /* Warna ikon burger */
}

/* Hover Effects */
.navbar .nav-link:hover,
.navbar .dropdown-menu .dropdown-item:hover {
    color: #008a73 !important; /* Warna biru lebih gelap saat hover */
}

.navbar .dropdown-menu {
    color: #333 !important; /* Warna biru lebih gelap saat hover */
    background-color: #FFF !important;
    padding: 10px !important;
    border-radius: 12px !important;
    border: 1px solid #00836d !important;
}

.navbar .dropdown-menu .dropdown-item {
    color: #333 !important; /* Warna biru lebih gelap saat hover */
    background-color: #FFF !important;
    padding: 20px !important;
}

.navbar .dropdown-menu .dropdown-item:hover {
    color: #333 !important; /* Warna biru lebih gelap saat hover */
    background-color: #008a7319 !important;
    padding: 20px !important;
    border-radius: 8px !important;
}

.hero-title {
    padding-top: 14px !important;
    height: 160px !important;
}

.card {
    font-family: 'Montserrat', serif !important;
    letter-spacing: .5px !important;
    border-radius: 12px !important;
    border: none !important;
    /* border: .3px solid #03b698 !important; Border default */
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2) !important;
    transition: box-shadow 0.3s ease, border 0.3s ease, transform 0.3s ease; /* Transisi untuk box-shadow, border, dan transform */
    box-sizing: border-box; /* Pastikan border dan padding tidak mempengaruhi ukuran */
}

.card:hover, .card:focus {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important; /* Shadow lebih besar saat hover */
    /* transform: scale(1.02); Sedikit membesarkan card agar tetap stabil tanpa pergeseran */
    outline: 2px solid #03b698 !important; /* Menghindari perubahan ukuran dengan outline transparent */
    transition-delay: 0.1s; /* Menambahkan delay 0.1 detik untuk efek hover */
}

.card-img-top {
    border-radius: 12px 12px 0 0 !important;
}



/* Wrapper for scrollable tabs */
.custom-tab-wrapper {
    overflow-x: auto; /* Enable horizontal scrolling */
    white-space: nowrap; /* Prevent tabs from wrapping */
    display: flex; /* Ensure tabs are aligned horizontally */
    border-bottom: none !important; /* Optional: Bootstrap-like border */
}

.custom-tab-wrapper::-webkit-scrollbar {
    height: 0px !important; /* Adjust scrollbar height */
}

.custom-tab-wrapper::-webkit-scrollbar-thumb {
    background-color: transparent !important;
}

.custom-tab-wrapper::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

/* Style for individual tabs */
.custom-tab-wrapper .nav-link {
    display: inline-block;
    padding: 10px 15px;
    text-align: center;
    border: 0px solid transparent !important;
    border-radius: 0;
    margin-right: 5px;
}

.custom-tab-wrapper .nav-link.active {
    background-color: none !important;
    color: #000;
    font-weight: bold;
}

/* Optional: Smooth scroll for touch devices */
.custom-tab-wrapper {
    -webkit-overflow-scrolling: touch;
}



/* Membesarkan ikon panah di pagination */
.pagination .page-link {
    font-size: 14px; /* Ukuran font untuk teks pagination */
    border-color: #00977e !important; /* Warna border focus */
    box-shadow: none !important; /* Shadow fokus */
    outline: none !important; /* Menghapus outline default */
    color: #000 !important;
    margin: 4px !important;
    border-radius: 6px !important;
}

/* Mengubah warna tombol aktif pagination */
.pagination .page-item.active .page-link {
    background-color: #00977e; /* Warna latar belakang tombol aktif */
    border-color: #00977e; /* Warna border tombol aktif */
    color: white !important; /* Warna teks tombol aktif */
}

.pagination .page-item.active .page-link:hover {
    background-color: #00977e; /* Warna latar belakang saat hover pada tombol aktif */
    border-color: #00977e; /* Warna border saat hover pada tombol aktif */
}

.pagination .page-link svg {
    font-size: 24px; /* Membesarkan ikon arrow (panah) */
}





/* Default Logo Styling */
.logo-wrapper {
    top: -50px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.logo-wrapper img {
    width: 100px;
    height: 100px;
    border: 5px solid white;
    background-color: #f8f9fa;
    border-radius: 20px;
}

/* Tab Links */
.custom-tab-wrapper .nav-link {
    color: #333;
    text-decoration: none;
    padding: 5px 18px;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
}

.custom-tab-wrapper .nav-link.active {
    background-color: #00977e;
    color: #fff !important;
}

.custom-tab-wrapper .nav-link:hover {
    background-color: #00836d;
    color: #fff !important;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .logo-wrapper {
        position: relative; /* Ubah posisi relatif */
        top: 0; /* Reset nilai top */
        transform: none; /* Hapus transformasi */
        margin: 25px auto; /* Tambahkan margin untuk jarak */
        text-align: center; /* Pastikan logo tetap di tengah */
    }

    .d-flex.flex-column {
        flex-direction: column !important;
        align-items: flex-start;
    }
    .d-flex.flex-column .btn {
        margin-bottom: 10px; /* Memberikan jarak antar tombol di mobile */
    }
}



.bg-custom-footer {
    background: url('https://molena.id/images/image-hero-title.png') !important; background-size: cover; background-repeat: no-repeat; background-position: center;
    z-index: 9;
}