nav {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

nav{
  display: block;
}




/* 
---------------------------------------------
03. Header Style
--------------------------------------------- 
*/
.header-area {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  padding: 20px 0;
  transition: all 0.5s ease;
}

.main-nav {
  background: rgba(249, 249, 249, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  animation: slideDown 0.5s ease-out;
}

.background-header .main-nav {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.logo img {
  max-height: 50px;
  width: auto;
  transition: all 0.3s ease;
}

.nav {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 5px;
}

.nav li {
  position: relative;
}

.nav-link {
  display: block;
  padding: 12px 20px;
  color: #8865e1;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.nav-link:hover {
  background-color: rgba(136, 101, 225, 0.1);
  color: #6b46c1;
  transform: translateY(-1px);
}

.sign-in-button {
  background: linear-gradient(135deg, #8865e1, #6b46c1);
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(136, 101, 225, 0.3);
  border: none;
  cursor: pointer;
}

.sign-in-button:hover {
  background: linear-gradient(135deg, #6b46c1, #553c9a);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(136, 101, 225, 0.4);
}

.menu-trigger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  transition: all 0.3s ease;
}

.menu-trigger span,
.menu-trigger span:before,
.menu-trigger span:after {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #8865e1;
  transition: all 0.3s ease;
  position: relative;
}

.menu-trigger span:before,
.menu-trigger span:after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-trigger span:before {
  top: -8px;
}

.menu-trigger span:after {
  top: 8px;
}

.menu-trigger.active span {
  background-color: transparent;
}

.menu-trigger.active span:before {
  transform: rotate(45deg);
  top: 0;
}

.menu-trigger.active span:after {
  transform: rotate(-45deg);
  top: 0;
}


/* User Profile Dropdown Styles */
.user-profile-dropdown {
  position: relative;
  display: inline-block;
  z-index: 9999 !important;
}

.profile-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(136, 101, 225, 0.3);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.profile-trigger:hover {
  background: rgba(136, 101, 225, 0.2);
  border-color: rgba(136, 101, 225, 0.5);
  transform: translateY(-1px);
}

.profile-image1 {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.dropdown-arrow {
  color: #8865e1;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.profile-trigger.active .dropdown-arrow {
  transform: rotate(180deg);
}

.user-profile-dropdown .dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(15px);
  border-radius: 12px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
  min-width: 180px !important;
  width: auto !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) !important;
  transition: all 0.3s ease !important;
  z-index: 10000 !important;
  margin-top: 8px !important;
  border: 1px solid rgba(136, 101, 225, 0.2) !important;
  padding: 0 !important;
  display: block !important;
  float: none !important;
}

.user-profile-dropdown .dropdown-menu.active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.user-profile-dropdown .dropdown-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 18px !important;
  color: #1e1e1e !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
  border-bottom: 1px solid rgba(136, 101, 225, 0.1) !important;
  width: 100% !important;
  white-space: nowrap !important;
}

.user-profile-dropdown .dropdown-item:last-child {
  border-bottom: none !important;
}

.user-profile-dropdown .dropdown-item:hover {
  background: rgba(136, 101, 225, 0.1) !important;
  color: #8865e1 !important;
  transform: translateX(3px) !important;
}

.user-profile-dropdown .dropdown-item.logout:hover {
  background: rgba(239, 68, 68, 0.1) !important;
  color: #ef4444 !important;
}

.user-profile-dropdown .dropdown-item i {
  font-size: 16px !important;
  width: 16px !important;
  text-align: center !important;
}


/* Mobile Signin */
.mobile-signin {
  display: none;
}




/* 1199px */
@media (max-width: 1199px) {
  .header-area {
    padding: 15px 0;
    top: 0px;
  }

  .header-area .main-nav .logo h1 {
    font-size: 34px;
    border-right: none;
  }

  
  .main-nav {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    position: relative;
  }

  .logo {
    order: 1;
    flex: 0 0 auto;
  }

  .user-profile-dropdown {
    order: 2;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    margin: 0 auto;
  }

  .menu-trigger {
    display: flex;
    order: 3;
    flex: 0 0 auto;
  }

  .sign-in-button {
    display: none;
  }

  .mobile-signin {
    display: block;
    width: 100%;
  }

  .sign-in-link {
    display: block;
    background: linear-gradient(135deg, #8865e1, #6b46c1);
    color: white !important;
    text-align: center;
    padding: 12px 20px;
    margin: 10px 20px 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .sign-in-link:hover {
    background: #6b46c1;
  }

  .nav {
    order: 4;
    width: 100%;
    flex-direction: column;
    background: rgba(233, 225, 254, 0.95);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    gap: 2px;
  }

  .nav.active {
    max-height: 1000px;
    opacity: 1;
    transition: max-height 0.4s ease, opacity 0.3s ease;
  }

  .nav li {
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(136, 101, 225, 0.1);
    text-align: center;
  }

  .nav li:last-child {
    border-bottom: none;
    margin-bottom: 10px;
  }

  .nav-link {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px 20px;
    font-size: 15px;
    color: #1f2937;
  }

  .nav-link:hover {
    background-color: rgba(136, 101, 225, 0.1);
    color: #8865e1;
  }

  .nav-link.active {
    background-color: #8865e1;
    color: white;
  }
}

/* 1024px */
@media (max-width: 1024px) {
  .nav {
    gap: 2px;
  }

  .nav-link {
    padding: 10px 15px;
    font-size: 15px;
  }

  .sign-in-button {
    padding: 10px 20px;
    font-size: 15px;
  }
}

/* 768px */
@media (max-width: 768px) {
  .header-area .main-nav .logo h1 {
    border-right: none;
  }

  .user-profile-dropdown {
    order: 2;
    margin-right: 15px;
  }

  .profile-trigger {
    padding: 6px 12px;
  }

  .profile-image1 {
    width: 30px;
    height: 30px;
  }

  .user-profile-dropdown .dropdown-menu {
    right: -10px !important;
    min-width: 160px !important;
  }
}

/* 480px */
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .main-nav {
    padding: 10px 15px;
  }
}





