/* WorkJam Footer Styles */
.workjam-footer {
    background-color: #121C66;
    padding: 100px 0;
    font-family: 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: white;
    position: relative;
    z-index: 10;
}

.workjam-footer__container {
    max-width: 1512px;
    margin: 0 auto;
    padding: 0 182px;
}

/* Main Columns Layout */
.workjam-footer__columns {
    display: flex;
    gap: 24px;
    margin-bottom: 130px;
}

.workjam-footer__column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Column Headers */
.workjam-footer__heading {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
    line-height: normal;
    white-space: nowrap;
}

/* Links Lists */
.workjam-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 16px;
}

.workjam-footer__links li {
    margin: 0;
}

.workjam-footer__links a {
    color: rgba(255, 255, 255, 0.798);
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: normal;
    display: block;
}

.workjam-footer__links a:hover {
    color: rgba(255, 255, 255, 1);
}

/* CTA Column Specific Styles */
.workjam-footer__column--cta {
    max-width: 258px;
    flex: 1 1 50%;
}

.workjam-footer__cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #121C66;
    padding: 16px 24px;
    border-radius: 500px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    line-height: 1;
    width: 100%;
    box-sizing: border-box;
}

.workjam-footer__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #121C66;
}

/* G2 Badges */
.workjam-footer__badges {
    display: flex;
    gap: 18px;
    padding-top: 24px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.workjam-footer__badge {
    flex: 0 0 calc((100% - 36px) / 3); /* 3 per row with 18px gaps (2 gaps = 36px) */
    max-width: 74px;
    height: 85px;
}

/* Placeholder badges until proper images are available */
.workjam-footer__badge--placeholder {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4px;
}

.workjam-footer__badge--placeholder span {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    line-height: 1.2;
}

.workjam-footer__badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Legal Section */
.workjam-footer__legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.workjam-footer__logo {
    flex-shrink: 0;
}

.workjam-footer__logo img {
    width: 147px;
    height: 60px;
    object-fit: contain;
}

.workjam-footer__legal-links {
    display: flex;
    gap: 8px;
    align-items: center;
    color: white;
    font-size: 16px;
    font-weight: 400;
    flex: 1;
    justify-content: center;
    white-space: nowrap;
    line-height: normal;
}

.workjam-footer__legal-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.workjam-footer__legal-links a:hover {
    opacity: 0.8;
}

.workjam-footer__separator {
    opacity: 0.5;
    margin: 0 4px;
}

/* Social Media */
.workjam-footer__social {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-shrink: 0;
}

.workjam-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border-radius: 19.5px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: opacity 0.2s ease;
    text-decoration: none;
    position: relative;
}

.workjam-footer__social-link:hover {
    opacity: 0.8;
}

.workjam-footer__social-link img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* Mobile Responsive Styles */
@media (max-width: 1200px) {
    .workjam-footer__container {
        padding: 0 40px;
    }
}

@media (max-width: 980px) {
    .workjam-footer__columns {
        flex-wrap: wrap;
    }

    .workjam-footer__column {
        flex: 1 1 45%;
    }

    .workjam-footer__column--cta {
        max-width: none;
        align-items: center;
    }

    .workjam-footer__legal {
        flex-direction: column;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .workjam-footer {
        padding: 60px 0;
    }

    .workjam-footer__container {
        padding: 0 20px;
    }

    .workjam-footer__columns {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 60px;
    }

    .workjam-footer__column--cta {
        max-width: none;
    }

    .workjam-footer__badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .workjam-footer__legal {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .workjam-footer__legal-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 8px;
    }

    .workjam-footer__social {
        justify-content: center;
    }

    .workjam-footer__logo img {
        width: 120px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .workjam-footer {
        padding: 40px 0;
    }

    .workjam-footer__container {
        padding: 0 16px;
    }

    .workjam-footer__columns {
        gap: 30px;
        margin-bottom: 50px;
    }

    .workjam-footer__heading {
        font-size: 12px;
    }

    .workjam-footer__links a {
        font-size: 14px;
    }

    .workjam-footer__cta-button {
        font-size: 14px;
        padding: 14px 20px;
    }

    .workjam-footer__legal-links {
        font-size: 14px;
    }

    .workjam-footer__badge {
        flex: 0 0 auto;
        max-width: 60px;
        height: 69px;
    }

    .workjam-footer__badge--placeholder span {
        font-size: 9px;
    }
}

/* Ensure footer is always visible above other elements */
.workjam-footer {
    position: relative;
    z-index: 999;
}

/* Hide any Elementor footer elements */
.elementor-location-footer,
footer.elementor-location-footer,
.site-footer.elementor-location-footer,
[data-elementor-type="footer"]:not(.workjam-footer) {
    display: none !important;
}

/* Ensure our footer is always visible even in Elementor edit mode */
.elementor-edit-mode .workjam-footer {
    display: block !important;
}

/* ========================================
   Footer Style Variations
   ======================================== */

/* Minimal Footer - Hide main content columns, show only legal section */
.workjam-footer--minimal {
    padding: 40px 0;
}

.workjam-footer--minimal .workjam-footer__columns {
    display: none;
}

.workjam-footer--minimal .workjam-footer__legal {
    padding-top: 0;
    border-top: none;
}