* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", serif !important;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 25px;
  background-color: #ececec;
  color: black;
  position: sticky !important;
  top: 0;
  z-index: 2000;

}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  /* width: 40px; */
  height: 80px;
  margin-right: 10px;
}

/* .logo-name {
  font-size: 20px;
  font-weight: bold;
  color: black;
} */

.logo-name {
  color: #daa91a;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  list-style-type: none;
  z-index: 2000;
  margin-left: 10px;
  /* padding-left: 0; */
}


/* Ensure the menu-toggle button is above other elements */
.menu-toggle {
  display: block;
  font-size: 30px;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3000;
}

.menu-toggle:hover {
  color: #349b2cc2;
}


.menu.active {
  display: flex;
  z-index: 2000;
}

.dropdown-content.show {
  display: block;
  z-index: 1500;
}


.menu a {
  /* color: white; */
  color: #000;
  text-decoration: none;
  font-size: 14px;
  padding: 8px;
}

.menu a:hover {
  /* text-decoration: underline; */
  color: #349b2cc2;
}

.buttons {
  display: flex;
  gap: 10px;
}

.buttons button {
  background-color: #349b2cc2;
  border: none;
  padding: 10px 20px;
  color: #000;
  cursor: pointer;
  font-size: 14px;
  border-radius: 5px;
  font-weight: 500;
}

.buttons button:hover {
  background-color: #668011;
}


.buttons button a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

.dropdown {
  position: relative;
}

.dropdown .dropdown-content {
  display: none;
  background-color: #ececec;
  width: max-content;
  padding-left: 0;
  list-style-type: none;
}


.dropdown .dropdown-content li {
  padding: 16px 16px;
}

.dropdown .dropdown-content li:hover {
  background-color: #349b2cc2;
}

.dropdown .dropdown-content li a {
  /* color: white; */
  color: #000;
  text-decoration: none;
}



.dropdown-content.show {
  display: block;
}


.arrow {
  margin-left: 8px;
  font-size: 16px;
  transition: transform 0.3s ease;
}

.arrow.rotate {
  transform: rotate(180deg);
}


@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    flex-grow: 1;
  }

  .buttons {
    display: flex;
    gap: 20px;
    /* position: absolute;
      right: 50px;  */
    margin-right: 30px;
  }

  .buttons button {
    width: 100px;
  }

  .button {
    display: flex;
    gap: 20px;
    /* position: absolute;
    right: 50px;  */
    margin-right: 30px;
  }

  .button button {
    width: 100px;
  }


  .menu {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #ececec;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    gap: 0px;
  }


  .menu.active {
    display: flex;
    width: 50%;
    height: 100vh;
    justify-content: flex-start;
    right: 100px;
    position: absolute;
    left: 50%;
  }

  .menu li {
    width: 100%;
    text-align: center;
  }

  .menu li a {
    padding: 15px;
    font-size: 14px;
  }

  .menu a:hover {
    /* background-color: #555; */
  }

  /* 

  .menu-toggle {
      display: block;
      font-size: 30px;
      cursor: pointer;
      position: absolute;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
  } */


  .menu.active {
    display: flex;
  }

  .dropdown .dropdown-content {
    width: 100%;
    background-color: #fff;
  }
}


@media screen and (min-width: 769px) {
  .menu {
    display: flex;
    flex-direction: row;
  }

  .menu-toggle {
    display: none;
  }


  .dropdown .dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    width: max-content;
    background-color: #ececec;
    color: #000;
  }


  .dropdown:hover .dropdown-content {
    display: block;
  }

  .dropdown-content.show {
    display: block;
  }

  .menu li {
    position: relative;
  }
}



.buttons {
  display: flex;
  gap: 10px;
}

.buttons button {
  background-color: #349b2cc2;
  border: none;
  padding: 10px 20px;
  color: #000;
  cursor: pointer;
  font-size: 14px;
  border-radius: 5px;
  font-weight: 500;
}

.buttons button:hover {
  background-color: #668011;
}

.buttons button a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

/* Mobile and smaller screen adjustments */
@media screen and (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #ececec;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    gap: 0px;
    z-index: 10;
  }

  .menu.active {
    display: flex;
  }

  /* 
  .menu-toggle {
      display: block;
      font-size: 30px;
      cursor: pointer;
      position: absolute;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
  } */

  .buttons {
    display: flex;
    /* flex-direction: column; */
    gap: 1px;
    /* margin-top: 20px; */
    width: 100%;
    align-items: center;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
  }

  .buttons button {
    width: 100%;
    /* Full width */
    font-size: 16px;
  }

  .button {
    display: flex;
    /* flex-direction: column; */
    gap: 1px;
    /* margin-top: 20px; */
    width: 100%;
    align-items: center;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
  }

  .button button {
    width: 100%;
    /* Full width */
    font-size: 14px;
  }
}