* {
  margin: 0;
  padding: 0;
  font-family: 'Trebuchet MS', Helvetica, sans-serif;
  box-sizing: border-box;
  line-height: 1.5;
}
.logo{
  width:250px; 
  height:74px;
}
html {
  font-size: 18px; /* Base size for larger screens */
}

@media (max-width: 1200px) {
  html {
    font-size: 16px; /* Medium screens */
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px; /* Tablet screens */
  }
  .logo{
    width:140px; 
    height:41.46px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px; /* Mobile screens */
  }
}

.headers{
  color: #163057;
  font-family: 'Trebuchet MS', Helvetica, sans-serif;
  font-size: 1.5rem; /* Responsive header size */
  text-align: center;
  margin: 1.25rem 0; /* Spacing around headers */
}
 
  /* Final Navigation Bar */
.topnav {
  position:fixed;
  display:flex; 
  justify-content: space-evenly; 
  top: 0;
  overflow: visible;  /* Ensure dropdown content is visible */
  width: 100%;
  margin:0;
  background:  #163057; /* Gradient for a modern look */
  z-index: 1;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  align-items: center;
  padding: 0.625rem 1.25rem;
}
.navdiv{
  display: flex;
  align-items: center;
  height:12%;
}
.navdiv a{
  height:10%;
}

.topnav a {
  float: left;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  border: none;
  font-size: 18px; /* Relative size for links */
  padding: 0.625rem 0.9375rem; /* Even spacing */  background: none;
  transition: background-color 0.3s ease;
}


.topnav a:hover, .topnav button:hover {
  background-color: rgba(255, 255, 255, 0.3); /* Subtle hover effect */
  border-radius: 0.3125rem; /* Smooth hover effect */
  cursor: pointer;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}
.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}


.dropdown .dropbtn {
  cursor: pointer;
  font-size: 18px;  
  border: none;
  outline: none;
  color: white;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}
.dropbtn{
  padding: 0.625rem 0.9375rem;
}
.navbar a:hover, .dropdown:hover .dropbtn, .dropbtn:focus {
  background-color: red;
}

.dropdown-content {
  display: none;
  height: fit-content;
  position: absolute;
  top:20px;
  background-color: #f9f9f9;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 999;
  top: 100%; /* Ensures the dropdown opens directly below the button */
}

.dropdown-content a {
  float: none;
  color: black;
  text-decoration: none;
  display: block;
  text-align: left;
}

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

.dropdown:hover .dropdown-content {
  display: block;
}
.show {
  display: block;
}

.div #navbarMenu .menu{
  justify-content: space-evenly;
}



@media screen and (max-width: 1000px) {
  .menu {
    display: none; /* Initially hide the menu */
    flex-direction: column; /* Stack items vertically */
    background: #163057; /* Stylish gradient background */
    width: 60%; /* Occupy 80% of the screen width */
    position: absolute;
    top: 10px; /* Adjust based on your navbar height */
    left: 0; /* Center the menu horizontally */
    padding: 0.625rem;
    border-radius: 0.5rem;
     z-index: 999; /* Ensure it stays on top */
    border-radius: 8px; /* Smooth, rounded corners */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4); /* Add depth with a shadow */
    height: auto; /* Adjust height dynamically */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; /* Smooth transitions */
  }
  .menu a , .dropbtn{
    color: #fff; /* White text color */
    text-decoration: none;
    border-radius: 4px; /* Rounded corners for items */
    transition: background-color 0.3s ease; /* Smooth hover effect */
  }
  
  .menu a:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Subtle hover effect */
  }
  .navdiv a{
    color: #fff; /* White text color */
  }
  .dropdown{
    height:fit-content;
  }
  .navdiv{
    align-items: center;
  }
.dropdown a{
  color: #163057;
}
.dropdown-content a{
  text-align: center;
}
  .dropdown-content {
    position: relative;
    margin-left: auto; /* Center content horizontally */
    width:250px;
    height: fit-content;
    margin-top:auto;
    background-color: #f9f9f9; /* Consistent background color */
  }


  .hamburger {
    display: block; /* Show hamburger icon on small screens */
  }
}

.site-footer {
  margin-top: 1.25rem;
  background-color: #163057;
  color: #fff;
  padding: 1.25rem 0;
  text-align: center;
  width:100%;
}
.container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex: row;
}
.container a{
  text-align: left;
}
div.container{
  padding: 20px 20px;
  justify-content: center; /* Horizontal centering */
  align-items: center;    /* Vertical centering */
  width:100%;
}
.social-container {
  text-align: center;
  margin-top: 10px;
  justify-self: center;
  margin: 1% 5% 1% 5%;

}
.social-container a{
  text-decoration: none;
  color: white;
}
.social-container li, .social-container h3{
  margin-top:7%;
  text-align: left;
}
.social-links {
  display: flex;
  align-items: center; /* Aligns items vertically */
  gap: 0.9375rem;
  margin-top: 0.625rem;
}
/* Responsive */
@media (max-width: 768px) {
  .container{
  flex: column;
  }
  .social-container{
    margin-top:10%;
  }
  .bg-content h1 {
      font-size: 32px;
  }

  .bg-content p {
      font-size: 16px;
  }
  .social-links {
    flex-direction: column;
  }
}


