.mc {
    position: relative;
    overflow: hidden;
}

.mc-flow-wrapper {
    position: absolute;
    bottom: -6%;
    width: 100%;
    overflow: hidden;
    z-index: 1;
}

.mc-flow {
    color: #000;
    font-size: 330px;
    font-weight: 400;
    font-family: 'Montserrat';
    white-space: nowrap;
    animation: flow 60s linear infinite;
    user-select: none;
    opacity: .02;
    z-index: 1;
}

@keyframes flow {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-400%, 0, 0);
    }
}

.dogcat {
    position: absolute;
    top: -2%; left: 0;
    filter: grayscale(1);
    opacity: .1;
}

.mc-wrapper {
    position: relative;
    width: 100%;
}

.pet-poo {
    position: absolute;
    top: -5%; right: -5%;
    width: 50%;
    z-index: 1;
}

.mc-title {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 30%;
}

.pet-poo-logo {
    width: 130px;
}

.mc-title h5 {
    color: var(--epm-navy);
    font-size: 55px;
    z-index: 2;
}

.mc-title h5 span {
    color: var(--main-color);
    z-index: 2;
}

.mc-box-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin: 3rem 0;
}

.mc-box {
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    border-radius: 15px;
    background-color: var(--epm-navy);
    z-index: 10;
}

.mc-box img {
    height: 70px;
    filter: invert(95%) sepia(66%) saturate(0%) hue-rotate(81deg) brightness(109%) contrast(101%);
    user-select: none;
}

