
#hero-9 {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 150px 20px;
  color: #fff;
  text-align: center;
}
#hero-9 .parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}
#hero-9 .container {
  position: relative;
  z-index: 2;
}
#hero-9 .hero-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
}
#hero-9 .hero-subtitle {
  font-size: 24px;
  margin-bottom: 30px;
}



/* category-posts-5 Styles - Modern Post Grid */
#category-posts-5 {
    padding-top: 4rem;
    padding-bottom: 4rem;
    /* background-color is set via data.json or defaults to #f8f9fa */
}

#category-posts-5 .section-header {
    margin-bottom: 3rem;
    text-align: center;
}

#category-posts-5 .section-header .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 0.5rem;
}

#category-posts-5 .section-header .section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

#category-posts-5 .post-grid-item .card {
    border: none; /* Remove default Bootstrap card border */
    border-radius: 0.75rem; /* Softer corners */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.075); /* Softer shadow */
    overflow: hidden; /* Ensures image corners match card corners */
    height: 100%; /* Ensure cards in a row have same height if using d-flex */
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
}

#category-posts-5 .post-grid-item .card.card-hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#category-posts-5 .post-grid-item .card.card-hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.12);
}

#category-posts-5 .post-grid-item .card-img-top-wrapper {
    width: 100%;
    height: 200px; /* Fixed height for consistent image sizes */
    overflow: hidden;
}

#category-posts-5 .post-grid-item .card-img-top-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#category-posts-5 .post-grid-item .card:hover .card-img-top-wrapper img {
    transform: scale(1.05);
}

#category-posts-5 .post-grid-item .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allows card body to expand and push footer down */
}

#category-posts-5 .post-grid-item .post-title {
    font-size: 1.25rem; /* Slightly larger title */
    font-weight: 600;
    color: #2c3e50; /* Dark blue-gray */
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

#category-posts-5 .post-grid-item .post-title a {
    color: inherit;
    text-decoration: none;
}

#category-posts-5 .post-grid-item .post-title a:hover {
    color: #007bff; /* Standard primary color for hover */
}

#category-posts-5 .post-grid-item .post-date {
    font-size: 0.85rem;
    color: #7f8c8d; /* Muted gray */
    margin-bottom: 0.75rem;
}
#category-posts-5 .post-grid-item .post-date i {
    margin-right: 0.3rem;
}

#category-posts-5 .post-grid-item .post-excerpt {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1; /* Allows excerpt to take available space */
}

#category-posts-5 .post-grid-item .readmore-btn {
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    align-self: flex-start; /* Align button to the start if card-body is flex */
}

#category-posts-5 .post-grid-item .readmore-btn i {
    margin-left: 0.3rem;
}

/* Pagination Wrapper */
#category-posts-5 .pagination-wrapper {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}




#call-to-action-5 {
  position: relative;

  background-size: cover;
  background-position: center;
  padding: 100px 15px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
#call-to-action-5::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1;
}
#call-to-action-5 .content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1.5s ease;
}
#call-to-action-5 h2 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  animation: fadeIn 1.2s ease;
}
#call-to-action-5 p {
  font-size: 1.4rem;
  margin-bottom: 30px;
  animation: fadeIn 1.4s ease;
}
#call-to-action-5 .btn {
  background-color: #28a745;
  color: #fff;
  padding: 12px 30px;
  font-size: 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s, background-color 0.3s;
  animation: fadeInUp 1.6s ease;
}
#call-to-action-5 .btn:hover {
  transform: scale(1.1);
  background-color: #218838;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


