@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

:root {
    --color-primary: #3DBDEE;
    --color-secondary: #2181BF;
    --color-text: #2193BF;
    --color-text-light: #ffffff;
    --color-text-dark: #333333;
    --color-text-light-blue: #7AADDE;
    --color-gray: #636363;
    --font-main: 'Inter', sans-serif;
    --spacing-unit: 1rem;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Sticky footer bar */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, #36a8df, #6bc0ef);
    padding: 12px 0;
    z-index: 9999;
}

/* Hide animation when footer is reached */
.sticky-footer-hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

/* Badge sizing */
.footer-badge {
    object-fit: contain;
    height: 9vw;
    max-height: 85px;
    margin: 0px 10px;
}

/* Add page bottom padding so content doesn't hide behind footer */
body {
    font-family: var(--font-main);
    font-weight: 400;
}

/* header and footer */
ul {
    padding-left: 0px;
}

.text-primary {
    color: var(--color-text) !important;
}

.text-gray {
    color: var(--color-gray) !important;
}

.tesxt-light {
    color: var(--color-text-light) !important;
}

.text-light-blue {
    color: var(--color-text-light-blue) !important;
}

#header {
    height: 11rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

img[src$="menu-logo-white.png"] {
    display: none !important;
}

.hero-header {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
}

.nav-logo .nav-logo-l {
    max-height: 60px !important;
}

.ofeature {
    font-size: 20px;
}

.logos-header {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

    .logos-header:has(img[src$="menu-logo-white.png"]) {
        justify-content: center;
    }

    .logos-header img,
    .logos-header a img {
        max-height: 60px;
        width: auto;
        height: auto;
    }

.footer {
    background: linear-gradient(0deg, var(--color-secondary) 0%, var(--color-primary) 68.75%);
    padding: calc(var(--spacing-unit) * 3.5) 0;
    color: var(--color-text-light);
    font-family: var(--font-main);
    font-weight: 300;
    text-align: center;
}

.footer-content {
    padding-bottom: calc(var(--spacing-unit) * 2);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: calc(var(--spacing-unit) * 0.5) calc(var(--spacing-unit) * 1.5);
}

.footer-nav li a {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    transition: opacity 0.3s;
}

    .footer-nav li a:hover {
        opacity: 0.8;
    }

.footer-nav li:not(:last-child)::after {
    content: '|';
    margin-left: calc(var(--spacing-unit) * 1.5);
    color: var(--color-text-light);
    opacity: 1;
    display: inline-block;
    transform: scaleY(2);
}

.footer-info {
    margin-top: calc(var(--spacing-unit) * 2.5);
    font-size: 1.125rem;
    line-height: 1.6;
    padding-inline: 2rem;
}

.footer-copyright p {
    font-size: 1.125rem;
    font-weight: 400;
}

/* END header and footer */

.background-gray {
    background: linear-gradient(180deg, #F2F2F2 0%, rgba(242, 242, 242, 0) 100%);
}

h1 {
    font-family: var(--font-main);
    font-weight: 800;
    color: var(--color-text);
    font-size: 3.6rem;
    line-height: 100%;
    margin: 2rem auto !important;
}

h2 {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 2rem;
}

h5 {
    color: #7AADDE;
    font-weight: 700;
    font-size: 1.5rem;
}

.info-block p {
    font-weight: 300;
    color: #636363;
    font-size: 1rem;
}

.custom-hr {
    width: 40%;
    max-width: 150px;
    border-top: 1px solid black;
    margin: .8rem auto;
    opacity: 1;
}

.transunion-score-img {
    max-width: 400px;
}

.text-justify {
    text-align: justify;
}

.get-score {
    color: white;
    border-radius: 10px;
    background-color: var(--color-primary);
    box-shadow: 4px 7px 15px 0px #2193BF80;
    border: none;
    text-decoration: none;
}

.separator {
    background-color: #2193BF;
}

.separator p {
    color: white;
    font-size: 1.5rem;
    font-weight: 500;
    padding-block: 0.8rem
}

.service-thumb img {
    max-width: 510px;
}

.brand-svg {
    max-width: 136.87px;
    width: 100%; /* lets it shrink on small screens */
    height: auto; /* preserve aspect ratio */
    display: block; /* with mx-auto to center */
}

.service-list > li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.media-body {
    flex: 1;
    padding-left: 10px;
}

    .media-body p {
        font-weight: 400;
        font-size: 1.5rem;
    }

.service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .3s ease 0s;
}

    .service-icon img {
        width: 76px;
        height: auto;
        display: block;
    }

#section-2 .get-score {
    margin-top: 30px;
}

#section-3 {
    background: linear-gradient(180deg, #35ABE0 0%, #2193BF 100%);
}

#section-3 {
    padding-block: 50px;
    color: white;
    font-size: 1.5rem;
    font-weight: 400;
}

    #section-3 .title-section {
        font-size: 2rem;
        font-weight: 700;
    }

.faq-container {
    margin: auto;
    border: 2px solid #87CEEB;
    border-radius: 20px 20px 0px 0px;
    padding: 40px;
    background-color: #fff;
    position: relative;
}

.faq-header {
    display: inline-block;
    background-color: #2E9CCA;
    color: white;
    padding: 10px 30px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.25rem;
    position: absolute;
    top: -25px;
    left: 40px;
}

