 *{
    margin: 0;
    padding: 0;
} 


/*NAVBAR SECTION*/

nav{
    background-color: white;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 999;
    
}

nav ul{
    width:  100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    text-align: center;
}

nav li{
    height: 50px;
}

nav a, .dropdown-toggle{
    height: 100%;
    padding: 0px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: black;
}

nav a:hover{
    background: rgba(211, 211, 211, 0.734);
}

nav #logo-li:first-child{
    margin-right: auto;
    a{
        background-color: transparent;
    }
}

.sidebar{
    position:absolute;
    top: 1px;
    right: 0px;
    width: 250px;
    height: 95vh;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.942);
    backdrop-filter: blur(5px);
    box-shadow: 10 0 10 rgba(0, 0, 0, 0.719);
    display: none;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
}

.sidebar li{
    width: 100%;
}

.sidebar a{
    width: 100%;
}



/* DROPDOWN MENU styles */
.dropdown {
  position: relative;
}

/* Dropdown Menu - Initially hidden */
.dropdown-menu {
  list-style: none;
  padding-left: 1rem;
  margin: 0;
  display: none; /* start hidden */
  flex-direction: column;
}

/* Show the dropdown */
.dropdown.open .dropdown-menu {
  display: flex; /* pushes content down */
}

/* Optional styling */
.dropdown-menu li a {
  padding: 8px 10px;
  display: block;
  background-color: white;
  color: #333;
  text-align: left;
  margin-left: 10px;
}

.dropdown-menu li a:hover {
  background-color: #ddd;
}


/* Show dropdown on hover for desktop */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* Responsive dropdown for mobile */
@media (max-width: 768px) {
  .dropdown .dropdown-menu {
    position: static;
    background-color: transparent;
    box-shadow: none;
    padding-left: 20px;
  }

  .dropdown .dropdown-menu li a {
    color: black;
    padding: 8px 0;
    margin-left: 40px;
    text-align: left;
    background-color: transparent;
  }

  .dropdown-toggle {
    cursor: pointer;
  }

  /* .dropdown-toggle::after {
    content: " ▶";
  } */

  .dropdown.active .dropdown-menu {
    display: block;
  }
  .dropdown-menu li a:hover{
    background-color: #ddd;
  }
}


/* STICKY HEADER */

header.js-sticky-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transform: translateY(0); /* Show on page load */
  transition: transform 0.3s ease;
}




/* FOOTER CSS */
footer#footer {
  background-color: white;
  box-shadow: -3px -3px 5px rgba(0, 0, 0, 0.1);
  padding: 40px 20px;
  text-align: center;
  color: black;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-links li a {
  text-decoration: none;
  color: black;
  padding: 5px 10px;
  transition: background 0.3s;
}

.footer-links li a:hover {
  background: rgba(211, 211, 211, 0.734);
  border-radius: 5px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.social-icons a img {
  width: 34px;
  height: 34px;
  transition: opacity 0.3s;
}

.social-icons a:hover img {
  opacity: 0.7;
}

.footer-credit {
  font-size: 14px;
  color: #333;
}

/* Responsive layout */
@media (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    align-items: center;
  }

  .footer-logo {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo h1 {
    font-size: 20px;
  }
}

@media (max-width: 1000px){
  #hidePFF{
    display: none;
  }
}


@media(max-width: 800px){
    .hideOnMobile{
        display: none;
    }
}

@media (min-width: 800px){
    .showOnMobile{
        display: none;
    }
}
    
@media(max-width: 400px){
    .sidebar{
        width: 80%;
    }
}





#caption{
    color: #002e6e;
}

#caption1{
    color: #002e6e;
}

#caption2{
    color: #00b8de;
}

/*color:*/


