/* ============================================= */
/* SHARED FOOTER STYLES                          */
/* Extracted from hero.css for cross-page use     */
/* ============================================= */

/* ========================= */
/* MODERN FOOTER */
/* ========================= */

.modern-footer {
    background: #0b0f19;
    color: #94a3b8;
    padding: 120px 0 40px;
    position: relative;
    margin-top: 100px;
    font-family: var(--body-font, 'Inter', sans-serif);
    z-index: 1;
}

/* Modern Gradient Top Border Separator */
.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #015DA9, #3a8dd1, #ffb04f, #EF8002, #015DA9);
    background-size: 200% auto;
    animation: footerGradientFlow 5s linear infinite;
    z-index: 10;
}

@keyframes footerGradientFlow {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* Decorative Glows */
.footer-glows-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.footer-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.footer-glow-1 {
    top: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: rgba(2, 93, 169, 0.25);
}

.footer-glow-2 {
    bottom: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: rgba(239, 128, 2, 0.15);
}

/* CTA Band */
.footer-cta-band {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(1200px, 92%);
    z-index: 10;
}

.footer-cta-band-inner {
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    gap: 30px;
}

.footer-cta-band-content h3 {
    font-size: 26px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-cta-band-content p {
    color: #cbd5e1;
    font-size: 16px;
    margin: 0;
    max-width: 500px;
    line-height: 1.6;
}

.footer-cta-band-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #025DA9 0%, #EF8002 100%);
    color: #fff;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -5px rgba(2, 93, 169, 0.5);
}

.footer-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(2, 93, 169, 0.6);
    color: #fff;
}

.footer-cta-primary svg {
    transition: transform 0.3s ease;
}

.footer-cta-primary:hover svg {
    transform: translateX(4px);
}

.footer-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #fff;
    padding: 14px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.footer-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* Main Container */
.footer-container {
    width: min(1400px, 92%);
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.2fr;
    gap: 50px;
    margin-bottom: 60px;
}

/* Brand Column */
.footer-logo img {
    height: 48px;
    margin-bottom: 24px;
}

.footer-desc {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 380px;
    background: linear-gradient(90deg, #025DA9, #3a8dd1, #EF8002);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social-link[aria-label="LinkedIn"] {
    color: #0077b5;
}

.footer-social-link[aria-label="Twitter"] {
    color: #1DA1F2;
}

.footer-social-link[aria-label="Facebook"] {
    color: #1877F2;
}

.footer-social-link[aria-label="Instagram"] {
    color: #E4405F;
}

.footer-social-link:hover {
    background: linear-gradient(135deg, #025DA9, #EF8002);
    border-color: transparent;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -5px rgba(239, 128, 2, 0.5);
}

/* Columns General */
.footer-column h4 {
    font-size: 17px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: linear-gradient(90deg, #025DA9, #EF8002);
    border-radius: 2px;
}

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

.footer-link-list li {
    margin-bottom: 14px;
}

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

.footer-link-list a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Contact List */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.footer-contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(2, 93, 169, 0.1);
    color: #3a8dd1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(2, 93, 169, 0.2);
}

.footer-contact-label {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.footer-contact-list a,
.footer-contact-address {
    color: #e2e8f0;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.footer-contact-list a:hover {
    color: #ffb04f;
}

/* Divider */
.footer-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0) 100%);
    margin: 40px 0 30px;
}

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

.footer-copyright {
    color: #64748b;
    font-size: 14px;
}

.footer-copyright strong {
    color: #e2e8f0;
    font-weight: 600;
}

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

.footer-bottom-links a {
    color: #94a3b8;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: #fff;
}

.footer-dot {
    width: 4px;
    height: 4px;
    background: #475569;
    border-radius: 50;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 1200px) {
    .footer-top {
        grid-template-columns: 1.5fr 1fr 1.5fr;
    }

    .footer-column:last-child {
        grid-column: 1 / -1;
        margin-top: 20px;
    }

    .footer-contact-list {
        display: flex;
        gap: 30px;
        flex-wrap: wrap;
    }
}

@media (max-width: 992px) {
    .footer-cta-band-inner {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .footer-cta-band-content h3 {
        font-size: 24px;
    }

    .footer-cta-band-content p {
        margin: 0 auto;
    }

    .footer-cta-band-actions {
        justify-content: center;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .modern-footer {
        padding-top: 200px;
    }

    .footer-cta-band {
        width: 95%;
    }

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

    .footer-services-grid {
        grid-template-columns: 1fr;
    }

    .footer-contact-list {
        flex-direction: column;
        gap: 15px;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
        justify-content: center;
        padding-bottom: 20px;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}