.services {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
    padding-bottom: 110px;
}
.services .box {
    position: relative;
    width: 300px;
    height: 350px;
    background: #172334;
    display: flex;
    justify-content: center;
    align-items: center;
}
.services .box .content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 0 20px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* icons */
.services .box .content .icon {
    color: var(--clr);
    width: 80px;
    height: 80px;
    box-shadow: 0 0 0 4px #172334, 0 0 0 6px var(--clr);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5em;
    background: #172334;
    transition: 0.5s ease-in-out;
}
.services .box:hover .content .icon {
    box-shadow: 0 0 0 4px #172334, 0 0 0 300px var(--clr);
    background: var(--clr);
    color: #172334;
}

/* text in boxes */
.services .box .content .text h3 {
    font-family: 'Century Gothic';
    color: #E3E8ED;
    transition: 0.5s, ease-in-out;
    font-size: 1.5em;
    font-weight: 600;
}
.services .box:hover .content .text h3 {
    color: #172334;
}

.services .box .content .text p {
    color: #c1cad3ad;
    transition: 0.5s, ease-in-out;
}
.services .box:hover .content .text p {
    color: #172334;
}

.services .box .content .text a {
    position: relative;
    background: var(--clr);
    color: #172334;
    padding: 8px 15px;
    font-family: 'Century Gothic';
    display: inline-block;
    text-decoration: none;
    margin-top: 10px;
    transition: 0.5 ease-in-out;
    font-weight: 600;
    border-radius: 30px;
}
.services .box:hover .content .text a {
    background: #172334;
    color: var(--clr);
}

/* Header */
#services .header-serv {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    flex-direction: column;
    text-align: center;
}
#services .header-serv h1 {
    font-size: 3em;
    line-height: 1.2;
}
#services .header-serv p {
    padding-left: 30px;
    padding-right: 30px;
}

@media (max-width: 500px) {
    #services .header-serv p {
        padding: 0;
    }
}
@media (max-width: 410px) {
    #services .header-serv p {
        font-size: 18px;
        font-weight: 600;
    }
}