@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

:root {
    --header-line: #004d40;
    --header-text: #fff;
    --text-color: #5770A6;
    --imp-padding: 0 3rem;
}

body {
    /* font-family: Arial, sans-serif; */
    font-family: "Poppins", sans-serif !important;
    font-weight: 400;
    font-style: normal;
    background: white !important;
}

/* hero header slider start */

/* hero header slider end */

/* category css start */
.main-category .container .main-title {
    font-size: 40px;
    font-weight: 600;
    text-align: center;
    justify-content: center;
    margin: 0.9em 0;
}

.owl-carousel {
    width: 100%;
}

.owl-carousel .item {
    height: 280px;
    width: 100%;
    position: relative;
    margin: 0 1em;
}

.owl-carousel .item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.owl-carousel .item .hover-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 80%;
    height: 80%;
    background-color: #000;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    transition: all 0.5s ease;
}

.owl-carousel .item:hover .hover-item {
    opacity: 0.7;
}

.owl-carousel .item .hover-item h3 {
    transform: translateY(150px);
    text-align: center;
    transition: all 0.5s ease;
}

.owl-carousel .item .hover-item h3 a {
    color: #fff;
    font-size: 22px;
    text-decoration: none;
}

.owl-carousel .item:hover .hover-item h3 {
    transform: translateY(0);
}

/* category css end */

/* product display start */


.product-display {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.main-title {
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    margin: 2rem;
}

.product-container-home {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.product-home {
    flex: 1 1 30%;
    margin: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
}

.product {
    text-align: center;
    padding: 20px;
}

.product img {
    max-width: 100%;
    height: auto;
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.product h3 {
    color: #333;
    margin-bottom: 15px;
}

.product button {
    padding: 10px 20px;
    border: none;
    background-color: #004d40;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.product button:hover {
    background-color: rgb(24, 160, 24);
}

@media (max-width: 768px) {
    .product-home {
        flex: 1 1 45%;
        margin: 5px;
    }
}

@media (max-width: 480px) {
    .product-home {
        flex: 1 1 100%;
        margin: 5px 0;
    }
}




/* product display end */

/* NOTE: PARTNER & CLIENTS CSS ARE SAME */
/* Partners css Start */
/* Clients Css Start */

.Clients .title-client {
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    margin: 2rem;
}
.partners .title-partner {
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    margin: 2rem;
}

.slider {
    height: auto;
    margin: auto;
    position: relative;
    width: 90%;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.slide-track {
    display: flex;
    animation: scroll 40s linear infinite;
}
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.slide {
    width: 180px;
    height: auto;
    display: flex;
    align-items: center;
    padding: 10px;
    perspective: 100px;
}
.slide img {
    width: 100%;
    transition: transform 1s;
}
img:hover {
    transform: translateZ(20px);
}
/* Gradient Shadows */
.slider::before,
.slider::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 5%;
    background: linear-gradient(to right, rgb(255, 255, 255) 0%, rgba(255,255,255,0) 100%);
    z-index: 2;
}
.slider::before {
    left: 0;
    top: 0;
}
.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}
/* Clients Css End */
/* Partners css End */

/* Responsive Design */
@media (max-width: 1200px) {
    .main-category .container .main-title,
    .Product-display .main-title,
    .Clients .title-client,
    .partners .title-partner {
        font-size: 35px;
    }
}

@media (max-width: 992px) {
    .main-category .container .main-title,
    .Product-display .main-title,
    .Clients .title-client,
    .partners .title-partner {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .main-category .container .main-title,
    .Product-display .main-title,
    .Clients .title-client,
    .partners .title-partner {
        font-size: 25px;
    }
    .owl-carousel .item .hover-item h3 a {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .main-category .container .main-title,
    .Product-display .main-title,
    .Clients .title-client,
    .partners .title-partner {
        font-size: 20px;
    }
    .owl-carousel .item .hover-item h3 a {
        font-size: 16px;
    }
    .slide {
        width: 120px;
    }
}

