
/* Scoped variables for section */
#category-posts-24 {
  --cp-gradient-bg: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
  padding: 80px 20px;
  background: var(--cp-gradient-bg);
  overflow: hidden;
  position: relative;
}

/* Header */
#category-posts-24 .section-header {
  text-align: center;
  margin-bottom: 50px;
  color: #fff;
}
#category-posts-24 .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
#category-posts-24 .section-subtitle {
  font-size: 1.125rem;
  opacity: .9;
}

/* Grid */
#category-posts-24 .flip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 2rem;
}

/* Fade-in on scroll */
#category-posts-24 .flip-card-wrapper {
  perspective: 1000px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
#category-posts-24 .flip-card-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card */
#category-posts-24 .flip-card {
  width: 100%;
  height: 360px;
  position: relative;
}
#category-posts-24 .flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .6s ease;
}
#category-posts-24 .flip-card-wrapper:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Front & Back */
#category-posts-24 .flip-card-front,
#category-posts-24 .flip-card-back {
  position: absolute;
  width: 100%; height: 100%;
  backface-visibility: hidden;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
}

/* Front side */
#category-posts-24 .flip-card-front {
  background: #fff;
  display: flex;
  flex-direction: column;
}
#category-posts-24 .flip-card-front img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
#category-posts-24 .flip-card-front .front-body {
  padding: 1rem;
  flex: 1;
}
#category-posts-24 .flip-card-front h3 {
  font-size: 1.125rem;
  margin: 0;
  color: #333;
}

/* Back side */
#category-posts-24 .flip-card-back {
  background: rgba(255,255,255,0.95);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
}
#category-posts-24 .flip-card-back p {
  font-size: .95rem;
  color: #444;
  flex: 1;
  margin-bottom: 1rem;
}
#category-posts-24 .flip-card-back .btn-readmore {
  align-self: flex-end;
  padding: .5rem 1rem;
  font-size: .875rem;
  font-weight: 600;
  color: #fff;
  background: #66a6ff;
  border-radius: .5rem;
  text-decoration: none;
  transition: background .3s ease, transform .3s ease;
}
#category-posts-24 .flip-card-back .btn-readmore:hover {
  background: #89f7fe;
  transform: translateY(-2px);
}

/* Pagination & Load More */
#category-posts-24 .pagination-wrapper,
#category-posts-24 .load-more-wrapper {
  text-align: center;
  margin-top: 3rem;
}




#call-to-action-13 {
  padding: 120px 0;
  background-color: #28a745;
  color: #fff;
  text-align: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
}
#call-to-action-13::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
}
#call-to-action-13 .container {
  position: relative;
  z-index: 1;
}
#call-to-action-13 h2 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 25px;
  letter-spacing: -1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
#call-to-action-13 p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  line-height: 1.8;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
#call-to-action-13 .btn-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
}
#call-to-action-13 .btn {
  display: inline-block;
  padding: 18px 45px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.4rem;
  letter-spacing: 1px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  animation: pulse 2s infinite alternate;
}
#call-to-action-13 .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}
#call-to-action-13 .btn.primary {
  background-color: #007bff;
  color: #fff;
}
#call-to-action-13 .btn.primary:hover {
  background-color: #0056b3;
}
#call-to-action-13 .btn.secondary {
  background-color: #ffc107;
  color: #333;
}
#call-to-action-13 .btn.secondary:hover {
  background-color: #e0a800;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.05);
    opacity: 1;
  }
}


