h1,
h2,
h3,
h4,
h5 {
    text-transform: uppercase;
    margin-bottom: 0;
}

li, p {
    font-family: 'Open Sans';
    margin-bottom: 0;
}

#loan #hero-section {
    background-position: 100% 75%;
    background-repeat: no-repeat;
    background-size: cover;
    height: 700px;
    position: relative;
}

#loan .hero-section-text {
    position: absolute;
    bottom: 0;
    background-color: rgb(3,44,76);
    padding: 45px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#loan .hero-section-text-content p {
    color: white;
    text-align: center;
    font-size: 16px;
}

#loan .hero-section-text-content h1 {
    color: white;
    text-align: center;
    font-size: 35px;
    font-weight: 700;
}

#loan .hero-section-text-content {
    width: 60%;
}

#loan .hero-section-text-content a {
    color: #5DAAD5;
}

#loan .hero-section-text-content a:hover {
    color: #F7E353;
}

#loan #financing {
    display: flex;
    align-items: center;
    justify-content: center;
}

#loan .financing-content {
    width: 60%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 0;
    border-bottom: 2px solid #F7E353;
}

#loan .financing-left {
    width: 47%;
    margin-right: 25px;
}

#loan .financing-left h3 {
    font-size: 28px;
    font-weight: 700;
    color: #002b49;
    width: 325px;
    padding: 15px 0;
}

#loan .financing-left p {
    padding-bottom: 10px;
    font-size: 18px;
    color: #444444;
}

#loan .financing-right {
    width: 51%;
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
}

#loan .financing-right img {
    aspect-ratio: 16 / 9;
}

@media screen and (min-width: 769px) {
    #loan .financing-right img {
        aspect-ratio: 4 / 3;
    }
}

#loan #insurance {
    display: flex;
    align-items: center;
    justify-content: center;
}

#loan .insurance-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 60%;
    padding: 50px 0;
    border-bottom: 2px solid #F7E353;
}

#loan .insurance-left {
    width: 51%;
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
}

#loan .insurance-left img {
    aspect-ratio: 16 / 9;
}

#loan .insurance-right {
    width: 47%;
    margin-left: 25px;
}

#loan .insurance-right a {
    color: #5DAAD5 !important;
}

#loan .insurance-right a:hover {
    color: #F7E353 !important;
}

#loan .insurance-right h3 {
    padding: 15px 0;
    font-size: 28px;
    font-weight: 700;
    color: #002b49;
}

#loan .insurance-right p {
    padding-bottom: 10px;
    font-size: 18px;
    color: #444444;
}

#loan #warranty {
    display: flex;
    align-items: center;
    justify-content: center;
}

#loan .warranty-content {
    width: 60%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 0;
}

#loan .warranty-left {
    width: 47%;
    margin-right: 25px;
}

#loan .warranty-left h3 {
    font-size: 28px;
    font-weight: 700;
    color: #002b49;
    width: 325px;
    padding: 15px 0;
}

#loan .warranty-left p {
    padding-bottom: 10px;
    font-size: 18px;
    color: #444444;
}

#loan .warranty-right {
    width: 51%;
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
}

#loan .warranty-right img {
    aspect-ratio: 16 / 9;
}

@media screen and (min-width: 769px) {
    #loan .warranty-right img {
        aspect-ratio: 4 / 3;
    }
}

/*//////////////////////////////////////*/
/* Representatives section styles start */
/*//////////////////////////////////////*/
#loan #customer-service {
    background-color: rgb(3,44,74);
    display: flex;
    align-items: center;
    justify-content: center;
}

#loan #customer-service .customer-service-content {
    width: 60%;
    padding: 75px 0;
}

#loan #customer-service .customer-service-header p {
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-align: center;
}

#loan .customer-service-repeater {
    padding-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 25px;
    row-gap: 50px;
    justify-content: center;
}

#loan .customer-service-repeater .representative-card {
    width: 275px;
    margin: auto;
    background-color: white;
}

#loan .customer-service-repeater .representative-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

#loan .representative-card-header {
    height: 250px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#loan .customer-service-repeater .representative-card-header img {
    width: 100%;
}

#loan .customer-service-repeater p {
    text-align: center;
    margin-bottom: 0;
}

#loan .customer-service-repeater .name-location {
    padding: 15px 0;
}

#loan .customer-service-repeater .name-location p {
    color: #5DAAD5;
    font-weight: 700;
    font-size: 14px;
}

#loan .customer-service-repeater p.phone-number-text a {
    display: block;
    color: rgb(2,43,73);
    font-weight: 700;
    font-size: 15px;
    padding-bottom: 15px;
}

#loan .customer-service-repeater p.phone-number-text a:hover {
    color: #5DAAD5;
}
/*//////////////////////////////////////*/
/* Representatives section styles ended */
/*//////////////////////////////////////*/


#loan #closing-services-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
}

#loan .closing-services-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 60%;
    padding: 50px 0;
}

#loan .closing-services-bottom-left {
    width: 51%;
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
}

#loan .closing-services-bottom-left img {
    aspect-ratio: 16 / 9;
}

@media screen and (min-width: 769px) {
    #loan .closing-services-bottom-left img {
        aspect-ratio: 4 / 3;
    }
}

#loan .closing-services-bottom-right {
    width: 47%;
    margin-left: 25px;
}

