/* RES HOME - BANNER */
.res-banner {
    width: 100%;
    height: 700px;
    position: relative;
    /* clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 90% 90%, 80% 100%, 20% 100%, 10% 90%, 0% 90%); */
    clip-path: ellipse(100% 100% at 50% 0%);
}

.res-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    position: relative;
}

.res-banner-overlay {
    width: 100%;
    height: 100%;
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    backdrop-filter: blur(4px) brightness(60%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    user-select: none;
    min-height: fit-content;
}

.res-banner-overlay h1 {
    font-size: 3rem;
    margin: 0;
    text-align: left;
    margin-left: 10%;
}

.res-banner-overlay h2 {
    margin: 0 0 10px 10%;
}

.res-banner-overlay h2 .highlight {
    color: var(--main-blue-lighter);
    font-size: 1.75rem;
    font-style: italic;
}

.res-banner-overlay p {
    margin: 0 20% 50px 10%;
    width: 800px;
    max-width: 80vw;
}

.res-banner-overlay .button {
    background-color: var(--main-blue);
    box-shadow: 4px 4px 0px 0px var(--main-blue-darker);
    width: fit-content;
    margin-left: 10%;
    color: white;
}

.res-banner-overlay .button:hover {
    background-color: var(--main-blue-darker);
    box-shadow: none;
}


/* RES - ABOUT */
.res-about {
    padding: 100px 0px;
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: inset 0px -4px 6px -4px black;
}

.res-about img {
    width: 400px;
    max-width: 90vw;
    height: 400px;
    object-fit: contain;
}

.res-about-content {
    width: 600px;
    max-width: 90vw;
}

.res-about-content ul {
    list-style: none;
    padding-left: 0;
    margin-top: 40px;
}

.res-about-content ul li {
    margin-bottom: 10px;
     font-weight: 500;
}

.res-about-content ul li::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    vertical-align: middle;
    background-image: url("/imageserver/UserMedia/maverick/check-blue.svg");
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 15px;
}

/* RES - DESIGNBUILD */
.res-db {
    padding: 50px 0px;
    background-color: var(--main-blue);
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.res-db h2 {
    margin: 0 0 50px 0;
    font-size: 2.5rem;
}

.res-db p {
    max-width: 70vw;
}

.res-db-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 60px;
    row-gap: 40px;
    margin-bottom: 40px;
}

.res-db-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    max-width: 80vw;
    width: 250px;
    text-align: center;
    /* background-color: red; */
}

.res-db-card:hover .svg-wrap {
    transform: translateY(-10px) scale(1.02);
}

.res-db-card h6 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.res-db-card p {
    width: 100%;
    text-align: center;
    background-color: #f1f1f130;
    padding: 10px 10px;
    border-radius: 5px;
    color: white;
}

.svg-wrap {
    width: 200px;
    height: 200px;
    max-width: 80vw;
    padding: 10px;
    background-color: transparent;
    border-radius: 50%;
    border: solid 5px white;
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.3s linear;
}

.svg-wrap svg {
    height: 100%;
    width: 100%;
}



/* RES - SERVICES */
.res-services {
    padding: 50px 0px 0px 0px;
    position: relative;
    background-color: var(--main-blue);
}

.res-service-row {
    padding: 50px 0px;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap-reverse;
    gap: 50px;
    background-color: #f1f1f1;
}

.res-service-row:first-of-type {
    padding: 100px 0px 50px 0px;
    clip-path: polygon(100% 101%, 0 101%, 0 25px, 80% 25px, 85% 0, 100% 0);

}

.res-service-row-alt {
    background-color: #f9f9f9;
    flex-wrap: wrap;
}

.res-service-image-wrap {
    width: 600px;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    max-width: 90vw;
}

.res-service-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.res-service-content {
    width: 600px;
    max-width: 90vw;
}

.res-service-content h3 {
    margin: 0;
    font-size: 1.75rem;
}

.res-service-content h5 {
    margin: 10px 0px;
    font-size: 1.1rem;
}

.res-service-content .blue-line {
    margin: 0;
}

.res-service-content p {
    margin-bottom: 50px;
    margin-top: 20px;
}

.res-service-content .button {
    color: white;
    background-color: var(--main-blue);
    box-shadow: 4px 4px 0px 0px var(--main-blue-darker);
}

.res-service-content .button:hover {
    background-color: var(--main-blue-darker);
    box-shadow: none;
}

.res-cta-background {
    background:
        linear-gradient(to bottom, #f1f1f1 50%, #f9f9f9 50%);
}

.res-cta {
    padding: 75px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    user-select: none;
    background-color: var(--main-blue);
    clip-path: polygon(0 25px, 20% 25px, 25% 0, 75% 0, 80% 25px, 100% 25px,
        100% calc(100% - 25px), 80% calc(100% - 25px), 75% 100%,
        25% 100%, 20% calc(100% - 25px), 0 calc(100% - 25px)
    );
}

.res-cta h2 {
    margin: 0;
    text-transform: capitalize;
}

.res-cta h4 {
    margin: 20px 0px 50px 0px;
    font-weight: 500;
}