.category-banner-sec {
  text-align: center;
  padding: 3% 15px 5% 15px;
}
.category-banner-sec.yellow {
    background-color: #f9cc00;
}
.category-banner-sec.teal {
    background-color: #007c89;
}
.category-banner-sec.wonder {
    background-color: rgba(0, 0, 0, 0.25);
}
.category-banner-sec.red {
    background-color: #a80c3b;
}


.category-banner-sec .heading {
  margin-bottom: 0px;
  color: #fff;
  font-size: calc(3em + (12 - 3) * ((100vw - 20em) / (120 - 20)));
  line-height: 1;
  overflow: hidden;
}

/* Outer Grid Container */
.category-grid-sec {
  padding: 3% 15px 8% 15px;
}
.cat-grid-inner {
  max-width: 100%;
  width: 1330px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* Each Grid Item */
.cat-grid-item {
  text-align: center;
  text-decoration: none;
  display: block;
  max-width: 422px;
  overflow: hidden;
}

.cat-img-container {
  overflow: hidden;
}

.cat-grid-item .cat-img {
  width: 100%;
  height: auto;
  max-width: 422px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  transition: transform 1s ease;
}

.cat-grid-item .cat-name {
  font-family: "Lato", sans-serif;
  font-size: calc(16px + (24 - 16) * ((100vw - 320px) / (1920 - 320)));
  margin-top: 15px;
  color: #58595b;
}

.cat-grid-item:hover .cat-img {
  transform: scale(1.2);
}

/* --------------------------
      RESPONSIVE BREAKPOINTS
   -------------------------- */

/* Tablet - 2 columns */
@media (max-width: 1024px) {
  .cat-grid-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* Mobile - 1 column */
@media (max-width: 600px) {
  .cat-grid-inner {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
  }

}
