
/* 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;
    }
}




#offers-19 {
  padding: 80px 0;
  background-color: #f1f3f5;
}
#offers-19 .offer-section-title {
  text-align: center;
  font-weight: 700;
  margin-bottom: 3rem;
  font-size: 2rem;
}
#offers-19 .offer-image-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  transition: transform 0.3s ease;
}
#offers-19 .offer-image-card:hover {
  transform: scale(1.03);
}
#offers-19 .offer-card-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}
#offers-19 .offer-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
#offers-19 .offer-image-card:hover .offer-card-image img {
  transform: scale(1.1);
}
#offers-19 .offer-image-card .card-body {
  padding: 1.8rem;
}
#offers-19 .offer-image-card .card-title {
  font-weight: 600;
  font-size: 1.3rem;
  color: #212529;
  margin-bottom: 0.75rem;
}
#offers-19 .offer-image-card .card-text {
  color: #495057;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
#offers-19 .offer-details-inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.5rem;
  min-height: 30px;
}
#offers-19 .offer-details-inline .offer-code-part span {
  font-weight: 700;
  color: #fff;
  background-color: #6f42c1;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-left: 5px;
}
#offers-19 .offer-details-inline .offer-expiry-part {
  font-size: 0.85rem;
  color: #6c757d;
}
#offers-19 .offer-details-inline .offer-expiry-part i {
  margin-right: 5px;
}
#offers-19 .btn-img-card-cta {
  padding: 0.7rem 1.5rem;
  font-weight: 600;
}



#testimonials-10 {
  padding: 60px 15px;
  margin: 0 auto;
  max-width: 900px;
}
#testimonials-10 .nav-tabs .nav-link {
  font-size: 1rem;
  padding: 10px 15px;
}
#testimonials-10 .tab-content {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}
#testimonials-10 .testimonial-tab {
  text-align: center;
}
#testimonials-10 .testimonial-tab img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}
#testimonials-10 .testimonial-tab p {
  font-size: 1rem;
  font-style: italic;
  color: #333;
  margin-bottom: 10px;
}
#testimonials-10 .client-info {
  font-size: 0.95rem;
  color: #777;
}


