.features {
  width: 100%;
  background-color: #f0f0f0;
  padding: 45px 15px;
}

.prodiv {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
}

.info-item {
  flex: 1 1 calc(25% - 20px);
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  padding: 2rem 1rem;
  border-radius: 8px;
  box-sizing: border-box;
}

.info-icon {
  font-size: 50px;
  color: #475567;
}

.info-text h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #222;
}

.info-text p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

@media (max-width: 992px) {
  .info-item {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 576px) {
  .prodiv {
    justify-content: space-between;
    gap: 15px;
  }

  .info-item {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
    text-align: center;
  }

  .info-icon {
    font-size: 38px;
  }

  .info-text h4 {
    font-size: 15px;
  }

  .info-text p {
    font-size: 13px;
  }
}

.categories {
    width: 100%;
    padding: 5rem 0;
    background-color: #fff;
}

.categories-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
}

.categories-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
}

/* === CONTAINER === */
.categories-container {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* === GRID (scrollable row) === */
.categories-grid {
    display: flex;
    gap: 1.2rem;
    padding: 0 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.categories-grid::-webkit-scrollbar {
    display: none; /* Chrome */
}

/* === CATEGORY CARD === */
.category-card {
    min-width: calc((100% - 5rem) / 6);
    background: #f9f9f9;
    border-radius: 10px;
    text-align: center;
    padding: 1rem;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-img {
    width: 100%;
    height: 100px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0.5rem 0;
    color: #333;
}

.category-card p {
    font-size: 0.9rem;
    color: #777;
}

/* === SCROLL BUTTONS === */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    color: #333;
    font-size: 2rem;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    padding: 0.3rem;
    transition: background 0.3s;
    z-index: 10;
}

.scroll-btn:hover {
    background: #eee;
}

.scroll-btn.prev {
    left: 0;
}

.scroll-btn.next {
    right: 0;
}

@media (max-width: 768px) {
    .category-card {
        min-width: calc((100% - 1rem) / 2);
    }

    .features {
      padding: 20px;
    }
}
