/* ==========================================================================
   3D Rotating Earth Globe - Footer Styles
   ========================================================================== */

.mxd-footer {
    position: relative;
    overflow: hidden;
}

.mxd-footer__globe-wrap {
    position: absolute;
    bottom: -130px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1100px;
    height: 620px;
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mxd-footer-globe-canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    pointer-events: none;
    outline: none;
}

/* Ensure footer blocks and giant typography sit gracefully over the globe */
.mxd-footer .mxd-container {
    position: relative;
    z-index: 2;
}

.mxd-footer .mxd-footer__fw-mark {
    position: relative;
    z-index: 2;
    pointer-events: none;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Responsive Fitting for 7-Letter Name "PRITHVI" (Guaranteed 100% in bounds) */
.mxd-footer .fw-mark__wrap {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 0 1rem;
}

.mxd-footer .fw-mark__content {
    font-size: 13.5cqw !important;
    line-height: 0.8 !important;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: -0.015em;
    text-align: center;
    white-space: nowrap;
}

/* Hollow / Stroked Overlay Typography matching reference design */
.mxd-footer .fw-mark__content span,
.mxd-footer .fw-mark__content .char {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    -webkit-text-stroke: 2px var(--t-bright, #ffffff) !important;
    text-stroke: 2px var(--t-bright, #ffffff) !important;
    text-shadow: none !important;
    display: inline-block;
}

.mxd-footer .footer-nav-v01__item a,
.mxd-footer .footer-blocks__data a,
.mxd-footer .mxd-socials-line__link,
#to-top {
    position: relative;
    z-index: 3;
    pointer-events: auto;
}

/* Responsive adjustments */
@media (min-width: 1400px) {
    .mxd-footer .fw-mark__content {
        font-size: 13.2cqw !important;
    }
}

@media (max-width: 1200px) {
    .mxd-footer__globe-wrap {
        bottom: -110px;
        height: 520px;
        max-width: 900px;
    }
    .mxd-footer .fw-mark__content {
        font-size: 13.0cqw !important;
    }
}

@media (max-width: 768px) {
    .mxd-footer__globe-wrap {
        bottom: -80px;
        height: 420px;
        max-width: 100%;
    }
    .mxd-footer .fw-mark__content {
        font-size: 12.6cqw !important;
    }
    .mxd-footer .fw-mark__content span,
    .mxd-footer .fw-mark__content .char {
        -webkit-text-stroke: 1.4px var(--t-bright, #ffffff) !important;
        text-stroke: 1.4px var(--t-bright, #ffffff) !important;
    }
}

@media (max-width: 480px) {
    .mxd-footer__globe-wrap {
        bottom: -60px;
        height: 340px;
    }
    .mxd-footer .fw-mark__content {
        font-size: 12.2cqw !important;
    }
    .mxd-footer .fw-mark__content span,
    .mxd-footer .fw-mark__content .char {
        -webkit-text-stroke: 1.1px var(--t-bright, #ffffff) !important;
        text-stroke: 1.1px var(--t-bright, #ffffff) !important;
    }
}
