/* Global Footer Styles */
.global-footer {
    background-color: var(--white);
    padding: 5rem 0 2rem;
    border-top: 1px solid #eee;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.global-footer .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.global-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

@media screen and (max-width: 768px) {
    .global-footer {
        padding: 3rem 0 2rem;
    }

    .global-footer .footer-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .global-footer .footer-company,
    .global-footer .footer-links,
    .global-footer .footer-contact {
        width: 100%;
        text-align: center;
        max-width: 100%;
    }

    .global-footer .footer-company {
        align-items: center;
    }

    .global-footer .footer-contact li {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }

    .footer-links h3,
    .footer-contact h3 {
        font-size: 1.4rem;
        margin-bottom: 1.25rem;
    }

    .footer-links a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        display: inline-block;
    }

    .footer-contact li {
        margin-bottom: 1.25rem;
    }

    .footer-contact i {
        font-size: 1.4rem;
        margin-top: 0;
    }

    .footer-contact a,
    .footer-contact address {
        font-size: 1.1rem;
    }

    .footer-links .footer-cta {
        font-size: 1.1rem;
        padding: 0.75rem 1.5rem;
        margin-top: 1rem;
    }

    .company-tagline {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .nmls {
        font-size: 1rem;
    }
}

/* Company Info */
.footer-company {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 300px;
}

.footer-company img {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.company-tagline {
    color: #666;
    margin-bottom: 0.5rem;
}

.nmls {
    color: var(--text-color);
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Quick Links */
.footer-links h3,
.footer-contact h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #444;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-links .footer-cta {
    display: inline-block;
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-top: 0.5rem;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.footer-links .footer-cta:hover {
    background: var(--secondary-color);
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(190, 11, 49, 0.3);
}

/* Contact Info */
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.footer-contact a {
    color: #444;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-contact address {
    font-style: normal;
    color: #444;
    line-height: 1.5;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-color);
    font-size: 0.875rem;
    opacity: 0.8;
    margin: 0;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-legal-links a:hover {
    color: var(--primary-color);
}

.footer-legal-links .separator {
    color: #999;
    font-size: 0.875rem;
}

/* Footer Disclaimer */
.footer-disclaimer {
    margin-top: 2rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #666;
    text-align: justify;
}

.footer-disclaimer a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-disclaimer a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 480px) {
    .global-footer {
        padding: 3rem 0 2rem;
    }

    .global-footer .container {
        padding: 0 1.25rem;
    }

    .footer-grid {
        gap: 3rem;
    }

    .footer-company img {
        max-width: 180px;
    }

    .footer-bottom {
        margin-top: 2rem;
    }

    .footer-bottom p {
        font-size: 1rem;
    }
}

/* Mobile responsive for footer bottom */
@media screen and (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-legal-links {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .footer-legal-links .separator {
        display: none;
    }
    
    .footer-legal-links a {
        padding: 0.25rem 0;
    }
} 