/*
 * Theme Name: Understrap Child
 * Theme URI: https://understrap.com
 * Description: Child theme for Understrap
 * Template: understrap
 * Version: 1.0.0
 * License: GPL v3 or later
 * License URI: https://www.gnu.org/licenses/gpl-3.0.html
 * Text Domain: understrap-child
 * Domain Path: /languages
 */

@import url("../understrap/style.css");

/***** Global Styles ******/

body {
    font-family: "DM Sans", sans-serif;
}

/***** Full Width Landing template: overlay transparent nav on hero only. ******/
.page-template-fullwidthlanding #wrapper-navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
}

.page-template-fullwidthlanding #main-nav {
    background-color: transparent;
}

.page-template-fullwidthlanding #main-nav.navbar,
.page-template-fullwidthlanding #main-nav.bg-primary {
    background-color: transparent !important;
    box-shadow: none;
}

.page-template-fullwidthlanding #main-nav .nav-link,
.page-template-fullwidthlanding #main-nav .navbar-brand,
.page-template-fullwidthlanding #main-nav .navbar-toggler {
    color: #f8f9fa;
}

.page-template-fullwidthlanding #main-nav .navbar-toggler {
    border-color: rgba(248, 249, 250, 0.65);
}

/***** Hero Section Background ******/

#hero-section {
    background-image: url('../../uploads/2026/06/hero-bg-image-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    isolation: isolate;
    width: 100%;
    padding: 140px 0 80px;
    color: #F8F9FA;
}

#hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(17, 27, 66, 0.45);
    z-index: 0;
}

#hero-section > .container {
    position: relative;
    z-index: 1;
}
#partner-page #hero-section {
    padding-top: 80px;
}
#partner-page #hero-section::before {
    background-color: rgba(17, 27, 66, 0.75);
}
#partner-page #hero-section h1 {
    margin-bottom:1rem;
}
#partner-page #hero-section h3 {
    margin-bottom:2.5rem;
}

/***** Steps Section Background ******/

.steps-bg-section {
    background-image: url('../../uploads/2026/06/bg-image-steps-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    isolation: isolate;
    width: 100%;
}

.steps-bg-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #1E2B37;
    opacity: 0.57;
    z-index: 0;
}

.steps-bg-section > .container {
    position: relative;
    z-index: 1;
}

/***** Navigation Styles ******/

#menu-item-22 a {
    border-radius: 8px;
    background: #3353C6;
    padding: 12px 28px;
    width: fit-content;
    color: #FFF;
}

/****** Hero Section Styles ******/

.eyebrow-label {
    color: #FF7D5C;
    font-size: 20px;
    padding: 0.25rem 0.5rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-headline {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 32px;
}
.hero-paragraph {
    font-size: 22px;
    line-height: 30px;
}
.hero-badges {
    margin-bottom: 30px;
}
.hero-badge {
    background-color: #C4CDF0;
    color: #1D2F6F;
    padding:  12px 24px;
    border: 2px solid #1D2F6F;
    border-radius: 50px;
    max-width: fit-content;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
/***** WPForms Styles ******/

.wpforms-container {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.40);
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
}

#wpforms-27-field_11 h1{
    font-size: 32px;
}

.hero-form-wrap .wpforms-container {
    width: 100%;
    border-radius: 24px;
    margin-bottom: 0;
}

.hero-form-column {
    padding-left: 0;
    padding-right: 0;
}

.hero-form-wrap {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.wpforms-container {
    padding: 36px 32px;
}

.wpforms-container .wpforms-field-medium {
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.18);
    min-height: 56px;
    width: 100%;
    padding: 12px;
    color: #FFF;
}
.wpforms-layout-row input {
    margin-bottom: 16px;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
#wpforms-27-field_7-container {
    padding-bottom: 20px;
}
select {
    color: rgba(255, 255, 255, 0.7);
}

select option {
    color: #111B42;
    background-color: #FFFFFF;
}

select option[disabled] {
    color: #6c757d;
}

.wpforms-container .wpforms-field-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.wpforms-container .wpforms-field-container > .wpforms-field {
    width: 100%;
}

#wpforms-27-field_4-container,
#wpforms-27-field_5-container {
    width: calc(50% - 8px);
}

.wpforms-submit-container button[type="submit"] {
    background-color: #FF7D5C;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 12px;
    width: 100%;
    padding: 22px;
    border: none;
}
.wpforms-field-checkbox .wpforms-field-label {
    color: #FFF;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    display: inline-block;
    margin-bottom: .5rem;
}
.wpforms-field-checkbox ul {
    list-style: none;
    padding-left: 0;
}
.wpforms-field-checkbox input {
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.18);
    box-sizing: border-box;
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.5rem;
    padding: 0;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    transition: outline 0.1s;
    color: #FFF;
}
.wpforms-field-checkbox input::before {
    width: 100%;
    height: 100%;
    content: " ";
}
.wpforms-field-checkbox input:checked::before {
    content: "\2713";
    margin-left:5px;
}
.privacy-notice {
    color: rgba(255, 255, 255, 0.60);
    text-align: center;
    font-size: 13px;
}