.accordion {
    --bs-accordion-border-color: #2193BF;
    --bs-accordion-border-radius: 15px;
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-active-color: #0c5460;
    --bs-accordion-active-bg: #e7f5ff;
    font-size: 1.3rem;
    font-weight: 400;
}

.accordion-item {
    margin-bottom: 1rem;
    border: 1px solid var(--bs-accordion-border-color) !important;
    border-radius: var(--bs-accordion-border-radius) !important;
    box-shadow: 3px 3px 3px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    color: #414040 !important;
}

    .accordion-item:last-of-type {
        margin-bottom: 0;
    }

.accordion-header {
    max-width: unset !important;
}

.accordion-button {
    color: #414040;
    font-size: 1.3rem;
}

    .accordion-button:not(.collapsed) {
        color: #2193BF;
        background-color: var(--bs-accordion-active-bg);
        font-weight: 700;
        box-shadow: unset !important;
    }

    .accordion-button::after {
        flex-shrink: 0;
        width: 2rem;
        height: 2rem;
        margin-left: auto;
        content: '';
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232E9CCA'%3e%3cpath fill-rule='evenodd' d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3e%3cpath d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-size: 2rem;
        transition: transform 0.2s ease-in-out;
    }

    .accordion-button:not(.collapsed)::after {
        transform: rotate(-180deg);
    }

.accordion-collapse {
    background-color: var(--bs-accordion-active-bg);
}

.rounded-4 {
    border-radius: var(--bs-border-radius-xl) !important;
}

.subHeader-section-desktop{
    display: block;
}
.subHeader-section-mobile{
    display: none;
}

/* Grow Credit Theme */
.header1-gc{
    color: #79A471 !important;
}

.btn-gc{
    background-color: #c96b6b !important;
    box-shadow: 4.08px 4.89px 9.05px 0px #C96B6B52;
}

.footer-gc {
    background: linear-gradient(to top, #79A471, #9fCB96) !important;
}

.separator-gc{
   background: #79A471 !important;
}

.faq-container-gc {
    border: 3px solid #b8adc7 !important;
    border-bottom: #fff !important;
}

.faq-header-gc{
    background: #473560 !important;
}

.acd-item-gc { /* accordion-item */
    border-color: #473560 !important;
}

.acd-btn-gc, /* accordion-button */
.header2-gc, 
.form-header-gc > h4, 
.form-header-gc > p{ 
    color: #473560 !important;
}

.acd-btn-gc:not(.collapsed), 
.acd-collapse-gc.collapse.show { /* accordion-collapse */
    background: #4735601A !important;
}

.acd-btn-gc::after{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23473560'%3E%3Cpath fill-rule='evenodd' d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
}

.reg-form-gc{
    border-color: #79A471 !important;
}

.emphasis-gc{
    color: #79A471 !important;
}
/* End Grow Credit Theme */


@media (max-width: 991.98px) {
    .mobile-padding-list {
        padding-inline: 100px;
    }

    #section-2 .get-score {
        margin-top: 0px;
    }

    .service-list {
        padding-top: 20px;
    }

    h1 {
        font-size: calc(1rem + 3vw) !important;
    }
}

@media (max-width: 767.98px) {
    #header {
        height: 7rem;
    }

    .transunion-score-img {
        max-width: 200px;
    }

    .mobile-padding-list {
        padding-inline: 50px;
    }

    .nav-logo {
        width: 80%;
    }

    .subHeader-section-desktop{
        display: none;
    }
    .subHeader-section-mobile{
        display: block;
    }
        .subHeader-section-mobile > div:first-child{
            flex-direction: column !important;
        }
    
    .ofeature {
        font-size: calc(9px + 1.6vw);
    }

}

.brand-img {
    max-width: 120px;
    height: 120px;
    object-fit:contain;
}

.container-width {
    max-width: 1308px;
}

@media (min-width: 768px) {
    .border-md-end {
        border-right: 1px solid black !important;
    }
    .p-end-10 {
        padding-right: 10% !important;
    }
}

@media (max-width: 575.98px) {
    /* header and footer */
    #header {
        height: 5rem;
    }

    .footer-nav li a {
        font-size: 1rem;
    }

    .footer-info,
    .footer-copyright p {
        font-size: 0.875rem;
    }

    /* END header and footer */

    .get-score {
        font-size: 0.9rem;
    }

    h1 {
        margin: 1.5rem auto !important;
    }

    h2 {
        font-size: 1rem;
    }

    h5 {
        font-size: 0.9rem;
    }

    .info-block p {
        font-size: calc(0.5rem + 1vw);
    }

    .separator p {
        font-size: 0.8rem;
        padding-inline: 10px;
    }

    .mobile-padding-list {
        padding-inline: 30px;
    }

    .media-body p {
        font-size: 0.9rem;
    }

    .service-icon img {
        width: 34px;
    }

    #section-3 {
        font-size: 0.9rem;
    }

        #section-3 .title-section {
            font-size: 1.3rem;
        }

        #section-3 img {
            max-width: 120px;
        }

        #section-3 p {
            margin-inline: 20px;
        }

    .accordion-button, .accordion {
        font-size: 0.9rem;
    }

    .nav-logo-l {
        max-height: 70px;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .footer-badge {
       /* margin: 0px 1.5vw;*/ 
    }
}

/* Smartphones */
@media (max-width: 768px) {
    .footer-badge {
        margin: 0px 0.5vw;
    }
}

/* Small phones (iPhone SE, etc.) */
@media (max-width: 480px) {
        .footer-badge {
        height: 10vw;
    }
}
