/* Navbar */

@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@100&display=swap");
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-family: "Lato", sans-serif;
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  width: 93%;
}
.navbar .social-icons {
  gap: 20px;
}
.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #004aad;
}

.nav-links {
  display: flex;
  gap: 2rem;
  text-align: center;
  align-items: center;
  gap: 50px;
  position: relative;
  left: -190px;
  
}

.nav-links a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 600;
  transition: color 0.3s ease;
  float: left;
  position: relative;
}

.nav-links a:hover {
  color: #0000c7;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.social-icons {
  display: flex;
  gap: 0.7rem;
}

.social-icons img {
  width: 20px;
  height: 20px;
  transition: opacity 0.3s ease;
}

.social-icons img:hover {
  opacity: 0.7;
}

.try-btn {
  padding: 0.6rem 1.3rem;
  background-color: #0000c7;
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.try-btn:hover {
  background-color: #00307c;
}

/* Hamburger Icon */
.hamburger {
  font-size: 2rem;
  cursor: pointer;
  display: none;
  z-index: 1000;
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: rgb(0, 0, 0);
}

/* Mobile Menu */
.hamburger,
.mobile-menu {
  display: none;
}
@media screen and (max-width:860px) and (min-width:769px) {
  header {
    width: 89vw !important;
  }
  .nav-links a,
  .nav-right {
    display: none;
  }
  .hamburger {
    display: block;
    font-size: 28px;
    cursor: pointer;
    width: 10px;

    left: 700px;
    z-index: 9995;
  }

  .mobile-menu {
    display: none;
    position: fixed;
    margin-top: 300px;
    left: 320px;
    width: 40%;
    height: 30%;
    background-color: #ffffff;

    padding: 60px 30px;
    z-index: 1002;
    overflow: hidden;
    top: -280px;
    text-align: center;
    transition: top 0.4s ease-in-out;
  }
  .mobile-menu a {
    color: rgb(0, 0, 0);

    text-decoration: none;
    position: relative;
    left: 100px;
  }
  .menu-links li {
    width: 130px;
  }
  .menu-links .try-btn {
    color: white;
  }
  .menu-links .try-btn:hover {
    background-color: #7c4a00;
  }

  .mobile-menu.active {
    display: block;
  }

  .mobile-menu .close-icon {
    font-size: 24px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
  }

  .mobile-menu .menu-links {
    list-style: none;
    padding: 0;
    margin-top: 60px;
    position: relative;
    left: -10px;
  }

  .mobile-menu .menu-links li {
    margin-bottom: 20px;
  }

  .social-icons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 5px;
  }

  .social-icons img {
    width: 15px;
    height: 15px;
    position: relative;
    left: -100px;
    top: 20px;
    transition: opacity 0.3s ease;
  }
  .hidden {
    display: none;
  }
  
}
@media (max-width: 768px) {
  header {
    width: 87.5vw !important;
  }
  .nav-links a,
  .nav-right {
    display: none;
  }
  .hamburger {
    display: block;
    font-size: 28px;
    cursor: pointer;
    width: 10px;

    left: 650px;
    z-index: 9995;
  }

  .mobile-menu {
    display: none;
    position: fixed;
    margin-top: 300px;
    left: 320px;
    width: 40%;
    height: 30%;
    background-color: #ffffff;

    padding: 60px 30px;
    z-index: 1002;
    overflow: hidden;
    top: -280px;
    text-align: center;
    transition: top 0.4s ease-in-out;
  }
  .mobile-menu a {
    color: rgb(0, 0, 0);

    text-decoration: none;
    position: relative;
    left: 100px;
  }
  .menu-links li {
    width: 130px;
  }
  .menu-links .try-btn {
    color: white;
  }
  .menu-links .try-btn:hover {
    background-color: #7c4a00;
  }

  .mobile-menu.active {
    display: block;
  }

  .mobile-menu .close-icon {
    font-size: 24px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
  }

  .mobile-menu .menu-links {
    list-style: none;
    padding: 0;
    margin-top: 60px;
    position: relative;
    left: -10px;
  }

  .mobile-menu .menu-links li {
    margin-bottom: 20px;
  }

  .social-icons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 5px;
  }

  .social-icons img {
    width: 15px;
    height: 15px;
    position: relative;
    left: -100px;
    top: 20px;
    transition: opacity 0.3s ease;
  }
  .hidden {
    display: none;
  }
}
@media screen and (max-width: 1024px) {
  header {
    width: 128vw;
  }
}

