body {
  background: #f8f9fa;
}

.carousel-caption {
  top: auto;
  bottom: 50%;
  background-color: rgba(108, 102, 102, 0.3);
  border-radius: 100px;
}

.carousel-caption h1,
.carousel-caption p {
  color: #fff;
  /* make text white */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  /* add shadow for clarity */
}

.carousel-item img {
  height: 600px;
  /* fixed height */
  object-fit: cover;
  /* crop to fill space */
  width: 100%;
  /* always full width */
  transform: scale(1);
  transition: transform 6s ease-in-out;
}

.carousel-item.active img {
  transform: scale(1.1);
  /* slight zoom */
}

.card {
  border-radius: 12px;
  height: 250px;
  width: 100%;
  display: flex;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 50px 100px rgba(180, 6, 6, 0.2);
}

/* Show dropdown on hover for large screens only */
@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  .navbar .dropdown-menu {
    margin-top: 0;
  }
}

/* Hover dropdown for desktop */
@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* Sticky navbar shadow effect */
.navbar.fixed-top {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.register-card {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
  background-color: #e3f2fd;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 600;
  margin-top: 30px;
}