
#hero-18 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 68vh;
  padding: 5rem 0;
  background-size: cover;
  background-position: center;
  text-align: right;
}
#hero-18 .hero-overlay-18 {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
#hero-18 .container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
#hero-18 .hero-content-wrapper-18 {
  max-width: 680px;
  margin-right: 0;
  margin-left: auto;
}
#hero-18 .hero-title-18 {
  font-size: 3.1rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}
#hero-18 .hero-subtitle-18 {
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
}
#hero-18 .hero-cta-button-18 {
  display: inline-block;
  padding: 0.8rem 2.1rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}
#hero-18 .hero-cta-button-18:hover {
  transform: translateY(-2px);
  filter: brightness(110%);
}
@media (max-width: 767.98px) {
  #hero-18 {
    min-height: 60vh;
    padding: 4rem 0;
    text-align: center;
    justify-content: center;
  }
  #hero-18 .container {
    justify-content: center;
  }
  #hero-18 .hero-content-wrapper-18 {
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
  }
  #hero-18 .hero-title-18 {
    font-size: 2.4rem;
  }
  #hero-18 .hero-subtitle-18 {
    font-size: 1.1rem;
  }
}



/* 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-9 {
  background-color: #f8f9fa;
  color: #333;
  padding: 60px 20px;
}
#call-to-action-9 .cta-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
#call-to-action-9 .cta-icon {
  flex: 0 0 auto;
}
#call-to-action-9 .cta-icon img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}
#call-to-action-9 .cta-text {
  flex: 1 1 300px;
  text-align: left;
}
#call-to-action-9 .cta-text h2 {
  font-size: 32px;
  margin-bottom: 15px;
}
#call-to-action-9 .cta-text p {
  font-size: 16px;
  margin-bottom: 20px;
}
#call-to-Action-9 .cta-btn {
  padding: 10px 25px;
  background-color: #17a2b8;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s;
}
#call-to-action-9 .cta-btn:hover {
  background-color: #138496;
}
@media (max-width: 767.98px) {
  #call-to-action-9 .cta-container {
    flex-direction: column;
    text-align: center;
  }
  #call-to-action-9 .cta-text {
    text-align: center;
  }
}


