body{
    background-color: var(--bg-color) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header{
    width: 100%;
    height: 40vh;
    min-height: 300px;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    background-image: url(../assets/img/header_servizi_bg.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    gap: 20px;
}

.header .title,
.header .subtitle{
    color: var(--bg-color);
    text-align: center;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.219);
}

.header .title {
    font-weight: 600;
    font-size: 40px;
}

.header .subtitle{
    font-weight: 500;
    font-size: 20px;
    width: 90%;
    max-width: 450px;
}

.header .line{
    width: 100px;
    height: 5px;
    border-radius: 10px;
    background-color: var(--bg-color);
    box-shadow: 0px 0px 10px 3px rgba(255, 255, 255, 0.158);
}

section.contatti{
    width: 95%;
    max-width: 1100px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding-bottom: 150px;
}

.contatti .intro{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    gap: 20px;
    border-bottom: 3px solid rgba(0, 0, 0, 0.1);
}

.contatti .intro .start {
    flex: 1;
    padding-block: 30px;
}

.contatti .intro .end {
    flex: 1;
}


.contatti .intro .start {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.contatti .intro .start .text{
    display: flex;
    flex-direction: column;
    width: fit-content;
}

.contatti .intro .start .text span{
    font-size: 35px;
    padding: 3px 15px;
    font-weight:600;
}

.contatti .intro .start .line{
    width: 150px;
    height: 5px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.contatti .intro .start .socials{
    width: fit-content;
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.contatti .intro .start .social {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: var(--first-color);
    border: 3px solid #C8AA32;
    border-radius: 50%;
    font-size: 21px;
    color: black;
}

.contatti .intro .start .description{
    font-size: 20px;
    width: 100%;
    color: rgba(0, 0, 0, 0.685);
}

.contatti .intro .end {
    background-image: url(../assets/img/top_bro.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
}

/* .intro{
    display: none !important;
} */

.contatti .cards  {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 10px;
    row-gap: 20px;
}

.contatti .cards .card{
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 110px;
    width: 360px;
    background-color: var(--first-color);
    overflow: hidden;
    border-radius: 10px;
}

.contatti .cards .card-icon {
    min-width: 100px;
    height: 110px;
    /* background-color: blue; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.contatti .cards .card-icon i{
    font-size: 60px;
}

.contatti .cards .card-text{
    display: flex;
    flex-direction: column;
}

.contatti .cards .card-title{
    font-weight: 600;
    font-size: 18px;
}

.contatti .cards .card-description{
    font-size: 15px;
}

.contatti .cards .card-description a{
    color: var(--second-color);
}

.contatti .button-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contatti .button-introduction{
    font-weight: 600;
    font-size: 22px;
}

.contatti .button-container .btn{
    padding-block: 15px;
    font-weight: 500;
}

@media screen and (max-width: 780px) {
    .contatti .intro .end{
        display: none;
    }

    .contatti .intro{
        width: 100%;
    }

    section.contatti{
        width: calc(100% - 40px);
    }
}
