
/* Section & animated gradient background */
#category-posts-27 {
  position: relative;
  padding: 100px 20px;
  overflow: hidden;
  background: linear-gradient(120deg, #8e44ad, #3498db, #2ecc71);
  background-size: 300% 300%;
  animation: gradientShift 15s ease infinite;
}

/* Floating abstract shapes */
#category-posts-27::before,
#category-posts-27::after,
#category-posts-27 .shape {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}
#category-posts-27::before {
  width: 400px; height: 400px;
  background: #ffffff;
  top: -100px; left: -100px;
}
#category-posts-27::after {
  width: 300px; height: 300px;
  background: #ffffff;
  bottom: -80px; right: -120px;
  animation-duration: 25s;
}
#category-posts-27 .shape {
  width: 200px; height: 200px;
  background: #ffffff;
  top: 30%; right: 10%;
  animation-duration: 18s;
}
#category-posts-27 .shape.triangle {
  border-radius: 0;
  clip-path: polygon(50% 0, 0% 100%, 100% 100%);
  background: rgba(255,255,255,0.1);
  width: 250px; height: 250px;
  top: 10%; right: 60%;
  animation-duration: 22s;
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(30px, -20px) scale(1.1); }
}

/* Container */
#category-posts-27 .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
#category-posts-27 .section-header {
  text-align: center;
  margin-bottom: 60px;
  color: #fff;
}
#category-posts-27 .section-title {
  font-size: 2.75rem;
  font-weight: 700;
}
#category-posts-27 .section-subtitle {
  font-size: 1.125rem;
  opacity: .85;
  margin-top: .5rem;
}

/* Grid */
#category-posts-27 .post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 2rem;
}

/* Clickable wrapper */
#category-posts-27 .card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Glass card */
#category-posts-27 .post-card {
  position: relative;
  background: rgba(255,255,255,0.15);
  border-radius: 1rem;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transform: translateY(20px) scale(0.98);
  opacity: 0;
  transition: transform .6s ease, opacity .6s ease, box-shadow .3s ease;
}
#category-posts-27 .post-card.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}
#category-posts-27 .post-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  transform: translateY(-5px) scale(1.02);
}

/* Thumbnail */
#category-posts-27 .post-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* Card body */
#category-posts-27 .card-body {
  padding: 1rem;
}
#category-posts-27 .card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: .5rem;
}
#category-posts-27 .card-meta {
  font-size: .875rem;
  opacity: .75;
  margin-bottom: .75rem;
}
#category-posts-27 .card-excerpt {
  font-size: .95rem;
  margin-bottom: 1rem;
}

/* Read More button */
#category-posts-27 .btn-readmore {
  font-size: .875rem;
  font-weight: 500;
  color: #fff;
  background: rgba(0,0,0,0.25);
  padding: .5rem 1rem;
  border-radius: .5rem;
  display: inline-flex;
  align-items: center;
  transition: background .3s ease, transform .3s ease;
}
#category-posts-27 .btn-readmore i {
  margin-left: .5rem;
  transition: transform .3s ease;
}
#category-posts-27 .btn-readmore:hover {
  background: rgba(0,0,0,0.4);
  transform: translateY(-2px);
}
#category-posts-27 .btn-readmore:hover i {
  transform: translateX(4px);
}

/* Pagination & Load More */
#category-posts-27 .pagination-wrapper,
#category-posts-27 .load-more-wrapper {
  text-align: center;
  margin-top: 3rem;
}




#text-block-7 {
  padding: 80px 0;
  background-color: var(--section-bg-color, #ffffff);
  color: var(--text-color, #343a40);
  overflow: hidden;
}
#text-block-7 .container {
  max-width: 1140px;
}
#text-block-7 .section-title-optional {
  font-size: 1.1rem;
  font-weight: 600;
  color: #6c757d;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
#text-block-7 .text-heading {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--text-color, #343a40);
  margin-bottom: 25px;
  line-height: 1.3;
}
#text-block-7 .text-paragraph {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-color, #555e68);
  opacity: 0.9;
  margin-bottom: 1rem;
}
#text-block-7 .text-paragraph:last-child {
  margin-bottom: 0;
}
#text-block-7 .side-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
@media (max-width: 991.98px) {
  #text-block-7 .text-heading {
    font-size: 2rem;
  }
}
@media (max-width: 767.98px) {
  #text-block-7 {
    padding: 50px 0;
  }
  #text-block-7 .text-heading {
    font-size: 1.8rem;
    margin-top: 15px;
  }
  #text-block-7 .side-image {
    margin-top: 30px;
  }
  #text-block-7 .text-paragraph {
    font-size: 0.95rem;
  }
}



#call-to-action-14 {
  padding: 80px 0;
  background-color: #343a40;
  color: #fff;
}
#call-to-action-14 .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
#call-to-action-14 .col {
  flex: 1;
  padding: 30px;
  text-align: center;
}
#call-to-action-14 .left-col,
#call-to-action-14 .right-col {
  max-width: 30%;
}
#call-to-action-14 .center-col {
  max-width: 35%;
}
#call-to-action-14 h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  width: 100%;
}
#call-to-action-14 p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
#call-to-action-14 .btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
#call-to-action-14 .left-col .btn,
#call-to-action-14 .right-col .btn {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}
#call-to-action-14 .left-col .btn:hover,
#call-to-action-14 .right-col .btn:hover {
  background-color: #fff;
  color: #343a40;
}
#call-to-action-14 .center-col .btn {
  background-color: #ffc107;
  color: #343a40;
}
#call-to-action-14 .center-col .btn:hover {
  background-color: #e0a800;
}
@media (max-width: 992px) {
  #call-to-action-14 .left-col,
  #call-to-action-14 .right-col {
    max-width: 45%;
  }
  #call-to-action-14 .center-col {
    max-width: 100%;
    margin-top: 30px;
  }
}
@media (max-width: 768px) {
  #call-to-action-14 .col {
    max-width: 100%;
    margin-bottom: 30px;
  }
}


