
/* Root variables */
:root {
  --card-bg: #ffffff;
  --card-radius: .75rem;
  --card-shadow: 0 4px 15px rgba(0,0,0,0.1);
  --accent-color: #4f46e5; /* indigo-600 */
}

/* Section container */
#category-posts-10 {
  padding: 80px 0;
  background: #f8f9fa;
}
#category-posts-10 .section-header {
  text-align: center;
  margin-bottom: 3rem;
}
#category-posts-10 .section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #212529;
}
#category-posts-10 .section-subtitle {
  font-size: 1rem;
  color: #6c757d;
}

/* Grid */
#category-posts-10 .row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 2rem;
}

/* Card */
#category-posts-10 .post-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  opacity: 0;
  transition: transform .6s ease, opacity .6s ease;
  perspective: 1000px;
}
#category-posts-10 .post-card.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}
#category-posts-10 .post-card:hover {
  transform: rotateX(2deg) rotateY(-2deg);
}

/* Image */
#category-posts-10 .post-card img {
  width: 100%;
  display: block;
}

/* Card body */
#category-posts-10 .card-body {
  padding: 1rem;
}
#category-posts-10 .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: .75rem;
  color: #212529;
}
#category-posts-10 .btn-readmore {
  font-size: .875rem;
  color: var(--accent-color);
  font-weight: 500;
  text-decoration: none;
}
#category-posts-10 .btn-readmore i {
  margin-left: .25rem;
  transition: transform .3s ease;
}
#category-posts-10 .btn-readmore:hover i {
  transform: translateX(3px);
}

/* Pagination & Load More */
#category-posts-10 .pagination-wrapper,
#category-posts-10 .load-more-wrapper {
  text-align: center;
  margin-top: 2.5rem;
}




/* === Wave Background === */
.wave-section {
  position: relative;
  overflow: hidden;
  background-color: #fff;
}
.wave-wrapper {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 120px;
  overflow: hidden;
  z-index: 0;
}
.wave {
  position: absolute;
  bottom: 0; left: 0;
  width: 200%; height: 120px;
  opacity: var(--wave-opacity);
  animation: wave-animation var(--wave-speed) linear infinite;
}
.wave.wave2 {
  transform: translateX(50%);
  animation-duration: var(--wave-speed-alt);
  opacity: var(--wave-opacity-alt);
}
@keyframes wave-animation {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === Content Above Waves === */
.wave-section .container {
  position: relative;
  z-index: 1;
  padding-top: 40px;
}

/* === Section Header === */
.wave-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}
.wave-section .section-header h2 {
  font-size: 2rem;
  font-weight: 700;
}
.wave-section .section-header p {
  font-size: 1rem;
  color: #555;
}

/* === Posts Grid === */
.row-posts {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 576px) {
  .row-posts { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .row-posts { grid-template-columns: repeat(4, 1fr); }
}
.post-card {
  background: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.post-card:hover {
  transform: translateY(-5px);
}
.post-card img {
  width: 100%;
  display: block;
}
.post-card .card-body {
  padding: 1rem;
}
.post-card .card-body h5 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.post-card .btn-readmore {
  font-size: 0.9rem;
  color: #fff;
  background-color: #007bff;
  padding: 0.375rem 0.75rem;
  border-radius: 0.25rem;
  text-decoration: none;
  transition: background 0.3s;
}
.post-card .btn-readmore:hover {
  background-color: #0056b3;
}

/* === Pagination === */
.pagination-wrapper {
  text-align: center;
  margin: 40px 0;
}




#offers-5 {
  padding: 80px 0;
  background-color: #fff;
}
#offers-5 .offer-section-title {
  text-align: center;
  font-weight: 700;
  margin-bottom: 3.5rem;
  font-size: 2rem;
}
#offers-5 .offer-details-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 1rem;
}
#offers-5 .offer-details-title {
  font-weight: 700;
  font-size: 1.8rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
}
#offers-5 .offer-details-description {
  color: #495057;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
#offers-5 .offer-terms-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #555;
}
#offers-5 .offer-terms-list li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
}
#offers-5 .offer-terms-list li i {
  margin-right: 8px;
  margin-top: 4px;
  font-size: 0.8em;
  color: #0d6efd;
}
#offers-5 .offer-details-code {
  margin-bottom: 0.5rem;
  min-height: 25px;
}
#offers-5 .offer-details-code strong {
  margin-right: 5px;
}
#offers-5 .offer-details-code span {
  font-weight: 700;
  color: #dc3545;
  background-color: #f8d7da;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.95rem;
}
#offers-5 .offer-details-expiry {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 2rem;
  min-height: 20px;
}
#offers-5 .offer-details-expiry i {
  margin-right: 5px;
}
#offers-5 .btn-split-offer-cta {
  padding: 0.8rem 1.8rem;
  font-weight: 600;
  align-self: flex-start;
}
#offers-5 .offer-visual-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
#offers-5 .offer-split-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
@media (max-width: 991.98px) {
  #offers-5 .offer-details-col,
  #offers-5 .offer-visual-col {
    text-align: center;
  }
  #offers-5 .offer-terms-list {
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  #offers-5 .btn-split-offer-cta {
    align-self: center;
  }
  #offers-5 .offer-visual-col {
    margin-bottom: 2rem;
  }
}


