/* ========================================
   Footer Tech Aesthetic
   Unified dark section flowing from CTA
   ======================================== */

/* Footer Base */
.site-footer {
    background: linear-gradient(180deg, #0f2240 0%, #0a1628 100%);
    color: #cbd5e1;
    padding: 23px 0 25px;
    position: relative;
}

/* Subtle grid pattern */
.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 1;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 2.4fr 1fr 1fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
    align-items: start;
}

/* Brand Column */
.footer-brand {
    padding-right: 30px;
}

.footer-brand-title {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-bottom: 16px;
    line-height: 1.3;
    text-shadow: none !important;
}

.footer-logo {
    margin-bottom: 12px;
}

.footer-logo img {
    max-height: 45px;
    width: auto;
}

.footer-tagline {
    font-size: 13px;
    color: #3b82f6;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.footer-description {
    font-size: 14px;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 18px;
    max-width: 320px;
}

/* Contact Mini */
.footer-contact-mini {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.footer-contact-item .contact-icon {
    font-size: 15px;
    opacity: 0.8;
}

.footer-contact-item a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-item a:hover {
    color: #3b82f6;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.25s ease;
    border: 1px solid rgba(255,255,255,0.08);
}

.social-link:hover {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

/* Footer Widgets */
.footer-widget {
    padding-top: 5px;
}

.footer-widget-title {
    font-size: 14px;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-line {
    width: 3px;
    height: 16px;
    background: linear-gradient(180deg, #3b82f6, #1e40af);
    border-radius: 2px;
}

/* Footer Menu */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-menu a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-menu a:hover {
    color: #3b82f6;
    padding-left: 5px;
}

/* Certifications Strip */
.footer-certifications {
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 18px 0;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.cert-label {
    font-size: 13px;
    color: #64748b;
}

.cert-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cert-badge {
    padding: 6px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-copyright {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.footer-divider {
    color: #334155;
}

.footer-link {
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

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

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
}

.location-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
        max-width: 500px;
    }
}

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        margin-bottom: 30px;
    }

    .footer-certifications {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

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

    .footer-widget {
        padding-top: 0;
    }
}
