  /* CSS for the header */
     body {
      padding-top: 230px;
    }
    #header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1050;
      background-color: #003366;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    section[id] {
      scroll-margin-top: 230px;
    }
    html {
      scroll-behavior: smooth;
    }



grad1 {
  height: 200px;
  background-image: linear-gradient(to right, rgba(255,0,0,0), rgba(255,0,0,1));
}

.pagination li {
  padding: 0 5px;
  font-weight: 900;
}

 .timeline {
    position: relative;
    padding-left: 40px;
  }
  .timeline::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #fff;
    border-radius: 2px;
  }
  .timeline-item {
    position: relative;
    margin-bottom: 30px;
  }
  .timeline-icon {
    position: absolute;
    left: -2px;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
  }
  .timeline-content {
    margin-left: 60px;
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 0.5rem;
  }

/* Carousel image height and cover fit */
.carousel-item img {
  height: 500px;
  object-fit: cover;
  width: 100%;
}

/* Dark overlay effect */
.carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4); /* Adjust for darker or lighter overlay */
  z-index: 1;
}

/* Center carousel captions */
.carousel-caption {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  z-index: 2;
  text-align: center;
}

.carousel-caption h5 {
  font-size: 2rem;
  font-weight: bold;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* Responsive height for smaller screens */
@media (max-width: 768px) {
  .carousel-item img {
    height: 300px;
  }
}

/* Enhanced Event Card Style */
.event-card {
  border-radius: 20px;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  background-color: #ffffff;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.event-card img {
  width: 100%;
  height: auto;
  object-fit: contain; /* optional */
}

.event-card .btn {
  transition: background-color 0.3s ease;
  font-weight: 500;
}

.event-card .btn:hover {
  opacity: 0.9;
}


#backgroundCarousel .carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* Adjust opacity as needed */
  z-index: 1;
}

#backgroundCarousel .carousel-caption {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 80%;
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}