/***** Steps Section Styles ******/

#steps-section h2 {
    font-size: 42px;
    color: #FFF;
    font-weight: 700;
} 

.steps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 32px;
    margin-bottom: 40px;
}
.step-box {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
    padding: 28px;
    width: 100%;
}
.step-box .step-num {
    color: rgba(232, 112, 74, 0.90);
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 16px;
}
.step-box h3 {
    font-size: 22px;
    color: #FFF;
    margin-bottom: 16px;
}
.step-box p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0;
}

/***** Testimonials Section Styles ******/

#testimonials-section .swiper-button-next,
#testimonials-section .swiper-button-prev {
    color: #55779A;
    --swiper-navigation-size: 22px;
}

#testimonials-section .swiper {
    margin: 100px 0 40px;
}

#testimonials-section .testimonials-swiper .swiper-slide {
    display: flex;
    justify-content: center;
}

#testimonials-section .testimonial-card {
    width: 90%;
    box-sizing: border-box;
    text-align: center;
    font-size: 42px;
    color: #1D2F6F;
    font-weight: 700;
}

#testimonials-section .swiper-button-next::after,
#testimonials-section .swiper-button-prev::after {
    font-size: 22px;
}

/***** Meet the Team Section Styles ******/

#meet-the-team-section {
    padding: 56px 0;
    background-color: #F1F4F5;
}

#meet-the-team-section h2 {
    font-size: 42px;
    color: #000;
    font-weight: 700;
    margin-bottom: 32px;
}

.team-cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 82px;
    margin: 40px auto;
    max-width: 300px;
}

.team-card {
    background: none;
}

.team-card-image {
    width: 100%;
    object-fit: cover;
    display: block;
}
.team-card-name,
.team-card-title {
    font-size: 22px;
    color: #1D2F6F;
    font-weight: 600;
    margin-bottom: 0;
}

/***** Final CTA Section Styles ******/

#final-cta-section {
    background-color: #111B42;
    color: #FFF;
    padding: 56px 0;
    text-align: center;
}
#final-cta-section h3 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
}
#final-cta-section  p {
    font-size: 22px;
    margin-bottom: 30px;
    font-weight: 600;
}

#final-cta-section a.orange-button {
    background-color: #FF7D5C;
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 12px;
    display: block;
    max-width: fit-content;
    margin: auto;
}
/***** Responsive Styles ******/

@media (min-width: 768px) {
    #hero-section {
        padding-top: 176px;
    }

    .hero-form-column {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-form-wrap {
        width: auto;
        margin-left: 0;
        margin-right: 0;
    }
    .steps-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    .team-cards-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 100%;
    }

    .hero-badge {
        display: inline-block;
        margin-right: 16px;
    }
}

@media (min-width: 992px) {

    .hero-headline {
        font-size: 45px;
    }

    .hero-italic {
        font-style: italic;
    }
    .team-cards-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .steps-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
        margin-bottom: 94px;
    }

    .step-box {
        max-width: none;
        height: 100%;
    }

    #steps-section h2 {
        margin-bottom: 60px;
    }

    #meet-the-team-section h2 {
        margin-bottom: 120px;
    }

    .team-card-name, 
    .team-card-title {
        font-size: 26px;
    }

    #final-cta-section h3 {
        font-size: 72px;
        max-width: 820px;
        margin: 0 auto 30px;
    }

    #final-cta-section p {
        font-size: 34px;
        max-width: 520px;
        margin: 0 auto 42px; 
    }
}


/***** Footer Styles ******/
#wrapper-footer {
    background-color: #111B42;
}
.site-info {
    color: #55779A;
    font-size: 12px;
    border-top: 2px solid #1D2F6F;
    padding-top: 24px;

}
.footer-logo {
    text-align: center;
    margin-bottom: 24px;

    @media (min-width: 768px) {
        text-align: left;
    }
}
.copyright-text {
    text-align: center;

    @media (min-width: 768px) {
        text-align: left;
    }
}

/***** Partner Header ******/
.partner-header {
    background-color: #FFF;
    padding: 1.65rem 0;
}
.partner-header .row {
    align-items: center;
    justify-content: space-between;
}
.partner-header .partner-logo {
    text-align: center;
    margin-bottom: 1rem;
    @media (min-width: 768px) {
        text-align: left;
        margin-bottom: 0;
    }
}
.partner-header .partner-logo img {
    max-width: 250px;
    height: auto;
}
.partner-header .partner-info-container {
    display:flex;
    gap: 1rem;
    justify-content:center;
    flex-wrap: wrap;
    align-items: center;
    @media (min-width: 768px) {
        justify-content:flex-end;
     }
}
.partner-header .partner-info-container .partner-info {
    text-align: center;
    flex-grow: 1;
    width: 100%;
    @media (min-width: 768px) {
        width:auto;
        text-align: right;
    }
    
}
.partner-header .partner-info-container .agent-headshot {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    order: -1;
    @media (min-width: 768px) {
        order: 1;
        width:auto;
        text-align: right;
    }
}
.partner-header .partner-info p {
    margin-bottom: 0;
}