:root {
    --primaryColor: #2E3D62;

    --lightPrimaryColor: #686b6e;
    --secondaryColor: #5D50C5;
    --lightSecondaryColor: #F0EEFD;
    --activeLinkColor: #1B7F8B;
    --lightGrayBg: #E3E6EB;
    --transparentDropDown: #2e3d62da;
    --transparentColor: rgba(0, 0, 0, 0.548);
    --shadow: rgba(189, 188, 188, 0.514);
    --svgColor: #f8fafd;
    /* --------------------------------- */
    --whatsappColor: #25D366;
    --white: #ffff;
    --blue: #1877F2;
    --gray: #f8f8f8;
}

.temp3-services-section {
    width: 100%;
    /* margin-top: 10px; */
    background-color: var(--svgColor);
    padding: 40px 0px;
}

/* ********************** */
.temp3-services-container {
    width: 85%;
    margin: 0px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* ------------------------------------- */
.temp3-services-main-title {
    padding: 4px 14px;
    font-size: 1.17em;
    font-weight: 700;

    color: var(--secondaryColor);
    background-color: var(--lightSecondaryColor);
    border-radius: 10px;

    width: fit-content;
    margin: 0px auto;
}

/* ------------------------------ */
.temp3-services-sub-title {
    font-size: 2rem;
    line-height: 3rem;
    width: fit-content;
    margin: 0px;
    color: var(--primaryColor);
}

/* -------------------------------- */
.temp3-services-intro {
    color: var(--lightPrimaryColor);
    font-size: 19px;
    line-height: 1.8rem;
    width: 85%;
    margin: 0% auto;
}

/* *************************** */
.temp3-services-grid-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;

    width: 100%;
}

/* ================================ */
.temp3-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /* gap: 10px; */

    box-shadow: 4px 4px 8px var(--shadow);
    min-width: 300px;
    max-width: 300px;
    background-color: var(--primaryColor);
    cursor: pointer;
    flex-shrink: 0;

}

/*================================== */
.temp3-service-img-container {
    max-height: 300px;
    width: 100%;
    margin-bottom: 0%;
    overflow: hidden;

    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    position: relative;

    -webkit-clip-path: polygon(50% 0%, 100% 0, 100% 92%, 0 100%, 0 0);
    clip-path: polygon(50% 0%, 100% 0, 100% 92%, 0 100%, 0 0);
}

/* ------------------------------ */
.temp3-service-img {
    height: 100%;
    width: 100%;
    background: var(--white);
    text-decoration: none;
    border-bottom: none;
}

.temp3-service-img img {
    height: 100%;
    width: 100%;
    aspect-ratio: 1/0.8;
    object-fit: cover;

    background: var(--white);

    border-bottom: none;

    transition: transform 0.5s ease-in-out;
}

.temp3-service-card:hover .temp3-service-img img {
    transform: scale(1.2);
}

/* =============================== */

.temp3-service-ul-links {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    align-items: center;

    list-style: none;
    width: 0px;
    height: fit-content;
    margin: 5px auto;
    padding-top: 5px;
    padding-bottom: 5px;

    position: absolute;
    bottom: 20px;
    left: 0px;
    /* right: 20px; */
    opacity: 0;
    transition: opacity 0.3s ease-in-out, width 0.3s ease-in-out;
}

.temp3-service-card:hover .temp3-service-ul-links {
    opacity: 1;
    width: fit-content;
}

/* ----------------------------------------- */
.temp3-service-ul-links li {
    width: fit-content;
}

.temp3-service-ul-links li a {
    width: fit-content;
    height: fit-content;
    padding: 10px;

    background-color: var(--transparentColor);
    box-shadow: 4px 4px 8px var(--transparentDropDown);
    border-radius: 25px;
    direction: ltr;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5px;

    text-decoration: none;
    color: var(--white);
    font-weight: bold;

    transition: transform 0.3s ease-in-out;

}

.temp3-service-ul-links li a i {

    border-radius: 50%;

    font-weight: bold;

    align-content: center;
    text-align: center;
}

.temp3-service-ul-links li a .fa-whatsapp {
    color: var(--whatsappColor);
}

.temp3-service-ul-links li a .fa-facebook {
    color: var(--blue);
}

.temp3-service-ul-links li a .fa-phone {
    color: var(--blue);
}

.temp3-service-ul-links li a .fa-ellipsis {
    color: var(--primaryColor);
}

.temp3-service-ul-links li a:hover {
    transform: translateY(-5px);
}

/* ******************* */
.temp3-service-details-container {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0px;
    background-color: var(--primaryColor);
    margin: 0%;
    text-decoration: none;
}

.temp3-service-details-container::after {
    position: absolute;
    content: "";
    width: 3px;
    height: 35px;
    top: 25%;
    left: 0;
    background-color: var(--secondaryColor);
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;

}

/* ------------------------------ */
.temp3-service-details-title {
    color: var(--white);
    width: fit-content;
    margin: auto;
    font-size: 1.2rem;
}

.temp3-service-details-intro {
    color: var(--white);
    width: 95%;
    margin: auto;
}

@media (max-width:425px) {
    .temp3-services-sub-title {
        font-size: 1.5rem;
        line-height: 2rem;
        width: fit-content;
        margin: 0px;
        color: var(--primaryColor);
    }

    .temp3-service-ul-links {
        display: flex;
        flex-direction: row;
        gap: 15px;
        justify-content: center;
        align-items: center;

        list-style: none;
        width: fit-content;
        height: fit-content;
        margin: 5px auto;
        padding-top: 5px;
        padding-bottom: 5px;

        position: absolute;
        bottom: 13px;
        left: 0px;
        /* right: 20px; */
        opacity: 1;
        transition: opacity 0.3s ease-in-out, width 0.3s ease-in-out;
    }

}