h1 {
    text-align: center;
}

.carousel-inner {
  height: 0;
  padding-bottom: 45%; /* this sets carousel aspect ratio (4:1 here) */
}

.carousel-item {
  position: absolute !important; /* Bootstrap is insistent */
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.carousel-item img {
  height: 100%; /* Bootstrap handles width already */
  object-fit: cover; /* or 'contain' if you want stretch instead of crop */
}

.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.card-body {
    padding: 1.5rem;
}

.card-img-top {
width: 100%;
height: 40vh;
object-fit: cover;
}