.facial {
    background: url(../images/facial-bg.jpg);
    background-attachment: fixed;
}

.fac1-title {
    color: #222;
    font-size: 50px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 3rem;
}

.fac1-title span {
    color: var(--main-color);
    font-weight: 800;
}

.fac1-box-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.fac1-box {
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

.fac1-box-text h5 {
    width: 100%;
    color: #fff;
    padding: 18px 0;
    font-size: 24px;
    text-align: center;
    background-color: #111;
    margin-top: -3px;
}

.fac1-box-text p {
    color: #222;
    padding: 25px;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.7;
    text-align: center;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-top: none;
}

.fac1-box-text p span {
    color: red;
    font-weight: 700;
}

.fac1-box-text p em {
    color: #aaa;
    font-size: 15px;
    font-style: normal;
}


.fac3 {
    background-color: #f5f5f5;
}

.fac3-title {
    color: #222;
    font-size: 55px;
    text-align: center;
    margin-bottom: 3rem;
}

.fac3-image-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.fac3-text {
    padding: 50px;
    border: 1px solid #ddd;
    border-top: none;
    background-color: #fff;
}

.fac3-text p {
    color: #333;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.8;
    text-align: center;
}

.fac3-text p span {
    color: var(--main-color);
    font-weight: 700;
}

.fac3-text img {
    width: 100%;
    margin-top: 2rem;
}


/*==================================================*/
@media (max-width: 850px) {
    .fac1-title {
        font-size: 40px;
    }

    .fac1-box-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }

    .fac3-title {
        font-size: 45px;
    }
    
    .fac3-image-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .fac3-image-wrapper img:first-child {
        display: none;
    }
    
    .fac3-text {
        padding: 40px;
    }
}


@media (max-width: 650px) {
    .fac3-text p {
        font-size: 18px;
    }
}


@media (max-width: 550px) {
    .fac1-title {
        font-size: 32px;
        margin-bottom: 2rem;
    }
    
    .fac1-box-text h5 {
        padding: 15px 0;
        font-size: 20px;
    }
    
    .fac1-box-text p {
        padding: 20px;
        font-size: 17px;
    }

    .fac2 {
        padding-top: 20px;
    }

    .fac3 {
        background-image: linear-gradient(to bottom, #f5f5f5 0%, #fff 100%);
    }

    .fac3-title {
        font-size: 36px;
        margin-bottom: 2rem;
    }
    
    .fac3-image-wrapper {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }

    .fac3-text {
        padding: 0;
        border: none;
        background-color: transparent;
        margin-top: 1rem;
    }

    .fac3-text p {
        font-size: 15px;
        text-align: left;
    }

    .fac3-text img {
        margin-top: 1rem;
    }
}


@media (max-width: 450px) {
    .fac1-box-text h5 {
        padding: 12px 0;
        font-size: 18px;
    }
}