/* Forma DJR Display, self-hosted (task C) */
@font-face {
    font-family: 'Forma DJR Display';
    font-style: normal;
    font-weight: 700;
    src: local('Forma DJR Display'), url('/assets/fonts/forma-djr-display/FormaDJRDisplay-Bold.woff') format('woff');
}
body {
    font-family: 'Proxima Nova Cn Rg', sans-serif;
}

header {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

img {
    height: revert-layer;
    max-width: unset;
    display: inline-block;
}

a:visited {
    color: #fff;
}

.btn-primary {
    display: flex;
    padding: 11px;
    width: 154px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.10);
    box-shadow: 0px 0px 52px 0px rgba(0, 0, 0, 0.11);
    backdrop-filter: blur(2px);
    border: none;
}

.btn-primary:hover {
    background: #154878;
}

.btn-secondary {
    display: flex;
    padding: 11px;
    width: 154px;
    justify-content: center;
    align-items: center;
    height: 48px;
    border-radius: 40px;
    background: #FFF;
    box-shadow: 0px 0px 52px 0px rgba(0, 0, 0, 0.11);
    color: #154878;
    font-size: 16px;
    font-weight: 700;
    border: none;
}

.btn-secondary:visited {
    color: #154878;
}

footer .btn-secondary:hover, .bk_footer .btn-secondary:hover {
    background: #154878;
    color: #fff;
}

header {

}

.navbar-expand-md .navbar-nav .nav-link {
    padding-right: .75rem;
    padding-left: .75rem;
}

.header-hero-container {
    background-image: url('/wp-content/themes/ae-rig/assets/images/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
}

.hero-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 3rem;
    padding-top: 70px;
    padding-bottom: 70px;
}