.mc-box p {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

.mc-text {
    width: 100%;
    padding: 50px;
    border-radius: 15px;
    border: 1px solid #eee;
    background-color: #f5f5f5;
}

.mc-text h5 {
    color: #222;
    font-size: 28px;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.mc-text p {
    color: #777;
    font-size: 17px;
    line-height: 1.7;
}

.mc-process-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
}

.mc-process {
    width: 160px;
    height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 50%;
    border: 1px dashed #ddd;
    background-color: #f5f5f5;
    transition: all .3s;
    z-index: 10;
}

.mc-prc-arrow {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: var(--epm-navy);
    z-index: 10;
}

.mc-prc-arrow i {
    color: #fff;
    font-size: 16px;
}

.mc-prc-num {
    color: var(--epm-navy);
    font-size: 12px;
    font-weight: 500;
}

.mc-prc-icon img {
    height: 56px;
    filter: invert(13%) sepia(7%) saturate(7043%) hue-rotate(192deg) brightness(95%) contrast(97%);
    user-select: none;
}

.mc-process p {
    color: var(--epm-navy);
    font-size: 16px;
    font-weight: 500;
}

.mc-process.on {
    border: 1px solid var(--epm-navy);
    background-color: var(--epm-navy);
}
.mc-process.on p,
.mc-process.on .mc-prc-num {
    color: #fff;
}
.mc-process.on .mc-prc-icon img {
    filter: invert(95%) sepia(66%) saturate(0%) hue-rotate(81deg) brightness(109%) contrast(101%);
}


.mc2 {
    background-color: var(--main-color);
    background: url(../images/mc2-bg.jpg) no-repeat;
    background-size: cover;
}

.mc2-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.mc2-text {
    color: #fff;
    text-align: center;
}

.mc2-text h5 {
    font-size: 45px;
    line-height: 1.4;
}

.mc2-text h5 br {
    display: none;
}

.mc2-text p {
    font-size: 20px;
    letter-spacing: 0;
    margin-top: 1.5rem;
}

.mc2Btn-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.mc2Btn {
    width: 200px;
    height: 54px;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    background-color: #fff;
    cursor: pointer;
}

.mc2Btn.on {
    color: #fff;
    background: var(--epm-navy);
}


/*==================================================*/
@media (min-width: 2250px) {
    .dogcat {
        left: 10%;
    }
}


@media (max-width: 1450px) {
    .dogcat {
        left: -10%;
    }
}


@media (max-width: 1250px) {
    .dogcat {
        display: none;
    }

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

    .mc-process-wrapper {
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
    }

    .mc-prc-arrow {
        transform: rotate(90deg);
    }
}


@media (max-width: 950px) {
    .mc-title {
        margin-bottom: 2rem;
    }
    
    .mc-box-wrapper {
        margin: 1.5rem 0;
    }
    
    .mc-box {
        padding: 40px;
        gap: 1.5rem;
    }

    .mc-box p {
        width: 80%;
        font-size: 20px;
    }

    .mc-box img {
        height: 60px;
    }
}


@media (max-width: 768px) {
    .mc-flow-wrapper {
        bottom: -3%;
    }
    
    .mc-flow {
        font-size: 200px;
        animation: flow 40s linear infinite;
        opacity: .03;
    }
    
    .mc-title {
        gap: 1rem;
    }
    
    .mc-title h5 {
        font-size: 45px;
    }
    
    .mc-box {
        padding: 30px;
        gap: 1rem;
    }
    
    .mc-box p {
        width: 90%;
        font-size: 18px;
    }

    .mc-box img {
        height: 50px;
    }

    .mc-text {
        padding: 35px;
    }

    .mc-text h5 {
        font-size: 22px;
    }

    .mc-text p {
        font-size: 15px;
    }

    .mc2-wrapper {
        gap: 3rem;
    }
    
    .mc2-text h5 br {
        display: block;
    }

    .mc2-text p {
        font-size: 16px;
    }

    .mc2Btn-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .mc2Btn.on {
        width: 100%;
        grid-row: 2 / 3;
        grid-column: 1 / 3;
    }
}


@media (max-width: 650px) {
    .mc-box p {
        font-size: 14px;
    }
}


@media (max-width: 550px) {
    .mc-flow-wrapper {
        bottom: -2%;
    }
    
    .mc-flow {
        font-size: 140px;
    }
    
    .mc-title h5 {
        font-size: 36px;
    }
    
    .mc-box-wrapper {
        gap: 6px;
    }
    
    .mc-box {
        padding: 20px;
        border-radius: 0;
    }

    .mc-box p {
        font-size: 12px;
    }
    
    .mc-box img {
        height: 32px;
    }

    .mc-text {
        padding: 10px;
        border-radius: 0;
        background-color: transparent;
        border: none;
    }

    .mc-process-wrapper {
        justify-content: center;
        gap: 0;
    }
    
    .mc-process {
        width: 50%;
        height: auto;
        padding: 20px 0;
        border-radius: 0;
        border: 1px solid #eee;
        background-color: #fff;
    }

    .mc-process p {
        font-size: 13px;
    }

    .mc-prc-icon img {
        height: 40px;
    }

    .mc-prc-arrow {
        width: 24px;
        height: 24px;
        margin: -10px 0;

        z-index: 30;
    }

    .mc-prc-arrow i {
        font-size: 14px;
    }

    .mc-process.on {
        border: 1px solid var(--main-color);
        background-color: var(--main-color);
    }
    
    .mc2-text h5 {
        font-size: 36px;
    }

    .mc2-text p {
        margin-top: 1rem;
    }
    
    .mc2Btn-wrapper {
        gap: 10px;
    }
    
    .mc2Btn {
        width: 150px;
        height: 50px;
        font-size: 15px;
    }

    .mc2Btn.on {
        width: 100%;
    }
}


@media (max-width: 450px) {
    .pet-poo-logo {
        width: 98px;
    }
    
    .mc-title h5 {
        font-size: 32px;
    }

    .mc-text p {
        font-size: 14px;
    }
    
    .mc2-wrapper {
        gap: 2rem;
    }

    .mc2-text h5 {
        font-size: 32px;
    }
    
    .mc2-text p {
        font-size: 13px;
    }
    
    .mc2Btn {
        width: 140px;
        height: 43px;
        font-size: 14px;
    }

    .mc2Btn.on {
        width: 100%;
    }
}