/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(10, 15, 20, 0.98), rgba(15, 25, 35, 0.95));
    color: var(--color-white);
    padding: var(--spacing-2xl) 0 var(--spacing-lg); /* Reduced padding */
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(160, 235, 255, 0.5) 20%,
        rgba(160, 235, 255, 0.8) 50%,
        rgba(160, 235, 255, 0.5) 80%,
        transparent
    );
    box-shadow: 0 0 20px rgba(160, 235, 255, 0.6);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl); /* Reduced gap */
    margin-bottom: var(--spacing-xl); /* Reduced margin */
    padding-bottom: var(--spacing-xl); /* Reduced padding */
    border-bottom: 1px solid rgba(160, 235, 255, 0.2);
}

.footer-column {
    animation: footerFadeIn 0.8s ease-out backwards;
}

.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }
.footer-column:nth-child(4) { animation-delay: 0.4s; }

.footer-column h4 {
    font-size: 1rem; /* Reduced font size */
    margin-bottom: var(--spacing-sm); /* Reduced margin */
    color: rgba(160, 235, 255, 1);
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(90, 200, 255, 0.4);
}

.footer-column p {
    font-size: 0.85rem; /* Reduced font size */
    line-height: var(--line-height-relaxed);
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.footer-address {
    margin-top: var(--spacing-sm); /* Reduced margin */
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.25rem; /* Reduced margin */
    position: relative;
    padding-left: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem; /* Reduced font size */
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(160, 235, 255, 1), rgba(90, 200, 255, 0.8));
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(160, 235, 255, 0.6);
}

.footer-links a:hover {
    color: rgba(160, 235, 255, 1);
    transform: translateX(5px);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    padding-top: var(--spacing-lg); /* Reduced padding */
}

.footer-bottom p {
    margin: 0;
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.footer-social a {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--font-size-sm);
    transition: all 0.3s ease;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid rgba(160, 235, 255, 0.3);
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-social a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(90, 200, 255, 0.2), rgba(160, 235, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    color: rgba(160, 235, 255, 1);
    border-color: rgba(160, 235, 255, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(90, 200, 255, 0.4);
}

.footer-social-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

.footer-social-label {
    line-height: 1;
}

@media (max-width: 520px) {
    .footer-social a {
        padding: 8px 12px;
    }
    .footer-social-label {
        display: none;
    }
}

.footer-social a:hover::before {
    opacity: 1;
}

@keyframes footerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
