/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.hero-carousel .carousel-item img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  filter: brightness(70%);
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}  
/* Center Content */
.center-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  color: white;
  text-align: center;
  width: 90%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.center-content h1 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 1.8rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  line-height: 1.3;
  max-width: 700px;
}
.search-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 50px;
  padding: 6px 10px 6px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  width: 100%;
}
.filter-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.search-field {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 120px;
  padding: 4px 8px;
}
.search-field label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--qj-primary-dark);
  margin-bottom: 2px;
  text-align: left;
}
.search-field label i {
  color: var(--qj-pink);
}
.search-field input,
.search-field select {
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: #333;
  width: 100%;
  padding: 0;
  appearance: none;
  cursor: pointer;
}
.search-field input::placeholder { color: #aaa; }

.search-field--lg { flex: 2; }
.search-field--sm { flex: 0.7; }

.search-divider {
  width: 1px;
  height: 32px;
  background: #c7c7c7;
  flex-shrink: 0;
}
.skills-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  max-height: 200px;
  overflow-y: auto;
  display: none;
  margin-top: 4px;
}
.skills-dropdown.open { display: block; }
.skills-dropdown-item {
  padding: 8px 14px;
  font-size: 13px;
  color: #333;
  cursor: pointer;
}
.skills-dropdown-item:hover {
  background: var(--qj-secondary);
  color: var(--qj-primary-dark);
}
.search-btn {
  background: var(--qj-primary);
  color: var(--qj-yellow);
  border: none;
  border-radius: 40px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}
.search-btn:hover { background: var(--qj-primary-dark); }
.hire-link {
  display: inline-block;
  margin-top: 1.2rem;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 1px;
}
.hire-link:hover { 
  color: #fff;
  transform: scale(1.01);
}
@media (max-width: 992px) {
  .search-card {
    border-radius: 20px;
    padding: 15px;
  }
  .filter-form {
    gap: 12px;
  }
  .search-divider {
    display: none;
  }
  .search-field {
    flex: 1 1;
  }
  .search-field--lg {
    flex: 1 1 100%;
  }
  .search-btn {
    width: 100%;
    border-radius: 30px;
    height: 45px;
  }
}

@media (max-width: 576px) {
  .search-card {
    border-radius: 15px;
    padding: 15px;
  }
  .filter-form {
    flex-direction: column;
    align-items: stretch;
  }
  .search-field {
    width: 100%;
  }
  .search-field label {
    font-size: 11px;
  }
  .search-btn {
    width: 100%;
    height: 45px;
    border-radius: 30px;
    font-size: 14px;
  }
  .center-content h1 {
    font-size: 23px;
  }
}