.services-page-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: white;
    padding-bottom: 20px;
    overflow: hidden;
}

.services-page-cover {
    margin-bottom: 5%;
    justify-content: center;
    position: relative;
    width: 100%;
}

.services-page-card {
    background-color: white;
    /* margin-top: 20px; */
}
  
.services-page-background {
    background-color: #EEE9E5;
    padding: 1% 3%;
    width: 100%;
    height: 65vh;
    min-height: 630px;
    position: relative;
    border-top: solid;
    border-top-color: rgb(220, 220, 220);
    border-bottom: solid;
    border-bottom-color: rgb(220, 220, 220);
}
  
.services-page-background p {
    font-size: 1.5em;
    text-align: justify;
    color: white;
    padding: 3% 3% 0% 0%;
}

.services-page-image-left {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: absolute;
    z-index: 1;
    width: 27%;
    height: auto;
    margin-left: 7%;
    margin-top: 3%;
    border-radius: 40% 40% 0 0;
}

.services-page-image-left img {
    max-width: 100%;
    height: auto;
    transform: scale(1.25);
    pointer-events: none;
}

.services-page-image-right {
    display: flex;
    align-items: center;
    position: absolute;
    z-index: 1;
    width: 45%;
    /* height: 100%; */
    margin-left: 69%;
    margin-top: -43%;
    overflow: hidden;
}

.services-page-image-right img {
    max-width: 100%;
    max-height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.services-cover-content {
    width: 70%;
    margin-top: 8%;
}

.services-horizontal-line {
    width: 55%;
    height: 5px;
    background-color: #859E7E;
    margin-left: 15%;
    margin-top: 0%;
}

.services-cover-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 5%;
    margin-bottom: 5%;
    margin-left: 53%;
}

.services-cover-text h2 {
    font-size: 3em;
    color: #859E7E;
    margin-right: 5%;
    margin-top: 1%;
}

.services-cover-text h3 {
    font-family: 'Monotype Corsiva', 'Lekhana Italic';
    font-size: 4em;
    width: 95%;
    color: #859E7E;
    margin-bottom: -3%;
    margin-left: 25%;
}

.services-cover-contact-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    margin-top: 15%;
    margin-bottom: 5%;
}

.services-contact-redirect {
    border: none;
    padding: 15px 50px;
    text-align: center;
    text-decoration: none;
    transition: all 0.5s ease;
    cursor: pointer;
    margin-top: 1%;
    margin-bottom: 1%;
    display: inline-block;
    border-radius: 20px;
}

.services-cover-redirect-button {
    background-color: #859E7E;; 
    color: rgb(255, 255, 255);
}

.services-cover-redirect-button a {
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: none;
}

.services-cover-redirect-button:hover {
    background-color: rgba(133, 159, 124, 0.7);
    color: rgb(0, 0, 0);
}

.services-content-section {
    margin-top: 5%;
    margin-bottom: 5%;
    justify-content: center;
    position: relative;
}
  
.services-content-card {
    background-color: white;
    margin-top: 20px;
}
  
.services-content-text {
    padding: 1% 6%;
    width: 50%;
    position: relative;
}
  
.services-content-text h3 {
    font-size: 3em;
    color: #859E7E;
    text-decoration: none;
    cursor: default;
    pointer-events: none;
}
  
.services-content-text p {
    font-size: 1.5em;
    text-align: justify;
    color: #859E7E;
    padding: 1% 3% 3% 0;
}
  
.services-content-image {
    overflow: hidden;
    height: 100%;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: absolute;
    margin-left: 50%;
}
  
.services-content-image img {
    max-width: 100%;
    max-height: auto;
}

.services-contact-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    margin-top: 5%;
    margin-bottom: 5%;
}

.services-contact {
    border: none;
    padding: 15px 50px;
    text-align: center;
    text-decoration: none;
    transition: all 0.5s ease;
    cursor: pointer;
    margin-top: 1%;
    margin-bottom: 1%;
    display: inline-block;
    border-radius: 20px;
}
  
.services-contact-redirect-button {
    background-color: #859E7E;
    color: rgb(255, 255, 255);
}
  
.services-contact-redirect-button a {
    font-size: 1.7em;
    font-weight: bold;
    text-decoration: none;
}
  
.services-contact-redirect-button:hover {
    background-color: rgba(133, 159, 124, 0.7);
    color: rgb(0, 0, 0);
}

