.first {
    background: #002530;
    width: 100%;
    min-height: 1200px;
    border-bottom-right-radius: 400px;
    -webkit-box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
    -moz-box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
    box-shadow: 0px 0px 11px 6px rgba(0, 0, 0, 0.37);
    position: relative;
}

.first .entre {
    position: relative;
    width: 100%;
    height: 800px;
    border-bottom-left-radius: 400px;
    background: url("../imagini/img1.jpg") no-repeat;
    background-size: cover;
    background-position: center;
    -webkit-box-shadow: 0px 0px 11px 6px rgba(216, 216, 216, 0.37);
    -moz-box-shadow: 0px 0px 11px 6px rgba(216, 216, 216, 0.37);
    box-shadow: 0px 0px 11px 6px rgba(216, 216, 216, 0.37);
    top: 0%;
    right: 0%;
}

.first .entre div {
    position: absolute;
    left: 15%;
    top: 30%;
    width: 35%;
    height: auto;
}

.first .entre img {
    max-width: 100%;
    height: auto;
}

.space5 {
    height: 5vh;
}

.space10 {
    height: 10vh;
}

.centru {
    width: 100%;
    display: flex;
    position: relative;
    justify-content: space-around;
}

.servicii {
    display: inline-flex;
    text-align: center;
    margin-bottom: 100px
}

.servicii .box {
    width: 40%;
    height: 300px;
    box-shadow: 0px 0px 5px 0px #00A4CE;
    border-radius: 30px;
    transition: 0.3s;
}

.servicii .box div {
    margin-top: 20px;
    margin-bottom: auto;
    margin-left: 5%;
    margin-right: 5%;
    cursor: pointer;
}

.servicii .box div h3 {
    color: #fff;
    margin: 10px 0px 10px 0px;
    font-size: 1.3em;
}

.servicii .box div p {
    font-size: 12px;
    margin-top: 1em;
    color: #fff;
}

.servicii .box:hover {
    box-shadow: none;
    background: #00A4CE;
    transition: 0.3s;
}

.row1, .row2 {
    display: inline-flex;
    width: 50%;
    justify-content: space-around;
}

/* second */

.second {
    width: 100%;
    display: flex;
    justify-content: center;
}

.second .row3 {
    width: 80%;
    display: inline-flex;
    align-items: center;
}

.second .row3 .column1, .second .row3 .column2 {
    width: 50%;
}

.second .row3 .column2 img {
    max-width: 100%;
    height: auto;
}

.second .row3 .column1 h1 {
    text-align: center;
    font-size: 3em;
}

.second .row3 .column1 h1 span {
    font-size: 1.2em;
    color: #00A4CE;
}

.second .row3 .column1 h2 {
    margin: 20px 0px 20px 0px;
    color: rgb(102, 102, 102);
    font-size: 1em;
}

.second .row3 .column1 h3 {
    margin: 40px 0px 0px 0px;
    color: #000;
    font-size: 1em;
}

.second .row3 .column1 p {
    margin: 10px 0px 10px 0px;
}

.second .row3 .column1 p a {
    text-decoration: none;
    color: #00A4CE;
    font-size: 1em;
}

.fa-arrow-right {
    color: #00A4CE;
    margin-right: 10px;
    visibility: hidden;
}

.second .row3 .column1 p:hover .fa-arrow-right {
    visibility: visible;
}

.second .row3 .column1 p:hover {
    text-decoration: underline;
    transition: 0.2s;
}

.third {
    position: relative;
    width: 100%;
    height: 800px;
    border-radius: 400px 0px 400px 0px;
    background: url("../imagini/img4.jpg") no-repeat;
    background-size: cover;
    background-position: center;
    -webkit-box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
    -moz-box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
    box-shadow: 0px 0px 11px 6px rgba(0, 0, 0, 0.37)
}

.third .block1 {
    position: absolute;
    left: 20%;
    top: 30%;
    z-index: 1;
    height: 20%;
    width: 40%;
}

.third .block1 h3 {
    color: #fff;
    font-size: 3.5em;
}

.third .block2 {
    width: 70%;
    height: 60%;
    background: #00A4CE;
    position: absolute;
    bottom: 0;
    right: 0;
    border-radius: 400px 0px 400px 0px;
}

.third .block2 div {
    width: 30%;
    height: 40%;
    position: absolute;
    bottom: 30%;
    right: 30%;
}

.third .block2 h3 {
    color: #fff;
    font-size: 2.5em;
}

.fourth {
    width: 100%;
}

.fourth .titlu {
    border-bottom: 4px solid #00A4CE;
}

.fourth .titlu span {
    color: #00a4ce;
    font-size: 1.5em;
}

.fourth div h3 {
    color: #002530;
    font-size: 3em;
    margin-left: 10%;
    margin-right: auto;
}

.fourth .customers {
    width: 80%;
    display: inline-flex;
    margin-left: 10%;
    margin-right: auto;
    margin-top: 40px;
}

