#services {
    background: linear-gradient( to bottom, rgba(17, 41, 59, 0.8), rgba(17, 41, 59, 0.8)), url(../img/home.webp) 0 0/cover no-repeat fixed;
    margin: 5rem 0;
    padding: 5rem;
}

#services .services-title li {
    background-color: #0c5880;
    color: #00bade;
    display: flex;
    padding: 1rem;
    cursor: pointer;
    border: 2px solid #00bade;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

#services .services-title li.active {
    background-color: #00bade;
    color: #11293b;
    border-bottom: none;
}

#services .services-main li {
    display: none;
    position: relative;
    background-color: #00bade;
    color: #11293b;
    padding: 1rem;
    padding: 2rem 2rem 5rem 2rem;
}

#services .services-main li.active {
    display: flex;
}

#services .services-main li img {
    width: 25%;
}

#services .services-main li a {
    position: absolute;
    color: #fff;
    background-color: #11293b;
    width: 100%;
    right: 0;
    bottom: 0;
    text-align: center;
    padding: 0.6rem;
    border: 1px solid #00bade;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    z-index: 1;
    overflow: hidden;
}

#services .services-main li a:hover {
    color: #11293b;
    border: 1px solid #11293b;
    font-weight: bolder;
}

#services .services-main li a::before {
    content: '';
    width: 100%;
    height: 0%;
    top: -100%;
    right: 0;
    z-index: -1;
    position: absolute;
    background-color: #00bade;
    border-radius: 30%;
    -webkit-border-radius: 30%;
    -moz-border-radius: 30%;
    -ms-border-radius: 30%;
    -o-border-radius: 30%;
    transition: all 0.8s ease;
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -ms-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
}

#services .services-main li a:hover:before {
    height: 300%;
}