/* Footer Styles */
footer {
    background-color: var(--primary-bg);
    color: var(--text-color);
    padding: 1rem 0;
    margin-top: auto; /* This pushes footer to bottom in flexbox layout */
    border-top: 1px solid var(--border-color);
    flex-shrink: 0; /* Prevent footer from shrinking */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-left, .footer-right {
    flex: 1;
    min-width: 250px;
}

.footer-left h4, .footer-right h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.footer-left p {
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.footer-left p i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.social-icons-container {
    margin-top: 0.5rem;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--secondary-bg);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--accent-color);
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
}

.social-icons a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.social-icons a:hover {
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.social-icons a:hover::before {
    transform: scale(1);
}

.social-icons a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

.contact-btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: var(--text-color);
    color: var(--primary-bg);
}

.copyright {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    /*border-top: 1px solid var(--border-color);*/
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-secondary);
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .copyright {
        text-align: center;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 0.75rem 0;
        margin-top: auto;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-left, .footer-right {
        width: 100%;
    }
}