/* category */
.home-category-card {
    width: 150px;
    border: none;
    display: flex;
    align-items: center;
    height: auto;
    justify-content: center;
}


.home-category-card h6{
    color: black;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.home-category-card:hover h6,
.home-category-card:hover img {
    color: var(--bs-edu-primary-light-color); 
}

.home-category-card:hover h6 {
    text-decoration: underline; 
}

.category-text {
    margin-right: 10px;
}
.horizontal-scroll {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.horizontal-scroll__item {
    display: flex;
    flex: 0 0 280px;
    justify-content: center;
    scroll-snap-align: start;
}

.horizontal-scroll__item img {
    width: 100%;
    max-width: 100px;
    height: 100%;
    max-height: 100%;
}

/* product cards */
.home-prod-cards h5 {
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .horizontal-scroll__item h6{
    color: black;
  }

  /* celebration card */

.celebration-card h6{
    color: black;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.celebration-card:hover h6,
.celebration-card:hover img {
    color: var(--bs-edu-primary-light-color); 
}

.celebration-card:hover h6 {
    text-decoration: underline; 
}

/* event card scroller */
  .home-event-card {
    width: 300px;
    border: none;
    display: flex;
    align-items: center;
}
.horizontal-scroll-event {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .horizontal-scroll-event::-webkit-scrollbar {
    display: none;
  }

  .horizontal-scroll-event__item {
    display: flex;
    flex: 0 0 300px;
    justify-content: center;
    scroll-snap-align: start;
    border-radius: 15px;
  }

  .horizontal-scroll-event__item img {
    width: 100%;
    max-width: 300px;
    height: 100%;
    max-height: 100%;
  }
  .horizontal-scroll-event__item h6{
    color: black;
  }
  .horizontal-scroll-event__item:hover h6,
.horizontal-scroll-event__item:hover img {
    color: var(--bs-edu-primary-light-color); 
}

.horizontal-scroll-event__item:hover h6 {
    text-decoration: underline; 
}

.scroll-btn {
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bs-edu-primary-light-color);
    color: var(--bs-edu-white-color);
    border: none;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}

.scroll-btn:hover {
    background-color: var(--bs-edu-primary-color);
    color: var(--bs-edu-white-color);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.left-btn {
    left: -50px; /* Adjust according to design */
}

.right-btn {
    right: -50px; /* Adjust according to design */
}


  /* product slider */
 .home-prod-cards h5{
  font-size: 1.25rem;
}
.product-price {
    font-size: 1.25rem;
}

/* event card */
.event-card {
    border: none;
}

.event-card img {
    border-radius: 10px;
}

.event-card p {
    color: black;
    transition: color 0.3s ease;
}

.event-card:hover p,
.event-card:hover .card-img-top {
    color: var(--bs-edu-primary-light-color);
    text-decoration: underline;
}

@media (max-width: 767px) {
    .horizontal-scroll-pro__item {
        flex: 0 0 280px;
    }
    .testimonial {
        padding: 25px 20px;
        margin: 0px 11px;
    }
    .home-prod-cards h5 {
        font-size: 1.15rem;
    }
    .col-6:nth-child(odd) {
        padding-right: 8px;
    }
    .col-6:nth-child(even) {
        padding-left: 8px;
    }
    .product-price {
        font-size: 1.125rem;
    }

    /* category card  */
    .horizontal-scroll__item img {
        width: 100%;
        max-width: 88px;
    }
    .home-category-card {
        margin-right: 5px;
        width: 115px;
    }
    .category-text {
        margin-right: 5px;
    }

    /* festival cards */
    .festive-text {
        position: absolute;
        bottom: 17px;
        font-size: 0.8rem;
    }

    .scroll-btn {
        transform: translateY(-50%);
        width: 30px;
        height: 30px
    }
}
