/* Mobile Footer Styles */

/* Mobile footer layout */
@media (max-width: 768px) {
    .scrolling-footer-container {
        flex-direction: column;
        gap: 0;
    }

    .scrolling-footer-left {
        width: 100%;
        order: 1;
        padding: 16px;
        background-color: #040D81;
    }

    .scrolling-footer-center {
        width: 100%;
        order: 2;
        display: flex;
        flex-direction: column;
        gap: 12px;
        background-color: #040D81;
        color: #f4f4f4;
        padding: 16px;
        box-sizing: border-box;
    }

    .scrolling-footer-right {
        width: 100%;
        order: 3;
        padding: 16px;
        background-color: #040D81;
        margin-left: 0;
    }

    .scrolling-footer-heading {
        height: auto;
        padding: 0;
    }

    .scrolling-footer-heading h2 {
        text-align: center;
        margin-bottom: 6.4px;
    }

    .scrolling-footer-logo {
        padding: 0;
        margin-top: 0;
    }

    .scrolling-office-info {
        text-align: center;
        margin-bottom: 8px;
    }

    .scrolling-office-info h3 {
        font-size: 0.8rem;
        margin-bottom: 4px;
    }

    .scrolling-office-info p {
        font-size: 0.72rem;
        margin: 1.6px 0;
    }

    .fixed-footer-container {
        display: none;
    }

    .scrolling-footer-center a,
    .scrolling-footer-left a,
    .scrolling-footer-right a {
        color: #ffffff;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .scrolling-footer-center a:hover,
    .scrolling-footer-left a:hover,
    .scrolling-footer-right a:hover {
        color: #3feb21;
    }

    .scrolling-footer-bottom {
        height: auto;
        padding: 16px;
        background-color: #040D81;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .scrolling-footer-links,
    .scrolling-footer-policies {
        color: #ffffff;
        font-size: 0.8rem;
    }

    .scrolling-footer-links span {
        color: #ffffff;
    }

    .scrolling-footer-links a,
    .scrolling-footer-policies a {
        color: #ffffff;
        text-decoration: none;
        margin-left: 8px;
    }

    .scrolling-footer-links a:hover,
    .scrolling-footer-policies a:hover {
        color: #3feb21;
    }
}

/* Tablet layout */
@media (min-width: 769px) and (max-width: 1399px) {
    .scrolling-footer-left,
    .scrolling-footer-right {
        height: unset;
        display: flex;
        align-items: flex-end;
        padding: 12.8px;
        box-sizing: border-box;
        background-color: #040D81;
    }

    .scrolling-footer-heading {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 12.8px;
        box-sizing: border-box;
    }

    .scrolling-footer-logo {
        padding: 12.8px;
        margin-top: auto;
    }

    .scrolling-footer-center {
        display: flex;
        background-color: #040D81;
        color: #f4f4f4;
        align-items: flex-end;
        padding: 25.6px;
        box-sizing: border-box;
    }

    .scrolling-footer-center > * {
        flex: 1;
        font-size: 9.6px;
    }

    .scrolling-footer-contact {
        display: block;
        color: #f4f4f4;
        background: none;
    }

    .scrolling-footer-center a,
    .scrolling-footer-left a,
    .scrolling-footer-right a {
        color: #ffffff;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .scrolling-footer-center a:hover,
    .scrolling-footer-left a:hover,
    .scrolling-footer-right a:hover {
        color: #3feb21;
    }
}
