/* Training needs assessment call-to-action */
.cta-two {
    position: relative;
    padding: 3rem 0;
    scroll-margin-top: 90px;
    font-family: "Tajawal", sans-serif;
}

.cta-two a {
    text-decoration: none;
}

.cta-two__bg {
    position: relative;
    overflow: hidden;
    padding: 9px;
    border-radius: 10px;
    background-color: #14254a;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.cta-two .row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: stretch;
    min-height: 252px;
    direction: ltr;
}

.cta-two .col-lg-3,
.cta-two .col-lg-6 {
    min-width: 0;
}

.cta-two__info {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 234px;
    padding: 20px;
    overflow: hidden;
    border-radius: 15px;
    background-color: #fff;
    background-position: left;
    background-repeat: no-repeat;
    background-size: contain;
    text-align: center;
}

.cta-two__info::after {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 86%;
    content: "";
}

.cta-two__info__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 135px;
    margin: 0 auto;
    color: #fff;
}

.cta-two__info__icon .img-ic-n {
    display: block;
    width: 100%;
    height: auto;
    max-height: 180px;
}

.cta-two__content {
    position: relative;
    z-index: 2;
    padding: 29px 60px 20px 11px;
    direction: rtl;
}

.cta-two__content__title {
    margin: 0 0 12px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

.cta-two__content__text {
    margin: 0 0 14px;
    color: #fff;
    font-size: 16px;
    line-height: 28px;
}

.cta-two__content__rm {
    display: inline-block;
    color: #14254a;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.24px;
    transition: color 300ms ease, background-color 300ms ease, transform 300ms ease;
}

.cta-two__content__rm span {
    position: relative;
    top: 1px;
    display: inline-block;
    margin-right: 6px;
    line-height: inherit;
    transform: rotate(180deg);
}

.cta-two__call-text {
    padding: 15px;
    border-radius: 50px;
    background-color: #fff;
    color: #14254a;
    font-size: 15px;
    font-weight: 500;
}

.cta-two__call-text:hover,
.cta-two__call-text:focus-visible {
    background-color: #48a0d8;
    color: #fff;
    transform: translateY(-2px);
}

.cta-two__call-text:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.7);
    outline-offset: 3px;
}

.cta-two__image {
    position: absolute;
    right: 30px;
    bottom: 0;
    z-index: 1;
    animation: ctaMessageMove 3s linear infinite;
}

.cta-two__image img {
    display: block;
    width: 250px;
    max-width: 100%;
    height: auto;
}

@keyframes ctaMessageMove {
    0%,
    100% {
        transform: translateX(0);
    }

    25%,
    75% {
        transform: translateX(5px);
    }

    50% {
        transform: translateX(10px);
    }
}

@media (min-width: 991px) and (max-width: 1399px) {
    .cta-two__bg {
        background-image: none !important;
    }

    .cta-two__content {
        padding-right: 35px;
    }

    .cta-two__image {
        right: 0;
    }
}

@media (max-width: 991px) {
    .cta-two__bg {
        background-image: none !important;
        background-position: left;
    }

    .cta-two .row {
        grid-template-columns: minmax(180px, 1fr) 2fr;
    }

    .cta-two__content {
        padding: 30px;
    }

    .cta-two__image {
        display: none;
    }
}

@media (max-width: 767px) {
    .cta-two {
        padding: 2rem 0;
    }

    .cta-two .row {
        grid-template-columns: 1fr;
    }

    .cta-two__info {
        min-height: 180px;
    }

    .cta-two__info__icon {
        width: 105px;
    }

    .cta-two__content {
        padding: 30px 20px;
        text-align: center;
    }

    .cta-two__content__title {
        font-size: 21px;
    }

    .cta-two__content__text {
        font-size: 15px;
        line-height: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cta-two__image {
        animation: none;
    }
}
