.swiperContainer {
    width: 100%;
    aspect-ratio: 21/9;
}

.swiperSlide {
    position: relative;
    color: white;
    display: flex;
    justify-content: center; 
    align-items: flex-end;
    overflow: hidden;
    height: calc(100% - 40px);
    padding-bottom: 40px;
}

.swiperSlide img, .swiperSlide picture{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.swiperSlide .container{
    z-index: 2;
}

.overlayGradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #66666600 20%, #66666660 80%);
    z-index: 0;
}

.slideContent {
    margin-bottom: 20px;
    width: 60%;
}

.slideTitle {
    font-weight: 900;
    font-size: 2.3rem;
    margin: 0 0 10px;
}

.slideSubtitle {
    font-size: 1.1rem;
    margin: 0;
}

.slideFooter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.navButtons {
    display: flex;
    gap: 10px;
}

.navButton {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.navButton img{
    position: relative;
    width: 20px;
    height: 20px;
    margin: 20px;
}

.navButton:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

@media(min-width: 320px) and (max-width: 640px){
    .swiperContainer{
        aspect-ratio: 3/4;
    }
}


@media(min-width: 320px) and (max-width: 1340px) {
    .slideTitle {
        font-size: 20px;
    }

    .slideContent {
        width: 100%;
    }

    .slideSubtitle {
        font-size: 14px;
    }

    .slideFooter {
        align-items: center;
        flex-wrap: wrap-reverse;
        gap: 10px;
    }

    .navButton {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

@media(min-width: 550px) and (max-width: 920px) {
    .slideTitle {
        font-size: 24px;
    }

    .slideSubtitle {
        font-size: 16px;
    }
}

.swiperAdvantages{
    margin-top: 35px;
}

.slideAdvantagesContent{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    background: #F0E8E3;
    height: 100%;
    width: calc(100% - 20px);
    padding: 20px 10px;
    border-radius: 10px;
}

.slideAdvantagesText{
    margin-top: 20px;
}

.slideAdvantagesText h3{
    font-family: 'Mulish', sans-serif;
    font-size: 16px;
    color: #25433C;
}

.slideAdvantagesText p{
    margin-top: 5px;
    color: #242726;
    font-size: 14px;
}

/* about */

.aboutContainer{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 35px;
}

.aboutImg{
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.aboutImg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aboutText{
    background: #242726;
    padding: 20px;
    width: calc(100% - 40px);
    border-radius: 20px;
    color: #fff !important;
}

.aboutText p{
    margin-top: 15px;
    font-size: 14px;
    color: #fff;
}

.aboutText,
.aboutText p,
.aboutText h1,
.aboutText h2,
.aboutText h3,
.aboutText h4,
.aboutText h5,
.aboutText h6,
.aboutText ol,
.aboutText ul,
.aboutText li,
.aboutText a,
.aboutText strong,
.aboutText em,
.aboutText span,
.aboutText td,
.aboutText th {
    color: #fff !important;
}

@media(min-width: 320px) and (max-width: 720px){
    .aboutContainer{
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}

/* certificates */

.certificates{
    background: #6B8A7A;
    padding: 45px 0;
    position: relative;
}

.certificateMask{
    background: url('../img/components/sertificate_mask.png') no-repeat center / cover;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 0;
}

.certificates .container{
    z-index: 1;
}

.swiperSertificate{
    margin-top: 35px;
}

.sertificateItem img{
    width: 100%;
    border-radius: 10px;
}

/* Our partners */

.swiperOurPartners{
    padding: 35px 0;
}

.ourPartnersItem{
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 65 / 32;
    overflow: hidden;
    border-radius: 10px;
    background: #F0E8E3;
}

.ourPartnersItem img{
    width: 170px;
}

@media(min-width: 320px) and (max-width: 720px){
    .ourPartnersItem img{
        width: 70%;
    }
}