/* ===== Search Form Styling ===== */
.filter-context p {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: #0199fd;
  margin-bottom: 20px;
  font-family: "Montserrat", sans-serif;
  line-height: 38px;
}
.quick-cate .filter-context p {
  color: #FFF;
  text-align: center;
  margin-top: 15px;
}

.search-form-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-form {
  margin: 0;
}

.search-input-section {
  margin-bottom: 25px;
}

.search-input-section .input-group {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-input-section .input-group-addon {
  background: #0199fd;
  border: none;
  color: white;
  padding: 6px 20px;
  font-size: 14px;
}

.search-input-section .form-control {
  border: none;
  font-size: 14px;
  background: white;
  box-shadow: none;
}

.search-input-section .form-control:focus {
  box-shadow: none;
  border: none;
}

.search-input-section .input-group-btn .btn {
  border-radius: 0;
  padding: 15px 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-options-section {
  background: rgba(248, 249, 250, 0.8);
  padding: 20px;
  margin-top: 20px;
}

.filter-group {
  margin-bottom: 0;
}

.filter-label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-label i {
  color: #0199fd;
}

.form-control {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 14px;
  background-color: white;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #0199fd;
  box-shadow: 0 0 0 0.2rem rgba(32, 146, 205, 0.25);
}

.filter-actions .btn {
  border-radius: 8px;
  padding: 12px 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Form actions section */
.form-actions-section {
  margin-top: 25px;
}

.form-actions-section .btn {
  border-radius: 4px;
  transition: all 0.3s ease;
}

.form-actions-section .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments for search form */
@media (max-width: 768px) {
  .search-form-container {
    padding: 20px;
    margin: 10px;
  }
  
  .form-actions-section .btn {
  }
  
  .filter-options-section {
    padding: 15px;
    margin: 0;
  }

  .filter-group {
    margin-bottom: 15px;
  }
}

.direct-context {
  background: #0199fd;
  padding-bottom: 40px;
}

/* ===== Category Grid with Image Covers ===== */
.quick-cate .category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  margin-top: 20px;
  justify-content: center;
}

.category-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.category-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.category-image {
  height: 150px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}


.category-content {
  text-align: center;
  color: white;
  padding: 15px;
}

.quick-cate .category-title {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #FFF;
}

.category-description {
  font-size: 14px;
  margin: 0;
  opacity: 0.9;
  line-height: 1.4;
}

/* Responsive category grid */
@media (max-width: 768px) {
  .quick-cate .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 16px;
  }
  
  .category-image {
    height: 120px;
  }
  
  .category-title {
    font-size: 16px;
  }
  
  .category-description {
    font-size: 12px;
  }

  .filter-section {
    margin: -70px auto 30px;
  }
}
