/* Our products (new design)*/

.ays-form-cards-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 38px 0 2px;
    align-items: stretch;
}

.ays-form-card__text-hidden {
    display: none;
}

.ays-form-card {
    width: 32%;
    margin-bottom: 65px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 2px;
}

.ays-form-card__content {
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    padding: 25px 12px 8px 19px;
    min-height: 140px;
    flex: 1 0 auto;
}

.ays-form-card__content-img-box {
    margin-right: 14px;
}

.ays-form-card__img {
    width: 85px;
    height: 85px;
    border-radius: 9px;
}

.ays-form-card__title {
    font-style: normal;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 22px;
    line-height: 24px;
    color: #18191f;
}

.ays-form-card__text {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #4c4d54;
}

.ays-form-card__footer {
    background-color: #f7f7f7;
    padding: 25px 20px;
}

.ays-form-card__btn-info {
    display: inline-block;
    color: #2b74b9;
    border: 1px solid #2b74b9;
    padding: 10px 16px;
    background-color: #fff;
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;
    border-radius: 2px;
    transition: background-color 0.3s ease-in-out, text-decoration 0.3s ease-in-out, color 0.3s ease-in-out, border 0.3s ease-in-out;
    margin-right: 10px;
}

.ays-form-card__btn-primary {
    display: inline-block;
    color: #ffffff;
    border: 1px solid transparent;
    padding: 10px 16px;
    background-color: #2b74b9;
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;
    border-radius: 2px;
    transition: background-color 0.3s ease-in-out, text-decoration 0.3s ease-in-out, color 0.3s ease-in-out;
}

.ays-form-card__btn-info:hover {
    text-decoration: none;
    background-color: #cdc8c81a;
    border: 1px solid #0e63b3;
}

.ays-form-card__btn-primary:hover {
    text-decoration: none;
    background-color: #0067c9;
    color: #ffffff;
}

#ays-form-intro-title {
    font-size: 38px;
    font-weight: 600;
    margin: 30px 0;
    width: 50%;
}

.flexible {
    flex-grow: 1;
}

.ays-form-see-all {
    text-align: center;
}

.ays-form-all-btn {
    background: #2b74b9;
    padding: 10px 18px;
    display: block;
    max-width: 240px;
    color: #fff;
    text-align: center;
    margin: 20px auto 30px;
    box-shadow: -1px 4px 8px 1px rgb(76 151 222 / 15%), 3px 4px 29px rgb(110 177 240 / 40%);
    border-radius: 2px;
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    position: relative;
    text-transform: capitalize;
    transition: background-color 0.3s ease-in-out, text-decoration 0.3s ease-in-out, color 0.3s ease-in-out;
}

.ays-form-card__btn-primary:visited,
.ays-form-all-btn:visited {
    color: #fff;
}

.ays-form-all-btn:hover {
    text-decoration: none;
    background-color: #0067c9;
    color: #ffffff;
}

.ays-form-all-btn:before {
    content: "";
    top: 50%;
    right: 112%;
    width: 100%;
    height: 1px;
    background-color: #dfdfdf;
    position: absolute;
    pointer-events: none;
}

.ays-form-all-btn:after {
    content: "";
    top: 50%;
    left: 112%;
    width: 100%;
    height: 1px;
    background-color: #dfdfdf;
    position: absolute;
    pointer-events: none;
}

/* Our products Media Queries*/
/* max-width */
@media screen and (max-width: 1160px) {
    .ays-form-all-btn:before {
        width: 60%;
    }

    .ays-form-all-btn:after {
        width: 60%;
    }
}

@media screen and (max-width: 1096px) {
    .ays-form-card {
        width: 47%;
    }

    #ays-form-intro-title {
        font-size: 33px;
        width: 67%;
    }

    .ays-form-card__img {
        width: 93px;
        height: 93px;
    }

    .ays-form-card__content {
        min-height: 140px;
    }

    .ays-form-card__text {
        font-size: 15px;
    }

    .ays-form-card__footer {
        padding: 25px 15px;
    }
}

