/* Bootstrap Carousel Control Customization for Banner */
.tf__banner .carousel-control-prev,
.tf__banner .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: transparent !important;
    /* Ensure no conflicting bg */
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    /* Make visible always or on hover */
    margin: 0 20px;
    border: none !important;
    z-index: 10;
}

/* Ensure the icon visibility */
.tf__banner .carousel-control-prev-icon,
.tf__banner .carousel-control-next-icon {
    background: none;
    /* remove default SVG if we use font awesome */
    color: var(--colorPrimary);
    /* Orange color */
    font-size: 24px;
    line-height: 50px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--colorPrimary);
    /* Circle border */
    border-radius: 50%;
    transition: all 0.3s ease;
}

.tf__banner .carousel-control-prev:hover .carousel-control-prev-icon,
.tf__banner .carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--colorPrimary);
    color: #fff;
    cursor: pointer;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .tf__banner {
        height: auto;
        /* Allow auto height on mobile */
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .tf__banner_item {
        height: auto;
        padding: 50px 0;
    }

    .tf__banner_text h1 {
        font-size: 32px;
        /* Smaller font on mobile */
        line-height: 1.2;
    }

    .tf__banner_text h3 {
        font-size: 20px;
    }

    .tf__banner_img {
        margin-top: 30px;
        justify-content: center;
    }

    .tf__banner_img .img {
        position: relative;
        /* Static position on mobile to flow naturally */
        left: auto;
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
        margin: 0 5px;
    }

    .tf__banner .carousel-control-prev-icon,
    .tf__banner .carousel-control-next-icon {
        font-size: 16px;
        line-height: 35px;
    }
}