
footer {
    background: linear-gradient(180deg, var(--dark-navy) 0%, #001227 100%);
    color: var(--white);
    padding: 3.5rem 2rem 1.75rem;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 0.9fr;
    grid-template-areas: "brand links1 links2 connect";
    gap: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-col   { grid-area: brand; }
.footer-links-col-1 { grid-area: links1; }
.footer-links-col-2 { grid-area: links2; }
.footer-connect-col { grid-area: connect; }

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.footer-brand img {
    height: 60px;
    background: var(--white);
    padding: 10px;
    border-radius: 8px;
}

.footer-brand span {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    text-align: left;
}

.footer-section h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #6FB6F0;
    text-transform: capitalize;
    letter-spacing: 0.06em;
}

.footer-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 340px;
}

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

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a::before {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
    color: #6FB6F0;
    opacity: 1;
    margin-right: 0.5rem;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 0.85rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.25s ease;
}

.social-links a span {
    display: none;
}

.social-links a:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.25s ease;
}

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

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

    .footer-top {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "brand   brand"
            "links1  links2"
            "connect connect";
        gap: 2rem;
        text-align: left;
    }

    .footer-brand {
        align-items: flex-start;
        justify-content: flex-start;
    }

    .footer-section p {
        margin: 0;
    }

    .footer-links {
        align-items: flex-start;
        gap: 0.75rem;
    }

    .social-links {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 420px) {
    footer {
        padding: 2rem 1.25rem 1.25rem;
    }

    .footer-top {
        gap: 1.5rem;
    }

    .footer-brand img {
        height: 50px;
    }
}