#loan .closing-services-bottom-right h3 {
    padding: 15px 0;
    font-size: 28px;
    font-weight: 700;
    color: #002b49;
}

#loan .closing-services-bottom-right p {
    padding-bottom: 10px;
    font-size: 18px;
}

#loan .closing-services-bottom-right li {
    padding-bottom: 10px;
    font-size: 18px;
    color: #444444;
}

#loan #loan-counter-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#loan #loan-counter-button .loan-counter-button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
}

#loan #loan-counter-button a.loan-counter-button {
    display: flex;
    justify-content: center;
    border: 2px solid #5DAAD5;
    border-radius: 5px;
    padding: 5px 10px;
}

#loan #loan-counter-button .loan-counter-button-text p {
    margin-bottom: 0;
    padding-bottom: 0;
}

#loan #loan-counter-button a img {
    vertical-align: middle;
    width: 50px;
    margin-right: 10px;
}

@media(min-width: 2400px) {
    #loan .financing-content, #loan .insurance-content, #loan .warranty-content, #loan #customer-service .customer-service-content, #loan .closing-services-bottom-content{
        width: 1475px;
    }
}

@media(max-width: 1300px) {
    #loan .hero-section-text-content, #loan .financing-content, #loan .financing-content, #loan .insurance-content, #loan .warranty-content, #loan .customer-service-content, #loan .closing-services-bottom-content {
        width: 80%;
    }

    #loan .customer-service-repeater .representative-card {
        width: 100%;
    }

    #calculator #hero-section {
        background-position: 50% 250%!important;
        height: 640px!important;
    }
}

@media(max-width: 1200px) {
    #loan .customer-service-repeater {
        grid-template-columns: 1fr 1fr;
    }

    #loan .customer-service-repeater .representative-card {
        width: 275px;
    }
}

@media(max-width: 1024px) {
    #loan #hero-section {
        height: 550px;
    }

    #loan .hero-section-text {
        padding: 25px 0;
    }

    #loan .hero-section-text-content, #loan .financing-content, #loan .insurance-content, #loan .warranty-content, #loan .customer-service-content, #loan .closing-services-bottom-content {
        width: 90%;
    }

    #loan p  {
        font-size: 16px;
    }
}

@media(max-width: 768px) {
    #loan .customer-service-repeater {
        grid-template-columns: 1fr;
    }

    #loan #hero-section {
        height: 450px;
    }

    #loan .hero-section-text-content h1 {
        font-size: 28px;
    }

    #loan .customer-service-content {
        display: block;
    }

    #loan .hero-section-text-content, #loan .financing-content, #loan .insurance-content, #loan .warranty-content, #loan .closing-services-bottom-content {
        display: grid;
    }

    #loan .financing-left, #loan .insurance-right, #loan .warranty-left, #loan .closing-services-bottom-right {
        grid-row-start: 1;
        width: 100%;
        margin: 0;
    }

    #loan .financing-right, #loan .insurance-left, #loan .warranty-right, #loan .closing-services-bottom-left {
        grid-row-start: 2;
        width: 100%;
        margin: 0;
    }

    #loan .financing-left h3, #loan .financing-left, #loan .financing-right, #loan .insurance-left, #loan .insurance-right, #loan .warranty-left, #loan .warranty-right, #loan .closing-services-bottom-left, #loan .closing-services-bottom-right {
        width: 100%;
        margin: 0;
    }

    #loan #loan-counter-button {
        justify-content: center;
    }

    #loan #loan-counter-button .loan-counter-button-content {
        padding: 10px 0 35px 0;
    }
}

@media(max-width: 590px) {
    #loan .representative-card-header {
        height: 330px;
    }
}

@media(max-width: 559px) {
    #loan p, #loan .hero-section-text-content p, #loan .financing-left p, #loan .insurance-right p, #loan .warranty-left p, #loan .name-location p, #loan .phone-number p, #loan .closing-services-bottom-right p, #loan .closing-services-bottom-right li {
        font-size: 12px;
    }

    #loan h1, #loan .financing-left h3, #loan .insurance-right h3, #loan .warranty-left h3, #loan .name-location h3, #loan .phone-number h3, #loan .closing-services-bottom-right h3 {
        font-size: 24px;
    }
}

@media(max-width: 500px) {
    #loan #hero-section {
        background-position: 50% 75%;
    }
}

@media(max-width: 420px) {
    #loan #hero-section {
        background-position: 100% -60px;
        height: 450px;
    }

    #loan .hero-section-text {
        padding: 0;
    }

    #loan .hero-section-text-content {
        padding: 20px 0;
    }

    #loan .hero-section-text-content h1 {
        font-size: 24px;
    }

    #loan .financing-content, #loan .insurance-content, #loan .warranty-content, #loan .customer-service-content, #loan .closing-services-bottom-content {
        padding: 25px 0;
    }

    #loan #customer-service .customer-service-content {
        width: 90%;
        padding: 25px 0;
    }

    #loan #customer-service .customer-service-header p {
        font-size: 18px;
    }
}

@media(max-width: 368px) {
    #loan #hero-section {
        background-position: 100% -100px;
        height: 500px;
    }
}

@media(max-width: 360px) {
    #loan .warranty-left h3 {
        width: 275px;
    }
}