
/* =========================================================
   ONISTECH INFO SYSTEMS — PREMIUM FOOTER
   Brand: Navy, Technology Blue and Orange
========================================================= */

.site-footer {
    position: relative;
    overflow: hidden;
    color: #c5d0e2;
    background: #101e3b;
    border-top: 3px solid var(--brand-orange);
}

.footer-main {
    padding: 68px 0 50px;
}

/* Company Logo */

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    display: block;
    width: 220px;
    height: 90px;
    object-fit: contain;
    object-position: left center;
    background: #ffffff;
    border-radius: 5px;
}

/* Company Description */

.footer-description {
    max-width: 360px;
    margin-bottom: 20px;
    color: #b7c4d8;
    font-size: 13px;
    line-height: 1.9;
}

.footer-website {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 13px;
}

.footer-website i {
    color: var(--brand-cyan);
    font-size: 16px;
}

.footer-website a {
    color: #ffffff;
    font-weight: 600;
}

.footer-website a:hover {
    color: var(--brand-cyan);
}

/* Footer Headings */

.footer-heading {
    position: relative;
    margin: 8px 0 27px;
    padding-bottom: 13px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.5;
}

.footer-heading::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    content: "";
    background: var(--gradient-brand);
    border-radius: 3px;
}

.footer-social-heading {
    margin: 0 0 13px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

/* Quick Links and Service Links */

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links a {
    display: inline-block;
    color: #b7c4d8;
    font-size: 12px;
    line-height: 1.7;
    transition: color .2s ease, transform .2s ease;
}

.footer-links a:hover {
    color: var(--brand-cyan);
    transform: translateX(3px);
}

/* Social Links */

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    color: #ffffff;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 9px;
    font-size: 16px;
    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.footer-socials a:hover {
    color: #ffffff;
    background: var(--brand-navy);
    border-color: var(--brand-cyan);
    transform: translateY(-3px);
}

/* Contact Intro */

.footer-contact-intro {
    margin-bottom: 22px;
    color: #b7c4d8;
    font-size: 12px;
    line-height: 1.85;
}

/* Contact Information */

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 19px;
}

.footer-contact-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--brand-cyan);
    background: rgba(8, 127, 231, .13);
    border: 1px solid rgba(8, 127, 231, .23);
    border-radius: 9px;
    font-size: 15px;
}

.footer-contact-item > div {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding-top: 1px;
}

.footer-contact-label {
    margin-bottom: 4px;
    color: #93a7c5;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.footer-contact-item a {
    overflow-wrap: anywhere;
    color: #f3f6fc;
    font-size: 12px;
    line-height: 1.8;
}

.footer-contact-item a:hover {
    color: var(--brand-cyan);
}

/* Project Enquiry Button */

.footer-enquiry-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 13px 15px;
    margin-top: 24px;
    color: #ffffff;
    background: var(--gradient-brand);
    border: 0;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    transition: box-shadow .2s ease, transform .2s ease;
}

.footer-enquiry-btn:hover {
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(8, 127, 231, .22);
    transform: translateY(-2px);
}

/* International Service Bar */

.footer-global-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 15px;
    color: #d7e3f4;
    background: rgba(255, 255, 255, .035);
    border-top: 1px solid rgba(255, 255, 255, .09);
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    font-size: 11px;
    text-align: center;
}

.footer-global-bar > i {
    color: var(--brand-cyan);
    font-size: 16px;
}

.footer-global-separator {
    margin: 0 9px;
    color: #647b9f;
}

.footer-global-dot {
    margin: 0 5px;
    color: var(--brand-orange);
}

/* Copyright and Legal Links */

.footer-bottom {
    padding: 22px 0;
}

.footer-copyright {
    margin: 0;
    color: #9eafc8;
    font-size: 11px;
    line-height: 1.8;
}

.footer-copyright a {
    color: #ffffff;
    font-weight: 600;
}

.footer-copyright a:hover {
    color: var(--brand-cyan);
}

.footer-legal-links {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal-links a {
    color: #9eafc8;
    font-size: 11px;
}

.footer-legal-links a:hover {
    color: var(--brand-cyan);
}

/* Responsive Design */

@media (max-width: 991.98px) {
    .footer-main {
        padding: 55px 0 40px;
    }
}

@media (max-width: 767.98px) {
    .footer-main {
        padding: 45px 0 30px;
    }

    .footer-heading {
        margin-bottom: 21px;
    }

    .footer-description {
        max-width: 100%;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
        gap: 14px 20px;
    }

    .footer-global-bar {
        line-height: 1.8;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-socials a,
    .footer-links a,
    .footer-enquiry-btn {
        transition: none;
    }
}

/* Footer links: two columns side by side */
.site-footer .footer-links.footer-links-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 24px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.site-footer .footer-links.footer-links-grid li {
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0;
}

.site-footer .footer-links.footer-links-grid li a {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
    .site-footer .footer-links.footer-links-grid {
        column-gap: 12px !important;
        row-gap: 12px !important;
    }
}
