
#hero-20 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 75vh;
  padding: 6rem 0 5rem 0;
  text-align: center;
  background-size: cover;
  background-position: center;
}
#hero-20 .hero-overlay-20 {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
#hero-20 .container {
  position: relative;
  z-index: 2;
}
#hero-20 .hero-content-wrapper-20 {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}
#hero-20 .hero-title-20 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}
#hero-20 .hero-subtitle-20 {
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
}
#hero-20 .hero-cta-button-20 {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 5px;
  text-decoration: none;
  border: none;
  transition: transform 0.2s ease;
}
#hero-20 .hero-cta-button-20:hover {
  transform: translateY(-2px);
}
#hero-20 .hero-logos-wrapper-20 {
  margin-top: 3.5rem;
}
#hero-20 .logos-title-20 {
  font-size: 0.9rem;
  font-weight: 500;
  color: inherit;
  opacity: 0.7;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
#hero-20 .logos-list-20 {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}
#hero-20 .hero-logo-item img {
  max-height: 40px;
  max-width: 120px;
  width: auto;
  transition: filter 0.3s ease;
}
#hero-20 .hero-logo-item a:hover img,
#hero-20 .hero-logo-item img:hover {
  filter: none;
}
@media (max-width: 767.98px) {
  #hero-20 {
    min-height: 70vh;
    padding: 4rem 0 3rem 0;
  }
  #hero-20 .hero-content-wrapper-20 {
    margin-bottom: 2.5rem;
  }
  #hero-20 .hero-title-20 {
    font-size: 2.3rem;
  }
  #hero-20 .hero-subtitle-20 {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
  }
  #hero-20 .hero-logos-wrapper-20 {
    margin-top: 3rem;
  }
  #hero-20 .logos-list-20 {
    gap: 1.5rem;
  }
  #hero-20 .hero-logo-item img {
    max-height: 30px;
  }
}



/* category-posts-4 Styles - Posts Timeline */
#category-posts-4 {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: #f4f6f9; /* A slightly different light background */
}

#category-posts-4 .section-header {
    margin-bottom: 3rem;
    text-align: center;
}

#category-posts-4 .section-header .section-title {
    font-size: 2.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

#category-posts-4 .section-header .section-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

#category-posts-4 .timeline {
    position: relative;
    padding: 0;
    list-style: none;
}

#category-posts-4 .timeline:before { /* The central line */
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: #007bff; /* Primary color for the line */
    margin-left: -1.5px; /* Half of the width */
    border-radius: 3px;
}

#category-posts-4 .timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
}

#category-posts-4 .timeline-item:nth-child(odd) { /* Left side items */
    left: 0;
    padding-right: 50px; /* Space from the central line */
    text-align: right;
}

#category-posts-4 .timeline-item:nth-child(even) { /* Right side items */
    left: 50%;
    padding-left: 50px; /* Space from the central line */
    text-align: left;
}

/* The circle on the timeline */
#category-posts-4 .timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    border: 4px solid #007bff;
    top: 15px; /* Adjust vertical position of the circle */
    z-index: 1;
}

#category-posts-4 .timeline-item:nth-child(odd)::after {
    right: -10px; /* (Circle width / 2) */
}

#category-posts-4 .timeline-item:nth-child(even)::after {
    left: -10px; /* (Circle width / 2) */
}

#category-posts-4 .timeline-content {
    padding: 20px 25px;
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#category-posts-4 .timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}


#category-posts-4 .timeline-date {
    display: block;
    font-size: 1.5rem; /* Larger date */
    font-weight: 700;
    color: #007bff;
    margin-bottom: 5px;
}
#category-posts-4 .timeline-date .year {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
}


#category-posts-4 .timeline-post-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #343a40;
}
#category-posts-4 .timeline-post-title a {
    color: inherit;
    text-decoration: none;
}
#category-posts-4 .timeline-post-title a:hover {
    color: #0056b3;
}

#category-posts-4 .timeline-excerpt {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

#category-posts-4 .readmore-btn {
    font-size: 0.85rem;
    font-weight: 500;
}
#category-posts-4 .readmore-btn i {
    margin-left: 5px;
}

/* Pagination Wrapper */
#category-posts-4 .pagination-wrapper {
    margin-top: 1rem; /* Reduced margin as timeline items have bottom margin */
    display: flex;
    justify-content: center;
}

/* Responsive adjustments for timeline */
@media (max-width: 767.98px) {
    #category-posts-4 .timeline:before {
        left: 15px; /* Move line to the left for mobile */
        margin-left: 0;
    }

    #category-posts-4 .timeline-item {
        width: 100%;
        padding-left: 50px; /* Space for content from the line */
        padding-right: 0;
        text-align: left !important; /* Force left align for all items */
        margin-bottom: 30px;
    }

    #category-posts-4 .timeline-item:nth-child(odd),
    #category-posts-4 .timeline-item:nth-child(even) {
        left: 0; /* Align all items to the left of the line */
        padding-left: 50px;
    }

    #category-posts-4 .timeline-item::after {
        left: 5px; /* Adjust circle position (15px line - 10px half circle width) */
    }
    #category-posts-4 .timeline-date {
        font-size: 1.3rem;
    }
    #category-posts-4 .timeline-post-title {
        font-size: 1.15rem;
    }
}




#call-to-action-24 {
  position: relative;
  padding: 0;
  background-size: cover;
  background-position: center center;
  overflow: hidden;
  color: #ffffff;
}
.cta-portrait-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
#call-to-action-24 .container {
  position: relative;
  z-index: 2;
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.cta-portrait-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.cta-portrait-content-col h2 {
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.3;
}
.cta-portrait-content-col p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
}
.cta-portrait-content-col .btn {
  padding: 0.8rem 2rem;
  font-weight: 600;
  width: fit-content;
}
.cta-portrait-image-col {
  position: relative;
  text-align: center;
}
.cta-portrait-img {
  max-width: 100%;
  height: auto;
  max-height: 550px;
  position: relative;
  bottom: -5rem;
  margin-bottom: -5rem;
}
@media (max-width: 991.98px) {
  .cta-portrait-content-col {
    text-align: center;
    margin-bottom: 0;
  }
  .cta-portrait-content-col p {
    margin-left: auto;
    margin-right: auto;
  }
  .cta-portrait-content-col .btn {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
  }
  .cta-portrait-img {
    max-height: 450px;
    bottom: -4rem;
    margin-bottom: -4rem;
  }
  #call-to-action-24 .container {
    padding-bottom: 0;
  }
}
@media (max-width: 767.98px) {
  .cta-portrait-content-col h2 {
    font-size: 2rem;
  }
  .cta-portrait-img {
    max-height: 350px;
    bottom: -3rem;
    margin-bottom: -3rem;
  }
}


