body {
    margin: 0;
}
h1,
h2,
h3,
p {
    margin: 0;
    font-family: Montserrat;
    cursor: default;
}


h2 {
    font-weight: 400;
}

h3 {
    font-weight: 350;
}


.first-see-element {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 100vh;
}

.logo {
    width: 450px !important;
    height: auto;
    transition: all 0.3s ease;
}


.text-button-element {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    z-index: 2;
    padding: 20px;
    text-align: center;
   
}

.primary-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
    z-index: 1;
}

.primary-img {
    mask-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 1) 80%,
            rgba(0, 0, 0, 0) 100%);
}

.img-title {
    color: white;
    font-size: 6rem;
    font-family: Montserrat;
    font-weight: 350;
    margin: 0;
    cursor: default;

}

.img-text-element {
    width: 100%;
    max-width: 1100px;
}

.img-text {
    color: white;
    font-size: 1.25rem;
    font-family: Montserrat;
    margin: 0;
    padding: 0 20px;
    cursor: default;
}

.offert-button {
    z-index: 2;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    border: none;
    background-color: white;
    color: black;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-family: Montserrat;
}


.offert-button:hover {
    transform: translateY(-2px);
}

.offert-button:active {
    opacity: 0.7;
}



@media (max-width: 535px) {


    .img-title {
        font-size: 4.7rem;
    }

    .img-text {
        font-size: 1.15rem;
    }

    ul {
        flex-direction: column;
        height: auto;
        align-items: center;
        padding: 10px 0;
        padding-left: 0;

    }

}

@media (max-width: 430px) {

    .img-title {
        font-size: 3.9rem;

    }

    .img-text {
        font-size: 16px;
    }
}

@media (max-width: 365px) {

    .img-title {
        font-size: 58px;
    }

    .img-text {
        font-size: 14px;
    }

    .offert-button {
        width: 200px;
        font-size: 13px;
    }

}

.why-choose-us {
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    row-gap: 75px;
    margin-bottom: 70px;
}

.why-text {
    font-size: 40px;
    font-family: Montserrat;
    cursor: default;
}

.why-text-span {
    color: rgb(130, 130, 130);
}



.grid-for-why {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    column-gap: 25px;
    width: 100%;
    max-width: 1100px;

}


.why-box {
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 20px rgb(0, 0, 0, 0.1);
    height: 185px;
    width: 100%;
    max-width: 360px;
    transition:all 0.3s cubic-bezier(0.42, 0, 0.58, 1);
    border-radius: 10px;
    background-color: white;


}


.why-box:hover {
    transform: translateY(-5px);
   
}


.why-box-title {
    font-family: Montserrat;
    cursor: default;
    font-weight: 500;
}

.why-box-text {
    font-family: Montserrat;
    cursor: default;
    font-size: 13px;
    color: rgb(130, 130, 130);
}

.icon-element {
    margin-left: 15px;
    margin-top: 15px;
}

.title-element {
    margin-top: 12px;
    margin-left: 15px;

}

.text-element {
    margin-top: 10px;
    margin-left: 15px;
    margin-right: 12px;
    line-height: 1.3;

}

.fa-book-open-reader {
    font-size: 35px;
}

.fa-screwdriver-wrench {
    font-size: 35px;

}

.fa-handshake {
    font-size: 35px;
}

.fa-book {
    font-size: 35px;
}

@media (max-width: 1120px) {

    .grid-for-why {
        width: 95%;
    }

    .logo {
        width: 500px !important;
    }



}

@media (max-width: 1045px) {

    .why-box-text {
        font-size: 11px;
    }

    .grid-for-why {
        width: 95%;
    }


}

@media (max-width: 925px) {

    .why-box-title {
        font-size: 13px;
    }

    .logo {
        width: 450px !important;

    }


}

@media (max-width: 840px) {
    .why-box-text {
        font-size: 11px;
    }


}

@media (max-width: 770px) {

    .why-box-title {
        font-size: 12px;
    }

    .logo {
        width: 400px !important;
    }




}

@media (max-width: 730px) {

    .why-text {
        font-size: 35px;

    }

    .why-box-title {
        font-size: 11px;
    }

    .why-box-text {
        font-size: 10px;
    }

}