.hero-box .text-box {
    max-width: 50%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-box .text-box h1 {
    font-family: "Forma DJR Display", sans-serif;
    font-size: 70px;
    font-weight: 700;
    line-height: 78px;
    letter-spacing: 2.1px;
    margin-bottom: 0;
}

.hero-box.lp-hero .text-box h1 {
    font-size: 54px;
    font-weight: 700;
    line-height: 65px;
    letter-spacing: 1.62px;
}

.hero-box .text-box p {
    margin-bottom: 0;
    font-size: 22px;
    line-height: 38px;
    color: #fff;
}

.hero-box .image-box {
    background-size: cover;
    background-position: center;
    height: 650px;
    width: 50%;
    position: absolute;
    right: 0;
    bottom: 125px;
    z-index: 10;
}

.navbar-light .navbar-nav .nav-link {
    color: white;
    padding: 0 20px;
}

.navbar-light .navbar-brand, .navbar-light .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.trusted-by {
    text-align: center;
    background: #154878;
    border-radius: 56px 56px 0px 0px;
    position: relative;
    z-index: 15;
    padding-top: 69px;
    padding-bottom: 43px;
}

.trusted-by-title {
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 37px;
}

.trusted-by-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trusted-by-logos img {
    filter: brightness(0) invert(1);
}

.accordion-collapse {
    border: none;
}

.your-clients {
    padding-top: 148px;
    padding-bottom: 102px;
}

.your-clients h2 {
    font-family: "Forma DJR Display";
    font-size: 102px;
    font-weight: 700;
    line-height: 99px;
    letter-spacing: 3.06px;
}

.your-clients h2 span {
    background: linear-gradient(106deg, #1F93CA 6.44%, #104978 84.86%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.video_container {
    height: 423px;
    border-radius: 0 16px 16px 0;
    background: linear-gradient(106deg, #1F93CA 6.44%, #104978 84.86%);
}

.video_container video {
    width: 100%;
    border-radius: 0 16px 16px 0;
    height: 423px;
}

.product_video p {
    color: #141D26;
    font-size: 27px;
    font-weight: 400;
    line-height: 45px;
    border-radius: 0 16px 16px 0;
    margin-bottom: 2rem;
    max-width: 604px;
}

.partnering {
    text-align: center;
    margin-top: 167px;
}

.partnering-title {
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 40px;
    color: rgba(20, 29, 38, 0.30);
}

.partnering-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bank_account {
    margin: 167px 48px 130px 48px;
    border-radius: 48px;
    background: rgba(225, 226, 223, 0.30);
    padding: 96px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* Use 6 columns for better control over layout */
    grid-gap: 43px;
    justify-content: center;
}

.grid-item {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column: span 2;
    box-sizing: border-box;
}

.grid-item:nth-child(4) {
    grid-column: 2 / span 2; /* Center the fourth item in the second row */
}

.grid-item:nth-child(5) {
    grid-column: 4 / span 2; /* Place the fifth item in the correct position */
}

.benefit-item img {
    max-width: 100%;
    height: auto;
}

.grid-item:nth-child(4) {
    grid-column: 2 / span 2; /* Center the fourth item in the second row */
}

.grid-item:nth-child(5) {
    grid-column: 4 / span 2; /* Place the fifth item in the correct position */
}

.pre-title {
    color: rgba(20, 29, 38, 0.30);
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 20px;
}

.bank_account h2 {
    color: #141D26;
    font-family: "Forma DJR Display", sans-serif;
    font-size: 70px;
    font-weight: 700;
    line-height: 82px;
    letter-spacing: 2.1px;
    margin-bottom: 65px;
}

.bank_account h2 span {
    background: linear-gradient(106deg, #1F93CA 6.44%, #104978 84.86%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.get_started {
    padding: 0 112px;
}

.get_started h2 {
    color: #141D26;
    font-family: "Forma DJR Display", sans-serif;
    font-size: 70px;
    font-weight: 700;
    line-height: 82px;
    letter-spacing: 2.1px;
    margin-bottom: 100px;
    max-width: 731px;
}

.get_started h2 span {
    background: linear-gradient(106deg, #1F93CA 6.44%, #104978 84.86%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.start_steps {
    gap: 25px;
}

.start_steps span, .start_steps a {
    color: #154878;
    font-size: 39px;
    font-weight: 800;
    line-height: 35px;
    letter-spacing: -0.78px;
    margin-bottom: 24px;
    display: block;
    text-decoration: none;
}

.t_photo {
    height: 100%;
    text-align: center;
}

.start_steps p {
    color: #141D26;
    font-size: 26px;
    font-weight: 400;
    line-height: 35px;
}

.start_steps > div {
    max-width: 346px;
}

footer {
    /*border-radius: 56px 56px 0px 0px;
    background: radial-gradient(265.11% 140.32% at -9.48% -26.05%, #1F93CA 0%, #104978 100%);
    color: #fff;
    padding: 136px 112px;*/
    position: relative;
    z-index: 25;
}

.footer_top {
    display: flex;
    justify-content: space-between;
    gap: 63px;
    align-items: center;
}

.footer_top .big_text {
    color: #FFF;
    font-family: "Forma DJR Display", sans-serif;
    font-size: 54px;
    font-weight: 700;
    line-height: 68px;
    letter-spacing: 1.62px;
    max-width: 903px;
    width: 70%;
}

.pre_footer {
    margin-bottom: -190px;
    position: relative;
    z-index: 20;
    max-height: 600px;
    overflow: hidden;
}

.pre_footer img {
    max-width: 100%;
}

.footer_right {
    color: rgba(255, 255, 255, 0.60);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.42px;
}

.footer_right p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.60);
    font-size: 14px;
    letter-spacing: 0.42px;
}

.footer_bottom {
    margin-top: 77px;
    gap: 40px;
}

.colored_blocks {
    padding: 0 112px;
    margin-bottom: 154px;
}

.colored_blocks h2 {
    color: #141D26;
    font-family: "Forma DJR Display", sans-serif;
    font-size: 70px;
    font-weight: 700;
    line-height: 82px;
    letter-spacing: 2.1px;
    margin-bottom: 72px;
}

.colored_blocks h2 span {
    background: linear-gradient(106deg, #1F93CA 6.44%, #104978 84.86%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.c-block {
    border-radius: 24px;
}

.c-block.first {
    padding: 144px 80px;
    background: #518CC9;
}

.c-block span {
    color: #FFF;
    font-size: 39px;
    font-weight: 800;
    line-height: 35px;
}

.c-block p {
    color: #FFF;
    font-size: 32px;
    font-weight: 500;
    line-height: 43px;
}

.c-block.second {
    background: #154878;
    height: 100%;
    background-position: 80% 50%;
    padding: 56px 40px;
}

.c-block.third {
    background: radial-gradient(265.11% 140.32% at -9.48% -26.05%, #1F93CA 0%, #104978 100%);
    padding: 56px 40px;
    gap: 40px;
}

.c-block.third > div:first-child {
    min-width: 280px;
}

.c-block.third > div:first-child img {
    width: 98px;
    height: 76px;
}

.c-block.third.businessed > div:first-child img {
    width: 65px;
    height: 78px;
}

.testimonial {
    margin-top: 160px;
}

.testimonial .t_text {
    padding: 64px;
}

.testimonial_text {
    color: rgba(20, 29, 38, 0.50);
    font-family: "Forma DJR Display", sans-serif;
    font-size: 31px;
    font-weight: 700;
    line-height: 50px;
    letter-spacing: 0.93px;
    margin-bottom: 0;
}

.testimonial-content {
    gap: 32px;
    border-radius: 48px;
    background: rgba(225, 226, 223, 0.30);
    padding: 24px;
}

.testimonial_text span {
    background: linear-gradient(106deg, #1F93CA 6.44%, #104978 84.86%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.testimonial .pre-title {
    margin-bottom: 40px;
}

.testimonial_author {
    color: #174778;
    font-size: 14px;
    font-weight: 700;
    margin-top: 23px;
}

.accordion_section {
    margin-top: 136px;
}

.accordion_section h2:not(.accordion-header) {
    color: #141D26;
    font-family: "Forma DJR Display", sans-serif;
    font-size: 70px;
    font-weight: 700;
    line-height: 82px;
    letter-spacing: 2.1px;
    margin-bottom: 72px;
}

.accordion_section h2:not(.accordion-header) span {
    background: linear-gradient(106deg, #1F93CA 6.44%, #104978 84.86%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.accordion {
    max-width: 736px;
    margin: 0 auto;
}

.offcanvas-header {
    display: none;
}

.accordion-header button {
    color: #154878;
    font-size: 29px;
    font-weight: 800;
    line-height: 35px;
    letter-spacing: -0.58px;
    background: none;
}

.accordion-body {
    color: #141D26;
    font-size: 18px;
    font-weight: 400;
    line-height: 35px;
}

.accordion-item {
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid rgba(20, 29, 38, 0.20);
}

.accordion-button:not(.collapsed) {
    background: none;
}

.accordion-button:focus {
    border: none;
    box-shadow: none;
}

.accordion-button::after {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-plus-lg" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2"/></svg>');
}

.accordion-button:not(.collapsed)::after {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-lg" viewBox="0 0 16 16"><path d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8z"/></svg>');
}
.bk_footer {
    border-radius: 56px 56px 0px 0px;
    background: var(--Gradient-Radial, radial-gradient(265.11% 140.32% at -9.48% -26.05%, #1F93CA 0%, #104978 100%));
    padding-top: 136px;
    padding-bottom: 84px;
    position: relative;
    z-index: 25;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1120px;
    }
}

@media (max-width: 1199px) {
    .grid-container {
        grid-template-columns: repeat(4, 1fr);
    }
    .grid-item {
        grid-column: span 2;
    }
    .grid-item:nth-child(4) {
        grid-column: 1 / span 2; /* Adjust positions for medium screens */
    }
    .grid-item:nth-child(5) {
        grid-column: 3 / span 2;
    }
}

@media (max-width: 767px) {
    .offcanvas-header {
        display: flex;
    }
    .hero-box {
        padding-left: 0;
    }
    .colored_blocks, .c-block.first, .c-block.second, .c-block.third {
        padding: 40px;
    }
    .c-block.third > div:first-child {
        min-width: unset;
    }
    .c-block.third {
        flex-direction: column;
    }
    .cb-container {
        gap: 25px;
    }
    .testimonial-content {
        flex-direction: column;
    }
    .partnering {
        margin-top: 65px;
    }
    .product_video p {
        margin-bottom: 0;
        margin-top: 40px;
        font-size: 23px;
    }
    .bank_account {
        margin: 80px 15px 85px 15px;
        padding: 40px;
    }
    .bank_account h2, .colored_blocks h2, .accordion_section h2:not(.accordion-header) {
        font-size: 40px;
        line-height: 45px;
        margin-bottom: 30px;
    }
    .accordion_section, .testimonial {
        margin-top: 50px;
    }
    .colored_blocks {
        margin-bottom: 75px;
    }
    .c-block p {
        font-size: 25px;
        line-height: 35px;
    }
    .c-block.second p {
        margin-top: 25px;
    }
    .c-block.third span {
        margin-bottom: 25px;
    }
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-item {
        grid-column: span 2;
    }
    .grid-item:nth-child(4),
    .grid-item:nth-child(5) {
        grid-column: span 2; /* Adjust positions for small screens */
    }
    .footer_top {
        flex-direction: column;
    }
    .start_steps {
        flex-direction: column;
    }
    .get_started {
        padding: 0 40px;
    }
    .get_started h2 {
        font-size: 50px;
        line-height: 60px;
        margin-bottom: 65px;
    }
    .pre-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    /*footer {
        padding: 65px 40px;
    }*/
    .footer_top {
        gap: 40px;
        padding-bottom: 45px;
    }
    .footer_top .big_text {
        font-size: 40px;
        line-height: 50px;
        width: unset;
    }
    .footer_bottom {
        margin-top: 45px;
    }
}



@media (max-width: 992px) {
    .trusted-by-logos {
        flex-direction: column;
        gap: 20px;
    }
    .partnering-logos {
        flex-direction: column;
        gap: 20px;
    }
    .hero-box .text-box h1 {
        font-size: 10.5vw;
        line-height: 10.8vw;
    }
    #navbarNav .navbar-nav {
        gap: 20px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 1024px) {
    .trusted-by-logos img {
        height: 68px!important;
    }
    .your-clients {
        padding-top: 100px;
        padding-bottom: 75px;
    }
    .your-clients h2 {
        font-size: 10vw;
        line-height: 9.5vw;
    }
    .hero-box {
        flex-direction: column;
    }
    .hero-box .text-box {
        max-width: 82%;
    }
    .hero-box .image-box {
        position: unset;
        height: unset;
    }
}