@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');

.slider {
    position: relative;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.slide {
    background-position: center center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 100%;
    height: 100vh;
    width: 100%;
}

.slide.active {
    transform: translateX(-100%);
}

.slide .info {
    background-color: rgba(255, 255, 255, 0.7);
    color: #333;
    padding: 20px 15px;
    position: absolute;
    opacity: 0.1;
    top: 520px;
    left: 40px;
    text-align: center;
    width: 300px;
    max-width: 100%;
}

.slide.active .info {
    opacity: 1;
    transform: translateY(-40px);
    transition: all 0.5s ease-in-out 0.8s;
}

.slide .info h1 {
    margin: 10px 0;
}

.slide .info p {
    letter-spacing: 1px;
}

.eraser {
    background: #f5f5f5;
    display: none;
    position: absolute;
    transition: transform 0.5s ease-in-out;
    opacity: 0.95;
    top: 0;
    left: 100%;
    height: 100vh;
    width: 100%;
}

.eraser.active {
    transform: translateX(-100%);
}

.buttons-container {
    position: absolute;
    bottom: 50px;
    right: 60px;
    top: 82%;
}

.buttons-container button {
    border: 2px solid #fff;
    background-color: #f5f5f5;
    color: #333;
    cursor: pointer;
    padding: 8px 30px;
    margin-right: 10px;
    font-size: 1.2em;
    font-weight: 600;
}

.buttons-container button:hover {
    background-color: #fff;
    color: #A9A9A9;
    opacity: 0.9;
}

@media (max-width: 400px) {
    .slide .info {
        top: 40%;
        left: 20px;
    }
}

.intro {
    width: 100%;
    height: 100vh;
    display: flex;
    margin-top: 10vh;
    margin-bottom: 10vh;
}

.introImg {
    width: 40%;
    height: 100%;
    clip-path: polygon(0 1%, 75% 0%, 100% 50%, 75% 100%, 0 100%, 0% 50%);
    background: url(../Images/bsolution.jpg) no-repeat center;
    box-shadow: 1px 1px 5px #000;
}

.introPassage {
    width: 60%;
    height: 100%;
    padding: 20px;
}

.introPassage h1 {
    width: 90%;
    text-align: center;
    margin: auto auto;
    padding: 0px;
    color: #000;
    font-size: 2.5em;
    font-weight: 500;
    border-bottom: 2px solid #000;
}

.introPassage p {
    font-family: 'Rubik', sans-serif;
    font-size: 1.5em;
    font-weight: 500;
    line-height: 1.5em;
    padding: 24px;
    text-align: justify;
}

@media screen and (max-width: 999px) {
    .introImg {
        width: 100%;
        height: 40vh;
        clip-path: polygon(0 1%, 100% 0, 100% 50%, 50% 100%, 0% 50%);

    }

    .intro {
        flex-direction: column;
        height: max-content;
    }

    .introPassage {
        width: 100%;
        height: max-content;
    }

    .introPassage p {
        padding: 25px;
    }
}

.productHead {
    width: 80%;
    margin: auto auto;
}

.productHead h4 {
    margin: auto auto;
    letter-spacing: 3px;
    font-size: 2.4em;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 14px;
    font-family: 'Raleway', sans-serif;
    color: #fff;
    background-color: #047ec6;
    text-align: center;
    width: max-content;
}

.space {
    margin-top: 10vh;
}

.productS,
.techS {
    width: 80%;
    height: max-content;
    margin: 32px auto;
}

.techS {
    width: 100%;
    height: 20vh;
}

.swiper {
    width: 80%;
    height: 50vh;
}

.techSwiper {
    width: 80%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    height: auto !important;
}

.cardProduct {
    width: 15em;
    height: 18em;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
}

.cardProduct:hover {
    cursor: pointer;
    box-shadow: 0px 10px 30px rgb(0 33 71 / 25%);
}

.cardImg {
    box-shadow: inset 0px 0px 30px rgb(0 33 71 / 12%);
    width: 15em;
    height: 11em;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px 20px 0px 0px;
}

.cardImg img {
    width: auto !important;
    margin: auto auto;
    display: flex !important;
    justify-content: center !important;
    height: 80% !important;
}

.cardDesc {
    background: #38307c;
    height: 7em;
    width: 15em;
    border-radius: 0px 0px 20px 20px;
}

.cardDesc h1 {
    margin: 10px auto;
    font-size: 1.5em;
    font-weight: 500;
    color: #fff;
}

.cardDesc a {
    text-decoration: none;
    display: inline-block;
    letter-spacing: 2px;
    word-spacing: 2px;
    font-size: 0.9em;
    font-weight: 500;
    font-family: 'Rubik', sans-serif;
    color: #fff;
    transition: all 0.5s ease;
    margin: 10px auto;
    cursor: pointer;
}

.cardDesc a:hover {
    letter-spacing: 6px;
}


.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 767px) {
    .productHead {
        width: auto;
    }

    .productS,
    .techS {
        width: 100%;
    }

    .productHead h4 {
        font-size: 1.5em;
    }

    .swiper-slide img {
        width: 100%;
    }

    .cardImg {
        height: 70%;
    }

    .cardImg img {
        width: 90% !important;
        height: 85% !important;
        object-fit: contain;
    }

    .cardDesc {
        height: 30%;
    }
}

@media screen and (min-width: 768px) and (max-width: 912px) {

    .productS,
    .techS {
        width: 100%;
    }

    .cardProduct {
        height: 75%;
    }

}