.slideback {
    background-color: #f8f9fa;
    padding: 10px 0;
    border-top: 2px solid #B93323;
    border-bottom: 2px solid #B93323;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
}

.slideback marquee {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.marquee-link {
    text-decoration: none;
    color: #B93323;
    font-weight: bold;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.marquee-link:hover {
    color: #000;
    text-decoration: underline;
}


.custom-carousel-btn {
    background-color: #B93323;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    border: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.custom-carousel-btn:hover {
    background-color: #ffffff;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

@media (max-width: 768px) {
    .custom-carousel-btn {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 576px) {
    .custom-carousel-btn {
        width: 32px;
        height: 32px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 480px) {
    .custom-carousel-btn {
        display: none;
    }
}

.testimonial-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.carousel-item {
    padding: 1rem 0;
    /* Reduce top/bottom spacing inside each slide */
}

.carousel-inner {
    min-height: auto;
    /* Let height adapt to content */
}

.carousel-item .lead {
    margin-bottom: 1rem;
    /* Slightly reduce paragraph spacing */
    line-height: 1.5;
}

.carousel-item h5 {
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.carousel-item small {
    font-size: 0.9rem;
}

/* Make sure control buttons aren't pushing the height */
.custom-carousel-btn {
    top: 45%;
}




.logo-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-track {
    display: flex;
    width: max-content;
    animation: scrollLeft 60s linear infinite;
    /* slower */
}

.logo-item {
    flex: 0 0 auto;
    margin: 0 30px;
}

.logo-item img {
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: transform 0.9s ease-in-out;
}

.logo-item img:hover {
    transform: scale(1.1);
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .logo-item {
        margin: 0 20px;
    }

    .logo-item img {
        height: 80px;
    }
}