:root {
    --footer-background: #1a2b3c;
    --footer-text-primary: #ffffff;
    --footer-text-secondary: rgba(255, 255, 255, 0.7);
    --footer-accent: #2c8bb0;
    --footer-border: rgba(255, 255, 255, 0.1);
}

footer {
    background-color: var(--footer-background);
    padding: 40px 5% 20px;
    color: var(--footer-text-primary);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg, 
        transparent, 
        rgba(44, 139, 176, 0.05), 
        transparent
    );
    transform: rotate(-45deg);
    z-index: 1;
    opacity: 0.1;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 2;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    max-width: 120px;
    margin-bottom: 10px;
    filter: grayscale(100%) brightness(200%);
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-title {
    color: var(--footer-accent);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: var(--footer-text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.social-icon {
    color: var(--footer-text-secondary);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.7rem;
    transition: color 0.3s ease;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    margin-bottom: 5px;
}

.social-icon:hover {
    color: var(--footer-text-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    grid-column: span 4;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--footer-border);
    color: var(--footer-text-secondary);
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

@media screen and (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-section {
        margin-bottom: 20px;
    }

    .footer-bottom {
        grid-column: span 1;
    }
}

