.main {
    padding-top: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3vh;
    overflow-x: hidden;
}

h1 {
    font-family: 'Abril Fatface';
    text-align: center;
    font-size: 4rem;
    letter-spacing: 2px;
    color: #001529;
    margin-bottom: 0;
}

.mainDesc {
    text-align: center;
    width: 40%;
    font-size: 0.9rem;
    margin-bottom: 10vh;
    margin-top: 0;
}

.service {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 25vw;
    margin-bottom: 15vh;
    z-index: 1;
}

.services .careCard {
    width: 19vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.services .cardObj {
    top: 2vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    width: 15vw;
    height: 90%;
    /* background-color: brown; */
}

.services .descDiv {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 14;
    -webkit-box-orient: vertical;
    max-height: 20vw;
}

.services .cardInfText {
    /* margin-top: 2vh; */
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.services .cardInfText p {
    display: flex;
    font-size: 0.9vw;
    margin: 0;
    margin-bottom: 1vh;
}

.services .cardInfText p img {
    width: auto;
    height: 1.3vw;
    margin-right: 0.5vw;
    opacity: 0.6;
    border: none;
}

.services .description {
    font-size: 0.9vw;
    margin: 0;
}

.services .cardObj h4 {
    font-size: 1.5vw;
    margin-top: 3vh;
    margin-bottom: 0;
}

.services .cardImg {
    height: 99.5%;
    border: black 0.5px solid;
    width: 70%;
    object-fit: contain;
    background-color: #D9E4DF;
}
 
.services .backImg {
    width: 20vw;
    height: 25vw;
}

h4 {
    color: #001529;
}

.blob {
    position: absolute;
    z-index: -1 !important;
    top: -6.5rem;
}

.blobLeft {
    left: -8rem;
}

.blobRight {
    right: -8rem;
}

.reserv {
    position: absolute;
    z-index: 5;
    padding: 1.8vh 2.5vw 1.8vh 2.5vw;
    color: #001529;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    bottom: 2vh;
    transition: all 0.3s ease-in-out;
}

.reservLeft {
    left: 2vh;
    background-color: #FFAEAA;
}

.reservRight {
    right: 2vh;
    background-color: #F5C362;
}

.reserv:hover {
    color: #D9E4DF;
    background-color: #001529;
}

.quotation {
    padding: 1.8vh 2vw 1.8vh 2vw;
    background-color: #F5C362;
    text-decoration: none;
    color: black;
    transition: all 0.3s ease-in-out;
}

.quotation:hover {
    color: #D9E4DF;
    background-color: #001529;
}

.servicesMobile {
    display: none;
}

.servicesMobile .careCards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.servicesMobile .careCardsMobile {
    display: none;
}

.servicesMobile .careCardMobile {
    width: 80vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height: 50vh;
    z-index: 1;
    justify-content: space-evenly;
}

.servicesMobile .careCard {
    margin: 1vw;
    width: 20vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.servicesMobile .cardObj {
    top: 2vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    width: 15vw;
    height: 90%;
    /* background-color: brown; */
}

.servicesMobile .descDiv {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 14;
    -webkit-box-orient: vertical;
    max-height: 20vw;
    max-width: 80%;
}

.servicesMobile .cardInfText {
    /* margin-top: 2vh; */
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.servicesMobile .cardInfText p {
    display: flex;
    font-size: 1rem;
    margin: 0;
    margin-bottom: 1vh;
}

.servicesMobile .cardInfText p img {
    width: auto;
    height: 1.3rem;
    margin-right: 0.5rem;
    opacity: 0.6;
    border: none;
}

.servicesMobile .cardObj a, .careCardMobile a {
    text-decoration: none;
    color: black;
    font-weight: 200;
    background-color: #EDE9E4;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    height: 2.5rem;
    border: 1px solid;
    margin-bottom: 1.5vh;
    margin-top: 0vh;
}

.servicesMobile .description {
    font-size: 0.9rem;
    margin: 0;
}

.servicesMobile .cardObj h4 {
    font-size: 1.5rem;
    margin-top: 3vh;
    margin-bottom: 0;
}

.servicesMobile .cardImg {
    width: 90%;
    max-height: 11vw;
    object-fit: contain;
    opacity: 0.8;
    border: 1px solid black;
    margin-top: 1vh;
}

.servicesMobile .dispo {
    font-size: 0.9vw;
    text-align: center;
}
 
.servicesMobile .backImg {
    width: 20vw;
    height: 25vw;
}

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

    /* .blob {
        top: 0;
    } */

    h1 {
        font-size: 2rem;
        max-width: 80%;
        letter-spacing: 1px;
    }

    .mainDesc {
        width: 80%;
        margin: 0;
    }

    .quotation {
        padding: 1vh;
        font-size: 0.8rem;
    }

    .servicesMobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: calc(5vh + 6.5rem);
        padding-bottom: 5vh;
        padding-top: 6.5rem;
    }

    .servicesMobile .backImg {
        width: auto;
        height: 100%;
        position: absolute;
        z-index: -1;
    }

    .servicesMobile .careCardMobile h4 {
        max-width: 70vw;
        margin: 0;
        margin-top: 2vh;
    }

    .servicesMobile .cardImg {
        object-fit: contain;
        max-width: 80%;
        max-height: 20%;
        border: none;
        margin: 0;
    }

    .servicesMobile .cardInfText {
        width: 80%;
    }

    .servicesMobile .cardInfText p {
        margin: 0;
    }

    .servicesMobile .careCardMobile a {
        width: 50%;
        margin: 0;
    }

    .servicesMobile .descDiv {
        -webkit-line-clamp: 3;
    }
}
