/*--------------------------This is for navigation styling-------------------------------------*/
.nav-links {
  display: none; /* Hide by default */
}
.topnav {
    display: flex;
    align-items: center;
    justify-content: space-between; /* optional: push logo left, hamburger right */
    height: 96px;
    padding: 0 1rem;
    z-index: 2;
}

.topnav #myLinks {
    display: none;
}

.topnav a {
    color: white;
    text-decoration: none;
    font-size: 17px;
    display: block;
}

.topnav a.icon {
    background: black;
    display: block;
    position:absolute;
    right: 0;
    top: 0;
}

.topnav a:hover {
    color: black;
}

.active {
    color: white;
}

/* Hamburger styles */
.hamburger {
  position: absolute;
  right: 20px;
  top: 30px;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.hamburger div {
  background-color: #66d9c4;
  height: 3px;
  width: 100%;
  transition: 0.2s;
}

.hamburger.active .bar1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar2 {
  opacity: 0;
}

.hamburger.active .bar3 {
  transform: rotate(45deg) translate(-7px, -7px);
}

/* Overlay full-screen nav */
.overlay-nav {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  right: 0;
  background-color: #1c1d22;
  overflow-x: hidden;
  transition: 0.1s;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: width 0.1s ease;
}

.overlay-nav.open {
  width: 100%;
}

/* Nav content */
.overlay-content a {
  padding: 20px;
  text-decoration: none;
  font-size: 36px;
  color: #66d9c4;
  display: block;
  transition: 0.2s;
  border-radius: 1rem;
}

.overlay-content a:hover {
  color: #343740;
  background-color: #66d9c4;
}

/* Close button */
.closebtn {
  position: absolute;
  top: 20px;
  right: 35px;
  font-size: 40px;
  text-decoration: none;
  color: white;
}








/*--------------------------This is for Logo styling-------------------------------------*/

.logo {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}



/* Footer Styles */
footer {
  text-align: center;
  padding: 1rem 1rem;
  font-size: 0.9rem;
  color: #777;
}

.container {
  text-align: left;
  margin: 0 auto;
}













/*-----------------------------------------------------------------------------------------------------------------------------------------------------*/
/*--------------------------------------------------This is for @media 768px (tablet and higher) styling-----------------------------------------------*/
/*-----------------------------------------------------------------------------------------------------------------------------------------------------*/

@media (min-width: 900px) {
  .hamburger {
    display: none; /* Hide hamburger on larger screens */
  }

  .overlay-nav {
    display: none; /* Hide overlay nav on larger screens */
  }

  .nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }

  .nav-links a {
    color: #66d9c4;
    font-size: 1rem;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: background 0.2s ease;
    border-radius: 0.5rem;
  }

  .nav-links a:hover {
    background-color: #66d9c4;
    color: #343740;
  }
  

}