/* ==========================================================================
   NAVBAR & HEADER SECTION 
   ========================================================================== */

.bg-dark-green {
    background-color: #0B5E44 !important;
}

.link-panduan {
    text-decoration: none;
    display: inline-block; 
    transition: all 0.3s ease; 
    color: white !important;
}

.link-panduan:hover {
    color: #FFD700 !important;
    transform: scale(1.05);
}

.navbar-brand-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start; 
}

.navbar-brand.logo {
    width: auto !important;
    min-width: 0 !important;
    flex: none !important; 
    display: flex !important;
    align-items: center;
}

.brand-text-divider {
    width: 2px !important;
    height: 35px;
    background-color: #333; 
    margin: 0 10px !important; 
    flex-shrink: 0;
}


.prodi-name {
    font-weight: 800;
    color: #0B5E44;
    font-size: 1.1rem;
    line-height: 1.1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.univ-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    margin-top: 2px;
}

.navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 700 !important;
    font-size: 1rem;
    padding: 10px 15px !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}


.navbar-nav .nav-item.active .nav-link {
    color: #0B5E44 !important;
    border-bottom: 3px solid transparent; 
}

.navbar-nav .nav-link:hover {
    color: #0B5E44 !important;
    border-bottom: 3px solid #0B5E44 !important;
    padding-bottom: 5px !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 0;
    background-color: #f8f9fa;
}

.dropdown-item {
    font-weight: 600;
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
}

.dropdown-item:hover {
    background-color: #0B5E44;
    color: white;
}

.navbar-toggler {
    border: none !important;
    color: #0B5E44 !important;
    font-size: 1.5rem;
    padding-right: 0;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.header.scrolled .header-main {
    padding-top: 5px !important;  
    padding-bottom: 5px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.header.scrolled .navbar-brand img {
    max-height: 40px !important;
}

@media (max-width: 991px) {
    .header-main {
        position: relative;
        overflow: visible !important; 
    }

    .navbar {
        position: static; 
    }

    .navbar-brand-wrapper {
        max-width: 80%; 
        flex-shrink: 1;
    }

    .prodi-name {
        font-size: 0.85rem !important;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%; 
        left: 0;
        right: 0;
        background: #ffffff !important;
        z-index: 9999 !important; 
        padding: 20px;
        margin-top: 10px;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        border-top: 2px solid #0B5E44; 
    }

    .navbar-nav {
        margin-top: 0;
    }

    .navbar-nav .nav-item {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .navbar-nav .nav-link {
        padding: 12px 0 !important;
        display: block;
    }

    .dropdown-menu {
        border: none;
        box-shadow: none;
        background-color: #f9f9f9;
        padding-left: 15px;
        margin-bottom: 10px;
    }
    .navbar-brand-wrapper {
        max-width: 70% !important; 
        display: flex;
        align-items: center;
    }

    .navbar-toggler {
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 8px !important;
        border: 1px solid #0B5E44 !important; 
        border-radius: 5px;
        min-width: 45px; 
    }

    .hamburger-icon {
        width: 25px;
        height: 18px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .hamburger-icon span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: #0B5E44; 
        border-radius: 2px;
    }

    .navbar-collapse {
        top: 100% !important;
        margin-top: 0 !important; 
    }
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 25px;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.3s;
}

.footer-links li a:hover {
    opacity: 0.7;
    color: #ffffff;
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-contact .contact-item i {
    width: 25px;
    font-size: 1.1rem;
    margin-right: 15px;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-contact .contact-item span, 
.footer-contact .contact-item a {
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-contact .contact-item:hover span,
.footer-contact .contact-item:hover a {
    transform: translateX(8px);
    opacity: 0.8;
}

.footer-contact .contact-item:hover i {
    color: #FFD700; 
}