#ai_footer {
    background: var(--brand-dark);
    color: white;
    padding: 4rem 0 0;
    margin-top: 0;
    position: relative;
}

#ai_footer .footer-top {
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#ai_footer .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

#ai_footer .footer-column h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

#ai_footer .footer-column h5 {
    color: white;
    font-size: 1rem;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

#ai_footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

#ai_footer .site-logo1 {
    height: 40px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
    filter: blur(0.5px) brightness(1.05);
    transition: all 0.3s ease;
}

#ai_footer .site-logo1:hover {
    filter: blur(0.3px) brightness(1.1);
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

#ai_footer .site-title1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

#ai_footer .site-title1 .accent-text {
    color: var(--brand-primary);
}

#ai_footer .company-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

#ai_footer .footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#ai_footer .footer-contact i {
    color: var(--brand-primary);
    width: 20px;
}

#ai_footer .site-secondary-navigation-1 {
    list-style: none;
    padding: 0;
    margin: 0;
}

#ai_footer .footer-nav-item {
    margin-bottom: 0.75rem;
}

#ai_footer .footer-nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

#ai_footer .footer-nav-link:hover {
    color: var(--brand-primary);
    transform: translateX(5px);
}

#ai_footer .newsletter-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

#ai_footer .newsletter-form {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

#ai_footer .newsletter-form:focus-within {
    border-color: var(--brand-primary);
    background: rgba(255, 255, 255, 0.15);
}

#ai_footer .input-field__input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    color: white;
    font-size: 0.95rem;
    outline: none;
}

#ai_footer .input-field__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#ai_footer .submit-button {
    padding: 0.75rem 1.5rem;
    background: var(--brand-primary);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

#ai_footer .submit-button:hover {
    background: #ff5520;
}

#ai_footer .newsletter-success {
    margin-top: 0.5rem;
    color: #4ade80;
    font-size: 0.9rem;
    display: none;
}

#ai_footer .newsletter-form[data-success="true"] .newsletter-success {
    display: block;
}

#ai_footer .social-icons {
    display: flex;
    gap: 1rem;
}

#ai_footer .social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

#ai_footer .social-icons a:hover {
    background: var(--brand-primary);
    transform: translateY(-3px);
}

#ai_footer .footer-bottom {
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.2);
}

#ai_footer .footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

#ai_footer .footer-bottom-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

#ai_footer .footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

#ai_footer .footer-bottom-links a:hover {
    color: var(--brand-primary);
}

#ai_footer .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Screen reader only class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    #ai_footer .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    #ai_footer .company-info {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    #ai_footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    #ai_footer .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    #ai_footer .social-icons {
        justify-content: center;
    }

    #ai_footer {
        padding: 3rem 0 0;
    }
}

@media (max-width: 480px) {
    #ai_footer .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    #ai_footer .separator {
        display: none;
    }
}
