body {
    /* background: hotpink !important; */
}
header > section:first-of-type {
  background-color: #005da9; 
  font-size: 1.25rem; 
  font-weight: 500;
  color: white; 
  font-family: Open Sans, Arial, sans-serif;
     
}
header > section:nth-of-type(2) {
  /* Your styles here */
  background-color: #eee; 
  font-size: 17px;
  font-family: Open Sans, Arial, sans-serif;
  font-weight: 400;
}/* Target the specific UL section in your header */

header > section:nth-of-type(2)  ul li a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: inherit;
  padding-bottom: 5px; /* Optional spacing */
}

/* Create the orange underline effect */
header > section:nth-of-type(2)  ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #fa8500;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

/* Show the underline on hover */
header > section:nth-of-type(2)  ul li a:hover::after {
  transform: scaleX(1);
}

