.rc-title {
    width: 100%;
    margin-bottom: 4rem;
}

.rc-title h5 {
    color: #222;
    font-size: 55px;
    line-height: 1.3;
    font-weight: 400;
}

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

.rc-title h5 b {
    font-weight: 800;
}

.rc-box-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.rc-arrow i {
    color: #aaa;
    font-size: 20px;
}

.rc-box {
    width: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 4px 16px rgb(0 0 0 / 3%);
    transition: all .3s ease;
}

.rc-box-text span {
    color: var(--main-color);
    font-size: 19px;
    font-weight: 700;
}

.rc-box-text h5 {
    color: #222;
    font-size: 24px;
    margin: 1rem 0;
}

.rc-box-text p {
    color: #aaa;
    font-size: 17px;
    font-weight: 300;
}

.rc-box-icon {
    width: 100%;
}

.rc-box-icon img {
    float: right;
    height: 50px;
}

.rc-box.on {
    background-color: var(--main-color);
}

.rc-box.on .rc-box-icon img {
    filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(200deg) brightness(111%) contrast(109%);
}

.rc-box.on .rc-box-text span,
.rc-box.on .rc-box-text h5,
.rc-box.on .rc-box-text p {
    color: #fff;
}


/*==================================================*/
@media (max-width: 1450px) {
    .rc-box-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .rc-arrow {
        display: none;
    }
}


@media (max-width: 850px) {
    .rc-title {
        margin-bottom: 3rem;
    }
    
    .rc-title h5 {
        width: 90%;
        font-size: 50px;
    }

    .rc-title h5 br {
        display: none;
    }

    .rc-box-wrapper {
        gap: 1rem;
    }
}


@media (max-width: 650px) {
    .rc-title h5 {
        font-size: 45px;
    }
}


@media (max-width: 550px) {
    .rc-title {
        margin-bottom: 2rem;
    }
    
    .rc-title h5 {
        font-size: 36px;
    }

    .rc-box {
        padding: 25px;
    }

    .rc-box-text span {
        font-size: 15px;
    }
    
    .rc-box-text h5 {
        font-size: 18px;
        margin: 10px 0;
    }
    
    .rc-box-text p {
        height: 36px;
        font-size: 14px;
        line-height: 1.4;
    }
    
    .rc-box-icon img {
        height: 40px;
    }
}


@media (max-width: 450px) {
    .rc-title h5 {
        font-size: 30px;
    }
}