
#hero-2 {
  background-size: cover;
  background-position: center;
  padding: 150px 20px;
  color: #fff;
  text-align: center;
  position: relative;
}
#hero-2::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}
#hero-2 .container {
  position: relative;
  z-index: 2;
}
#hero-2 .hero-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
}
#hero-2 .hero-subtitle {
  font-size: 22px;
  margin-bottom: 30px;
}
.btn.btn-light {
  padding: 14px 40px;
  font-size: 18px;
  background-color: #fff;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
}



/* Section background & spacing */
#category-posts-18 {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  overflow: hidden;
}

/* Subtle dotted texture overlay */
#category-posts-18::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: radial-gradient(rgba(255,255,255,0.3) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 1;
}

/* Container above overlay */
#category-posts-18 .container {
  position: relative;
  z-index: 2;
}

/* Header */
#category-posts-18 .section-header {
  text-align: center;
  margin-bottom: 40px;
}
#category-posts-18 .section-title {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
}
#category-posts-18 .section-subtitle {
  font-size: 1rem;
  color: #555;
}

/* Grid cards */
#category-posts-18 .post-card {
  background: #fff;
  border-radius: .75rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding-top: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
#category-posts-18 .post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Circular image */
#category-posts-18 .post-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid #fff;
}

/* Card body */
#category-posts-18 .card-body {
  padding: 1rem;
  margin-top: 60px;
}
#category-posts-18 .card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: .75rem;
  color: #212529;
}
#category-posts-18 .card-excerpt {
  font-size: .95rem;
  color: #666;
  margin-bottom: 1rem;
}

/* Read More button */
#category-posts-18 .btn-readmore {
  display: inline-flex;
  align-items: center;
  font-size: .875rem;
  font-weight: 500;
  color: #4f46e5;
  text-decoration: none;
  transition: color .3s ease;
}
#category-posts-18 .btn-readmore i {
  margin-left: .25rem;
  transition: transform .3s ease;
}
#category-posts-18 .btn-readmore:hover {
  color: #4338ca;
}
#category-posts-18 .btn-readmore:hover i {
  transform: translateX(3px);
}

/* Pagination & Load More */
#category-posts-18 .pagination-wrapper,
#category-posts-18 .load-more-wrapper {
  text-align: center;
  margin-top: 2.5rem;
}




#call-to-action-4 {
  position: relative;

  background-size: cover;
  background-position: center;
  padding: 80px 15px;
  text-align: center;
  color: #fff;
}
#call-to-action-4::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}
#call-to-action-4 .content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
#call-to-action-4 h2 {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 20px;
}
#call-to-action-4 p {
  font-size: 1.3rem;
  margin-bottom: 30px;
}
#call-to-action-4 .btn {
  display: inline-block;
  margin: 10px;
  padding: 12px 25px;
  font-size: 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s;
}
#call-to-action-4 .btn-primary {
  background-color: #ff5722;
  color: #fff;
  border: none;
}
#call-to-action-4 .btn-primary:hover {
  background-color: #e64a19;
}
#call-to-action-4 .btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}
#call-to-action-4 .btn-secondary:hover {
  background-color: #fff;
  color: #ff5722;
}


