﻿
.footer {
    background: linear-gradient(135deg, #1d1d1f 0%, #2d2d30 100%);
    color: #f5f5f7;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f5f5f7;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.footer {
    background: linear-gradient(135deg, #1d1d1f 0%, #2d2d30 100%);
    color: #f5f5f7;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #f5f5f7;
    letter-spacing: -0.022em;
}

.footer-section ul {
    list-style: none;
    padding-left: 0;
}

.footer-section ol {
    padding-left:0;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #a1a1a6;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: all 0.3s ease;
    display: block;
    padding: 2px 0;
}

    .footer-section a:hover {
        color: #f5f5f7;
        transform: translateX(4px);
    }

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #424245 50%, transparent 100%);
    margin: 40px 0 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    color: white;
}

.footer-logo-text {
    font-size: 16px;
    font-weight: 600;
    color: #f5f5f7;
}

.footer-legal {
    display: flex;
    gap: 30px;
    align-items: center;
}

    .footer-legal a {
        color: #a1a1a6;
        text-decoration: none;
        font-size: 13px;
        transition: color 0.3s ease;
    }

        .footer-legal a:hover {
            color: #f5f5f7;
        }

.footer-social {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .social-icon:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
        fill: #a1a1a6;
        transition: fill 0.3s ease;
    }

    .social-icon:hover svg {
        fill: #f5f5f7;
    }

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-legal {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 40px 0 20px;
    }
}

/* Subtle animation for section headers */
.footer-section h3::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #007aff, #5856d6);
    transition: width 0.3s ease;
    margin-top: 8px;
}

.footer-section:hover h3::after {
    width: 30px;
}