/* Updated CSS with Menu Icons and Mobile Improvements */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rubik', sans-serif;
  background: #000;
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Navbar Styles - Updated with Icons */
.navbar {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.logo img {
  height: 30px;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.logo img:hover {
  transform: scale(1.1);
}

/* Improved Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  z-index: 1001;
  position: relative;
  transition: all 0.3s ease;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 3px;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: center;
}

.menu-toggle:hover span {
  background: #ff4081;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background: #ff4081;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background: #ff4081;
}

/* Updated Menu with Icons */
.menu {
  display: flex;
  gap: 30px;
  transition: all 0.5s ease;
}

.menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s;
  position: relative;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu a i {
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff4081, #ff8a00);
  transition: width 0.3s ease, box-shadow 0.3s ease;
}

.menu a:hover::after {
  width: 100%;
  box-shadow: 0 0 10px #ff4081;
}

.menu a:hover i {
  color: #ff4081;
  transform: translateY(-2px);
}

.menu a.active {
  color: #ff4081;
  font-weight: 600;
}

.menu a.active i {
  color: #ff4081;
  animation: bounce 0.5s ease;
}

.menu a.active::after {
  width: 100%;
  background: #ff4081;
  box-shadow: 0 0 15px #ff4081;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transform: translateX(-100%);
    opacity: 0;
    padding: 20px;
    z-index: 999;
  }
  
  .menu.active {
    transform: translateX(0);
    opacity: 1;
  }
  
  .menu a {
    font-size: 1.2rem;
    padding: 10px 0;
    width: 100%;
    justify-content: center;
  }
  
  .menu a i {
    font-size: 1.3rem;
  }
}

/* Rest of the CSS */
.container {
  padding: 30px 20px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.search-filters-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.search-container {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 15px;
  margin: 20px 0 10px;
}

.search-bar-wrapper {
  height: 60px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border-radius: 50px;
  padding: 6px 15px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.search-bar-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 64, 129, 0.2), transparent);
  transition: all 0.5s ease;
}

.search-bar-wrapper:hover::before {
  left: 100%;
}

.search-bar-wrapper:hover {
  border: 1px solid #ff4081;
  box-shadow: 0 0 30px rgba(255, 64, 129, 0.3);
  transform: translateY(-2px);
}

.search-input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  outline: none;
  background: transparent;
  color: white;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  min-width: 0;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.search-btn {
  background-color: #ff4081;
  border: none;
  color: white;
  padding: 8px 12px;
  border-radius: 30px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px #ff4081;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.search-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: all 0.5s ease;
}

.search-btn:hover::before {
  left: 100%;
}

.search-btn:hover {
  background-color: #f50057;
  transform: scale(1.05);
  box-shadow: 0 0 20px #ff4081;
}

.filters-section {
  width: 100%;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

.filters {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 12px 15px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-select {
  padding: 8px 12px;
  border-radius: 5px;
  border: none;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 120px;
}

.filter-select:hover {
  background: rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 64, 129, 0.5);
}

.filter-select:focus {
  outline: none;
  border-color: #ff4081;
  box-shadow: 0 0 0 2px rgba(255, 64, 129, 0.3);
}

.filter-select option {
  background: #1a1a1a;
  color: white;
}

.city-heading {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-weight: 600;
}

.city-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff4081, transparent);
  border-radius: 3px;
}

.consultants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
}

.consultant-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  border-radius: 15px;
  padding: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.consultant-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 25px rgba(255, 64, 129, 0.15);
  border-color: rgba(255, 64, 129, 0.2);
}

.consultant-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.consultant-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 64, 129, 0.5);
  margin-right: 15px;
  transition: all 0.3s ease;
}

.no-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 64, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  border: 2px solid rgba(255, 64, 129, 0.3);
}

.no-avatar i {
  font-size: 1.3rem;
  color: rgba(255, 64, 129, 0.5);
}

.consultant-info {
  flex: 1;
}

.consultant-info h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: white;
}

