.footer-container {
    background: #000000;
    background: rgb(0, 0, 0);
    background: hsl(0, 0%, 0%);
    background: color(display-p3 0 0 0);
    padding: 3rem 0;
    margin: 4rem 0 0;
    position: relative;
    color-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    forced-color-adjust: none;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.footer-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: start;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr; /* First column larger to push middle column right */
    }
}

.footer-section {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 0;
}

.footer-section:first-child {
    max-width: 80%;
    padding-right: 1rem;
}

.footer-section h3 {
    background: linear-gradient(90deg, #00ffd0 0%, #06b6d4 40%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-align: left;
    padding-left: 0;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.625;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-contact {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--accent-teal);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent-tertiary);
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(0, 255, 224, 0.4);
    transition: all 0.3s ease;
}

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

.footer-links li:first-child {
    margin-top: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
    margin-top: 0;
    padding: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.25rem 0;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-tertiary);
    padding-left: 0.5rem;
    text-decoration: none;
    text-shadow: 0 0 8px rgba(0, 255, 224, 0.4);
    transition: all 0.3s ease;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.85rem;
}

.footer-copyright .footer-tagline {
    color: var(--accent-teal);
    margin-top: 0.5rem;
    font-style: italic;
    font-size: 0.8rem;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact {
        justify-content: center;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .footer-container {
        background: #000000;
        background: rgb(0, 0, 0);
        background: hsl(0, 0%, 0%);
        background: color(display-p3 0 0 0);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .footer-container {
        background: #000000;
    }
    
    .footer-section h3 {
        background: linear-gradient(90deg, #00ffd0 0%, #06b6d4 40%, #a855f7 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .footer-contact a:hover,
    .footer-links a:hover {
        color: #00FFE0;
    }
}