@media screen and (max-width: 679px) and (min-width: 559px) {
  header {
    width: 88vw !important;
  }
  .hamburger {
    position: relative;
    left: -50px;
  }
  .mobile-menu {
    left: 160px;
    width: 50%;
    height: 20%;
  }
}
@media screen and (max-width: 599px) and (min-width: 552px) {
  header {
    width: 88vw !important;
  }
  .hamburger {
    position: relative;
    left: -50px;
  }
  .mobile-menu {
    left: 160px;
    width: 50%;
    height: 20%;
  }
}
@media screen and (max-width: 551px) and (min-width: 500px) {
  header {
    width: 85vw !important;
  }
  .hamburger {
    position: relative;
    left: -50px;
  }
  .mobile-menu {
    left: 160px;
    width: 50%;
    height: 20%;
  }
}
@media screen and (max-width: 499px) and (min-width: 427px) {
  .hamburger {
    position: absolute;
    left: 360px;
  }
  .mobile-menu {
    left: 115px;
    width: 50%;
    height: 20%;
  }
  .mobile-menu .menu-links {
    margin-top: 10px;
    position: relative;
    left: -60px;
  }
  .mobile-menu .menu-links li {
    margin-bottom: 10px;
  }
  .menu-links .try-btn {
    position: relative;
    top: 10px;
    padding: 0.6rem 1.3rem;
    color: white;
  }
  .hidden {
    display: none;
  }
}
@media screen and (max-width: 499px) and (min-width: 450px) {
  header {
    position: fixed;
    width: 84vw !important;
  }
}
@media screen and (max-width: 449px) and (min-width: 427px) {
  header {
    position: fixed;
    width: 84vw !important;
  }
}
@media screen and (max-width: 426px) {
  header {
    width: 75.1vw !important;
  }

  .hamburger {
    left: 345px;
  }
  .mobile-menu {
    left: 120px;
    width: 50%;
    height: 20%;
  }
  .mobile-menu .menu-links {
    margin-top: 10px;
    position: relative;
    left: -60px;
  }
  .mobile-menu .menu-links li {
    margin-bottom: 10px;
  }
  .menu-links .try-btn {
    position: relative;
    top: 10px;
    padding: 0.6rem 1.3rem;
    color: white;
  }
  .hidden {
    display: none;
  }
}
@media screen and (max-width: 380px) and (min-width: 350px) {
  .hamburger {
    left: 300px;
  }
  .mobile-menu {
    left: 90px;
    width: 50%;
    height: 20%;
  }
}
@media screen and (max-width: 350px) and (min-width: 322px) {
  .hamburger {
    left: 290px;
  }
  .mobile-menu {
    left: 90px;
    width: 50%;
    height: 20%;
  }
}
@media (max-width: 322px) {
  .hamburger {
    left: 280px;
  }
  .mobile-menu {
    left: 80px;
    width: 50%;
    height: 20%;
  }
}
@media (max-width: 310px){
  .hamburger {
    left: 260px;
  }
  .mobile-menu {
    left: 70px;
    width: 50%;
    height: 20%;
  }
}
@media (max-width: 290px){
  .hamburger {
    left: 250px;
  }
  .mobile-menu {
    left: 70px;
    width: 50%;
    height: 20%;
  }
}