/* ========================================================================= */
/* Footer Styles - Updated for Dark Purple Theme */
/* ========================================================================= */

.footer {
    background: #000000;
    padding: 40px 0;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

.footer .mobilefooter-info {
    flex: 1;
    min-width: 200px;
}

.footer .mobilefooter-info img {
    height: 40px;
    width: auto;
    margin-bottom: 2px;
}

.footer .mobilefooter-info p {
    color: #ffffff;
    font-size: calc(0.9rem * 1.2);
    line-height: 1.6;
}

.footer .social-icons a {
    color: #6b48ff !important;
    transition: color 0.3s ease;
}

.footer .social-icons a svg {
    fill: #6b48ff !important;
}

.footer .social-icons a:hover {
    color: #7c5aff !important;
}

.footer .social-icons a:hover svg {
    fill: #7c5aff !important;
}

.footer .footer-links {
    flex: 1;
    min-width: 150px;
}

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

.footer .footer-links ul li {
    margin-bottom: 5px;
    color: #ffffff;
}

.footer .footer-links ul li a {
    text-decoration: none;
    font-weight: 500;
    color: #ffffff !important;
    transition: color 0.3s ease;
}

.footer .footer-links ul li a:hover {
    color: #e0e0e0 !important;
}

.footer .footer-links h4 {
    font-size: calc(1.2rem * 1.2);
    margin-bottom: 10px;
    color: #6b48ff !important;
    cursor: pointer;
    position: relative;
}

.footer .footer-links h4::after {
    content: '▼';
    position: absolute;
    right: 5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: calc(0.8rem * 1.2);
    display: none;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding: 10px 0;
    background-color: #6b48ff;
    color: #ffffff;
    font-size: calc(0.9rem * 1.2);
}

/* Media Queries for Footer */
@media (max-width: 768px) {
    .footer {
        padding: 20px 0 10px 0;
    }

    .footer .footer-links {
        display: none;
    }

    .footer .footer-spacer {
        display: none;
    }

    .footer .container {
        flex-direction: column;
        align-items: center;
        gap: 0px;
    }

    .footer .mobilefooter-info {
        flex: none;
        max-width: 100%;
        text-align: center;
        margin-bottom: 0;
    }

    .footer .mobilefooter-info .social-icons {
        margin-bottom: 0;
    }

    .footer .mobilefooter-info p {
        padding: 0 20px;
        font-size: calc(0.85rem * 1.2);
    }

    .footer-bottom {
        font-size: calc(0.85rem * 1.2);
    }
}

@media (max-width: 576px) {
    .footer .container {
        padding: 0 20px;
    }
}

/* Adjustments for 769px to 1239px */
@media (min-width: 769px) and (max-width: 1239px) {
    .policies-section {
        display: none;
    }
    .footer .footer-spacer {
        display: none;
    }
    .footer .container {
        justify-content: center;
        gap: 0;
    }
    .footer .mobilefooter-info {
        flex: 0 0 250px;
        margin-right: 90px;
    }
    .footer .footer-links:first-of-type {
        margin-right: 180px;
    }
    .footer .footer-links {
        flex: 0 0 auto;
    }
}

/* Override Font Awesome font-display */
@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-display: swap;
    src: url('/fonts/fa-brands-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-display: swap;
    src: url('/fonts/fa-solid-900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}
