/* pop spacing amends */

:root {
    --pbSpacing: 10rem;
}

main .pb-image-overlay:last-child {
    padding-bottom: 0;
}

.pb,
.pb-client-logo-banner,
.pb.pb-content {
    padding-bottom: 10rem;
    padding-top: 10rem;
}

.pb-client-logo-banner,
.pb--small-padding-top {
    margin-top: 0;
}

.pb:last-of-type {
    margin-bottom: 0;
}

.testimonial-slider {
    margin-top: 5rem;
}

.pb-logos,
.pb-hero,
.pb-banner,
.pb-hero--product {
    margin-bottom: 10rem;
}

.pb-logos {
    padding: 10rem 0;
}

@media (max-width: 768px) {
        {
        --pbSpacing: 6rem;
    }

    .pb,
    .pb-client-logo-banner {
        padding-bottom: 6rem;
    }

    .pb-client-logo-banner {
        margin-top: 0;
    }

    .testimonial-slider {
        margin-top: 3rem;
    }

    .pb-logos {
        padding: 6rem 0;
    }

    main .pb-image-overlay:last-child,
    .pb-logos {
        margin-bottom: 6rem;
    }
}

/* pop spacing amends end */

.pb-client-logo-banner__logo {
    object-fit: contain;
}

/* page builder hero-video block  */

.pb-hero.pb-hero--home-video {
    height: auto;
}

.pb-hero.pb-hero--home-video .bg-image-container {
    height: 60%;
    overflow: hidden;
    text-align: center;
    background-color: #000;
}

.pb-hero.pb-hero--home-video .bg-image-container:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.pb-hero.pb-hero--home-video .bg-image-container video {
    width: 100%;
    max-width: 1600px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -42%);
    z-index: -1;
}

.pb-hero.pb-hero--home-video h1 {
    color: #fff;
    text-align: center;
    font-size: 54px;
    margin-bottom: 100px;
}

.pb-hero--home-text-box-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

.pb-hero--home-text-box {
    background-color: #fff;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.pb-hero--home-text-box a {
    margin-top: auto;
}

.pb-hero--home-text-box h2 {
    font-size: 32px;
}

.pb-hero--home-text-box .btn {
    color: var(--primary);
    background-image: url(https://www.redhelix.com/wp-content/themes/red-helix/assets/images/right-arrow-red.svg);
    transition: all 0.2s ease;
}

.pb-hero--home-text-box .btn:hover {
    color: #fff;
    background-image: url(https://www.redhelix.com/wp-content/themes/red-helix/assets/images/right-arrow-white.svg);
}

.pb-hero--home-text-box .btn:after {
    display: none;
}

@media (max-width: 800px) {
    .pb-hero.pb-hero--home-video {
        padding-top: 150px;
    }

    .pb-hero--home-text-box-row {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        padding: 0 15px;
    }

    .pb-hero.pb-hero--home-video h1 {
        font-size: 40px;
        margin-bottom: 60px;
    }

    .pb-hero.pb-hero--home-video .bg-image-container {
        height: 420px;
    }

    .pb-hero.pb-hero--home-video .bg-image-container video {
        width: 130%;
        transform: translate(-50%, -50%);
    }
}

@media (min-width: 1350px) {
    .pb-hero.pb-hero--home-video .container {
        max-width: 1060px;
    }
}

@media (min-width: 1540px) {
    .pb-hero.pb-hero--home-video .container {
        max-width: 1200px;
    }
}

@media (min-width: 1820px) {
    .pb-hero.pb-hero--home-video .container {
        max-width: 1454px;
    }
}

/* page builder hero-video block end */

.hero-menu-icon {
    grid-area: icon;
    width: 30px;
    min-width: 30px;
}

@media (min-width: 1280px) {
    .hero-menu-icon {
        width: 50px;
        min-width: 50px;
    }

}

.pb-hero-landing-bullet-check-box {
    border: 1px solid #fff;
    border-radius: 20px;
    padding: 3rem;
    background-color: rgba(255, 255, 255, 0.1);
    width: fit-content;
    max-width: 100%;
}

.pb-hero-landing__content .pb-hero-landing-bullet-check-box p {
    font-size: 18px;
    font-weight: 600 !important;
    text-align: left;
}

.pb-hero-landing-bullet-check-box ul {
    list-style: none;
    text-align: left;
}

.pb-hero-landing-bullet-check-box ul li {
    position: relative;
    margin-bottom: 10px;
}

.pb-hero-landing-bullet-check-box ul li:before {
    content: '';
    width: 8px;
    height: 14px;
    border-bottom: 2px solid #E51E0E;
    border-right: 2px solid #E51E0E;
    position: absolute;
    left: -30px;
    transform: rotate(45deg);
}

@media (min-width: 768px) {
    .additional-info-row {
        flex-wrap: nowrap;
    }
}

.additional-info {
    margin-top: 80px;
}

@media (min-width: 768px) {
    .additional-info {
        max-width: 354px;
        margin-top: 0;
        margin-left: auto;
    }

}

.author-card {
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.10);
    margin-bottom: 40px;
}

.author-card__title {
    color: #EA0029;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 27px;
    margin-bottom: 16px;
}

.author-card__photo {
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 50%;
    margin-right: 16px;
}

.author-card__name {
    color: #313131;
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
}

.author-card__description {
    color: #313131;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
}

.related-services {}

.related-services__title {
    color: #313131;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 42px;
    margin-bottom: 20px;
}

.related-services__buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 768px) {
    .related-services__buttons {
        padding-right: 32px;
    }
}

.related-services__buttons .btn {
    font-size: 17px;
    font-weight: 500;
    line-height: 25.5px;
    border-radius: 50px;
    padding: 13px 50px;
}

.related-services__buttons .btn-outline {
    color: #000;
    border: 2px solid #ea0029;
    text-decoration: none;

    font-size: 17px;
    font-weight: 500;
    line-height: 25.5px;
    border-radius: 50px;
    padding: 13px 50px;
}

#technology-carousel .slide-controls {
    height: 100px;
    margin-bottom: -150px;
    position: relative;
}

#technology-carousel .slide-controls>div {
    position: absolute;
    right: 40px;
    top: -120px;
}

#technology-carousel .slide-controls>div:nth-of-type(1) {
    right: 100px;
}

.btn:hover:after,
button:hover:after {
    background: linear-gradient(to right, rgba(66, 76, 170, 0.65) 0, rgba(234, 0, 41, 0) 30%) !important;
}