/* Completely revamped dropdown menu styles */
.dropdown-container {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 200px;
  background-color: #212121;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  padding: 0.5rem 0;
  z-index: 1000;
  list-style: none;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

/* Ensure dropdown menu list items take full width */
.dropdown-menu li {
  width: 100%;
  margin: 0;
  padding: 0;
  display: block;
}

.dropdown-container:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: #FFFFFF;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
}

.dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #D32F2F;
  width: 100%;
  padding-left: 1.25rem;
}

.dropdown-menu li {
  width: 100%;
}

/* Button styles - ensuring consistent height and alignment */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  line-height: normal;
}

.btn-primary, .btn-outline {
  height: auto;
  line-height: normal;
  padding: 0.75rem 1.5rem;
}

.btn-outline {
  border: 2px solid #D32F2F;
}

/* Mobile navigation */
@media (max-width: 768px) {
  .nav-menu {
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    background-color: #1a1a1a;
  }
  
  .dropdown-container {
    display: none;
  }
  
  /* Mobile navigation layout */
  .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
    .nav-links li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-link {
    width: 100%;
    padding: 1rem 0;
    display: block;
    background-color: #212121;
  }
}


/* Hero buttons */
.hero-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.hero-cta .btn {
  min-width: 200px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .hero-cta {
    flex-direction: column;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .hero-cta .btn {
    width: 100%;
    min-width: unset;
  }
}

/* Ensure mobile-only items are hidden on desktop and shown on mobile */
.mobile-only {
  display: none !important;
}
@media (max-width: 768px) {
  .mobile-only {
    display: block !important;
  }
}