.fourth .row4 {
    display: inline-flex;
    width: 40%;
    height: auto;
}

.fourth .row5 {
    display: inline-flex;
    width: 40%;
    height: auto;
}

.fourth .row6 {
    width: 20%;
    height: auto;
}

.fourth .box {
    width: 100%;
    height: auto;
    transition: all 0.4s ease;
    border-radius: 10px;
}

.fourth .box div {
    margin-left: 10%;
    margin-right: auto;
}

.fourth .box img {
    width: 80%;
    height: auto;
    align-self: flex-start;
    filter: grayscale(100%);
}

.fourth .box:hover {
    -webkit-box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
    -moz-box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
    box-shadow: 0px 0px 25px 6px rgba(0, 0, 0, 0.17);
    transition: all 0.4s ease;
}

.fourth .box img:hover {
    filter: grayscale(0%);
}

.fifth {
    background-color: #F0F0F0;
    position: relative;
    border-radius: 400px 0px 0px 0px;
    width: 100%;
    height: 400px;
    -webkit-box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
    -moz-box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
    box-shadow: 0px 0px 11px 11px rgba(0, 0, 0, 0.37);
    clip-path: inset(-100px 0px -0.3px 0px);
}

.fifth .text {
    text-align: center;
    position: absolute;
    top: 20%;
    left: 40%;
}

.fifth .text h3 {
    font-size: 70px;
    color: #002530;
}

@media(max-width: 1450px) {
    .third .block1 h3 {
        font-size: 3em;
    }
    .third .block2 h3 {
        font-size: 2em;
    }
}

@media(max-width: 1350px) {
    .first {
        border-bottom-right-radius: 300px;
    }
    .first .entre {
        border-bottom-left-radius: 300px;
        height: 600px;
    }
    .servicii {
        display: block;
    }
    .servicii .row1, .servicii .row2 {
        width: 100%;
        margin-bottom: 50px;
    }
    .servicii .box {
        width: 25%;
    }
    .third {
        height: 500px;
        border-radius: 300px 0px 300px 0px;
    }
    .third .block1 h3 {
        font-size: 2.5em;
    }
    .third .block2 {
        border-radius: 300px 0px 300px 0px;
    }
    .third .block2 h3 {
        font-size: 2em;
    }
}

@media(max-width: 1150px) {
    .third .block1 h3 {
        font-size: 2em;
    }
    .third .block2 h3 {
        font-size: 1.5em;
    }
}

@media(max-width: 900px) {
    .first {
        border-bottom-right-radius: 200px;
    }
    .first .servicii {
        margin-bottom: 10px;
    }
    .first .entre {
        height: 500px;
        border-bottom-left-radius: 200px;
    }
    .second .row3 .column1 h1 {
        font-size: 2em;
    }
    .second .row3 .column1 h2, .second .row3 .column1 h3, .second .row3 .column1 p a {
        font-size: 0.8em;
    }
    .third {
        border-radius: 200px 0px 200px 0px;
        height: 400px;
    }
    .third .block1 h3 {
        font-size: 1.7em;
    }
    .third .block2 {
        border-radius: 200px 0px 200px 0px;
    }
    .third .block2 h3 {
        font-size: 1.3em;
    }
    .fourth div h3 {
        font-size: 2em;
    }
    .fourth .customers {
        display: block;
    }
    .fourth .row4, .fourth .row5 {
        width: 100%;
    }
    .fourth .row6 {
        width: 50%;
        margin-left: 25%;
        margin-right: auto;
    }
    .space10 {
        height: 5vh;
    }
}

@media(max-width: 750px) {
    .first {
        min-height: 1350px;
    }
    .first .entre {
        height: 350px;
    }
    .servicii .row1, .servicii .row2 {
        display: block;
        margin-bottom: 0px;
    }
    .servicii .box {
        width: 80%;
        height: 200px;
        margin-right: 10%;
        margin-left: auto;
    }
    .second .row3 {
        display: block;
        margin-left: 10%;
        margin-right: auto;
    }
    .second .row3 .column1, .second .row3 .column2 {
        width: 100%;
    }
    .third .block1 {
        width: 60%
    }
    .third .block2 div {
        width: 60%;
        bottom: 25%;
        right: 25%;
    }
}

@media(max-width: 550px) {
    .first {
        border-bottom-right-radius: 100px;
    }
    .first .entre {
        border-bottom-left-radius: 100px;
    }
    .third {
        border-radius: 100px 0px 150px 0px;
        height: 300px;
    }
    .third .block1 {
        width: 80%;
        top: 25%;
    }
    .third .block2 div {
        width: 80%;
    }
    .third .block1 h3 {
        font-size: 1.4em;
    }
    .third .block2 h3 {
        font-size: 1.1em;
    }
    .third .block2 {
        border-radius: 100px 0px 100px 0px;
    }
}

@media(max-width: 550px) {
    .philosophy .content {
        display: flex!important;
        flex-direction: column!important;
    }
}