.qosqo-subnav {
  position: -webkit-sticky;
  position: sticky;
  top: 90px; /* Offset for main header */
  z-index: 990;
  background-color: rgba(0, 0, 0, 0.85); /* Dark cinematic theme */
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232, 195, 151, 0.2);
  padding: 15px 0;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.qosqo-subnav .subnav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* responsive */
  gap: 20px;
}

.qosqo-subnav .subnav-links li {
  margin: 0;
}

.qosqo-subnav .subnav-links a {
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

/* Hover effects */
.qosqo-subnav .subnav-links a:hover,
.qosqo-subnav .subnav-links a.active {
  color: #e8c397; /* Theme gold color */
}

.qosqo-subnav .subnav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #e8c397;
  transition: width 0.3s ease;
}

.qosqo-subnav .subnav-links a:hover::after,
.qosqo-subnav .subnav-links a.active::after {
  width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .qosqo-subnav {
    top: 60px; /* Reduced for smaller headers */
    padding: 10px 0;
  }
  .qosqo-subnav .subnav-links {
    gap: 15px;
  }
  .qosqo-subnav .subnav-links a {
    font-size: 11px;
    letter-spacing: 1px;
  }
}
