/* ===== Topbar Base Styles ===== */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Announcement Bar */
.announcement-bar {
    background: #f5f5f5;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #eaeaea;
}

.announcement-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.announcement-link {
    color:#f2a41d;
    font-weight: 500;
    text-decoration: underline;
}

/* Main Navbar */
.navbar {
    padding: 15px 0;
}

.logo {
    height: 40px;
    transition: all 0.3s ease;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    font-size: 1.25rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-nav {
    align-items: center;
}

.nav-link {
  /*  border:1px solid black; */
  border:none;
    color: #333;
    font-weight: 500;
    padding: 10px 15px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: #f2a41d;
}

.nav-link.active {
   /* color: #2c7be5; */
    color: #f2a41d;
    font-weight: 600;
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 10px 0;
    margin-top: 8px;
    display: none; /* Hidden by default */
}

.dropdown-menu.show {
    display: block; /* Show when has .show class */
}

.dropdown-item {
    padding: 8px 20px;
    font-size: 14px;
    color: #333;
    transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: #f8f9fa;
    color:#f2a41d;
}

.dropdown-divider {
    margin: 8px 0;
    border-color: #eee;
}

/* Navbar Buttons */
.navbar-actions {
    display: flex;
    align-items: center;
}

.btn-outline-primary {
    border-color: #2c7be5;
    color: #2c7be5;
}

.btn-outline-primary:hover {
    background: #2c7be5;
    color: white;
}

.btn-primary {
    background: #2c7be5;
    border-color: #2c7be5;
}

.btn-primary:hover {
    background: #1a68d1;
    border-color: #1a68d1;
}


/* ===== Mobile Responsiveness ===== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 20px;
        margin-top: 15px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav {
        margin-bottom: 20px;
    }
    
    .nav-item {
        margin-bottom: 5px;
    }
    /* */
   
    .dropdown-menu {
        box-shadow: none;
        margin-left: 15px;
        border-left: 2px solid #eee;
    }
    
    .navbar-actions {
        margin-top: 15px;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .logo {
        height: 32px;
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .btn {
        padding: 8px 12px;
        font-size: 14px;
    }
}
