* {
  margin: 0;
  padding: 0;
  text-decoration: none !important;
  box-sizing: border-box;
  font-family: "Merriweather", Georgia, serif;
}

html,
body {
  overflow-x: hidden;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: radial-gradient(circle, #a0003d, #45001e);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo img {
  width: 60px;
  border-radius: 50%;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  padding: 10px;
  font-size: 18px;
}

/* .active {
  font-weight: bold;
  border-bottom: 2px solid #fff;
} */

.login-btn {
  padding: 2px 15px;
  border: 1px solid #45001e;
  background: #a0003d;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  border-radius: 50%;
  transition: all 0.5s ease; /* Smooth transition */
}
.login-btn:hover {
  border: 1px solid #a0003d;
  background-color: #fff;
  color: #45001e;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 11;
}

.hamburger div {
  width: 30px;
  height: 3px;
  background-color: #fff;
  margin: 5px;
}

/* Dropdown Styling */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  min-width: 100px;
  z-index: 20;
}

.dropdown-menu li {
  padding: 10px;
  white-space: nowrap;
}

.dropdown-menu li a {
  color: #45001e;
  display: block;
}

.dropdown-menu li:hover {
  background: #a0003d;
}

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

.mobile-dropdown-menu {
  display: none;
  list-style: none;
  padding-left: 20px;
}

.mobile-dropdown-menu.active {
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 80px;
  right: 0;
  width: 50%;
  /* height: 100vh; */
  background: radial-gradient(circle, #a0003d, #45001e);
  color: #fff !important;
  box-shadow: -5px 0 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
  padding: 0;
}

.mobile-menu ul li {
  margin: 20px 0;
  padding: 2%;
}

.mobile-menu ul li a {
  color: #fff;
  font-size: 18px;
}

nav ul li:hover,
.mobile-menu ul li:hover {
  transition: all 0.5s ease; /* Smooth transition */
  background-color: #eb96b6;
  border-radius: 5px;
}
nav ul li a:hover,
.mobile-menu ul li a:hover {
  transition: all 0.5s ease; /* Smooth transition */
  color: #45001e;
 
}

.profile-dropdown {
  position: relative;
  display: inline-block;
  margin-left: 15px;
}

.profile-pic {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #a0003d;
  object-fit: cover;
}

.profile-menu {
  display: none;
  position: absolute;
  top: 50px;
  right: 0;
  background-color: white;
  border: 1px solid #ddd;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 8px;
  width: 160px;
  z-index: 100;
}

.profile-menu li a {
  display: block;
  padding: 12px 16px;
  color: black;
  font-size: 14px;
}

.profile-menu li a:hover {
  background-color: #a0003d;
}

.footer {
  background: radial-gradient(circle, #a0003d, #45001e);
  color: #fff;
  padding: 2rem 1rem 1rem;
}

.footer-bottom {
  font-size: 1.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
}

.blood-drop {
  position: absolute;
  width: 24px;
  height: 36px;
  animation: fall linear infinite;
  z-index: 2;
}

.blood-drop svg {
  width: 100%;
  height: 100%;
}

@keyframes fall {
  0% {
    transform: translateY(-36px);
    /* Start from just above the viewport */
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  100% {
    transform: translateY(100vh);
    /* End at the bottom of the viewport */
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .login-btn,
  #profile-dropdown {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu .dropdown-menu {
    background-color: #f9f9f9;
    transition: all 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
  }

  .mobile-menu .dropdown:hover .dropdown-menu {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu .dropdown-menu li {
    margin: 10px 0;
  }

  .mobile-menu .dropdown-menu li a {
    color: #333;
    font-size: 16px;
  }

  .footer-bottom {
    text-align: center;
    font-size: 1.3rem;
  }
  html,
  body {
    overflow-x: hidden;
  }
}
