/* =========================
       Categories Title Styles
    ========================== */
.categoies-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 24px;
  color: #000000;
}



.categoies-card svg:hover {
  fill: #ffffff;
}

/* =========================
         Cards (grid items)
      ========================== */
.categoies-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding: 2rem;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0px 2px 8px 0px #ededed;
  transition: all 0.3s ease;
  cursor: pointer; /* show pointer on hover */
}

.categoies-card p {
  font-size: 24px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  color: #000000;
}

.categoies-card svg {
  margin-bottom: 24px;
  width: 136px;
  height: 136px;
}

.categoies-card:hover {
  background: #14a0ca;
  box-shadow: 0px 2px 8px 0px #14a0ca;
}

.categoies-card:hover p {
  color: #ffffff;
}

.categoies-card:hover svg .svg-color {
  fill: #ffffff !important;
}

.categoies-card:active {
  background: #094353;
  box-shadow: 0px 2px 8px 0px #094353;
}

.categoies-card:active svg .svg-color {
  fill: #ffffff !important;
}

.categoies-card:hover p {
  color: #ffffff;
}

/* Default state for the SVG inside .categoies-card */
.categoies-card svg {
  transition: fill 0.3s ease; /* Smooth transition for color change */
  fill: #14A0CA; /* Default color (e.g., blue) */
}

/* Hover state for the card */
.categoies-card:hover svg {
  fill: #ffffff; /* Change color to white on hover */
}

/* =========================
         Responsive Styles
         (for screens < 992px)
      ========================== */
@media (max-width: 991.98px) {
  .categoies-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    color: #000000;
  }

  .categoies-card svg {
    width: 112px;
    height: 112px;
  }

  .categoies-card p {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
  }
}
