/* General slider container adjustments */
#college-slider {
  display: flex;
  overflow: hidden;
  padding: 10px;
  gap: 20px;
}

/* Card styles */
#college-slider .card {
  flex: 0 0 100%;
  max-width: 100%;
  margin: 0 auto;
  height: 400px; /* Fixed height for alignment */
  transition: transform 0.3s ease-in-out;
  overflow: hidden;
}

#college-slider .card:hover {
  transform: scale(1.05);
}

.card-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-body p {
  max-height: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Responsive Styles */
@media (max-width: 768px) {
  #college-slider .card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  #college-slider .card-img-top {
    height: 200px;
  }

  #college-slider .card-body {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  #college-slider .card-img-top {
    height: 150px;
    object-fit: cover;
  }

  #college-slider .btn-primary-soft {
    font-size: 12px;
  }
}
