* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    padding: 2rem;
}

.footer {
    background: #f1f4f4;
    padding: 3rem 0 2rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 64px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #d0d0d0;
}
.footer-top .contact-us {
    font-size: 16px; 
    font-weight: 700;
    line-height: 22px;
    color: #003EAD;
    margin-bottom: 0;
}
.footer-top .phone-numbers {
    margin-top: 8px;
}
.footer-top .phone-numbers a {
    color: #0067F0;
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
}
.footer-top h3 {
    margin-bottom: 16px; 
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    color: #003EAD;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    text-decoration: none;
    color: #0067f0;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
}

.footer-links a:hover {
    color: #0067f0;
}

.contact-info {
    color: #333;
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.phone-numbers {
    margin-top: 1rem;
}

.phone-numbers a {
    display: block;
    color: #4a90e2;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.3rem 0;
    transition: color 0.2s;
}

.phone-numbers a:hover {
    color: #357abd;
}

.logo-footer {
    display: flex;
    align-items: center;
    margin-bottom: 51px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    border-radius: 4px;
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

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

.social-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0067f0;
    text-decoration: none;
    transition: background 0.2s;
    font-size: 1.2rem;
}
.social-links a svg {
    width: 30px;
    height: 30px;
}
.social-links a i {
    font-size: 30px;
}

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

.legal-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.legal-links a {
    text-decoration: none;
    color: #0067F0;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    transition: color 0.2s;
}

.legal-links a:hover {
    color: #357abd;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 1023px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 3rem 2rem;
    }

    .footer-column:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 1.5rem 1.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-column:first-child {
        grid-column: 1;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .footer-legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .legal-links {
        flex-direction: column;
        gap: 0.8rem;
    }

    .social-links {
        order: -1;
    }
}

@media (max-width: 480px) {
    .phone-numbers a {
        font-size: 1rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}
