html,
body {
  height: 100%;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
}

.hero-section {
  background: linear-gradient(rgba(0, 150, 150, 0.8), rgba(0, 150, 150, 0.8));

  background-size: cover;
  background-position: center;

  padding: 120px 0;
}

/* Event Page CSS Code */

/* Events Section */

.events-section {
  background: #f8fbfb;
  min-height: 70vh;
  display: flex;
}

/* Title */

.events-title {
  font-weight: 700;
  font-size: 34px;
  color: #2c8f8f;
  position: relative;
}

.events-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #2c8f8f;
  display: block;
  margin: 10px auto;
  border-radius: 3px;
}

/* Empty Card */

.events-empty {
  background: #fff;
  border-radius: 15px;
  margin-top: -10px;
  position: relative;
  z-index: 5;
  padding: 40px;
}

/* Icon */

.events-icon {
  font-size: 50px;
  margin-bottom: 15px;
  margin-top: 10px !important;
}

/* Events Content */

.events-empty p {
  font-size: 18px;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 6px;
}

/* Event Title */

.events-empty h5 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
}

/* Announcement line */

.events-empty p:first-of-type {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

/* Bullet emoji lines */

/* .events-empty p:nth-child(n + 3) {
  font-size: 18px;
  margin: 4px auto;
}
 */

/* .events-gallery img {
  transition: 0.3s;
}

.events-gallery img:hover {
  transform: scale(1.05);
} */

#eventsCarousel {
  border-radius: 14px;
  overflow: hidden;
  border: 6px solid #ffffff; /* white frame */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background: #c0e6e6;
}

/* carousel item */

.carousel-item {
  position: relative;
  overflow: hidden;
}

/* blurred background */

.carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  transform: scale(1.2);
  z-index: 0;
}

/* main image */

.carousel-item img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 420px;
  object-fit: contain;
  background-color: #d7f1f1;
}

/* navigation buttons */

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(155, 152, 152, 0.5);
  border-radius: 50%;
}

.carousel-control-prev {
  left: 15px;
}

.carousel-control-next {
  right: 15px;
}

/* arrow icons */

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}