@media (max-width: 675px) {

    .grid-for-why {
        grid-template-columns: 1fr;
        row-gap: 25px;

    }


    .why-box-title {
        font-size: 13px;
    }

    .why-box-text {
        font-size: 12px;
    }


    .why-choose-us {
        row-gap: 0;
    }

    .why-box {
        height: 165px;
    }

    .why-text {
        font-size: 32px;
    }

    .grid-for-why {
        margin-top: 70px;
    }


}

@media (max-width: 570px) {

    .why-text {
        font-size: 28px;
    }


}

@media (max-width: 500px) {

    .why-text {
        font-size: 23px;
    }


}

@media (max-width: 430px) {

    .why-text {
        font-size: 20px;
    }

    .grid-for-why {
        width: 90%;
    }

    .logo {
        width: 90% !important;
    }


}


@media (max-width: 350px) {

    .why-text {
        font-size: 18px;
    }


}

.section-separator {
    width: 80%;
    height: 1px;
    border-radius: 5px;
    background-color: #e0e0e0;
    margin: 40px auto;
    
}
  


.opinions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 50px;
}

.opinion-title-element {
    display: flex;
    flex-direction: column;
    row-gap: 7px;
    align-items: center;
    justify-content: center;
}

.opinions-title {
    font-size: 40px;
}

.grid-opinions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    column-gap: 25px;
    row-gap: 50px;
    width: 100%;
    max-width: 850px;


}


.grid-opinions-other {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    column-gap: 25px;
    width: 100%;
    max-width: 850px;


}

.box-opinion {
    box-shadow: 0px 0px 20px rgb(0, 0, 0, 0.1);
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    height: auto;
    padding-bottom: 15px;
    transition: all 0.3s ease;
}

.box-opinion-3rd {
    box-shadow: 0px 0px 20px rgb(0, 0, 0, 0.1);
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    height: auto;
    padding-bottom: 15px;
    transition: all 0.3s ease;
}


.box-opinion-other {
    box-shadow: 0px 0px 20px rgb(0, 0, 0, 0.1);
    border-radius: 10px;
    width: 100%;
    max-width: 700px;
    height: auto;
    padding-bottom: 15px;
    transition:all 0.3s cubic-bezier(0.42, 0, 0.58, 1);
    margin-bottom: 25px;
}

.box-opinion-3rd:hover,
.box-opinion:hover,
.box-opinion-other:hover {
   
    transform: translateY(-3px);
}

.opinion-element {
    display: flex;
    flex-direction: column;
    width: 100%;


}


.avatar-name-opinion {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 15px;
    margin-left: 15px;
    column-gap: 15px;
}

.avatar {
    width: 40px;
}

.opinion-person-name {
    font-size: 16px;
}

.opinion-text {
    width: 95%;
    margin-top: 15px;
    margin-left: 15px;
    font-size: 13px;
    line-height: 1.3;
    color: rgb(130, 130, 130);

}


@media (min-width: 675px) {


    .box-opinion-3rd {
        display: none;
        height: auto;

    }

}



@media (max-width: 850px) {

    .grid-opinions-other {
        width: 80%;
    }

    .grid-opinions {
        width: 90%;
    }


    .box-opinion-3rd {
        display: none;
    }

}



@media (max-width: 675px) {

    .grid-opinions {
        grid-template-columns: 1fr;
        row-gap: 25px;

    }

    .grid-opinions-other {
        display: none;
    }

    .opinions-title {
        font-size: 23px;
    }

    .avatar {
        width: 35px;
    }

    .box-opinion-3rd {
        display: block;
    }

}


.offer-also {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 60px;
}

.offer-titles {
    display: flex;
    row-gap: 7px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.offer-title {
    font-size: 40px;
    text-align: center;
}

.offer-pretitle {
    font-size: 16px;
    width: 100%;
    text-align: center;
    color: rgb(130, 130, 130);
    max-width: 630px;


}

.all-elements-offer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    column-gap: 60px;
    row-gap: 25px;
    width: 100%;
    max-width: 1100px;


}

.images-element {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 15px;
    width: 100%;
    margin-bottom: 25px;

}


/* .offer-2-img {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 15px;
} */

.offer-1-img {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
}

.offer-images {
    width: 450px;
    border-radius: 10px;
    transition:all 0.3s cubic-bezier(0.42, 0, 0.58, 1);
       display: block; /* Add this */
    margin: 0 auto; /* Add this */



}

.offer-images:hover {
    transform: scale(105%);

}




.text-element-offer {
    display: flex;
    width: 100%;
    max-width: 650px;
    flex-direction: column;
    row-gap: 15px;
    justify-content: center;


}


