* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background: white;
}

.tt {
  width: 100%;
  height: 40px;
  background-color: #99bbff;
  color: white;
  display: flex;
  align-items: center;
  padding-left: 20px;
  text-align: center;
}


.top {
  width: 100%;
  height: 70px;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2000;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  position: sticky;
  top: 0;
}

nav {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  align-items: center;
}

.logo_cont {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo_cont img {
  height: 50px;
}

.nav_links {
  list-style: none;
  display: flex;
  gap: 20px;
  transition: ease-in-out 0.1s;
}

.nav_links li {
  width: 100%;
  border-bottom: 1px solid #e0e0e0; /* light gray separator */
  /* padding-bottom: 10px; */
  margin-top: 15px;
}

.nav_links a {
  text-decoration: none;
  color: black;
  padding: 10px 15px;
}

.nav_icons {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Overlay background */
.nav_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4); /* semi-transparent black */
  z-index: 998;
  display: none;
}

/* Show overlay when active */
.nav_overlay.active {
  display: block;
}

.nav_contact {
  width: 100%;
  height: 40px;
  border: none;
  outline: none;
  background-color: #4d88ff;
  color: white;
  font-family: serif;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

/* --- MOBILE STYLES --- */
@media (max-width: 768px) {
  .tt {
    text-align: center;
  }

  .nav_links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 90%;
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
    transition: right 0.3s ease-in-out;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav_links.active {
    right: 0;
  }

  .nav_icons {
    display: block;
  }

  .nav_icons .fa-xmark {
    display: none;
  }

  .nav_icons.active .fa-bars {
    display: none;
  }

  .nav_icons.active .fa-xmark {
    display: inline;
  }

  /* Add logo inside sidebar on mobile */

  .sidebar_logo_img {
    width: 200px;
  }
  .nav_links .sidebar_logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
  }

  .nav_links .sidebar_logo img {
    height: 40px;
  }

  .nav_links .sidebar_logo .fa-xmark {
    font-size: 24px;
    cursor: pointer;
  }
  
   .contact_link{
    width: 100%;
  }
}

@media (min-width: 769px) {
  /* styles for tablets, laptops, desktops, etc. */

  .sidebar_logo_img {
    display: none;
  }

  .nav_links li {
    border: none;
  }

  .sidebar_logo {
    display: none;
  }

  .nav_contact {
    display: none;
  }
}

