* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
}

html, body {
    width: 100%;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    scroll-behavior: smooth;
}

.container {
    max-width: 1140px;
    margin: 0px auto;
}

@media (min-width: 1024px) and (max-width: 1366px) {
    .container {
        padding: 0 15px;
    }
}
.header {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    position: fixed;
    background: linear-gradient(to bottom, rgba(77, 85, 88, 0.1), rgba(255, 255, 255, 1));
    background-color: var(--white);
    z-index: 999;
    top: 0;

    &.alternate {
        padding: 9px 0;
        .container {
            grid-template-columns: 76% 24%;
            position: relative;
        }
    }

    .container {
        display: grid;
        width: 100%;
        align-items: center;
        grid-template-columns: 70% 15% 15%;
    }

    .logo {
        text-align: center;
        max-width: 300px;
        height: auto;
    }

    > * {
        padding: 15px;
    }

    .menu-bars {
        text-align: right;
        cursor: pointer;

        img {
            width: 31px;
        }
    }

    .phone-button {
        .box {
            text-align: center;
            background: var(--primary-blue);
            padding: 7px 4px;
            border-radius: 5px;
            width: 32px;
            margin-left: auto;
            position: relative;
            top: -1px;
        }

        i {
            color: var(--white);
        }
    }

    .call-container {
        .phoneButton {
            font-size: 16px;
            padding: 7px 10px 14px;
        }

        .dropdown-call {
            a {
                font-size: 16px;
            }
            span {
                font-size: 16px;
                display: block;
            }
        }
    }
}

.mobile {
    position: fixed;
    background: #fff;
    background-image: url('/images/svg/mesh-gradient-bg-mobile.svg');
    background-size: cover;
    width: 86%;
    height: 100vh;
    top: 0;
    left: -100%;
    padding: 15px 40px 140px;
    overflow-y: auto;
    transition: left 0.3s ease-in-out;
    z-index: 9999;

    .call-container {
        .phoneButton {
            border-radius: 0;
        }

        .dropdown-call {
            bottom: 100%;
            left: 0;
            border-radius: 0;
            padding: 20px 20px 20px 20px;
            transform: scaleY(0);
            transform-origin: bottom;
            top: auto;
            transition: opacity 0.3s ease, transform 0.3s ease;
            width: 100%;
            z-index: 2;

            a {
                font-size: 17px;
            }

            span {
                font-size: 17px;
            }
        }
    }

    img {
        max-width: 210px;
        padding-top: 4px;
    }

    .accordion {
        padding: 13px 0 31px;
        border-bottom: 1px solid #4d555854;
        border-radius: 0;

        h2 {
            text-transform: uppercase;
            font-size: 1.125rem;
            font-weight: 600;
        }

        &:first-of-type {
            margin-top: 37px;
        }

        .accordion-body {
            span {
                text-transform: uppercase;
                color: #abaaaa;
                font-size: 1rem;
                font-weight: 400;
            }

            ul {
                padding: 18px 0 0;
                li a {
                    font-size: 1.325rem;
                    padding: 5px 0px;
                    display: block;
                    font-weight: 600;
                }
            }

        }
    }

    .bottom-links {
        position: absolute;
        bottom: 0;
        width: 100%;
        left: 0;

        a {
            border-radius: 0;
        }
        .hours {
            padding: 11px;
            text-align: center;
            font-size: 1rem;
            line-height: 1;
            font-weight: 500;

            span {
                display: block;
            }
        }
    }
}

@media screen and (max-width: 415px) {
    .mobile {
        padding: 15px 40px 0px;
    }
    .nav-wrapper {
        max-height: 490px;
        overflow: auto;
    }
}

.mobile.active {
    left: 0;
}

.mobile-overlay {
    background: #4d5558cf;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    display: none;
    .close {
        position: absolute;
        right: 17px;
        top: 17px;
        img {
            width: 22px;
            margin-top: 3px;
        }
    }
}

.mobile-overlay.active {
    display: block;
}

