/* Custom Navbar Styling */
.navbar-brand img {
    height: 50px;
}

.company-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 10px;
    color: #f8f8f8;/* Spacing between logo and company name */
}

/* Preserve existing navbar settings */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* Subtle shadow for depth */
    padding: 10px 20px;
}

/* Style the nav links while preserving current structure */
.navbar-nav .nav-link {
    font-size: 1.1rem;
    color: #555; /* Neutral gray */
    padding: 8px 15px;
    transition: color 0.3s, background-color 0.3s;
    border-radius: 5px;
    font-weight: bold; /* Make the text bold */
    white-space: nowrap; /* Prevent text wrapping */
}

/* Hover and Active state - Minimal but effective */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: #dee1e4; /* Hover background color */
    color: white;
}

/* Dropdown menu enhancements */
.dropdown-menu {
    background-color: #f8f9fa;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    font-size: 1rem;
    color: #555;
    padding: 10px 20px;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-item:hover {
    background-color: #b5bdc5;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .navbar-nav {
        margin-top: 15px;
    }
}

/*Top bar*/
/* Top Bar Styling */
.top-bar {
  background-color: #002E5D; /* Dark blue background */
  color: white; /* White text */
  font-size: 0.9rem; /* Font size */
  padding: 3px 0; /* Padding for spacing */
}

/* Icon spacing */
.top-bar .fas {
  margin-right: 5px; /* Spacing between icon and text */
}

/* Spacing between elements */
.top-bar span {
  margin-right: 20px; /* Space between spans */
  
}

/* Align contact information to the right */
.top-bar .container {
  display: flex;
  justify-content: space-between; /* Distribute space evenly between contact info */
  align-items: flex-end; /* Vertically align the items */
}

/* Responsive adjustments for the top bar */
@media (max-width: 768px) {
  /* Hide top bar on screens smaller than 768px */
  .top-bar {
    display: none; /* Hide top bar on smaller screens */
  }
  /* Adjust logo size for smaller screens */
  .navbar-brand img {
    height: 40px; /* Reduce logo size on smaller screens */
  }

  /* Adjust company name font size for smaller screens */
  .company-name {
    font-size: 1.3rem; /* Decrease the font size on smaller screens */
    white-space: nowrap; /* Allow text wrapping */
    
  }
}
/* Responsive adjustments for even smaller screens (screens smaller than 576px) */
@media (max-width: 576px) {
  /* Further reduce logo size for very small screens */
  .navbar-brand img {
    height: 30px; /* Smaller logo on mobile */
  }

  /* Further decrease company name size for very small screens */
  .company-name {
    font-size: 1.1rem;
    white-space: nowrap; /* Allow wrapping */
    
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  /* Adjust layout for tablet-sized screens */
  .top-bar .container {
    flex-direction: column; /* Stack items vertically */
    align-items: flex-start; /* Align to the start of the container */
  }
  .top-bar span {
    display: block; /* Stack elements */
    margin-bottom: 10px; /* Spacing between stacked elements */
  }
}