@media screen and (max-width: 992px) {
    .ays-form-card__text {
        font-size: 16px;
    }
}

@media screen and (max-width: 786px) {
    .ays-form-card {
        width: 48%;
    }

    #ays-form-intro-title {
        font-size: 33px;
        width: 85%;
    }
}

@media screen and (max-width: 662px) {
    .ays-form-card {
        width: 74%;
        margin-left: auto;
        margin-right: auto;
    }

    .ays-form-card__title {
        font-size: 24px;
    }

    .ays-form-card__text {
        font-size: 18px;
        line-height: 24px;
    }

    .ays-form-card {
        min-height: 220px;
    }

    .ays-form-card__footer {
        padding: 25px 14px;
    }

    .ays-form-all-btn:before {
        width: 40%;
    }
    .ays-form-all-btn:after {
        width: 40%;
    }

    .ays-form-card {
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 574px) {
    .ays-form-card {
        width: 78%;
    }

    .ays-form-card__btn-info {
        padding: 10px 18px;
        font-size: 15px;
    }

    .ays-form-card__btn-primary {
        padding: 10px 18px;
        font-size: 15px;
    }

    .ays-form-all-btn {
        padding: 7px 14px;
        max-width: 210px;
        font-size: 19px;
        margin: 8px auto 10px;
    }

    .ays-form-card__footer {
        padding: 25px 14px;
    }

    .ays-form-all-btn:before {
        display: none;
    }

    .ays-form-all-btn:after {
        display: none;
    }

    #ays-form-intro-title {
        font-size: 30px;
        width: 98%;
    }
}

@media screen and (max-width: 520px) {
    .ays-form-card {
        width: 85%;
    }
    .ays-form-card__title {
        font-size: 22px;
    }
}

@media screen and (max-width: 375px) {
    .ays-form-card {
        width: 94%;
    }

    .ays-form-card__text {
        font-size: 16px;
        line-height: 23px;
    }

    #ays-form-intro-title {
        font-size: 28px;
        width: 100%;
    }

    .ays-form-all-btn {
        padding: 5px 12px;
        max-width: 185px;
        font-size: 17px;
        margin: 8px auto 30px;
    }

    .ays-form-card__content {
        display: flex;
        justify-content: space-between;
        background-color: #fff;
        padding: 18px 11px 5px 18px;
        min-height: 140px;
        flex: 1 0 auto;
    }
}

/* min-width */
@media screen and (min-width: 1440px) {
    .ays-form-card__title {
        font-size: 24px;
    }

    .ays-form-card__img {
        width: 93px;
        height: 93px;
    }

    .ays-form-card__text {
        font-size: 17px;
    }

    .ays-form-card__btn-info {
        padding: 10px 17px;
    }

    .ays-form-card__btn-primary {
        padding: 10px 17px;
    }

    .ays-form-card__btn-info {
        font-size: 16px;
    }

    .ays-form-card__btn-primary {
        font-size: 16px;
    }

    .ays-form-card__text {
        font-size: 16px;
    }

    .ays-form-card__title {
        font-size: 24px;
    }

    .ays-form-card__content {
        padding: 20px 20px 8px 22px;
    }

    #ays-form-intro-title {
        font-size: 42px;
        font-weight: 600;
        margin: 30px 0;
        width: 50%;
    }

    .ays-form-card__footer {
        padding: 22px 24px;
    }
}

@media screen and (min-width: 1820px) {
    .ays-form-card__text-hidden {
        display: inline;
    }

    #ays-form-intro-title {
        width: 32%;
    }

    .ays-form-card__text {
        font-size: 14px;
    }

    .ays-form-card__title {
        font-size: 18px;
    }
}

@media screen and (min-width: 1820px) {
    #ays-form-intro-title {
        width: 36%;
    }
}