@media screen and (max-width: 1900px) {
    .services-cover-content {
        width: 90%;
    }
    .services-cover-text {
        margin-left: 30%;
    }
    .services-cover-text h2 {
        margin-left: 10%;
    }
    .services-horizontal-line {
        width: 40%;
    }
    .services-cover-text h3 {
        margin-left: 25%;
    }
    .services-cover-contact-button {
        margin-left: 20%;
    }
}

@media screen and (max-width: 1500px) {
    .services-page-cover {
        margin-bottom: 3%;
    }
    .services-page-image-left {
        margin-top: 7%;
    }
}

@media screen and (max-width: 1200px) {
    .services-page-image-left {
        margin-top: 15%;
    }
    .services-cover-text {
        margin-top: 20%;
    }
    .services-content-image {
        width: 100%;
        margin-left: 0%;
        overflow: hidden;
        height: 95%;
        max-width: 100%;
    }
    .services-content-text {
        padding: 1% 3%;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.7)
    }
}

@media screen and (max-width: 1062px) {
    .services-page-background {
        min-height: auto;
    }
    .services-cover-text {
        margin-top: 10%;
    }
    .services-cover-text h3 {
        margin-left: 20%;
    }
    .services-cover-contact-button {
        margin-top: 10%;
    }
}

@media screen and (max-width: 970px) {
    .services-page-background {
        height: 100%;
        /* min-height: auto; */
    }
    .services-page-image-left {
        width: 30%;
        margin-top: 5%;
    }
    .services-cover-content {
        margin-top: 3%;
    }
    .services-cover-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-left: 40%;
        margin-top: 0%;
    }
    .services-cover-text h2 {
        margin-left: 0%;
        text-align: center;
    }
    .services-cover-text h3 {
        text-align: center;
        margin-left: 0%;
    }
    .services-horizontal-line {
        width: 60%;
        margin-left: 0%;
    }
    .services-page-image-right {
        margin-top: -50%;
    }
    .services-contact-redirect {
        padding: 15px 30px;
    }
    .services-cover-contact-button {
        margin-left: 0%;
    }
    .services-contact-section {
        margin-top: 3%;
        margin-bottom: 10%;
    }
    .services-content-image {
        width: 100%;
        margin-left: 0%;
        display: initial;
    }
    .services-content-text {
        width: 100%;
        background-color: rgba(255, 255, 255, 0.7)
    }
    .services-content-text h3 {
        font-size: 2.5em;
        font-weight: bold;
    }
}

@media screen and (max-width: 600px) {
    .services-cover-content {
        width: 100%;
        display: flex;
    }
    .services-horizontal-line {
        width: 100%;
    }
    .services-cover-text {
        margin-left: 0%;
        margin-top: 0%;
        padding: 3% 3%;
        display: block;
        z-index: 1;
        background-color: rgba(238,233,229,0.5);
    }
    .services-cover-text h2 {
        margin-right: 0%;
    }
    .services-cover-contact-button {
        margin-top: 15%;
        margin-left: 0%;
    }
    .services-page-image-left {
        width: 60%;
        height: 85%;
        margin-top: 10%;
        margin-left: 20%;
        opacity: 0.5;
    }
    .services-content-text h3 {
        font-size: 2em;
        text-align: center;
    }
    .services-content-text p {
        font-size: 1.3em;
        text-align: center;
    }
}

@media screen and (max-width: 500px) {
    .services-page-image-left {
        width: 80%;
        margin-left: 10%;
    }
}

@media screen and (max-width: 450px) {
    .services-page-image-left {
        width: 90%;
        margin-left: 5%;
    }
    .services-contact-redirect {
        padding: 10px 20px;
    }
    .services-contact-redirect-button a {
        font-size: 1.3em;
    }
}

@media screen and (max-width: 300px) {
    .services-cover-text h2 {
        font-size: 2em;
    }
    .services-cover-text h3 {
        font-size: 3em;
    }
    .services-page-image-left img {
        height: auto;
    }
    .services-contact-redirect {
        padding: 10px 30px;
    }
    .services-cover-redirect-button a {
        font-size: 1.2em;
    }
    .services-contact {
        padding: 10px 30px;
    }
    .services-contact-redirect-button a {
        font-size: 1.2em;
    }
}

