/* Footer */
footer {
    background: linear-gradient(135deg, rgba(11, 79, 108, 0.95) 0%, rgba(27, 122, 159, 0.95) 100%);
    color: var(--white);
    padding: 4rem 0 1rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.05;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.footer-section p {
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    font-size: 0.95rem;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    opacity: 0.9;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: #ffffff;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    opacity: 0.9;
}

/* Responsive styles for footer */
@media (max-width: 768px) {
    .footer-content {
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
    }

    .footer-section ul li a {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 3rem 0 1rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-section p,
    .footer-section ul li a,
    .footer-section ul li {
        font-size: 0.9rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }
}
