@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600&family=Roboto:wght@300;400;500&display=swap");

/* Estilos globais */
* {
    box-sizing: border-box !important;
    margin: 0;
    padding: 0;
}



section {
    position: relative !important;
    width: 100% !important;
    border-radius: 20px;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: none !important;
    background-color: transparent !important;
    overflow: hidden !important;
}

swiper-container {
    width: 100%;
    height: 400px;
}

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

/* Estilos do Swiper */
.swiperhome {
    width: 100% !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.swiperhome .swiper-wrapper {
    padding: 10px 0 30px;
}

.swiperhome .swiper-slide {
    width: 700px !important;
    height: 500px !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2) !important;
    filter: blur(10px) contrast(70%) !important;
    border-radius: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: end !important;
    align-items: self-start !important;
    overflow: hidden !important;
    position: relative !important;
    transition: filter 0.3s ease-in-out, opacity 0.3s ease-in-out;
    background-size: contain !important;
    //background-color: white !important;
    background-color: white !important;
    background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),url(https://bluenest.infy.uk/mysite/wp-content/uploads/2025/02/Industrial_Inverter_No_Panels.png) no-repeat center / cover;
}

.swiperhome .swiper-slide-active {
    filter: blur(0) contrast(100%) !important;
    opacity: 1 !important;
}

.swiperhome .swiper-pagination-bullet {
    background-color: darkgrey !important;
    filter: none !important;
    opacity: 1 !important;
}

.swiperhome .swiper-pagination-bullet-active {
    background: #434553 !important;
}



.swiperhome .swiper-slide span {
    text-transform: uppercase !important;
    color: #fff !important;
    //background: #1b7402 !important;
    padding: 7px 18px 7px 25px !important;
    display: inline-block !important;
    border-radius: 0 20px 20px 0px !important;
    letter-spacing: 2px !important;
    font-size: 0.8rem !important;
    font-family: "Open Sans", sans-serif !important;
    max-width: 100% !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

.swiperhome .swiper-slide--one span,
.swiperhome .swiper-slide--two span,
.swiperhome .swiper-slide--three span {
    background: #34eba1 !important;
}

.swiperhome .swiper-slide--four span {
    background: #ffe97d !important;
}

.swiperhome .swiper-slide h2 {
    color: #fff !important;
    font-family: "Roboto", sans-serif !important;
    font-weight: 400 !important;
    font-size: 1.3rem !important;
    line-height: 1.4 !important;
    margin-bottom: 15px !important;
}

.swiperhome .swiper-slide p {
    color: #fff !important;
    font-family: "Roboto", sans-serif !important;
    font-weight: 300 !important;
    display: flex !important;
    align-items: center !important;
}

.swiperhome .swiper-slide svg {
    color: #fff !important;
    width: 22px !important;
    height: 22px !important;
}


/* Backgrounds dos slides */
.swiperhome .swiper-slide--one {
    background: linear-gradient(to top, #0f2027, #203a4300, #2c536400), url(https://bluenest.infy.uk/mysite/wp-content/uploads/2025/02/Industrial_Inverter_No_Panels.png) no-repeat center/cover;
}

.swiperhome .swiper-slide--two {
    background: linear-gradient(to top, #0f2027, #203a4300, #2c536400), url(https://bluenest.infy.uk/mysite/wp-content/uploads/2025/02/Ventilator-Box-3d.png) no-repeat center/cover;
}

.swiperhome .swiper-slide--three {
    background: linear-gradient(to top, #0f2027, #203a4300, #2c536400), url(https://bluenest.infy.uk/mysite/wp-content/uploads/2025/02/Turbine-Enclosure-3.png) no-repeat center/cover;
}

.swiperhome .swiper-slide--four {
    background: linear-gradient(to top, #0f2027, #203a4300, #2c536400), url(https://bluenest.infy.uk/mysite/wp-content/uploads/2025/02/certificates_search_Mekadigit.jpg) no-repeat center/cover;
}

/* Ajustes para mobile */
@media (max-width: 921px) {
    .swiperhome .swiper-slide {
        width: 320px !important;
        height: 450px !important;
    }
    section {
        width: 100% !important;
        border-radius: 0 !important;
    }
}

@media (min-width: 922px) {
   section {
    position: relative;
 mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 20%, 
                                           rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
    
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 20%, 
                                                     rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
    transition: mask-image 0.5s ease-in-out, -webkit-mask-image 0.5s ease-in-out;
}
}

.swiper-pagination-bullets {
    display: flex !important;
    justify-content: center !important;  /* Centraliza horizontalmente */
    position: absolute !important;

}