.box-offer-title {
    font-size: 23px;
}

.box-offer-text {
    line-height: 1.25;
    color: rgb(130, 130, 130);
    width: 100%;
    font-size: 15px;
}


.box-offer-button {
    text-align: center;
    margin-top: 20px;

}


.offer-button {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    border: none;
    background-color: #4a4949;
    box-shadow: 0px 0px 10px rgb(0, 0, 0, 0.1);
    color: rgb(255, 255, 255);
    font-size: 13px;
    cursor: pointer;
    font-family: Montserrat;
    font-weight: 500;
    width: 65%;
    max-width: 250px;
    transition: all 0.3s ease;

}



.fa-magnifying-glass {
    font-size: 11px;
    margin-left: 2px;
}


.offer-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}


.offer-button:active {
    opacity: 0.7;
}



@media (max-width: 1300px) {

    .all-elements-offer {
        width: 95%;
    }


}

@media (max-width: 1160px) {

    .box-offer-title {
        font-size: 20px;
    }


}


@media (max-width: 1105px) {

    .box-offer-title {
        font-size: 18px;
    }

    .box-offer-text {
        font-size: 15px;
    }

}




@media (max-width: 1060px) {

    .box-offer-title {
        font-size: 16px;
    }

    .box-offer-text {
        font-size: 14px;
    }

    .offer-images {
        width: 450px;
    }

}


@media (max-width: 1010px) {

    .box-offer-title {
        font-size: 15px;
    }

    .box-offer-text {
        font-size: 12px;
    }

    .offer-button {
        font-size: 12px;
    }



}


@media (max-width: 900px) {

    .offer-button {
        font-size: 11px;
    }

    .all-elements-offer {
        flex-direction: column;

    }

    .text-element-offer {
        width: 95%;
    }
.offer-also {
    row-gap: 40px;
}
}

@media (max-width: 700px) {


    .offer-pretitle {
        font-size: 13.5px;
    }

    .all-elements-offer {
        max-width: 630px;
    }

    


}


@media (max-width: 675px) {


    .offer-titles {
        width: 90%;
    }

    .all-elements-offer {
        width: 90%;
    }

    .offer-title {
        font-size: 23px;

    }

    .offer-pretitle {
        font-size: 13px;
    }
    .offer-also {
        row-gap: 40px;
    }

    .offer-button {
        width: 70%;
    }

    .offer-images {
        width: 90%;
        max-width: 90%;
    }
}


@media (max-width: 400px) {


    .box-offer-title {
        font-size: 14px;
    }

    .fa-magnifying-glass {
        font-size: 10px;
    }

    .offer-pretitle {
        width: 95%
    }

    .offer-also {
        justify-content: center;
        align-items: center;
    }


}


@media (max-width: 375px) {

    .offer-button {
        font-size: 10px;
    }

    .fa-magnifying-glass {
        font-size: 8px;
    }

    .box-offer-title {
        font-size: 13px;
    }


}

.partners-finance {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 50px;
    margin-bottom: 50px;

}


.partners-title {
    display: flex;
    flex-direction: column;
    row-gap: 7px;
    justify-content: center;
    align-items: center;
}


.all-elements-partners {}

.grid-partners {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    column-gap: 40px;
}

.box-partners {
    display: flex;
    justify-content: center;
    align-items: center;
    transition:all 0.3s cubic-bezier(0.42, 0, 0.58, 1);
    height: 80px;
}

.partners-images {
    width: 200px;


}

.partners-images-nest {
    width: 170px;

}


.box-partners:hover {
    transform: translateY(-2px);
}



@media (max-width: 960px) {

    .partners-images {
        width: 150px;
    }


    .partners-images-nest {
        width: 140px;

    }

}


@media (max-width: 825px) {

    .partners-images {
        width: 120px;
    }

    .partners-images-nest {
        width: 110px;

    }
}



@media (max-width: 675px) {

    .grid-partners {
        grid-template-columns: 1fr 1fr;
    }
}


.slide-in {
    opacity: 0;
    transform: translateY(0px);
    transition:all 0.6s cubic-bezier(0, 0, 1, 1);
}

.slide-in.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 675px) {
    .offert-button:hover,
    .why-box:hover,
    .box-opinion-3rd:hover,
    .box-opinion:hover,
    .box-opinion-other:hover,
    .offer-images:hover,
    .offer-button:hover,
    .box-partners:hover {
        transform: none; 
    }
}



