body, html {
  height: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

body {
    padding-top: 4rem;
}

.language-switch {
    margin-right: 1rem;
    padding: 0rem 1rem;
    border-radius: 5%;
}

.nav-link {
    margin-right: 1rem;
    color: #333;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0056b3;
}

.custom-navbar-brand {
    margin-right: 4rem; /* Change this value for a larger or smaller gap */
    color: #003366 !important;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: bold !important;
    transition: color 0.3s ease;
}

.custom-navbar-brand:hover {
    color: #002244;
}

.last-item {
    margin-right: 5rem;
}

.title-heading {
    margin: 5rem 0rem 1rem 2rem;
}

.link-image {
  font-size: 10px;
  padding: 5px 0px 0px 5px;
}

.link-image-in-text {
  font-size: 10px;
  padding: 0px 0px 10px 1px;
}

.navbar {
    border-bottom: 1px solid #eaeaea;
}

/* Improved Dropdown Menu Styling */
.dropdown-menu {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
    border: none;
    padding: 10px 0;
    min-width: 220px; /* Ensure it has a proper width */
    transition: all 0.3s ease-in-out;
}

/* Dropdown menu items */
.dropdown-item {
    color: #333;
    font-size: 16px;
    padding: 10px 20px; /* Increased padding for better touch targets */
    transition: all 0.2s ease-in-out;
    border-radius: 5px;
}

/* Hover effect for dropdown items */
.dropdown-item:hover {
    background-color: #007bff;
    color: white;
    padding-left: 25px; /* Subtle movement effect on hover */
    transition: all 0.3s ease-in-out;
}

/* Dropdown separator */
.dropdown-divider {
    margin: 8px 0;
}

/* Animation for dropdown appearance */
.dropdown-menu.show {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
