.main-slider__content{
    margin-left: 60px;
}
/* ------------------------------------ Product Gallery Start ------------------------------ */
.product-gallery{
    padding: 3%;
    background-color: #fafafa;
    padding-top: 5%;
    padding-bottom: 5%;
}

.product-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 40px; 
    grid-auto-rows: 1fr; 
    width: 100%; 
    margin: auto;
    margin-top: 50px;
    margin-bottom: 50px;
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;  
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 10px;
    gap: .45em;
    background-color: white;
    border: 1px solid #e3e3e3;
    border-radius: 1.5%;
    padding-bottom: 2em;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
.product-card img {
    max-width: 100%;  
    max-height: 200px;  
    width: auto;  
    height: auto;  
    object-fit: cover; 
}

.product-card p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4; 
    -webkit-box-orient: vertical;
    line-height: 1.3em; 
    width: 100%; 
    text-align: center;
}


/* ------------------------------------ Custom Service Start ------------------------------ */
.custom-services-gallery{
    padding: 3%;
    background-color: #fafafa;
}

.custom-service-text{
    width: 90%;
    margin: auto;
}

.custom-services-conatiner{
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 15px; 
    grid-auto-rows: 1fr; 
    width: 80%;
    margin: auto;
}

.custom-services-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    margin: 20px;
    transition: box-shadow 0.3s ease;
    gap: 20px;

}

.custom-services-card img {
    width: 100%;
    height: 250px; 
    object-fit: cover; 
    border-radius: 2%;
}

.custom-services-card h3 {
    color: #BD2133; 
    font-weight: bold;
}

.custom-services-card p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; 
    line-height: 1.4em; 
    max-height: 10.8em; 
    margin: 0; 
}



.custom-services-button{
    display: flex;
    margin-top: 20px;
}


/* ------------------------------------ Mobile Responsiveness Start ------------------------------ */
@media (min-width: 1024px) and (max-width: 1467px) {
    .product-container,
    .custom-services-conatiner {
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px; 
        width: 95%;
    }

    .product-card p,
    .custom-services-card p {
        -webkit-line-clamp: 2; 
    }

    .custom-service-text{
        margin-bottom: 30px;
    }

    .custom-services-card{
        margin: unset;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .product-container,
    .custom-services-conatiner {
        grid-template-columns: repeat(1, 1fr); 
        gap: 15px; 
        width: 95%;
    }

    .product-gallery,
    .custom-services-gallery {
        padding: 3% 5%; 
    }

    .product-card,
    .custom-services-card {
        padding: 20px;
    }

    .product-card img,
    .custom-services-card img {
        max-height: 200px;
    }

    .custom-service-text{
        margin-bottom: 30px;
    }

    .custom-services-card{
        margin: unset;
    }


    .product-card p,
    .custom-services-card p {
        -webkit-line-clamp: 4;
    }
}















