/* Advertisement section container */
.advertisement-section {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  height: 250px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

/* Image section */
.image-section {
  position: relative;
  background: transparent;
  width: 100%;
  height: 100%;
}

.woman-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

/* Filter Section Styles */
.filter-section {
  padding: 2rem 0;
}

/* Heading Styles */
.filter-heading {
  font-size: 2.5rem;
  font-weight: 500;
  color: #212529;
  margin-bottom: 1rem;
  font-family: "Poppins", sans-serif;
}

.highlighted-text {
  background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
  padding: 0.2rem 0.8rem;
  border-radius: 0.5rem;
  color: #212529;
  font-weight: 700;
}

.filter-subtitle {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.5;
  font-family: "Poppins", sans-serif;
}

/* Filter Button Styles */
.filter-btn {
  background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
  border: none;
  color: #1f2937;
  font-weight: 600;
  padding: 0.75rem 0.5rem;
  border-radius: 2rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  min-width: 120px;
}
#applyFilterBtn{
  background: #1D4ED8 ;
  color: white;
}
#applyFilterBtn:focus{
  box-shadow: #1D4ED8 ;
}
.filter-btn:hover {
  background-color: #F59E0B;
  color: #1f2937;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.filter-btn:focus {
  background-color: #F59E0B;
  color: #1f2937;
  box-shadow: 0 0 0 0.2rem rgba(251, 191, 36, 0.25);
}
#filter_main{
  margin-top: 5%;
}
#number_card{
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Sort Button Styles */
.sort-btn {
  text-align: center;
  width: 20%;
  background-color: transparent;
  border: 2px solid #d1d5db;
  color: #6b7280;
  font-weight: 600;
  padding: 0.75rem 0.5rem;
  border-radius: 2rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 120px;
  justify-content: center;
  cursor: pointer;
}


.sort-btn:hover {
  border-color: #FBBF24;
  color: #1f2937;
  background-color: rgba(251, 191, 36, 0.1);
  transform: translateY(-1px);
}

.sort-btn:focus {
  border-color: #FBBF24;
  color: #1f2937;
  box-shadow: 0 0 0 0.2rem rgba(251, 191, 36, 0.25);
}

/* Dropdown Styles */
.dropdown-menu {
  border: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  padding: 0.5rem;
  margin-top: 0.5rem;
}

.dropdown-item {
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: #374151;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: #FBBF24;
  color: #1f2937;
}

.form-select.filter-btn {
  text-align: center;
  background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
  border: none;
  color: #1f2937;
  font-weight: 600;
  padding: 0.75rem 0.5rem;
  border-radius: 2rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  min-width: 120px;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.1);
  appearance: none;
  cursor: pointer;
}

.form-select.filter-btn:focus {
  background-color: #F59E0B;
  color: #1f2937;
  box-shadow: 0 0 0 0.2rem rgba(251, 191, 36, 0.25);
  outline: none;
}

.form-select.filter-btn:hover {
  background-color: #F59E0B;
  color: #1f2937;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.form-select.filter-btn option {
  background: #fff8e1;
  color: #1f2937;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  text-align: center;
  padding: 0.5rem 0;
  border-radius: 0.5rem;
}

.form-select.filter-btn option:hover,
.form-select.filter-btn option:checked {
  background: #ffe082;
  color: #1d4ed8;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .filter-heading {
    font-size: 2rem;
  }
  
  .filter-section {
    padding: 1.5rem 0;
  }
}

@media (max-width: 767.98px) {
  .advertisement-section {
    height: 200px;
  }
  
  .filter-heading {
    font-size: 1.75rem;
  }
  
  .filter-subtitle {
    font-size: 0.9rem;
  }
  
  .filter-btn,
  .sort-btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .filter-section {
    padding: 1rem 0;
  }
}

@media (max-width: 575.98px) {
  .advertisement-section {
    height: 180px;
  }
  
  .filter-heading {
    font-size: 1.5rem;
  }
  
  .highlighted-text {
    padding: 0.1rem 0.6rem;
  }
  
  .filter-btn,
  .sort-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* Hover effects for advertisement */
.advertisement-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

/* Animation for smooth transitions */
.advertisement-section,
.woman-image {
  transition: all 0.3s ease;
}

/* Container improvements */
.container {
  max-width: 1200px;
}

/* Ensure proper spacing */
.container-fluid {
  padding: 1rem 0;
}

@media (max-width: 767.98px) {
  .container-fluid {
    padding: 0.5rem 0;
  }
}
.search-container {
  padding: 1rem 0;
  margin: 0;
  background-color: #fff;
  position: relative;
  z-index: 10;
}

.search-form {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin: 0 auto;
  max-width: 800px;
}



.dropdown-toggle:hover {
  background-color: #e9ecef;
  border-color: #ced4da;
  transform: translateY(-1px);
}

.dropdown-toggle:focus {
  box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.25);
}

.dropdown-item {
  padding: 10px 20px;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #495057;
}

.dropdown-item:active {
  background-color: #e9ecef;
  color: #495057;
}

.search-input {
  width: 60px;
  height: 60px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #495057;
  border-color: #1D4ED8;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
  outline: none;
}

.search-input:hover {
  border-color: #ced4da;
  background-color: #e9ecef;
  transform: translateY(-1px);
  border-color: #1D4ED8;
}

.search-input:focus {
  border-color: #1D4ED8;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
  background-color: #fff;
}

.search-input.has-value {
  background-color: #fff;
  border-color: #28a745;
  color: #28a745;
}

.search-input.invalid {
  border-color: #dc3545;
  background-color: #fff5f5;
  animation: shake 0.3s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.btn-search {
  background-color: #1D4ED8;
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  min-width: 100px;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);

}

.btn-search:hover {
  background-color: #1E40AF;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
  color: white;
}

.btn-clear {
  background-color: #f8f9fa;
  color: #495057;
  border: 1px solid #dee2e6;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  min-width: 100px;
  box-shadow: 0 6px 14px rgba(100, 116, 139, 0.3);
}

.btn-clear:hover {
  background-color: #e9ecef;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(100, 116, 139, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .search-form {
    padding: 0.75rem;
    margin: 0 0.5rem;
  }
  
  .search-input.mobile-input {
    width: 35px;
    height: 35px;
    font-size: 1rem;
    padding: 0.25rem;
  }
  
  .dropdown-toggle {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
  
  .btn-search, .btn-clear {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    min-width: 80px;
    height: 38px;
  }
}

@media (max-width: 576px) {
  .search-input {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .dropdown-toggle {
    min-width: 80px;
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .btn-search, .btn-clear {
    padding: 8px 16px;
    font-size: 12px;
  }
}

/* Mobile specific styles */
.mobile-input {
  width: 35px;
  height: 35px;
  font-size: 16px;
}

@media (max-width: 480px) {
  .mobile-input {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}
