/* --- Adjust the nav to work with the hero background --- */

#nav .container .logo .logoDark {
    opacity: 1 !important;
    animation: none !important;
    -webkit-animation: none !important;
}

#nav .container .logo .logoLight {
    opacity: 0 !important;
    animation: none !important;
    -webkit-animation: none !important;
}

#nav .container .content .links li a {
    color: #112867;
}

#nav .container #toggleMobileNav .icon:before,
#nav .container #toggleMobileNav .icon:after,
#nav .container #toggleMobileNav .icon span {
    background: #3E4A57;
}

/* ------ End nav adjustments ------ */

.hero-card {
    display: flex;
    align-items: center;
}

.hero-right {
    padding-left: 40px;
}

#hero .columns.center-vertical.card-columns .column:first-child {
    padding-right: 20px;
}

#hero .columns.center-vertical.card-columns .column:last-child {
    padding-left: 20px;
}

#hero.section {
    padding-bottom: 100px;
    padding-top: 160px;
}

#hero p.hero-eyebrow:not(.logoPack p) {
    color: #4155FF;
}

#hero h1 {
    color: #112867;
    padding-bottom: 20px;
}

#hero p.hero-subtitle:not(.logoPack p) {
    padding-bottom: 0;
    color: #112867;
}

.hero-icon-container {
    height: 240px;
    width: 240px;
    background: linear-gradient(135deg, #23DDCD 0%, #4155FF 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inner-hero-icon {
    height: 132px;
    width: 132px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel.hero-panel {
    text-align: left;
    padding: 40px 30px;
    max-width: 390px;
    margin-left: auto;
    margin-right: 0;
}

.hero-panel h2 {
    font-size: 18px;
    color: #112867;
    letter-spacing: 0;
}

#hero .hero-panel p:not(.logoPack p) {
    font-size: 16px;
    color: #112867;
    padding-bottom: 0;
    margin-bottom: 20px;
}

#hero .hero-panel a.button {
    display: inline-block;
}

.text-card.icon-card {
    display: flex;
    align-items: center;
}

.icon-card h2.why-choose-h2 {
    padding-bottom: 0;
    padding-left: 45px;
    max-width: 800px;
}

.icon-card .icon-contain {
    min-width: 132px;
    width: 132px;
    height: 132px;
    background: #FFFFFF;
    box-shadow: 0px 0px 22px rgba(41, 47, 58, 0.147399);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.callout-widget {
    background: #FFFFFF;
    display: flex;
    align-items: center;
    max-width: 808px;
    border-radius: 16px;
    padding: 40px;
    margin: auto;
}

.callout-widget p {
    color: #112867;
    font-size: 18px;
    padding-left: 30px;
}

.callout-widget span img {
    min-width: 60px;
}

.footer-pill {
    margin-top: 80px;
}

.footer-pill span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-pill p {
    font-size: 18px;
    color: #112867;
}

.footer-pill a {
    color: #4155FF;
    text-decoration: none;
}

.features-section h3 {
    padding-top: 25px;
    font-size: 34px;
    padding-top: 20px;
}

.features-section p {
    font-size: 18px;
}

.features-section .columns {
    align-items: flex-start;
}

/* --- Media Queries -------------------- */
@media all and (max-width: 1060px) {
    #hero .columns.center-vertical.card-columns {
        flex-direction: column;
    }

    .panel.hero-panel {
        width: 100%;
        max-width: 100%;
        margin-top: 40px;
        text-align: center;
    }

    #hero .hero-panel a.button {
        width: 100%;
        max-width: 300px;
    }

    #hero.section {
        padding-bottom: 80px;
        padding-top: 140px;
    }

    #hero .columns.center-vertical.card-columns .column:last-child {
        width: revert;
    }

}

@media all and (max-width: 960px) {}

@media all and (max-width: 768px) {
    .hero-card {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    #hero.section {
        padding-top: 90px;
    }

    .hero-icon-container {
        height: 150px;
        width: 150px;
    }

    .inner-hero-icon {
        height: 90px;
        width: 90px;
    }

    .inner-hero-icon img {
        height: 22px;
    }

    .hero-right {
        padding-left: 0;
    }

    #hero p.hero-eyebrow:not(.logoPack p) {
        margin-top: 20px;
        margin-bottom: 0;
    }

    .callout-widget {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .callout-widget span {
        padding-bottom: 20px;
    }

    .callout-widget p {
        padding-left: 0;
        font-size: 16px;
    }

    #hero .columns.center-vertical.card-columns .column:first-child,
    #hero .columns.center-vertical.card-columns .column:last-child {
        padding: 0;
    }

    .text-card.icon-card {
        flex-direction: column;
        text-align: center;
    }

    .icon-card h2.why-choose-h2 {
        padding-left: 0;
        padding-top: 20px;
    }

    .features-section img {
        display: flex;
        margin: auto;
    }

    .features-section h3 {
        font-size: 22px;
        text-align: center;
    }

    .features-section p {
        font-size: 16px;
        text-align: center;
    }

    .icon-card .icon-contain {
        min-width: 110px;
        width: 110px;
        height: 110px;
    }

    .icon-card .icon-contain img {
        height: 22px;
    }

}

@media all and (max-width: 400px) {
    #hero.section .container h1 {
        font-size: 34px;
        padding-bottom: 15px;
    }
}