.brands-section-div {
    text-align: left;
}

.brands-section-div h2 {
    /* Add styles for the heading */
    font-size: 40px;
    color: #eb192d;
    margin-top: 50px;
}

.brands {
    /* Add styles for the brand logos container */
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.brand {
    max-width: 1424px;
    margin-top: 50px;
    margin-bottom: 100px;
}

.brand img {
    /* Add styles for the brand logos */
    border: 2px solid white;
    border-radius: 10px; /* Adjust to match the curvature in the image */
    padding: 10px;
    margin: 10px;
    width: 80%;
    /* width: 220px; */
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); !* Example shadow *!*/
}

.products-section {
    position: relative; /* This makes it a containing block for absolute positioning */
}

.product-red-background {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /* height: 300px; */
    height: 250px;
    background-color: #db2b2f;
    /*padding-bottom: 100px;*/
    z-index: 1; /* This ensures that the red background is behind the product-slider */
    top: 65%;
    /* top: 50%; */
}

.product-slider {
    display: flex;
    overflow-x: auto; /* Allows horizontal scrolling */
    position: relative;
    z-index: 2; /* This ensures that the product-slider is above the red background */
}
.all-products {
    display: flex;
    max-width: 1277px;
}
.product {
    margin: 10px;
    text-align: center;
    position: relative; /* If you need to position product items individually */
}
.product h3 {
    color: white;
    font-size: 24px;
    margin-top: 20px;
}
.all-products-description {
    text-align: left;
    /*margin-top: 100px;*/
    margin-left: 50px;
}
.all-products-description h1 {
    color: #eb192d;
    font-size: 40px;
    text-transform: uppercase;
    width: 227px;
    text-align: left;
    font-weight: bold !important;
}
.all-products-description p {
    color: #525252;
    font-size: 20px;
}

.all-products-description .slider-controls button {
    font-size: 30px;
    padding: 2px 17px;
    color: red;
    transition: all 0.3s;
}

.all-products-description .slider-controls button:hover {
    scale: 1.2;
    background-color: #59be40;
    color: white;
}

.product img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.slider-controls {
    text-align: center;
    position: relative;
    z-index: 3; /* This ensures that the controls are above both the product-slider and the red background */
}

.slider-controls button {
    background-color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 10px;
    cursor: pointer;
    border-radius: 30px;
}

.all-products-description {
    position: relative;
}

.slider-controls {
    position: absolute;
    bottom: 6%;
    right: 30%;
}

/* You can add media queries to make the layout responsive */
@media (max-width: 768px) {
    .brands,
    .product-slider {
        flex-direction: column;
    }
}

/* You can add media queries to make the layout responsive */
@media (max-width: 768px) {
    .mobile-brendet-show {
        max-width: 60%;
    }
}

@media (max-width: 768px) {
    .t-m {
        color: #fff !important;
        padding: 10px;
        line-height: 1px;
    }
}

