﻿.owl-carousel {
    position: relative;
    margin-top: 10px;
}

/* Custom Next and Previous buttons */
.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 2; /* Ensure buttons are on top of the images */
}

    .owl-nav i {
        font-size: 38px;
        color: #fff;
    }

.owl-prev,
.owl-next {
    background-color: #e5a73d !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important; /* Ensures buttons are circles */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important; /* Add transition for background color */
    width: 50px !important;
    height: 50px !important;
}

    .owl-prev:hover,
    .owl-next:hover {
        background-color: #ffd800 !important;
    }

.owl-item {
    position: relative; /* Ensure each item is positioned relative */
    overflow: hidden; /* Contain the overlay within the item */
}

    .owl-item img {
        width: 100%;
        height: auto; /* Maintain the aspect ratio */
        object-fit: cover; /* Cover the entire item area */
    }

    .owl-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
        opacity: 0; /* Start fully transparent */
        transition: opacity 0.5s ease; /* Smooth transition */
        z-index: 1;
    }

    .owl-item.active::before {
        opacity: 0.1; /* Show the overlay when the item is active */
    }

    .owl-item.active img {
        z-index: 0; /* Send the image behind the overlay */
    }

/* Responsive Styles */
@media (max-width: 1024px) {
    .owl-nav i {
        font-size: 35px; /* Slightly smaller icon size for medium screens */
    }

    .owl-prev,
    .owl-next {
        width: 40px; /* Smaller button size for medium screens */
        height: 40px; /* Smaller button size for medium screens */
        border-radius: 50%; /* Ensure they remain circular */
    }
}

@media (max-width: 768px) {
    .owl-nav i {
        font-size: 30px !important; /* Smaller icon size for tablets */
    }

    .owl-prev,
    .owl-next {
        width: 35px !important; /* Smaller button size for tablets */
        height: 35px !important; /* Smaller button size for tablets */
        border-radius: 50% !important; /* Ensure they remain circular */
    }
}

@media (max-width: 480px) {
    .owl-nav i {
        font-size: 24px !important; /* Even smaller icon size for mobile */
    }

    .owl-prev,
    .owl-next {
        width: 30px !important; /* Even smaller button size for mobile */
        height: 30px !important; /* Even smaller button size for mobile */
        border-radius: 50% !important; /* Ensure they remain circular */
    }

    .owl-item img {
        object-fit: contain; /* Change to contain for better display on very small screens */
    }
}


/*--Partners--*/

.box {
    display: grid;
    align-items: center;
    justify-items: center;
    width: 100%; /* Full width for responsiveness */
    height: auto;
    transition: transform 0.5s ease-in;
    margin: 8px; /* Adjust margin for spacing */
}

    .box img {
        max-width: 100%;
        max-height: 100%;
        width: 100%;
    }

    .box:hover {
        transform: scale(1.2);
    }

.slick-next,
.slick-prev {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white; /* Change the icon color */
    z-index: 1; /* Ensure they are above the slider */
}

.slick-next {
    right: 10px; /* Distance from the right */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Adjust for vertical centering */
}

.slick-prev {
    left: 10px; /* Distance from the left */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Adjust for vertical centering */
}







    .slick-prev:before {
        font-family: slick;
        font-size: 30px !important;
        line-height: 1;
        opacity: .75;
        color: #e5a73d;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .slick-next:before, .slick-prev:before {
        font-family: slick;
        font-size: 30px !important;
        line-height: 1;
        opacity: .75;
        color: #e5a73d;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }