/* Zeth Technologies - Standard Footer Styles */

.site-footer {
    padding: 40px 24px 20px;
    /* Restored top padding for breathing room */
    background: #fafafa;
    border-top: 1px solid #eee;
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    position: relative;
    z-index: 10;
    height: auto !important;
    min-height: 180px !important;
    display: block !important;
    overflow: hidden;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 40px;
    height: auto !important;
    align-items: stretch;
}

.footer-info {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.footer-info .logo {
    display: flex;
    align-items: center;
    margin-top: -76px;
    /* Proportional crop for smaller visual size */
    margin-bottom: -76px;
    /* Balanced margins for top-alignment */
    height: 190px !important;
    /* Reduced by 10px from 200px */
    width: fit-content;
    overflow: visible;
}

.footer-info .logo img {
    height: 100% !important;
    width: auto !important;
    display: block;
    object-fit: contain !important;
}

.footer-info p {
    font-size: 15px;
    color: #5e697f;
    max-width: 420px;
    line-height: 1.5;
    margin: 0;
    height: auto !important;
}

.footer-links h4 {
    font-family: "Lexend", sans-serif;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #5e697f;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #7f46eb;
    transform: translateX(4px);
    display: inline-block;
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    /* Reduced from 50px */
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 13px;
}

.footer-bottom p {
    margin: 0;
}

/* Hide Framer Footers globally while protecting our custom footer */
[id*="footer"]:not(#zeth-footer),
[class*="footer-container"],
[data-framer-name*="Footer"],
[data-framer-name*="footer"] {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Ensure our static footer is ALWAYS visible */
#zeth-footer.site-footer {
    display: block !important;
    height: auto !important;
    min-height: 180px !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 99 !important;
    /* Above main content, but maybe below navbar */
    position: relative !important;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1.2fr repeat(2, 1fr);
        gap: 30px;
    }

    .footer-info {
        grid-column: span 3;
        margin-bottom: 20px;
    }

    .footer-info .logo img {
        height: 100px !important;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 50px 20px 30px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-info {
        grid-column: span 2;
    }

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

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-info {
        grid-column: span 1;
        height: auto !important;
    }

    .footer-info .logo img {
        height: 120px !important;
    }
}