/* Updated Logo Styles */
.logo {
  height: 100px; /* Adjust based on your logo height */
  display: flex;
  align-items: center;
  margin-right: 30px; /* Added spacing between logo and menu */
}

.logo img {
  height: 100%;
  width: auto;
  max-height: 100px; /* Control maximum logo size */
  transition: all 0.3s ease;
  /* background-color: white; */

}


/* Navigation Styles */
.navbar {
  width: 100%;
  padding: 10px 0;
  background-color: rgb(32, 39, 55);  
  transition: all 0.3s ease;
  z-index: 1000;
}

.navbar.scrolled {
  background-color: rgb(32, 39, 55);
  padding: 10px 0;
}

.nav-container {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  color: rgb(9, 40, 88);
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 24px;
  padding: 10px 15px; 
  transition: color 0.3s ease;
}

.nav-links a:hover {
  text-decoration: underline;
}

/*drop down list */
/* Style for dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: white;
  min-width: 150px;
  /* box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); */
  padding: 0;
  margin-left: 17px;
  list-style: none;
  z-index: 1000;
}

.dropdown-menu li {
  padding: 0px;
  /* border-bottom: 1px solid #ddd; */
  margin-left: 0px;
}

.dropdown-menu li a {
  color: black;
  text-decoration: none;
  display: block;
  font-size: 14px;
}

.dropdown-menu li:hover {
  /* background: #f4f4f4; */
  background-color: rgb(32, 39, 55);

}

.dropdown-menu li a:hover{
  color: whitesmoke;

}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/*end of drop down list*/

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}


/* Add dropdown arrow using CSS */
.dropdown-link::after {
  content: " ▾";
  display: inline-block;
  margin-left: 3px;
}

/* Mobile styles */
/* @media screen and (max-width: 939px) { */
@media screen and (max-width: 1200px) {
  /* Remove dropdown arrow */
  .dropdown-link::after {
 /*   content: "" !important;*/
  }
  
  /* Hide dropdown menu */
  .dropdown-menu {
    /*display: none !important;*/
	display: none;
  }
  
  /* Make dropdown list item behave like others */
  .dropdown {
    display: block !important;
  }
}



/* Mobile Dropdown Accordion new added for drop down accordion*/
@media screen and (max-width: 1200px) {
  .dropdown-menu {
    display: none;
    padding-left: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  .dropdown.active .dropdown-menu {
    display: block !important;
    max-height: 400px;
    transition: max-height 0.3s ease-in;
  }

  .dropdown-menu li {
    margin: 10px 0;
  }

  .dropdown-menu li a {
    font-size: 18px;
    color: rgba(32, 40, 56, 1);
    padding: 8px 15px;
    display: block;
  }

  .nav-links {
    padding-top: 20px;
  }
}






/*end of drop down list*/

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 30px;
  height: 3px;
  background-color: white;
  margin: 5px;
  transition: all 0.3s ease;
}



/* @media screen and (max-width: 939px) { */
@media screen and (max-width: 1200px) {
  .nav-links {
      position: fixed;
      right: -100%;
      /* top: 70px; */
      top: 100px;
      /* top: 100%; */
      height: calc(100vh - 70px);
      /* background-color: rgba(32, 40, 56, 0.9); */
      /* background-color: rgba(32, 40, 56, 1); */
      background-color: white;
      flex-direction: column;
      align-items: center;
      width: 100%;
      transition: right 0.5s ease;
      padding-top: 30px;
  }

  .logo img {
      max-height: 70px;  /* Slightly smaller logo on mobile */
  }

  .nav-links li {
      margin: 20px 0;
  }

  .nav-links a {
      /* color: white; */
      color: rgba(32, 40, 56, 1);;
      font-size: 24px;
  }

  .burger {
      display: block;
  }

  .nav-active {
      right: 0;
  }

  .toggle .line1 {
      transform: rotate(-45deg) translate(-5px, 6px);
  }

  .toggle .line2 {
      opacity: 0;
  }

  .toggle .line3 {
      transform: rotate(45deg) translate(-5px, -6px);
  }

}