@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
  font-family: 'Be Vietnam Pro', sans-serif;
}

body.no-scroll {
  overflow: hidden;
}

nav {
  display: flex;
  height: 80px;
  width: 100%;
  background-color: white;
  /* background: var(--nav-bg); */
  align-items: center;
  justify-content: space-between;
  padding: 0 50px 0 100px;
  flex-wrap: wrap;

}

nav .logo {
  color: #fff;
  font-size: 35px;
  font-weight: 600;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 0;
}

.mobile-link {
  display: none;
}




nav ul li {
  margin: 0 5px;
}

nav ul li a {
  color: #262626;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 5px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

nav ul li a.active,
nav ul li a:hover {
  color: #111;
  /* background: #fff */
  background: var(--nav-bg);
}

nav .menu-btn i {
  color: var(--main-color);
  font-size: 22px;
  cursor: pointer;
  display: none;
}

input[type="checkbox"] {
  display: none;
}

@media (max-width: 1000px) {
  nav {
    padding: 0 40px 0 50px;
    width: 100%;

  }
}

.announcement-bar {
  background-color: var(--main-color);
  height: 35px;
}

.left-section {
  display: flex;
  align-items: center;
}

.sign-up {
  color: var(--text-color);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 5px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.login {
  color: var(--main-color);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 5px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.login.active,
.sign-up.active {
  color: var(--nav-bg);
  background-color: var(--main-color);
}



.login.active:hover,
.sign-up.active:hover {
  color: var(--dark-color);
  background: var(--nav-bg);
  transform: translateX(-2px);

}


.login:hover,
.sign-up:hover {
  color: var(--nav-bg);
  background: var(--main-color);
  transform: translateX(-2px);
}



@media (max-width: 920px) {
  nav .menu-btn i {
    display: block;
  }

  #click:checked~.menu-btn i:before {
    content: "\f00d";
  }

  nav ul {
    position: fixed;
    top: 110px;
    left: -100%;
    background: var(--main-color);
    height: 100vh;
    width: 100%;
    text-align: center;
    z-index: 9999;
    display: block;
    transition: all 0.3s ease;
  }

  #click:checked~ul {
    left: 0;


  }

  nav ul li {
    width: 100%;
    margin: 40px 0;


  }

  nav ul li a, 
   .dropdown-item.mobile-link {
    color: var(--nav-bg);
    width: 100%;
    margin-left: -100%;
    display: block;
    font-size: 20px;
    transition: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

 .mobile-submit-btn {
  border: none;
  background-color: transparent;
  color: red;
  
  }
  
  #click:checked~ul li a {
    margin-left: 0px;
  }

  nav ul li a.active,
  nav ul li a:hover {
    background: none;
    color: cyan;

  }

  .mobile-link{
    display: block;
  }

 
  .sign-up,
  .login {
    display: none;
  }

  .announcement-bar h6 {
    font-size: 12px;
  }

  .dropdown {
    display: none;
  }
}

/* Styling for user dropdown */
.user-dropdown {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
}

.user-dropdown img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.user-dropdown i {
  margin-left: auto;
  transition: transform 0.3s ease;
}

/* Rotate arrow when active */
.user-dropdown.show i {
  transform: rotate(180deg);
}

/* Dropdown menu styling */
.dropdown-menu {
  width: 100px;
}

.dropdown-item {
  font-size: 14px;
}



/* Footer Base Styles */
#footer {
  background-color: #f8f9fa;
  font-size: 16px;
}

#footer p {
  color: #59595a;
  margin-bottom: 8px;
}

#footer h6 {
  font-weight: 600;
}

/* Social Links */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: black;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  background-color: #f7f7f8;
  border: 1px solid #f1f1f3;
  transition: all 0.3s ease-in-out;
}

.social-link:hover {
  background-color: var(--main-color);
  color: white;
  transform: scale(1.1);
}

/* Quick Links & Legal Links */
.quick-links a,
.legal-links a {
  text-decoration: none;
  color: #59595a;
  display: inline-block;
  position: relative;
}

.quick-links a::after,
.legal-links a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background-color: var(--main-color);
  transition: width 0.3s ease;
}

.quick-links a:hover::after,
.legal-links a:hover::after {
  width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  #footer {
    text-align: center;
  }

  .social-link {
    margin: 5px;
  }

  .quick-links,
  .legal-links {
    margin-top: 20px;
  }
}