html {
    scroll-behavior: smooth;
}

/* SERVICES - HERO */
.services-hero {
    height: 600px;
    width: 100%;
    position: relative;
    user-select: none;
}

.services-hero img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.services-hero-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(to right, rgba(128, 128, 128, 0.718) 40%, transparent);
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 10% 0 10%
}

.services-hero-overlay-content {
    background-color: rgba(255, 255, 255, 0.909);
    width: fit-content;
    padding: 40px 20px;
    border-radius: 10px;
}

.services-hero-overlay-content h1 {
    color: var(--main-blue-dark);
    width: fit-content;
    border-radius: 50px 0 0 50px;
    font-size: 50px;
    margin: 0 0 20px 0;
    line-height: 50px;
}

.services-hero-overlay-content p {
    font-size: 20px;
    font-weight: 600;
    color: rgb(101, 101, 101);
    margin: 0 0 20px 0;
}

.services-hero-overlay-content .site-button {
    background-color: var(--main-blue-dark);
    color: white;
}

.services-hero-overlay-content .site-button:hover {
    background-color: transparent;
    color: var(--main-blue-dark);
}

/* SERVICES - LIST */
.services-list {
    border-top: solid 8px  var(--main-blue-dark);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #e7e7e7;
}

.services-list-menu {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    column-gap: 20px;
    width: fit-content;
    padding: 20px 30px;
    position: static;
    top: 150px;
    background-color: #e7e7e7;
    border-radius:  0 0 60px 60px;
    z-index: 10;
}

.services-list-menu a {
    text-decoration: none;
    color: white;
    font-size: 20px;
    font-weight: 500;
    background-color: var(--main-blue-dark);
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 10;
}

.services-list-menu a {
    text-decoration: none;
    color: white;
    text-align: center;
}

.services-list-item {
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    background-color: #e7e7e7;
}

.services-list-item:nth-of-type(odd) {
    background-color: #f9f9f9;
}

.services-list-item-image {
    height: 400px;
    width: 40%;
}

.services-list-item-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-list-item-content {
    height: 400px;
    width: 60%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10% 0 10%;
}

.services-list-item-content h2 {
    font-size: 35px;
    line-height: 35px;
    margin: 0 0 10px 0;
    color: var(--main-blue-dark);
}

.services-list-item-content p {
    position: relative;
    font-size: 18px;
    color: rgb(72, 72, 72);
    margin-bottom: 30px;
}

.services-list-item-content p::before {
    height: 120%;
    left: -20px;
    top: -10%;
    border-left: double 8px var(--main-blue);    
    content: '';
    width: 30px;
    position: absolute;
}

.services-list-item-content .site-button {
    background-color: var(--main-blue-dark);
    color: white;
}

.services-list-item-content .site-button:hover {
    background-color: transparent;
    color: var(--main-blue-dark);
}


@media (max-width: 1035px) {
    .services-list-menu {
        display: none;
    }
}

@media (max-width: 950px) {
    .services-list {
        border-top: solid 16px var(--main-blue-dark);
    }

    .services-list-item {
        flex-direction: column-reverse;
    }

    .services-list-item:nth-of-type(odd) {
        flex-direction: column;
    }

    .services-list-item-image {
        width: 100%;
        height: 300px;
    }

    .services-list-item-content {
        width: 90%;
    }
}