.content{
    gap: 5vh;
}
.content > div:not(.cover){
    padding-left: 8%;
    padding-right: 8%;
}

.cover{
    position: relative;
    height: 70vh;
    min-height: 550px;
}
.cover img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 90% 45%;
}
.cover .info{
    padding: 0 3%;
    justify-content: center;
    position: absolute;
    gap: 3vh;
    height: 100%;
    width: 45%;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, rgba(5, 163, 166, 0.6) 0%, rgba(255, 0, 0, 0) 100%);
}
.cover .info h1{
    font-size: 3em;
}
.cover .info .top p{
    font-size: 1.5em;
}
.cover .info .bottom p{
    font-size: 1.1em;
}

.black-button{
    margin-top: 2%;
    padding: 10px 20px;
    border-radius: 11px;
    background-color: black;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    margin-right: 2vw;
}

.services-wrap{
    flex-wrap: wrap;
    justify-content: center;
    gap: 2vw;
    margin-top: 2vh;
}
.services-wrap .service{
    width: 30%;
    min-width: 300px;
    height: 25vh;
    background-color: white;
    border-radius: 10px;
    box-shadow: -5px 8px 40px #ccc;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1vh;
    min-height: 150px;
}
.services-wrap .service:hover{
    transform: scale(1.1);
    background-color: #C2A03D;
    box-shadow: -5px 8px 40px #C2A03D;
    cursor: pointer;
    color: #F2F8FB;
    transition: all 0.25s ease-out;
}
.services-wrap .service img{
    height: 40%;
    filter: grayscale(1);
}
.services-wrap .service h2{
    font-size: 1.2em;
    font-weight: bold;
}

.about{
 align-items: normal;
}
.about > p{
    margin: 0.5em 0;
    text-align: justify;
}
.about .main-team{
    margin: 4vh 0;
}
.about .button{
    align-self: center;
}

/*reference*/

.reference {
    overflow-x: hidden;
    user-select: none; /* Prevent image highlighting */
}
.gallery-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.gallery {
    display: inline-block;
    animation: scrollAnimation 25s linear infinite;
}
.gallery-container:hover .gallery {
    animation-play-state: paused;
}
.content-wrap{
    display: flex;
}
.gallery img {
    height: auto;
    width: 10vw;
    margin: 0 2vw;
    user-select: none;
    vertical-align: middle;
}

@keyframes scrollAnimation {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}



@media screen and (min-width: 2000px) {
    .material-symbols-outlined{
        font-size: 1.1em !important;
    }
    .form-content img{
        max-width: 30%;
    }
    .cover img{
        object-position: 90% 30%;
    }
}
@media screen and (max-width: 1200px) {
    .cover {
        height: 65vh;
    }
    .cover .info h1{
        font-size: 2.3em;
    }
    .cover .info .top p{
        font-size: 1.2em;
    }
    .cover .info .bottom p{
        font-size: 1em;
    }
}
@media screen and (max-width: 950px) {
    .cover{
        height: 55vh;
    }
}
@media screen and (max-width: 900px) {
    .cover .info h1{
        font-size: 2em;
    }
    .cover .info .top p{
        font-size: 1em;
    }
    .cover .info .bottom p{
        font-size: 0.9em;
    }
}
@media screen and (max-width: 800px) {
    .gallery img{
        width: 20vw;
    }

    .contact .contact-wrap > img{
        object-position: right;
    }
    .contact-wrap > .cover{
        background-color: rgba(5, 163, 166, 0.8);
        align-items: center;
        text-align: center;
    }
    .contact-wrap .map > iframe {
        width: 80%;
    }
    .cover{
        height: 75vh;
    }
    .cover img{
        object-position: 90% 0;
    }
    .cover .info{
        padding: 5% 3%;
        justify-content: end;
        gap: 2vh;
        top: initial;
        bottom: 0;
        width: 100%;
        height: 60%;
        background: linear-gradient(0deg, rgba(5, 163, 166, 0.8) 25%, rgba(255, 0, 0, 0) 100%);
    }
    .cover .info .top, .cover .info p{
        text-align: center;
    }
    .cover .buttons{
        justify-content: center;
    }
    .cover .item p, .cover .item a{
        text-align: center;
    }
    .form-content{
        align-items: center;
        flex-direction: column-reverse;
    }
    .form .form-group{
        width: 100%;
    }
    .form-content img{
        max-width: 80%;
        max-height: 50vh;
    }
}

@media screen and (max-width: 500px) {
    .gallery img{
        width: 30vw;
    }
    .contact .contact-wrap > img{
        object-position: 75% 0;
    }
    .cover img{
        object-position: 85% 0;
    }

}