.scrolled {
    background: #fff;
    transition: 0.3s all;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.phoneButton {
    cursor: pointer;
    z-index: 3;
    position: relative;
}

.call-container {
    position: relative;
}

.dropdown-call {
    position: absolute;
    top: 100%;
    left: 0;
    border-radius: 0px 0 20px 20px;
    padding: 40px 20px 20px 20px;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: opacity 0.3s ease, transform 0.3s ease;
    width: 100%;
    border: 0;
    margin-top: -27px;
    z-index: 2;
    &.show-call {
        opacity: 1 !important;
        transform: scaleY(1) !important;
    }
    a {
        display: block;
        text-decoration: none;
        font-weight: 500;
        font-size: 18px;
        padding: 5px 5px 5px 50px;
        transition: 0.3s all;
        position: relative;

        &:before {
            content: '\F5BC';
            font-family: 'bootstrap-icons';
            position: absolute;
            left: 10px;
            top: 6px;
            font-size: 1.25rem;
        }

        span {
            text-transform: uppercase;
            font-size: 17px;
            font-weight: 700;
            padding-right: 3px;
        }

        &:first-child {
            margin-bottom: 7px;
        }

        &:hover {
            background-color: #fff;
            border-radius: 10px;
        }
    }
}

.blue-call {
    background-color: #e7f4ff;
    a {
        color: var(--primary-blue);
        font-weight: 500;
        font-size: 18px;
        padding: 5px 5px 5px 50px;
        transition: 0.3s all;
        position: relative;

        span {
            color: var(--primary-blue);
        }

        &:hover {
            background-color: #ffffff;
            border-radius: 10px;
        }
    }
}

.green-call {
    background-color: #f6ffe7;

    a {
        color: var(--primary-green);
        font-weight: 500;
        font-size: 18px;
        padding: 5px 5px 5px 50px;
        transition: 0.3s all;
        position: relative;

        span {
            color: var(--primary-green);
        }

        &:hover {
            background-color: #ffffff;
            border-radius: 10px;
        }
    }
}

.hidden-call {
    display: none;
}

@media screen and (min-width: 1024px) {
    .header {
        > * {
            padding: 5px 0;
        }

        .button-top {
            position: absolute;
            left: -179px;
            width: 160px;
            line-height: 1;
            top: 6px;
            text-align: right !important;
            strong {
                color: #8dbd3f !important;
            }
        }

        .call-wrap {
            padding: 14px 0;
            .bold {
                font-weight: 700;
                color: var(--primary-green);
            }
            img {
                background: var(--primary-green);
                width: 22px;
                height: 22px;
                padding: 4px;
                border-radius: 100%;
                top: 4px;
                margin-right: 3px;
                position: relative;
            }
            strong {
                color: var(--primary-blue);
            }
            .dropdown {
                margin-left: auto;
                width: 229px;
                max-width: 100%;
                right: 0px;
                top: 75px;
                line-height: 1.2;
            }
        }


        .container {
            grid-template-columns: 27% 53% 20%;
            position: relative;
        }

        .call {
            font-size: 1.125rem;
            padding: 7px !important;
            span {
                font-size: 13px;
            }
            &:before {
                left: 6px;
                top: 0px;
                font-size: 1.15rem;
            }
        }

        nav {
            text-align: right;
            padding-right: 30px;
            display: flex;
            justify-content: end;
            gap: 35px;
            a {
                font-size: 18px;
                font-weight: 600;
                padding: 21px 0;
            }
            .subnav:after {
                content: '\F282';
                font-family: 'bootstrap-icons';
                font-size: 12px;
                padding-left: 9px;
            }
        }

        .subnav:hover + .dropdown, .dropdown:hover {
            opacity: 1;
            transform: translateY(0);
            visibility: visible;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .subnav:hover > .dropdown, .dropdown:hover {
            opacity: 1;
            transform: translateY(0);
            visibility: visible;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .dropdown {
            position: absolute;
            top: 67px;
            left: 0;
            background-color: white;
            width: 100%;
            border-radius: 15px;
            padding: 15px 30px;
            z-index: 1;
            border: 2px solid #4d5558;
            transition: 0.3s all;

            opacity: 0;
            transform: translateY(-20px);
            visibility: hidden;
            transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;

            &:before {
                content: "";
                position: absolute;
                width: 100%;
                height: 14px;
                top: -14px;
                left: 20px;
                background-image: url(/images/svg/arrow-dropdown.svg);
                background-repeat: no-repeat;
            }

            &.compare a:hover:before {
                top: 6px !important;
            }

            ul {
                list-style: none;
                li {
                    margin: 10px 0;
                    a {
                        color: var(--text-color);
                        text-decoration: none;
                        font-size: 1.15rem;
                        text-align: left;
                        display: block;
                        font-weight: 600;
                        padding: 0;
                        transition: all 0.2s;


                        &.no-arrow:before {
                            content:'';
                            display: none !important;
                        }

                        &.no-arrow:hover {
                            padding-left: 0 !important;
                        }

                        span {
                            font-weight: 500;
                            font-size: 1rem;
                        }

                        &:before {
                            opacity: 0;
                            transition: opacity 0.3s;
                        }

                        &:hover {
                            position: relative;
                            padding-left: 15px !important;

                            &:before {
                                content: '\F285';
                                font-family: 'bootstrap-icons';
                                font-size: 12px;
                                padding-left: 0;
                                position: absolute;
                                left: 0;
                                opacity: 1;
                                top: 28%;
                            }
                        }
                    }

                    .green {
                        color: var(--primary-green);
                    }

                    .blue {
                        color: var(--primary-blue);
                    }
                }
            }

            hr {
                padding: 2px 0;
                margin-top: 17px;
                border: 0;
                border-top: 1px solid #ccc;
            }
        }

        .compare {
            margin-left: auto;
            right: 332px;
            width: 310px;
            max-width: 100%;
        }

        .learn {
            display: grid;
            grid-template-columns: 50% 50%;
            text-align: left;
            margin-left: auto;
            width: 460px;
            max-width: 100%;
            right: 1px;

            span {
                text-transform: uppercase;
                font-weight: 600;
                font-size: 0.875rem;
            }

            ul {
                margin: 13px 0;
                &:last-of-type {
                    padding-left: 30px;
                }
                &:first-of-type {
                    border-right: 1px solid #ccc;
                    padding-right: 10px;
                }
                li:last-of-type {
                    margin-bottom: 0;
                }
            }
        }

        .company {
            margin-left: auto;
            width: 282px;
            max-width: 100%;
            right: 75px;
        }
    }
}

.footer {
    background: var(--light-gray);
    padding: 60px 35px 5px;
    z-index: 1;
    position: relative;
    .disclaimer p {
        font-size: 15px;
        color: #AFAFAF;
        margin-bottom: 5px;
        span {
            color: #afafaf;
            font-weight: 600;
        }
    }
    &.alternate {
        .container.navi {
            grid-template-columns: 30% 70%;
        }

        .cta {
            padding: 20px;
            background: #edf3f8;
            border-radius: 20px;
            h2 {
                font-size: 20px;
                color: var(--primary-blue);
            }
            p:last-of-type {
                margin-bottom: 0;
            }

            img {
                display: none;
            }
        }

        p {
            text-align: left;
        }
    }
    .call-container {
        .phoneButton {
            font-size: 16px;
            padding: 7px 10px 14px;
        }

        .dropdown-call {
            a {
                font-size: 16px;
            }
            span {
                font-size: 16px;
                display: block;
            }
        }
    }

    .accordion-body {
        ul {
            margin-top: 10px;
        }

        a {
            color: #7d7d7d;
            font-weight: 600;
            display: block;
            padding: 4px 0;
            font-size: 1rem;
        }
    }
    .button {
        margin-bottom: 40px;
    }

    p {
        text-align: center;
        margin: 20px 0 30px;
    }

    .call {
        &:before {
            left: 4px;
            top: -1px;
            font-size: 1.50rem;
        }
    }

    .nav {
        margin-top: 8px;

        li {
            list-style-type: none;
        }

        h2 {
            font-size: 1.2rem;
            padding-bottom: 6px;
            border-bottom: 1px solid #ccc;
            margin-bottom: 12px;
        }

        a {
            display: block;
            margin-bottom: 9px;
            font-size: 1.125rem;
            transition: 0.3s all;

            &:hover {
                position: relative;
                padding-left: 15px !important;

                &:before {
                    content: '\F285';
                    font-family: 'bootstrap-icons';
                    font-size: 12px;
                    padding-left: 0;
                    position: absolute;
                    left: 0;
                    opacity: 1;
                    top: 28%;
                }
            }
        }
    }
    .nav.green {
        a {
            color: var(--primary-green);
        }

        h2 {
            color: var(--primary-green);
        }
    }
    .nav.blue {
        a {
            color: var(--primary-blue);
        }

        h2 {
            color: var(--primary-blue);
        }
    }
    .nav.gray {
        a {
            color: var(--text-color);
        }

        h2 {
            color: var(--text-color);
        }
    }
    .copyright {
        margin: 60px auto 0;

        p, a {
            font-size: 15px;
            color: #7d7d7d;
            font-weight: 300;
        }

        a {
            text-decoration: underline;
        }
    }
}

@media screen and (min-width: 820px) {
    .footer {
        img {
            max-width: 300px;
        }

        p {
            text-align: left;
        }
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .footer {
        img {
            max-width: 300px;
            margin: 0px auto;
            display: block;
        }

        p {
            text-align: center;
        }
    }
}

@media screen and (min-width: 1023px) {
    .footer {
        padding: 60px 35px 20px;

        &.alternate {
            .cta {
                display: grid;
                grid-template-columns: 20% 75%;
                gap: 5%;
                padding: 0;
                background:#f8f8f8;
            }

            img {
                display: block !important;
            }

            p {
                font-size: 1rem !important;
            }
        }

        .container.navi {
            display: grid;
            grid-template-columns: 31% 18% 18% 18%;
            gap: 5%;
        }

        p {
            font-size: 1.125rem;
        }

        .info {
            padding-right: 40px;
            border-right: 1px solid #ccc;
        }

        .copyright {
            display: grid;
            grid-template-columns: 60% 40%;
            margin: 100px auto 0;

            p:last-of-type {
                text-align: right;
            }

            p, a {
                font-size: 15px;
                color: #AFAFAF;
                font-weight: 300;
            }

            a {
                text-decoration: underline;
            }
        }
        .call {
            font-size: 1.1rem;

            span {
                font-size: 13px;
            }

            &:before {
                font-size: 22px;
                left: 3px;
                top: -2px;
            }
        }
    }
}

