/* ==========================================================================
   MAIN CSS - NON-CRITICAL STYLES
   ========================================================================== */

/* ==========================================================================
   Extended Utility Classes
   ========================================================================== */

.color-green {
    color: var(--color-green);
}

.color-blue {
    color: var(--color-blue);
}

.bgcolor-green {
    background-color: var(--color-green);
}

.bgcolor-blue {
    background-color: var(--color-blue);
}

.small-btn {
    text-decoration: none;
    font-size: 1.125rem;
}

.call-cta {
    font-weight: 700 !important;
    color: var(--color-blue) !important;
    line-height: 1 !important;
}

.call-cta a {
    display: block;
    font-size: 1.125rem;
    font-weight: 600 !important;
    text-decoration: none;
    margin-top: 0.3125rem;
    transition: 0.4s all;
}

.call-cta a:hover {
    color: var(--color-green);
}

.call-cta a:hover .icon path {
    fill: var(--color-green);
}

.call-cta .icon path {
    transition: 0.8s all;
    fill: var(--color-blue);
}

.call-cta .icon svg {
    width: 16px;
    height: 16px;
    margin-right: 0.375rem;
    position: relative;
    top: 2px;
}

/* ==========================================================================
   Extended Button Styles
   ========================================================================== */

.btn-outline:hover .icon path {
    fill: white;
}

.btn-outline:hover .icon-two svg path {
    fill: #fff;
}

.btn-outline .icon svg {
    width: 16px;
    height: 16px;
    margin-right: 0.375rem;
    position: relative;
    top: 1px;
}

.btn-outline .icon path {
    fill: var(--color-blue);
    transition: fill 0.3s ease;
}

.btn-outline .icon-two svg {
    margin-left: 0.625rem;
    max-width: 16px;
    transition: 0.3s all;
    position: relative;
    top: 3px;
}

.btn-outline .icon-two svg path {
    transition: all 0.3s ease;
    fill: var(--color-blue);
}

/* ==========================================================================
   Extended Header & Navigation
   ========================================================================== */

header .nav-desktop ul li .hovering-dropdown {
    color: var(--color-blue) !important;
}

header .nav-desktop ul li .hovering-dropdown svg path {
    fill: var(--color-blue) !important;
}

header .nav-desktop ul li a svg {
    transition: 0.7s all;
    position: relative;
    top: -1px;
    margin-left: 0.4375rem;
}

header .nav-desktop ul li a svg path {
    transition: 0.3s all;
}

header .nav-desktop ul li a .transform svg {
    transform: rotateX(180deg);
}

header .nav-desktop ul li a:hover svg path {
    fill: var(--color-blue);
}

header .nav-desktop ul li .dropdown a {
    position: relative;
    display: block;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eee;
    background: white;
    color: #000;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s;
}

header .nav-desktop ul li .dropdown a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #8EB84A, #0076B6);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
}

header .nav-desktop ul li .dropdown a:hover {
    color: #fff;
}

header .nav-desktop ul li .dropdown a:hover::before {
    animation: wipeIn 0.4s ease forwards;
}

header .nav-desktop ul li .dropdown a:last-of-type {
    border: 0;
    border-radius: 0 0 16px 16px;
}

header .nav-desktop ul li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

header .phone-number:before {
    inset: 2px;
}

/* ==========================================================================
   Mobile Navigation
   ========================================================================== */


.nav-mobile ul {
    list-style: none;
    margin-top: 2rem;
}

.nav-mobile ul li {
    margin-bottom: 0;
    background: #fff;
}

.nav-mobile ul li a {
    text-decoration: none;
    background: #fff;
    color: #33363D;
    display: block;
    padding: 0.35rem 1rem;
    font-size: 1.425rem;
    font-weight: 500;
}

.nav-mobile ul li a img {
    width: 20px;
    height: 16px;
    position: relative;
    top: 2px;
}

.nav-mobile hr {
    margin: 20px 16px;
}

.nav-mobile h2 {
    padding: 0 14px;
    font-weight: 600;
    color: var(--color-blue);
    margin-bottom: 8px;
}

.nav-mobile .mnav-bottom {
    margin: -1rem;
    background: #e1f5ff;
    padding: 1.25rem;
    text-align: center;
    margin-top: 2.5rem;
}

.nav-mobile .mnav-bottom a {
    padding: 0.5rem 1.6rem;
}

.nav-mobile .mnav-bottom strong {
    font-size: 1.1275rem;
    display: block;
    line-height: 1;
    font-weight: 600;
    margin-bottom: 8px;
    padding: 0 20px;
}

.nav-mobile .mnav-bottom .hrs {
    font-weight: 500;
    color: #888;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 3;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background: #343a40;
    color: var(--color-white);
    padding: 3rem 0 1rem;
}

footer .footer-content {
    display: grid;
    gap: 2rem;
}

footer .footer-content .footer-section p {
    color: #ADADAD;
    margin: 0 0 0.9375rem;
    line-height: 1.3;
    font-size: 1.125rem;
}

footer .contact-info p a {
    color: var(--color-white);
}

footer .contact-info p a:hover {
    color: var(--color-green);
}

footer .footer-content .footer-section h4 {
    color: var(--color-green);
    font-weight: 500;
    font-size: 1.25rem;
}

footer .footer-content .footer-section:first-of-type {
    width: 360px;
}

footer .footer-content .footer-section:first-of-type p {
    margin-top: 0.5rem;
    font-size: 1rem;
}

footer .footer-content .footer-section:first-of-type .btn-outline {
    color: #fff;
}

footer .footer-content .footer-section:first-of-type .btn-outline::before {
    background: #343a40;
}

footer .footer-content .footer-section:first-of-type .btn-outline path {
    fill: #b8df79;
}

footer .footer-content .footer-section:first-of-type .btn-outline:hover path {
    fill: #fff;
}

footer .footer-content .footer-section ul {
    list-style: none;
    margin-top: 0.9375rem;
}

footer .footer-content .footer-section ul li {
    margin-bottom: 0.5rem;
}

footer .footer-content .footer-section ul li a {
    text-decoration: none;
    color: #fff !important;
    font-weight: 400;
    font-size: 1.125rem;
    transition: 0.3s all;
}

footer .footer-content .footer-section ul li a:hover {
    color: var(--color-green)!important;
}

footer .footer-content .footer-section .contact-info {
    padding-top: 0.9375rem;
}

footer .footer-content .footer-section .contact-info p {
    margin-bottom: 0.5rem;
    color: #fff;
}

footer .footer-bottom {
    margin-top: 2rem;
    text-align: center;
    background: #41454C;
    border-radius: 20px;
    padding: 2.1875rem 1.5625rem;
}

footer .footer-bottom p {
    color: #ADADAD;
    font-size: 0.9rem;
    text-align: left;
    margin-bottom: 0.9375rem;
    line-height: 1.2;
}

footer .footer-bottom p span {
    color: #adadad;
}

footer .footer-bottom p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes wipeIn {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* ==========================================================================
   Extended Media Queries
   ========================================================================== */

/* Desktop Extended Styles */
@media screen and (min-width: 1024px) {
    .call-cta {
        font-size: 1.1875rem;
    }

    .call-cta a {
        font-size: 1.3125rem;
        padding-top: 0.25rem;
    }

    .call-cta .icon svg {
        width: 21px;
        height: 20px;
        top: 2px;
    }

    .btn-outline .icon svg {
        width: 18px;
        height: 18px;
        top: 2px;
    }

    footer .footer-content {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}