/*!
Theme Name: tax and accounting
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
*/


/* =========================================================
   HOW IT WORKS SECTION
========================================================= */

.ppc_how_to_pay {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    margin: 0;
    padding: 50px 0;
    box-sizing: border-box;
}


/* =========================================================
   BOOTSTRAP COLUMN RESET
========================================================= */

.ppc_how_to_pay > div {
    box-sizing: border-box;
}

.ppc_how_to_pay > .col-xxl-1,
.ppc_how_to_pay > .col-xl-1,
.ppc_how_to_pay > .col-lg-1,
.ppc_how_to_pay > .col-md-1,
.ppc_how_to_pay > .col-sm-1,
.ppc_how_to_pay > .col-xxl-3,
.ppc_how_to_pay > .col-xl-3,
.ppc_how_to_pay > .col-lg-3,
.ppc_how_to_pay > .col-md-3,
.ppc_how_to_pay > .col-sm-3 {
    padding-left: 12px;
    padding-right: 12px;
}


/* =========================================================
   ARROW
========================================================= */

.ppc_how_to_pay .hjyt {
    display: block;
    width: 70px;
    height: auto;
    max-width: 100%;
}

.ppc_how_to_pay > .col-xxl-1,
.ppc_how_to_pay > .col-xl-1,
.ppc_how_to_pay > .col-lg-1,
.ppc_how_to_pay > .col-md-1,
.ppc_how_to_pay > .col-sm-1 {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   WORK CARD
========================================================= */

.ppc_how_to_pay .work-card-box {
    width: 100%;
    height: 100%;
    background: transparent;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================================
   WORK CARD IMAGE
========================================================= */

.ppc_how_to_pay .work-card-img {
    width: 100%;
    height: 230px;
    overflow: hidden;
    border-radius: 12px;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    box-sizing: border-box;
}

.ppc_how_to_pay .work-card-img img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    border: 0;
    margin: 0;
    padding: 0;
    transition: transform 0.4s ease;
}


/* Image Hover */

.ppc_how_to_pay .work-card-box:hover .work-card-img img {
    transform: scale(1.04);
}


/* =========================================================
   WORK CARD CONTENT
========================================================= */

.ppc_how_to_pay .work-card-text {
    width: 100%;
    padding: 20px 0 0;
    margin: 0;
    box-sizing: border-box;
}


/* Heading */

.ppc_how_to_pay .work-card-text h3 {
    margin: 0 0 10px;
    padding: 0;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
    color: #111111;
    font-family: inherit;
}


/* Paragraph */

.ppc_how_to_pay .work-card-text p {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    color: #333333;
    font-family: inherit;
}


/* =========================================================
   DESKTOP - 1200px+
========================================================= */

@media (min-width: 1200px) {

    .ppc_how_to_pay {
        padding: 60px 0;
    }

    .ppc_how_to_pay > .col-xxl-1 {
        width: 8.33333333%;
    }

    .ppc_how_to_pay > .col-xxl-3 {
        width: 25%;
    }

    .ppc_how_to_pay .work-card-img {
        height: 230px;
    }

    .ppc_how_to_pay .work-card-text h3 {
        font-size: 22px;
    }

    .ppc_how_to_pay .work-card-text p {
        font-size: 16px;
    }

}


/* =========================================================
   LARGE TABLET / SMALL DESKTOP
   992px - 1199px
========================================================= */

@media (min-width: 992px) and (max-width: 1199px) {

    .ppc_how_to_pay {
        padding: 50px 0;
    }

    .ppc_how_to_pay > .col-xl-1 {
        width: 8.33333333%;
    }

    .ppc_how_to_pay > .col-xl-3 {
        width: 25%;
    }

    .ppc_how_to_pay .work-card-img {
        height: 210px;
    }

    .ppc_how_to_pay .work-card-text {
        padding-top: 18px;
    }

    .ppc_how_to_pay .work-card-text h3 {
        font-size: 20px;
    }

    .ppc_how_to_pay .work-card-text p {
        font-size: 15px;
        line-height: 1.5;
    }

    .ppc_how_to_pay .hjyt {
        width: 60px;
    }

}


/* =========================================================
   TABLET
   768px - 991px
========================================================= */

@media (min-width: 768px) and (max-width: 991px) {

    .ppc_how_to_pay {
        padding: 40px 0;
        row-gap: 35px;
    }

    /* Hide arrows on tablet */
    .ppc_how_to_pay > .col-md-1 {
        display: none;
    }

    /* Two cards per row */
    .ppc_how_to_pay > .col-md-3 {
        width: 50%;
    }

    .ppc_how_to_pay .work-card-img {
        height: 220px;
    }

    .ppc_how_to_pay .work-card-text {
        padding-top: 18px;
    }

    .ppc_how_to_pay .work-card-text h3 {
        font-size: 21px;
        line-height: 1.35;
    }

    .ppc_how_to_pay .work-card-text p {
        font-size: 15px;
        line-height: 1.55;
    }

}


/* =========================================================
   MOBILE
   576px - 767px
========================================================= */

@media (min-width: 576px) and (max-width: 767px) {

    .ppc_how_to_pay {
        display: flex;
        flex-direction: column;
        padding: 35px 0;
        gap: 30px;
    }

    /* Hide arrows */
    .ppc_how_to_pay > .col-sm-1 {
        display: none;
    }

    /* One card per row */
    .ppc_how_to_pay > .col-sm-3 {
        width: 100%;
    }

    .ppc_how_to_pay .work-card-img {
        height: 250px;
        border-radius: 12px;
    }

    .ppc_how_to_pay .work-card-text {
        padding-top: 16px;
    }

    .ppc_how_to_pay .work-card-text h3 {
        font-size: 21px;
        line-height: 1.35;
    }

    .ppc_how_to_pay .work-card-text p {
        font-size: 15px;
        line-height: 1.55;
    }

}


/* =========================================================
   SMALL MOBILE
   MAX 575px
========================================================= */

@media (max-width: 575px) {

    .ppc_how_to_pay {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 25px 0;
        margin: 0;
        gap: 30px;
    }


    /* Hide Arrow */

    .ppc_how_to_pay > .col-1,
    .ppc_how_to_pay > .col-sm-1,
    .ppc_how_to_pay > .col-md-1,
    .ppc_how_to_pay > .col-lg-1,
    .ppc_how_to_pay > .col-xl-1,
    .ppc_how_to_pay > .col-xxl-1 {
        display: none !important;
    }


    /* Full Width Card */

    .ppc_how_to_pay > .col-6,
    .ppc_how_to_pay > .col-sm-3,
    .ppc_how_to_pay > .col-md-3,
    .ppc_how_to_pay > .col-lg-3,
    .ppc_how_to_pay > .col-xl-3,
    .ppc_how_to_pay > .col-xxl-3 {
        width: 100% !important;
        max-width: 100%;
        flex: 0 0 100%;
        padding-left: 7px;
        padding-right: 7px;
    }


    /* Card */

    .ppc_how_to_pay .work-card-box {
        width: 100%;
        height: auto;
    }


    /* Image */

    .ppc_how_to_pay .work-card-img {
        width: 100%;
        height: 200px;
        border-radius: 10px;
    }


    .ppc_how_to_pay .work-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


    /* Content */

    .ppc_how_to_pay .work-card-text {
        padding: 16px 0 0;
    }


    /* Heading */

    .ppc_how_to_pay .work-card-text h3 {
        margin: 0 0 8px;
        font-size: 20px;
        line-height: 1.3;
        font-weight: 600;
    }


    /* Paragraph */

    .ppc_how_to_pay .work-card-text p {
        margin: 0;
        font-size: 15px;
        line-height: 1.55;
    }

}


/* =========================================================
   EXTRA SMALL MOBILE
   MAX 400px
========================================================= */

@media (max-width: 400px) {

    .ppc_how_to_pay {
        padding: 20px 0;
        gap: 25px;
    }

    .ppc_how_to_pay > .col-6,
    .ppc_how_to_pay > .col-sm-3,
    .ppc_how_to_pay > .col-md-3,
    .ppc_how_to_pay > .col-lg-3,
    .ppc_how_to_pay > .col-xl-3,
    .ppc_how_to_pay > .col-xxl-3 {
        padding-left: 5px;
        padding-right: 5px;
    }

    .ppc_how_to_pay .work-card-img {
        height: 190px;
        border-radius: 10px;
    }

    .ppc_how_to_pay .work-card-text {
        padding-top: 14px;
    }

    .ppc_how_to_pay .work-card-text h3 {
        font-size: 19px;
    }

    .ppc_how_to_pay .work-card-text p {
        font-size: 14px;
        line-height: 1.5;
    }

}


/* =========================================================
   REMOVE DEFAULT IMAGE / TEXT SPACING
========================================================= */

.ppc_how_to_pay img {
    vertical-align: middle;
}

.ppc_how_to_pay h1,
.ppc_how_to_pay h2,
.ppc_how_to_pay h3,
.ppc_how_to_pay h4,
.ppc_how_to_pay h5,
.ppc_how_to_pay h6,
.ppc_how_to_pay p {
    margin-top: 0;
}


/* =========================================================
   BOX SIZING
========================================================= */

.ppc_how_to_pay *,
.ppc_how_to_pay *::before,
.ppc_how_to_pay *::after {
    box-sizing: border-box;
}



.contact-form .field-error {
    border: 1px solid #dc2626 !important;
}

.contact-form .form-group {
    position: relative;
}

.contact-form button:disabled {
    opacity: 0.6;
    pointer-events: none;
}

.appointment-field-error {
    border-color: #dc2626 !important;
}

.appointment-field {
    position: relative;
}

.appointment-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* ==========================================
   APPOINTMENT FORM MESSAGE
========================================== */

.appointment-form-message {
    display: none;

    width: 100%;

    box-sizing: border-box;

    margin-bottom: 20px;

    padding: 16px 18px;

    border-radius: 10px;

    align-items: center;

    gap: 13px;

    animation:
        appointmentMessageIn
        0.3s ease;

    position: relative;

    z-index: 20;
}


/* ==========================================
   SUCCESS
========================================== */

.appointment-message-success {

    background: #ecfdf5;

    border: 1px solid #a7f3d0;

    color: #065f46;

}


/* ==========================================
   ERROR
========================================== */

.appointment-message-error {

    background: #fef2f2;

    border: 1px solid #fecaca;

    color: #991b1b;

}


/* ==========================================
   ICON
========================================== */

.appointment-message-icon {

    width: 40px;

    min-width: 40px;

    height: 40px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 20px;

    font-weight: 700;

}


.appointment-message-success
.appointment-message-icon {

    background: #10b981;

    color: #fff;

}


.appointment-message-error
.appointment-message-icon {

    background: #ef4444;

    color: #fff;

}


/* ==========================================
   CONTENT
========================================== */

.appointment-message-content {
    flex: 1;
}


.appointment-message-title {

    font-size: 16px;

    font-weight: 700;

    margin-bottom: 4px;

}


.appointment-message-text {

    font-size: 13px;

    line-height: 1.6;

}


/* ==========================================
   FIELD ERROR
========================================== */

.appointment-field-error {

    border-color:
        #dc2626 !important;

}


/* ==========================================
   FIELD ERROR TEXT
========================================== */

.appointment-js-error {

    display: block;

    color:
        #dc2626;

    font-size:
        12px;

    line-height:
        1.4;

    margin-top:
        5px;

}


/* ==========================================
   SUBMIT BUTTON
========================================== */

.appointment-submit:disabled {

    opacity:
        0.6;

    cursor:
        not-allowed;

}


/* ==========================================
   ANIMATION
========================================== */

@keyframes appointmentMessageIn {

    from {

        opacity: 0;

        transform:
            translateY(-8px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {

    .appointment-form-message {

        padding:
            14px;

        gap:
            10px;

    }


    .appointment-message-icon {

        width:
            34px;

        min-width:
            34px;

        height:
            34px;

        font-size:
            17px;

    }


    .appointment-message-title {

        font-size:
            14px;

    }


    .appointment-message-text {

        font-size:
            12px;

    }

}