.consultant-specialty {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 5px;
}

.consultant-details {
  margin-top: 15px;
}

.detail-item {
  display: flex;
  margin-bottom: 8px;
  align-items: flex-start;
}

.detail-item i {
  color: #ff4081;
  width: 20px;
  font-size: 0.9rem;
  margin-right: 10px;
  margin-top: 3px;
}

.detail-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.4;
}

footer {
  padding: 30px;
  text-align: center;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  position: relative;
  margin-top: 60px;
}

footer p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.hyperspace {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 1px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  opacity: 0;
  animation: hyperspeed linear infinite;
}

@keyframes hyperspeed {
  0% {
    transform: translateZ(0) translateY(0);
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translateZ(1000px) translateY(100px);
    opacity: 0;
  }
}

.floating-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  filter: blur(0.5px);
  animation: float 20s infinite linear;
  z-index: -1;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(30px, 30px);
  }
  50% {
    transform: translate(0, 60px);
  }
  75% {
    transform: translate(-30px, 30px);
  }
}

.cities-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.city-group {
  position: relative;
}

.city-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

.city-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #ff4081, transparent);
}

.no-results {
  text-align: center;
  grid-column: 1 / -1;
  padding: 40px;
  color: #666;
}

.no-results i {
  font-size: 40px;
  margin-bottom: 20px;
  color: #ddd;
}

.no-results button {
  margin-top: 20px;
  padding: 10px 20px;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 5px;
}

/* Responsive Filters Section */
@media (max-width: 768px) {
  .search-filters-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 0 15px;
    width: 100%;
  }

  .search-container {
    width: 100%;
    margin: 15px 0 0;
  }

  .search-bar-wrapper {
    width: 100%;
    max-width: 100%;
    height: 60px;
    border-radius: 50px;
  }

  .filters-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    padding: 0;
  }

  .filters {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
  }

  .filter-select {
    min-width: calc(50% - 10px);
    font-size: 13px;
    padding: 8px 10px;
  }
}

@media (max-width: 480px) {
  .search-bar-wrapper {
    height: 50px;
    border-radius: 40px;
  }

  .search-input {
    padding: 6px 10px;
    font-size: 0.85rem;
  }

  .search-btn {
    padding: 6px 10px;
  }

  .filter-select {
    min-width: 100%;
  }
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 64, 129, 0.5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 64, 129, 0.7);
}

.filter-heading {
  margin-right: 10px;
  font-weight: 600;
  color: #fff;
  font-size: 0.9rem;
  white-space: nowrap;
}

.filters {
  display: flex;
  align-items: center;
}

/* Premium Footer */
footer {
  padding: 60px 20px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff4081, #ff8a00);
  animation: footerBorder 3s infinite linear;
}

@keyframes footerBorder {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  max-width: 300px;
}

.footer-logo img {
  height: 40px;
  filter: drop-shadow(0 0 5px rgba(255, 64, 129, 0.5));
  transition: all 0.3s ease;
}

.footer-logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(255, 64, 129, 0.8));
}

.footer-slogan {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  position: relative;
  padding-left: 15px;
}

.footer-slogan::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: #ff4081;
  border-radius: 50%;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footer-social a {
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
  background: #ff4081;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 64, 129, 0.4);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: #ff4081;
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  text-align: right;
}

.footer-copyright a {
  color: #ff4081;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-copyright a:hover {
  text-decoration: underline;
}

/* Floating decoration elements */
.footer-decoration {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 64, 129, 0.05);
  filter: blur(20px);
  z-index: -1;
}

.decoration-1 {
  top: 20%;
  left: 10%;
  width: 150px;
  height: 150px;
}

.decoration-2 {
  bottom: 10%;
  right: 15%;
  width: 200px;
  height: 200px;
}

/* Responsive footer */
@media (max-width: 768px) {
  footer {
    flex-direction: column;
    gap: 30px;
    text-align: center;
    padding: 40px 20px;
  }

  .footer-left, .footer-right {
    align-items: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}