

.image-slider-wrapper {
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.image-slider {
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: all 0.3s ease;
    align-items: center;
}

.image-slider img {
    object-fit: cover;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.image-slider-distributor {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.5s ease;
}

.image-slider-distributor img {
    object-fit: contain;
    border-radius: 6px;
    padding: 5px;
    height: 120px;
    flex: 0 0 auto; /* stop images from shrinking */
}


.large {
    width: 420px;
    height: 280px;
}

.small {
    width: 300px;
    height: 210px;
}

.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    font-size: 24px;
    padding: 10px;
    z-index: 10;
    cursor: pointer;
}

.arrow-left, .arrow-left-p, .arrow-left-d {
    left: 0;
}

.arrow-right, .arrow-right-p, .arrow-right-d {
    right: 0;
}


/*.align-items-center {*/
/*    -ms-flex-align: center !important;*/
/*    align-items: center !important;*/
/*    margin-left: 70px !important;*/
/*    margin-right: 70px !important;*/
/*}*/

.headline {
    font-size: 5.5rem;
    font-weight: bold;
}

.headline .underline {
    display: block;
    width: 100%;
    height: 8px;
    background-color: black;
    margin-top: 1px;
}
h2.mt-2 {
    font-size: 3rem;
    font-weight: 700;
}


.read-more {
    display: inline-block;
    font-weight: bold;
    color: black;
    position: relative;
    text-decoration: none;
    font-size: 17px;
}

.read-more::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: black;
    margin-top: 5px;
}

a.read-more:hover {
    color: black;
    text-decoration-line: none;
}

.read-more i {
    margin-left: 5px;
}


img.img-fluid.rounded {
    width: 660px;
    border-radius: 8px;
}

p {
    font-size: 16px;
}

.read-arrow {
    font-size: 2em;
}


.image-modal-slider {
    position: fixed;
    inset: 0; /* shorthand for top/right/bottom/left: 0 */
    z-index: 9999;
    background: rgba(0,0,0,0.8);
    display: none;               /* hidden by default */
    justify-content: center;
    align-items: center;
}

.image-modal-slider img {
    max-width: 90%;    /* default for mobile */
    max-height: 85vh;
    border-radius: 8px;
}

/* Tablet */
@media (min-width: 768px) {
    .image-modal-slider img {
        max-width: 70%;
        max-height: 85vh;
    }
}

/* Desktop */
@media (min-width: 1200px) {
    .image-modal-slider img {
        max-width: 55%;
        max-height: 90vh;
    }
}

.image-modal-slider .close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.image-modal-slider.open {
    display: flex;
}

/* For Distributor & Partners */
.auto-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    background: #fff;
    padding: 0.5rem 0;
}

/* Track that scrolls */
.auto-marquee .track {
    display: flex;
    gap: 1rem;
    align-items: center;
    /* The animation is injected dynamically */
    will-change: transform;
    flex-wrap: nowrap;
}

/* Each item */
.auto-marquee .item {
    flex: 0 0 auto;
    width: 320px; /* change as needed */
    border-radius: .5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
    overflow: hidden;
    background: #f8f9fa;
}

.auto-marquee .item img {
    display: block;
    width: 100%;
    height: 110px;
    object-fit: cover;
}

/* Pause on hover */
.auto-marquee:hover .track {
    animation-play-state: paused;
}

/* Fallback animation preset (will be overridden) */
@keyframes marquee-left-to-right {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}
