/* Services Dropdown Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: rgba(8, 8, 18, 0.9);
  backdrop-filter: blur(10.781rem);
  min-width: 250px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 4px;
  overflow: hidden;
  right: 0;
}

.dropdown-content a {
  color: #EEE;
  font-family: "Overused Grotesk", serif;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.8rem;
  letter-spacing: 0.01125rem;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-content a.active {
  background-color: rgba(255, 255, 255, 0.15);
  font-weight: 600;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: rgba(8, 8, 18, 0.9);
  backdrop-filter: blur(10.781rem);
  min-width: 340px;
  z-index: 1;
  overflow: hidden;
  margin-top: 10px;
  border-radius: 0px 16px 16px 16px;
  border: 1px solid #2E2B3B;
  background: linear-gradient(162deg, #0F0D1A 4.35%, #191436 95.68%);
  box-shadow: 0px 4px 240px -15px rgba(77, 48, 255, 0.80);
}

/* Removed hover functionality - now controlled by JavaScript */
.footer_links .dropdown-content {
  bottom: 0;
}
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer__content_sn .footer_links {
  align-items: flex-start;
  justify-content: flex-start;
}
@media (max-width: 1024px) {
  .footer_links .dropdown-content {
    left: 0;
    bottom: -0px;
  }
}
@media (max-width: 640px) {
  .dropdown-content {
    position: static;
    background: transparent;
    box-shadow: none;
    margin-top: 10px;
  }

  .dropdown-toggle::after {
    display: none;
  }

  .dropdown-content a {
    font-size: 1.3rem;
    padding: 8px 20px;
  }
  .footer_links .dropdown-content {
    position: absolute;
    left: 0;
    bottom: 30px;
  }
}
