/* QualRank Site Footer Styling */

.site-footer {
    background: linear-gradient(135deg, #0f1419 0%, #0a0e13 100%);
    border-top: 1px solid #374151;
    padding: 48px 24px 24px;
    margin-top: auto;
    position: relative;
    min-height: 300px;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #60a5fa, transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #60a5fa;
}

.company-tagline {
    color: #60a5fa;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.company-entity {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 12px;
}

.company-description {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
}

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

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-section a:hover {
    color: #60a5fa;
    padding-left: 4px;
}

.footer-section a[href^="mailto:"] {
    color: #10b981;
}

.footer-section a[href^="mailto:"]:hover {
    color: #34d399;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #374151;
    text-align: center;
    color: #6b7280;
    font-size: 12px;
}

.footer-bottom p {
    margin: 4px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-footer {
        padding: 32px 16px 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Ensure footer sticks to bottom */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main, .main-content, .container {
    flex: 1;
}

/* Dark mode compatibility - already optimized for dark mode */
@media (prefers-color-scheme: dark) {
    .site-footer {
        /* Already optimized for dark mode */
    }
}