body {
  align-items: center;
  margin: 0;
  background-color: #f5f5f5;
  height: 1000px;
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  background-color: #ea6125;
  z-index: 1000;
  opacity: 1;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}

.navbar-hide {
  transform: translateY(-100%);
  transition: transform 0.7s ease, opacity 0.3s ease;
  opacity: 0;
}

.navbar-show {
  transform: translateY(0);
  transition: transform 0.7s ease, opacity 0.7s ease;
}

/* Add a placeholder div to maintain space when the navbar is hidden */
.navbar-placeholder {
  height: 56px; /* Height of the fixed navbar */
}

.scrolling-navbar {
transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.scrolling-navbar.hidden {
transform: translateY(-100%);
opacity: 0;
pointer-events: none; /* To prevent interaction with hidden navbar */
}

.card-text {
  max-height: 3 * 1.2em;
  overflow: hidden;
  text-overflow: ellipsis; 
  display: -webkit-box;
  -webkit-line-clamp: 3; 
  -webkit-box-orient: vertical;
}

.card-img-top {
  width: 100%;
  height: auto;
}


.parallax {
  overflow: hidden;
  position: relative;
  height: 550px; /* Adjust the height as needed */
}

.banner {
  position: relative;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, 100% 0%, 100% 75%, 0 100%);
}

.banner img {
  width: 100%;
  filter: brightness(40%);
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.banner-text h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.banner-text p {
  font-size: 1.5rem;
}

#cardContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.card {
  margin: 10px;
}

.form{
  width: 100px;
}

.pagination {
  display: inline-block;
}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
}

.pagination a.active {
  background-color: #ea6125;
  color: white;
  border-radius: 5px;
}

.pagination a:hover:not(.active) {
  background-color: #ddd;
  border-radius: 5px;
}
