/* ==========================================================================
   Footer.css
   Complete Footer System for VISOTECH Engineering
   ========================================================================== */

/*-----------------------------------*\
 * #FOOTER
\*-----------------------------------*/
.footer {
    background: #08152F;
    color: #E2E8F0;
    padding: 72px 0 24px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -180px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(109, 94, 245, .08);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-company p {
    color: #CBD5E1;
    line-height: 1.9;
    margin-bottom: 30px;
    max-width: 420px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-links h3 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.footer-links a {
    text-decoration: none;
    color: #CBD5E1;
    transition: .3s;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 6px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #94A3B8;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    text-decoration: none;
    color: #94A3B8;
    transition: .3s;
}

.footer-bottom-links a:hover {
    color: #fff;
}

/*-----------------------------------*\
 * #FLOATING BUTTONS
\*-----------------------------------*/
.floating-whatsapp,
.floating-call,
.back-to-top {
    position: fixed;
    right: 25px;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: white;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .25);
    transition: .35s;
    z-index: 999;
    text-decoration: none;
}

.floating-whatsapp {
    bottom: 30px;
    background: #25D366;
}

.floating-call {
    bottom: 105px;
    background: #2563EB;
}

.back-to-top {
    bottom: 180px;
    background: #6D5EF5;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.floating-whatsapp:hover,
.floating-call:hover,
.back-to-top:hover {
    transform: translateY(-6px);
}

/*-----------------------------------*\
 * #FOOTER BRANDING
\*-----------------------------------*/
.footer-logo-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-round-logo {
    width: 52px;
    height: 52px;
    background: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-sm);
}

.footer-logo-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--white);
    transition: color var(--transition);
}

/*-----------------------------------*\
 * #MOBILE CTA BAR
\*-----------------------------------*/
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -10px 30px rgba(15, 23, 42, .1);
    z-index: 998;
    border-top: 1px solid var(--border);
}

.mobile-cta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 10px 5px;
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 600;
}

.mobile-cta-item i {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.mobile-cta-item.cta-highlight {
    color: var(--blue);
}

@media (max-width: 992px) {
    .mobile-cta-bar {
        display: flex;
    }
}