.menu-item.active .item-link {
    color: #ffffff !important;
}
/* EXACT SAME CSS AS YOUR REFERENCE CODE */
/* Carousel Container */
.tf-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative;
}

.carousel-slide.active {
    opacity: 1;
}

/* Ensure proper sizing for images */
.sld-image {
    width: 100%;
    height: 520px; /* desktop perfect */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* hide img */
.sld-image img {
    display: none;
}

/* Carousel Controls */
.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
    transition: background 0.3s ease;
}

.carousel-prev:hover, .carousel-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: white;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */


@media (max-width: 768px) {
    .sld-image {
        height: 300px;
    }
    
     padding-bottom: 7px !important;
}

@media (max-width: 480px) {
    .sld-image {
        height: 200px;
    }
}
@media (max-width: 768px) {
    
    p.text-white.text-uppercase.fade-item.fade-item-1 {
    display: none !important;
}

h2.title-sld-4.font-2.fade-item.fade-item-2 {
    display: none !important;
}

.fade-item.fade-item-3 {
    display: none !important;
}
    .carousel-prev, .carousel-next {
        padding: 10px;
        font-size: 18px;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
    
    .sld-image img {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .sld-image img {
        height: 222px;
    }
    .flat-spacing-13 {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
}
}


 .category-scroll {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 0;
    scroll-behavior: smooth;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.category-item {
    min-width: 140px;
    text-align: center;
    flex-shrink: 0;
}

.category-item .image {
    width: 140px;
    height: 140px;
    border-radius: 20px;
    overflow: hidden;
    background: #f5f5f5;
}

.category-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.category-title {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
}

.flat-spacing-3 {
    padding-top: 28px !important;
    padding-bottom: 33px !important;
}

@media (max-width: 768px) {
    .category-scroll {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        overflow-x: visible;
    }
    
    .category-item {
        min-width: auto;
        flex-shrink: 1;
    }
    
    .category-item .image {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
}

/* Fix icon stretching - Base styles */
.box_icon--V01.style_2 .icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    flex-shrink: 0 !important;
}

.box_icon--V01.style_2 .icon i {
    font-size: 40px !important;
    line-height: 1 !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
}

.box_icon--V01.style_2 {
    display: flex !important;
    align-items: flex-start !important;
    gap: 20px !important;
    padding: 15px !important;
    box-sizing: border-box !important;
}

.box_icon--V01.style_2 .content {
    flex: 1 !important;
    min-width: 0 !important;
}

.box_icon--V01.style_2 .title {
    font-size: 18px !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
}

.box_icon--V01.style_2 .text {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

/* Tablet (768px to 1024px) */
@media screen and (max-width: 1024px) {
    .box_icon--V01.style_2 .icon {
        width: 70px !important;
        height: 70px !important;
        min-width: 70px !important;
        min-height: 70px !important;
    }
    
    .box_icon--V01.style_2 .icon i {
        font-size: 35px !important;
    }
    
    .box_icon--V01.style_2 {
        gap: 15px !important;
        padding: 12px !important;
    }
    
    .box_icon--V01.style_2 .title {
        font-size: 16px !important;
    }
    
    .box_icon--V01.style_2 .text {
        font-size: 13px !important;
    }
}

/* Mobile Landscape (576px to 768px) */
@media screen and (max-width: 768px) {
    
    
    .box_icon--V01.style_2 .icon {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
    }
    
    .box_icon--V01.style_2 .icon i {
        font-size: 30px !important;
    }
    
    .box_icon--V01.style_2 {
        gap: 12px !important;
        padding: 10px !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .box_icon--V01.style_2 .content {
        text-align: center !important;
    }
    
    .box_icon--V01.style_2 .title {
        font-size: 16px !important;
    }
    
    .box_icon--V01.style_2 .text {
        font-size: 13px !important;
    }
}

/* Mobile Portrait (below 576px) */
@media screen and (max-width: 576px) {
    .box_icon--V01.style_2 .icon {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
    }
    
    .box_icon--V01.style_2 .icon i {
        font-size: 24px !important;
    }
    
    .box_icon--V01.style_2 {
        gap: 10px !important;
        padding: 8px !important;
    }
    
    .box_icon--V01.style_2 .title {
        font-size: 15px !important;
        margin-bottom: 5px !important;
    }
    
    .box_icon--V01.style_2 .text {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }
}

/* Very Small Mobile (below 400px) */
@media screen and (max-width: 400px) {
    .box_icon--V01.style_2 {
        gap: 8px !important;
        padding: 6px !important;
    }
    
    .box_icon--V01.style_2 .title {
        font-size: 14px !important;
    }
    
    .box_icon--V01.style_2 .text {
        font-size: 11px !important;
    }
}

/* Fix Swiper container for mobile */
@media screen and (max-width: 768px) {
    .tf-swiper.swiper {
        padding-bottom: 10px !important; /* Space for dots */
    }
    
    .swiper-wrapper {
        padding: 5px 0 !important;
    }
    
    .swiper-slide {
        height: auto !important;
    }
}


/* Carousel Container */
.tf-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative;
}

.carousel-slide.active {
    opacity: 1;
}

/* Ensure proper sizing for images */
.sld-image img {
    width: 100%;
    height: 600px;
    object-fit: inherit;
}

/* Carousel Controls */
.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
    transition: background 0.3s ease;
}

.carousel-prev:hover, .carousel-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: white;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-prev, .carousel-next {
        padding: 10px;
        font-size: 18px;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
    
    .sld-image img {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .sld-image img {
        height: 300px;
    }
}


/* EXACT SAME CSS AS BANNER2 */
/* Carousel Container */
.tf-carousel.banner3-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 20px; /* Optional: Add spacing between banner2 and banner3 */
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative;
}

.carousel-slide.active {
    opacity: 1;
}

/* Ensure proper sizing for images */
.sld-image img {
    width: 100%;
    height: 600px;
    object-fit: inherit;
}

/* Carousel Controls */
.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
    transition: background 0.3s ease;
}

.carousel-prev:hover, .carousel-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: white;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-prev, .carousel-next {
        padding: 10px;
        font-size: 18px;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
    
    .sld-image img {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .sld-image img {
        height: 300px;
    }
}