.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 1rem;
  padding-right: 1rem;
  position: relative;
  background-color: #c3b5fd57;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #000;
  text-decoration: none;
}
.logo-div {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #000;
}

.nav-links a.active {
  color: #c4b5fd;
}

.login-btn {
  background: #c4b5fd;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 1.5rem;
  border: none;
  cursor: pointer;
}
.login-phn {
  display: none;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #000;
  margin: 5px 0;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    z-index: 1000;
  }

  .nav-links {
    position: fixed;
    top: 0;
    z-index: 100;
    right: -100%;
    height: 100vh;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
  }
  .blob,
  .blob-1,
  .blob-2,
  .cat1-image,
  .cat2-image,
  .login-desktop {
    display: none;
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .cta-buttons {
    justify-content: center;
  }
}

.user-icon {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.user-icon img {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid #fff;
  transition: transform 0.2s ease-in-out;
}

.user-icon img:hover {
  transform: scale(1.1);
}

.user-menu {
  position: relative;
  display: inline-block;
}

.user-icon {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.profile-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  transition: transform 0.2s ease-in-out;
}

.profile-img:hover {
  transform: scale(1.1);
}

.dropdown-menu {
  position: absolute;
  top: 50px;
  right: 0;
  background: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  width: 150px;
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  z-index: 1000;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-menu li {
  padding: 10px;
  text-align: center;
}

.dropdown-menu li a,
.dropdown-menu li button {
  text-decoration: none;
  color: black;
  font-size: 14px;
  display: block;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
}

.dropdown-menu li button:hover,
.dropdown-menu li a:hover {
  background: #f1f1f1;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .user-menu {
    display: none !important;
  }
}
