.hero-banner {
    width: calc(100% - 180px);
    margin: 30px 90px 0 90px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    /* border-radius: 20px; */
}

.banner-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 100%;
}

.banner-slide {
    min-width: 100%;
    position: relative;
    height: 100%;
}

.banner-img {
    width: 100%;
    height: auto;
    min-height: 400px; /* Ensure a decent height on very wide screens */
    max-height: 700px;
    object-fit: contain; /* Ensure full image is visible without cropping */
    display: block;
    background-color: #000; /* Neutral background for gaps if aspect ratios differ */
    transition: transform 0.5s ease;
}

/*@media (max-width: 767px) {
    .banner-img {
        height: auto;
        min-height: 250px;
        object-fit: contain;
    }
}*/

/* 
.hero-banner:hover .banner-img {
    transform: scale(1.02);
} */

.banner-content {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    color: #fff;
    max-width: 450px;
    z-index: 2;
}

.banner-tag {
    /* Background gradient with green shades for the border */
    position: relative;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 22px;
    font-weight: 500;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;

    /* Text styling with flowing colors */
    background: linear-gradient(90deg,
            #FF6B8B 0%,
            #FFD166 25%,
            #06D6A0 50%,
            #118AB2 75%,
            #FF6B8B 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: textFlowEffect 3s linear infinite;

    /* Solid background behind the text */
    background-color: #84C44C;
}

/* For border-only flowing effect */
.banner-tag::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 52px;
    background: linear-gradient(90deg,
            #84C44C 0%,
            #93D255 25%,
            #84C44C 50%,
            #93D255 75%,
            #84C44C 100%);
    background-size: 200% 100%;
    z-index: -1;
    animation: flowEffect 3s linear infinite;
}

@keyframes flowEffect {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes textFlowEffect {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.banner-title {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner-text {
    font-size: 25px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.banner-btn {
    background-color: #fff;
    color: #232f3e;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 30px;
}

.banner-btn:hover {
    background-color: #84C44C;
    color: #000;
    transform: translateY(-3px);
}
/* Premium Animations for Banner Content */
.banner-content > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.banner-slide.active .banner-content > * {
    opacity: 1;
    transform: translateY(0);
}
.banner-slide.active .banner-tag { transition-delay: 0.1s; }
.banner-slide.active .banner-title { transition-delay: 0.2s; }
.banner-slide.active .banner-text { transition-delay: 0.3s; }
.banner-slide.active .banner-btn { transition-delay: 0.4s; }
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
}

.banner-arrow.prev {
    left: 20px;
}

.banner-arrow.next {
    right: 20px;
}

.banner-progress {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;

}

.progress-item {
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.progress-item:hover {
    background: rgba(255, 255, 255, 0.4);
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: #ffffff;
    border-radius: 10px;
}

/* We'll handle the animation via JS by setting the width */

@media (max-width: 991px) {
    .banner-arrow {
        display: none;
    }

    .progress-item {
        width: 60px;
    }
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    z-index: -1;
}

/* Featured Products 5-Column Grid */
.featured-grid-5 {
    display: flex;
    flex-wrap: wrap;
}

.col-lg-custom-5 {
    position: relative;
    width: 100%;
    /*padding-right: var(--bs-gutter-x, .75rem);
    padding-left: var(--bs-gutter-x, .75rem);*/
    margin-top: var(--bs-gutter-y);
}

@media (min-width: 1200px) {
    .col-lg-custom-5 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .col-lg-custom-5 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .col-lg-custom-5 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 767px) and (min-width: 576px) {
    .col-lg-custom-5 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 575px) {
    .col-lg-custom-5 {
        flex: 0 0 50%;
        max-width: 50%;
        padding-left: 5px;
        padding-right: 5px;
    }

    .product-card {
        padding: 10px;
    }

    .product-img-wrapper {
        height: 120px;
    }

    .product-title {
        font-size: 12px;
        font-weight: 400;
    }

    .product-price {
        font-size: 16px;
    }

    .add-to-cart-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
}

/* Products Section */
.product-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    position: relative;
    text-decoration: none !important;
    color: inherit;
    cursor: pointer;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: #84C44C;
}

.product-img-wrapper {
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    overflow: hidden;
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(.97);
}

.product-info {
    flex-grow: 1;
}

.product-cat {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.product-title {
    font-size: 15px;
    font-weight: 700;
    color: #232f3e;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 70px;
}

.product-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 20px;
    font-weight: 800;
    color: #232f3e;
}

.add-to-cart-btn {
    background-color: #84C44C;
    color: #000;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-to-cart-btn:hover {
    background-color: #232f3e;
    color: #fff;
}

.featured-products-section {
    margin: 0 90px;
}

/* Section Heading */
.section-sub-title {
    font-size: 32px;
    font-weight: 800;
    color: #232f3e;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-sub-title::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: #eee;
}

@media (max-width: 767px) {
    .banner-content {
        left: 20px;
        right: 20px;
        transform: translateY(-50%);
        width: auto;
    }

    .banner-title {
        font-size: 20px;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .banner-text {
        font-size: 13px;
        line-height: 1.3;
        margin-bottom: 15px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .banner-tag {
        font-size: 10px;
        padding: 4px 12px;
        margin-bottom: 10px;
    }

    .banner-btn {
        font-size: 12px;
        padding: 8px 20px;
    }
  .banner-section{
        margin-top:10px !important;
  }
    .banner-img {
        min-height: 0px;
        max-height: 0px
        /*height: 380px;*/
        object-position: center;
    }

    .product-title {
        font-size: 12px;
        font-weight: 600;
        margin-bottom: -2px;
    }
  /*.progress-item{
  width: 50px;
  }*/
  .banner-progress{
   display: none;
    /* bottom: 20px; */
  }
}