/*
 * IMPORTANT: For editing rules and coding guidelines, see AI_documents/Rules/Rules_for_the_AI.txt
 * For project overview and details, see AI_documents/Project_Overview_Doc.txt
 * 
 * Production Directory: http://ainspire.ai/css/footer_style.css
 * Development Directory: http://localhost:8000/css/footer_style.css
 * 
 * Loaded by includes/asset_loader.php 
 * Style for Footer .../sections/footer.php file 
 */ 


/* Footer Styles - Improved Layout */
.site-footer {
    position: relative;
    background: #000;
    overflow: hidden; 
    border-top: 2px solid #3b82f6;
    border-top: 0.2px solid #3b82f67d;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(96, 165, 250, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px 0;
}

/* Footer Main Heading */
.footer-main-heading {
    display:none;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
}

/* Footer Section Headings */
.footer-section-heading {
    display:none;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
    margin-top: 0;
}

/* Hidden headings for SEO structure */
.footer-section-heading.hidden {
    /*display: none; */
}

/* New 4-Column Layout: Company Info | Services | Research | Company+Connect */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.3fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Company Info Column */
.company-info .footer-logo h3 {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, #3b82f6 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.company-tagline {
    color: #3b82f6;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.company-description {
    color: #a0a0a0;
    line-height: 1.6;
    font-size: 16px;
    max-width: 350px;
}

/* Services Column - Wider with Grid Layout */
.services-column {
    gap: 25px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

/* Research Column - Enhanced Whitepaper Display */
.research-column {
    gap: 25px;
}

.research-links {
    gap: 8px;
}

.whitepaper-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.whitepaper-link:last-child {
    border-bottom: none;
}

.research-label {
    color: #3b82f6;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/*.whitepaper-title {
    color: #a0a0a0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    transition: all 0.3s ease;
}*/

.whitepaper-link:hover {
    transform: translateX(8px);
    border-color: rgba(59, 130, 246, 0.3);
}

.whitepaper-link:hover .research-label {
    color: #60a5fa;
    opacity: 1;
}

.whitepaper-link:hover .whitepaper-title {
    color: #3b82f6;
}

.whitepaper-link::before {
    display: none; /* Remove the default footer link bullet */
}

/* Company + Connect Combined Column */
.company-connect-column {
    gap: 40px;
}

.company-section,
.connect-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.company-section .footer-links {
    gap: 8px;
}

.connect-section {
    gap: 25px;
}

/* Footer Headings */
.footer-heading {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #3b82f6;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #3b82f6;
    transform: translateX(8px);
}

.footer-link:hover::before {
    opacity: 1;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    color: #a0a0a0;
    font-size: 15px;
    line-height: 1.4;
}

.contact-label {
    color: #fff;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-link {
    color: #3b82f6;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

.contact-link:hover {
    color: #60a5fa;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0a0a0;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.social-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    padding: 30px 0;
    margin-top: 60px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #666;
    font-size: 14px;
    font-weight: 400;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.legal-link {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.legal-link:hover {
    color: #3b82f6;
}

/* AI Attribution */
.ai-attribution {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.ai-attribution-text {
    color: #888;
    font-size: 12px;
    font-weight: 400;
    font-style: italic;
    margin: 0;
    transition: color 0.3s ease;
}

.ai-attribution-text:hover {
    color: #3b82f6;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1.8fr 1.2fr 1.2fr 1fr;
        gap: 40px;
    }
    
    .services-grid {
        gap: 8px;
    }
    
    .social-links {
        gap: 12px;
    }
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
    
    .services-column {
        grid-column: 1;
        grid-row: 2;
    }
    
    .research-column {
        grid-column: 2;
        grid-row: 2;
    }
    
    .company-connect-column {
        grid-column: 1 / -1;
        grid-row: 3;
    }
    
    .company-connect-column {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 60px 20px 0;
    }
    
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 40px;
        text-align: left;
    }
    
    .services-column,
    .research-column {
        width: 100%;
        order: 2;
    }
    
    .research-column {
        order: 3;
    }
    
    .company-info {
        order: 1;
    }
    
    .company-connect-column {
        order: 4;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        width: 100%;
    }
    
    .company-info {
        text-align: left;
        margin-bottom: 0;
        width: 100%;
    }
    
    .company-info .footer-logo h3 {
        font-size: 20px;
    }
    
    .company-description {
        display: none;
    }
    
    .footer-heading {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .footer-links {
        gap: 8px;
    }
    
    .footer-link {
        font-size: 15px;
    }
    
    .contact-info {
        gap: 12px;
    }
    
    .social-links {
        gap: 15px;
        margin-top: 20px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .footer-bottom {
        padding: 25px 0;
        margin-top: 40px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .copyright {
        color: #888;
        font-size: 13px;
        margin-bottom: 10px;
    }

    .footer-legal {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 0;
    }

    .legal-link {
        color: #a0a0a0;
        font-size: 13px;
        text-decoration: none;
        padding: 5px 0;
    }

    .legal-link:hover {
        color: #3b82f6;
    }

    .ai-attribution {
        margin-top: 15px;
        padding-top: 12px;
        border-top: 1px solid rgba(59, 130, 246, 0.1);
    }

    .ai-attribution-text {
        font-size: 12px;
        color: #888;
    }
    
    
    .whitepaper-link {
        padding: 6px 0;
    }
    
    .research-links {
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 40px 15px 0;
    }
    
    .company-info .footer-logo h3 {
        font-size: 18px;
        line-height: 1.3;
    }
    
    .company-description {
        font-size: 15px;
    }
    
    .contact-info {
        gap: 10px;
    }
    
    .contact-item {
        font-size: 14px;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .footer-bottom {
        padding: 20px 0;
        margin-top: 30px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .copyright {
        color: #888;
        font-size: 12px;
        margin-bottom: 8px;
    }

    .footer-legal {
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .legal-link {
        color: #a0a0a0;
        font-size: 12px;
        text-decoration: none;
        padding: 3px 0;
        display: inline-block;
    }

    .legal-link:hover {
        color: #3b82f6;
    }

    .ai-attribution {
        margin-top: 12px;
        padding-top: 10px;
        border-top: 1px solid rgba(59, 130, 246, 0.1);
    }

    .ai-attribution-text {
        font-size: 11px;
        color: #888;
    }

    .whitepaper-title {
        font-size: 14px;
    }

    .research-label {
        font-size: 10px;
    }
}