.filter-section {
    margin: 3em;
    background: #ffffff;
    padding: 1rem 1rem;
    border-radius: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.section-title {
    text-align: center;
}

.form-label {
    font-weight: 500;
}

.form-control {
    border-radius: 0.5rem;
    padding: 0.75rem;
    transition: border 0.3s;
}

.form-control:focus {
    border-color: #421F6F;
    box-shadow: 0 0 0 0.15rem #c8c0d3;
}

@media (max-width: 576px) {
    .filter-section{
        margin-left: 3%;
        margin-right: 3%;
    }
}

/* Mechanical Questions */
.question-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.question-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-img-top {
  height: 300px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.badge {
  font-size: 0.85rem;
  padding: 0.4em 0.7em;
}

.download-btn {
  margin-top: 1rem;
  width: 100%;
}

@media (max-width: 576px) {
  .card-body {
    text-align: center;
  }
}

/* Pagination Buttons */
.pagination {
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.page-link {
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    color: #333;
    background-color: #f0f2f5;
    transition: all 0.2s ease;
}

.page-link:hover {
    background-color: #e0e6ec;
}

.page-item.active .page-link {
    background-color: #421F6F;
    color: white;
    box-shadow: 0 0 0 0.15rem #c8c0d3;
}

.page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}