/* Navbar styles */


.navbarcontainer {
  position: sticky;
  top: 0;
  z-index: 20;
  width: auto;
  height: 65px;
  padding: 10px 6% 0 8%;
  box-shadow: 0px -15px 50px #000;
  background: linear-gradient(112deg, rgba(19, 40, 70, 1) 0%, rgba(41, 82, 126, 1) 43%, rgba(42, 83, 127, 1) 55%, rgba(49, 94, 142, 1) 100%);
}

.navbarlogo {
  float: left;
  width: 100px;
  height: 40px;
  margin-top: 3px;
  background-image: url("../Images/logo/wills_logo.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.navlinks-container {
  float: right;
  height: auto;
  max-width: 100%;
  text-align: right;
  padding-top: 7px;
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  justify-content: flex-end; /* align links to the right */
  align-items: center;
  gap: 20px; /* optional spacing between links */
}

.nav-links a:link {
  color: white;
  font-size: 15px;
  font-weight: 600;
  height: 20px;
  width: auto;
  margin: 0px 10px 0 0;
  padding: 8px 10px 25px 10px;
  background-color: transparent;
  text-decoration: none;
  float: none;
}

.nav-links a:hover {
  background-color: #46c6ea;
  border-radius: 3px;
  transition: 0.3s;
}

.nav-links a:visited {
  color: white;
}

.nav-links a:active {
  color: black;
}

.socialicons {
  width: 30px;
  height: 30px;
  margin: 2px 13px 0 0;
}

.socialicons-instagram {
  background-image: url("../Images/Social_icons/Social_icons_Insta-OFF.svg");
  background-repeat: no-repeat;
  float: right;
}


.socialicons-linkedin {
  background-image: url("../Images/Social_icons/Social_icons_LinkedIn-OFF.svg");
  background-repeat: no-repeat;
  float: right;
}

.socialicons-instagram:hover {
  background-image: url("../Images/Social_icons/Social_icons_Insta-OVER.svg");
  transition: 0.3s;
}


.socialicons-linkedin:hover {
  background-image: url("../Images/Social_icons/Social_icons_LinkedIn-OVER.svg");
  transition: 0.3s;
}

/* BUTTONS */
.button-top-nav a:link {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #1b365a;
  border: none;
  padding: 8px 22px 8px 22px;
  margin: 0px 0 0 0;
  text-align: center;
  border-radius: 50px;
  width: auto;
  background-color: #46c6ea;
  float: right;
}



.button-top-nav a:hover {
  background-color: white;
  opacity: 1;
  transition: 0.3s;
}

.button-top-nav a:visited {
  background-color: #49ca3e;
  float: right;
}

.mobile-nav-container {
  display: none;
}

/* Dropdown menu styles */
.dropdown {
  position: relative;
  display: inline-block;
  text-align: left;	
}

.dropdown-content {
	visibility: hidden;
	opacity: 0;
	position: absolute;
	background-color: #1b365a;
	min-width: 310px;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
	z-index: 999;
	top: 40px;
	left: 0;
	text-align: left;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	right: auto;        /* Ensure no conflicting alignment */
	text-align: left; 	
	padding: 10px 0 10px 15px;
}

.dropdown-content a {
  color: #fff;
  padding: 18px 20px 10px 20px; /* Top, Right, Bottom, Left */
  padding-top: 20px !important;
  text-decoration: none;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  text-align: left;
  box-sizing: border-box;
	
}

.dropdown-content a:hover {
  background-color: #46c6ea;
}

.dropdown:hover .dropdown-content {
  visibility: visible;
  opacity: 1;
}

.dropdown:hover > a {
  background-color: #46c6ea;
  color: #fff;
}

.dropdown-links {padding-top: 20px; background-color: black; float: left}


/* Responsive - for screens smaller than 768px */
@media screen and (max-width: 768px) {
  .navlinks-container {
    display: none;
  }

  .mobile-nav-container {
    display: block;
    float: right;
    height: 30px;
    width: 150px;
    text-align: right;
    background-color: none;
    padding-top: 7px;
  }

  #menuBtn {
    font-size: 18px;
    font-weight: 600;
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    position: fixed;
    top: 13px;
    right: 50px;
    z-index: 10;
    background: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
  }

  .menu {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(27, 54, 90, 0.93);
    overflow-x: hidden;
    transition: 0.5s;
    opacity: 0;
    visibility: hidden;
    z-index: 9;
  }

  .menu.show {
    opacity: 1;
    visibility: visible;
  }

  .menu .close {
    position: absolute;
    top: -5px;
    right: 10px;
    font-size: 60px;
    color: white;
    cursor: pointer;
  }

  .menu-content {
    position: absolute;
    top: 30%;
    left: 42%;
    transform: translate(-50%, -50%);
    text-align: right;
    width: 100%;
  }

  .menu-content a {
    display: block;
    color: white;
    font-size: 36px;
    text-decoration: none;
    margin: 20px 0;
    transition: 0.3s;
  }

  .menu-content a:hover {
    color: #f0a500;
  }
	

	.mobile-dropdown-links{
		font-size: 18px !important;
		margin-bottom: 0 !important;
	}	

  .socialicons-mobile-container {
    padding-left: 30%;
    margin-top: 30px;
  }

  .socialicons-mobile {
    width: 60px;
    height: 60px;
    margin: 0 10px 0 0;
    float: right;
  }
}

/* For screens smaller than 468px */
@media screen and (max-width: 468px) {
	.menu-content {
	top: 38%;
	}

	.socialicons-mobile-container {
	padding-left: 23%;
	}
}

/* For screens smaller than 375px */
@media screen and (max-width: 375px) {
	.menu-content {
	top: 48%;
	}
}




