* {
    font-family: Sansation, sans-serif;
}

.text-overlay {
    position: absolute;
    font-size: 48px;
    color: white;
    text-shadow: 2px 2px 4px rgb(0 0 0);
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    display: block;
    transform-origin: center;
}

.text-overlay::after {
    content: '';
    display: block;
    width: 140%;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M0,10 L90,10 L100,2' stroke='%23990000' stroke-width='4' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin-top: -5px;
    position: relative;
    left: -15%;
}

.text-overlay:hover {
    color: #ff6b6b !important;
    text-shadow: 0 0 20px rgb(255 107 107 / 0%), 
    0 0 30px rgb(255 107 107 / 28%), 
    0 0 40px rgb(255 107 107 / 32%) !important;
    opacity: 1 !important;
    transition: none !important;
}



.land::after, .air::after {
    content: '';
    display: block;
    width: 140%;
    height: 27px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M0,10 L90,10 L100,2' stroke='%23990000' stroke-width='4' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin-top: 2px;
    position: relative;
    left: -20%;
}

.air {
    top: calc(20% + 88px);; /* Original position + tab navigation offset */
    left: 10%;
}

.land {
    top: calc(37% + 280px); /* Original position + tab navigation offset */
    right: 13%;
}

.maritime {
    bottom: calc(13% - 780px);
    left: 50%;
    transform: translateX(-50%);
}

#fx-pixijs-container {
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow: visible; /* Allow full image to display */
    min-height: 100vh; /* Ensure minimum height */
}

/* Ensure mobile interface can expand properly */
@media screen and (max-width: 1300px) {
    #fx-pixijs-container {
        overflow: visible; /* Allow content to expand beyond viewport */
        height: auto !important; /* Override any fixed heights */
        min-height: 100vh;
    }
}

.fx-pixijs-tabbed-content {
    background-color: #000000;
    width: 100%;
    min-height: 100vh;
}

.tabs-container {
    background-color: #000000;
    padding: 30px 0;
    text-align: center;
    width: 100%;
}

#fx-pixijs-text-container {
    color: #FFFFFF ;
    font-size: 45px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
   /* margin-top: 70px;*/
}

#tabbed-content-title {
    display: none;
}

.tabs-navigation {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    position: relative;
    margin-top: 30px;
    flex-wrap: wrap;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 2px solid white;
}

.sub-title strong {
    color: #cc3333;
}

.tab-button {
    background: transparent;
    border: none;
    color: #fff;
    padding: 15px 40px;
    font-size: 25px;
    cursor: pointer;
    position: relative;
    text-transform: uppercase;
    font-weight: bold;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    z-index: 1;
    margin-bottom: -2px;
}

.tab-button.active {
    background: white;
    color: black;
    clip-path: polygon(5% 0, 95% 0, 98% 100%, 2% 100%);
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    clip-path: polygon(5% 0, 95% 0, 98% 100%, 2% 100%);
    z-index: -2;
    pointer-events: none;
}

.tab-button.active::after {
    background: white;
}

.tab-button::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: black;
    clip-path: polygon(5% 0, 95% 0, 98% 100%, 2% 100%);
    z-index: -1;
    pointer-events: none;
}

.tab-button[data-tab="law-enforcement"].active::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23990000'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    margin-right: 8px;
    vertical-align: middle;
}

.tab-button[data-tab="unmanned"].active::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23990000'%3E%3Cpath d='M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    margin-right: 8px;
    vertical-align: middle;
}

.tab-content-container {
    color: white;
    text-align: center;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    background: #ffff;
}

.tab-content h1 {
    font-size: 2.25em;
    line-height: 1.3;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.content-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2em;
    line-height: 1.6;
}

.tab-title {
    padding-top: 18px;
    padding-bottom: 0px;
}

.domain-content{
    background-color: #000000;
}

#domain-slider-container {
    position: relative;
    overflow: hidden;
}

.domain-link {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    z-index: 1;
    display: block;
}

.tab-button {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-button .tab-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Landing page tabs styles - copied from tabs-navigation */
.landing-tabs-section {
    background-color: #000000;
    width: 100%;
    padding: 1px 1px 0 1px;
    text-align: center;
    border-bottom: 2px solid white;
}

.landing-tabs-navigation {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    position: relative;
    margin-top: 30px;
    margin-bottom: -2px;
    padding-bottom: 0;
    flex-wrap: wrap;
}

.landing-tab-button {
    background: transparent;
    border: none;
    color: #fff;
    padding: 15px 40px;
    font-size: 25px;
    cursor: pointer;
    position: relative;
    text-transform: uppercase;
    font-weight: bold;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    z-index: 1;
}

.landing-tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    clip-path: polygon(5% 0, 95% 0, 98% 100%, 2% 100%);
    z-index: -2;
    pointer-events: none;
}

.landing-tab-button.active::after {
    background: white;
}

.landing-tab-button::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: black;
    clip-path: polygon(5% 0, 95% 0, 98% 100%, 2% 100%);
    z-index: -1;
    pointer-events: none;
}

.landing-tab-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.landing-tab-button .tab-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.landing-tab-button.active {
    background: white;
    color: black;
    clip-path: polygon(5% 0, 95% 0, 98% 100%, 2% 100%);
}

/* Landing tab content styles */
.landing-tab-content-container {
    color: #000;
    text-align: center;
    background: #000000;
    padding-top: 100px;
}

/* Canvas content area spacing to avoid tab overlap */
.canvas-content-area {
    position: relative;
}

/* Adjust text overlay positions to account for tab navigation */

.landing-tab-content-container .tab-title {
    padding-top: 18px;
    padding-bottom: 5px;
}

.landing-tab-content-container .tab-title .tab-title-pre {
    display: block;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #999999;
    margin-bottom: 0;
}

.landing-tab-content-container .tab-title h1 {
    font-size: 3em;
    line-height: 1.1;
    margin-bottom: 5px;
    margin-top: 0;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 800;
}

.landing-tab-content-container .sub-title {
    padding-bottom: 15px;
}

.landing-tab-content-container .sub-title strong {
    color: #cc3333;
    font-size: 1em;
    letter-spacing: 0.05em;
}

.tab-divider {
    width: 100%;
    height: 20px;
    margin: -8px auto 10px;
    position: relative;
    background: radial-gradient(ellipse 50% 100% at center, rgba(255, 40, 40, 0.6) 0%, rgba(200, 30, 30, 0.3) 20%, transparent 60%);
}

.tab-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 80, 80, 0.4) 20%, rgba(255, 200, 200, 1) 48%, rgba(255, 255, 255, 1) 50%, rgba(255, 200, 200, 1) 52%, rgba(255, 80, 80, 0.4) 80%, transparent 100%);
    box-shadow: 0 0 15px 4px rgba(255, 50, 50, 0.5), 0 0 40px 8px rgba(200, 30, 30, 0.3), 0 0 80px 16px rgba(200, 30, 30, 0.15);
}

.tab-description-divider {
    width: 2px;
    flex-shrink: 0;
    background: linear-gradient(to bottom, rgba(200, 30, 30, 0.8), rgba(200, 30, 30, 0.2));
}

.landing-tab-content-container .tab-description {
    display: flex;
    gap: 40px;
    margin: 0 auto;
    font-size: 1.2em;
    line-height: 1.6;
    color: white;
}

.tab-description p {
    color: white;
    text-align: left;
    font-size: 14px;
    flex: 1;
    margin: 0;
    font-weight: 600;
}


.law-enforcement {
    top: calc(20% + 339px);
    left: 10%;
}

.law-enforcement::after {
    content: '';
    display: block;
    width: 140%;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M0,10 L90,10 L100,2' stroke='%23990000' stroke-width='4' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 99% 205%;
    margin-top: -23px;
    position: relative;
    left: -16%;
}

.disaster-response{
    left: 58%;
    top: calc(20% + 138px);
}

.disaster-response:after {
    content: '';
    display: block;
    width: 140%;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M0,10 L90,10 L100,2' stroke='%23990000' stroke-width='4' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 99% 209%;
    margin-top: -23px;
    position: relative;
    left: -13%;
}

.border-security {
    left: 45%;
    top: calc(20% + 556px);
}

.border-security:after {
    content: '';
    display: block;
    width: 140%;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M0,10 L90,10 L100,2' stroke='%23990000' stroke-width='4' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 99% 193%;
    margin-top: -23px;
    position: relative;
    left: -15%;
}

.unmanned-air {
    left: 40%;
    top: calc(20% + 112px);
}

.unmanned-ground {
    left: 63%;
    top: calc(20% + 471px);
}

.unmanned-maritime {
    top: calc(20% + 417px);
    left: 12%;
}

.landing-tab-content-container .tab-description {
    padding-bottom: 30px;
}

/* Responsive Media Queries */
/* Base styles for 1920x1080 and above - NO CHANGES */
@media screen and (min-width: 1920px) {
    #fx-pixijs-text-container {
        font-size: 45px;
       /* margin-top: 70px;*/
    }
    
    .tabs-navigation {
        gap: 30px;
        margin-top: 30px;
    }
    
    .tab-button {
        padding: 15px 40px;
        font-size: 25px;
    }
    
    .text-overlay {
        font-size: 48px;
    }
    
    .tabs-container {
        padding: 0;
    }
    
    .view-all-domains-button {
        font-size: 13px;
        padding: 10px 20px;
    }
    
    .view-all-domains-icon {
        width: 13px; /* Scale with font size */
        height: 13px;
    }
    
    /* Position View All Domains button lower to avoid Disaster Response overlap */
    .view-all-domains-container {
        top: 105px !important; /* Move down to avoid overlap with Disaster Response on large screens */
    }
    
    .landing-tabs-navigation {
        gap: 30px;
        margin-top: 30px;
    }
    
    .landing-tab-button {
        padding: 15px 40px;
        font-size: 25px;
    }
    
    .landing-tabs-section {
        padding: 1px 20px;
    }
    
    .landing-tab-button .tab-icon {
        width: 24px;
        height: 24px;
    }
    
    .landing-tab-content-container .tab-title h1 {
        font-size: 3em;
    }
    
    .landing-tab-content-container .tab-description {
        font-size: 1.2em;
    }
    

}

/* MacBook Pro 16" and similar 1440+ resolution displays */
@media screen and (min-width: 1440px) and (max-width: 1919px) {
    #fx-pixijs-text-container {
        font-size: 34px; /* 45px * 0.75 */
        margin-top: 52px; /* 70px * 0.75 */
    }
    
    .tabs-navigation {
        gap: 25px; /* reduced for even spacing */
        margin-top: 23px; /* match .landing-tabs-navigation */
    }
    
    .tab-button {
        padding: 11px 30px; /* 15px * 0.75, 40px * 0.75 */
        font-size: 19px; /* 25px * 0.75 */
    }
    
    .text-overlay {
        font-size: 36px; /* 48px * 0.75 */
    }
    
    .tabs-container {
        padding: 23px 0; /* keep vertical padding; no side inset so the description matches the overview */
    }
    
    .landing-tabs-navigation {
        gap: 25px; /* reduced for even spacing */
        margin-top: 23px; /* 30px * 0.75 */
    }
    
    .landing-tab-button {
        padding: 11px 30px; /* 15px * 0.75, 40px * 0.75 */
        font-size: 19px; /* 25px * 0.75 */
    }
    
    .landing-tab-button .tab-icon {
        width: 18px; /* 24px * 0.75 */
        height: 18px; /* 24px * 0.75 */
    }
    
    .landing-tab-content-container .tab-title h1 {
        font-size: 2.25em; /* 3em * 0.75 */
    }
    
    .landing-tab-content-container .tab-description {
        font-size: 0.9em; /* 1.2em * 0.75 */
    }
    
    /* Text overlay positioning with tab navigation offset - MacBook Pro 16" */
    .air {
        top: calc(20% + 92px); /* 280px * 0.75 */
    }
    
    .land {
        top: calc(37% + 210px); /* 280px * 0.75 */
    }
    
    .maritime {
        bottom: calc(13% - 580px); /* 280px * 0.75 */
    }
    
    .view-all-domains-button {
        font-size: 10px; /* reduced size */
        padding: 7px 14px;
    }
    
    .view-all-domains-icon {
        width: 10px; /* Scale with font size */
        height: 10px;
    }
    
    /* Position View All Domains button lower to avoid Disaster Response overlap */
    .view-all-domains-container {
        top: 85px !important; /* Move down slightly to avoid overlap with Disaster Response */
    }
}



/* Standard laptop displays (1366x768, 1280x800, etc.) */
@media screen and (min-width: 1280px) and (max-width: 1439px) {
    #fx-pixijs-text-container {
        font-size: 28px; /* 45px * 0.625 */
        margin-top: 44px; /* 70px * 0.625 */
    }
    
    .tabs-navigation {
        gap: 20px; /* reduced for even spacing */
        margin-top: 19px; /* match .landing-tabs-navigation */
    }
    
    .tab-button {
        padding: 9px 25px; /* 15px * 0.625, 40px * 0.625 */
        font-size: 16px; /* 25px * 0.625 */
    }
    
    .text-overlay {
        font-size: 30px; /* 48px * 0.625 */
    }
    
    .tabs-container {
        padding: 19px 0;
    }
    
    .view-all-domains-button {
        font-size: 8px; /* reduced size */
        padding: 6px 12px;
    }
    
    .view-all-domains-icon {
        width: 8px; /* Scale with font size */
        height: 8px;
    }
    
    /* Position View All Domains button lower to avoid Disaster Response overlap */
    .view-all-domains-container {
        top: 75px !important; /* Move down slightly to avoid overlap with Disaster Response */
    }
    
    .landing-tabs-navigation {
        gap: 20px; /* reduced for even spacing */
        margin-top: 19px; /* 30px * 0.625 */
    }
    
    .landing-tab-button {
        padding: 9px 25px; /* 15px * 0.625, 40px * 0.625 */
        font-size: 16px; /* 25px * 0.625 */
    }
    
    .landing-tab-button .tab-icon {
        width: 15px; /* 24px * 0.625 */
        height: 15px; /* 24px * 0.625 */
    }
    
    .landing-tab-content-container .tab-title h1 {
        font-size: 1.875em; /* 3em * 0.625 */
    }
    
    .landing-tab-content-container .tab-description {
        font-size: 0.75em; /* 1.2em * 0.625 */
    }
    
    /* Text overlay positioning with tab navigation offset - Standard laptops */
    .air {
        top: calc(20% + 95px); /* 280px * 0.625 */
    }
    
    .land {
        top: calc(37% + 175px); /* 280px * 0.625 */
    }
    
    .maritime {
        bottom: calc(13% - 450px); /* 280px * 0.625 */
    }
}

/* Tablet landscape and smaller laptops */
@media screen and (min-width: 1024px) and (max-width: 1279px) {
    #fx-pixijs-container {
        min-height: 85vh;
        height: auto; /* Allow container to grow with content */
    }
    
    .fx-pixijs-tabbed-content {
        min-height: 85vh;
    }
    
    #fx-pixijs-text-container {
        font-size: 23px; /* 45px * 0.5 */
        margin-top: 35px; /* 70px * 0.5 */
    }
    
    .tabs-navigation {
        gap: 15px; /* reduced for even spacing */
        margin-top: 15px; /* match .landing-tabs-navigation */
    }
    
    .tab-button {
        padding: 8px 20px; /* 15px * 0.5, 40px * 0.5 */
        font-size: 13px; /* 25px * 0.5 */
    }
    
    .text-overlay {
        font-size: 24px; /* 48px * 0.5 */
    }
    
    .tabs-container {
        padding: 15px 0;
    }
    
    .view-all-domains-button {
        font-size: 7px; /* reduced size */
        padding: 5px 10px;
    }
    
    .view-all-domains-icon {
        width: 7px; /* Scale with font size */
        height: 7px;
    }
    
    /* Position View All Domains button lower to avoid Disaster Response overlap */
    .view-all-domains-container {
        top: 70px !important; /* Move down slightly to avoid overlap with Disaster Response */
    }
    
    .landing-tabs-navigation {
        gap: 15px; /* reduced for even spacing */
        margin-top: 15px; /* 30px * 0.5 */
    }
    
    .landing-tab-button {
        padding: 8px 20px; /* 15px * 0.5, 40px * 0.5 */
        font-size: 13px; /* 25px * 0.5 */
    }
    
    .landing-tab-button .tab-icon {
        width: 12px; /* 24px * 0.5 */
        height: 12px; /* 24px * 0.5 */
    }
    
    .landing-tab-content-container .tab-title h1 {
        font-size: 1.5em; /* 3em * 0.5 */
    }
    
    .landing-tab-content-container .tab-description {
        font-size: 0.6em; /* 1.2em * 0.5 */
    }
    
    /* Text overlay positioning with tab navigation offset - Tablet landscape */
    .air {
        top: calc(20% + 140px); /* 280px * 0.5 */
    }
    
    .land {
        top: calc(37% + 140px); /* 280px * 0.5 */
    }
    
    .maritime {
        bottom: calc(13% - 140px); /* 280px * 0.5 */
    }
}

/* Mobile and tablet portrait */
@media screen and (max-width: 768px) {
    #fx-pixijs-container {
        min-height: 80vh;
        height: auto; /* Allow container to grow with content */
        /*margin: 1vh auto;*/
    }
    
    .fx-pixijs-tabbed-content {
        min-height: 80vh;
    }
    
    #fx-pixijs-text-container {
        font-size: 18px; /* 45px * 0.4 */
        margin-top: 28px; /* 70px * 0.4 */
    }
    
    .tabs-navigation {
        gap: 10px; /* reduced for even spacing */
        margin-top: 12px; /* match .landing-tabs-navigation */
        flex-direction: column;
    }
    
    .tab-button {
        padding: 6px 16px; /* 15px * 0.4, 40px * 0.4 */
        font-size: 10px; /* 25px * 0.4 */
        margin-bottom: 8px; /* 20px * 0.4 */
    }
    
    .text-overlay {
        font-size: 19px; /* 48px * 0.4 */
    }
    
    .tabs-container {
        padding: 12px 0;
    }
    
    .view-all-domains-container {
        top: 35px; /* Position below domain title in upper left corner on mobile */
        left: 20px; /* Smaller left margin for mobile */
    }
    
    .view-all-domains-button {
        font-size: 7px; /* 18px * 0.4 */
        padding: 6px 12px; /* 15px * 0.4, 30px * 0.4 */
    }
    
    .view-all-domains-icon {
        width: 7px; /* Scale with font size */
        height: 7px;
    }
    
    .landing-tabs-navigation {
        gap: 10px; /* reduced for even spacing */
        margin-top: 12px; /* 30px * 0.4 */
        flex-direction: column;
    }
    
    .landing-tab-button {
        padding: 6px 16px; /* 15px * 0.4, 40px * 0.4 */
        font-size: 10px; /* 25px * 0.4 */
        margin-bottom: 8px; /* 20px * 0.4 */
    }
    
    .landing-tab-button .tab-icon {
        width: 10px; /* 24px * 0.4 */
        height: 10px; /* 24px * 0.4 */
    }
    
    .landing-tab-content-container .tab-title h1 {
        font-size: 1.2em; /* 3em * 0.4 */
    }
    
    .landing-tab-content-container .tab-description {
        font-size: 0.48em; /* 1.2em * 0.4 */
        flex-direction: column;
        gap: 15px;
    }

    .tab-description-divider {
        width: 100%;
        height: 2px;
        background: linear-gradient(to right, rgba(200, 30, 30, 0.8), rgba(200, 30, 30, 0.2));
    }
    
    /* Text overlay positioning with tab navigation offset - Mobile */
    .air {
        top: calc(20% + 112px); /* 280px * 0.4 */
    }
    
    .land {
        top: calc(37% + 112px); /* 280px * 0.4 */
    }
    
    .maritime {
        bottom: calc(13% - 112px); /* 280px * 0.4 */
    }
}

/* Large ultra-wide displays - 2552px+ screens */
@media screen and (min-width: 2552px) {
    /* Ensure containers fill full width on ultra-wide screens */
    #fx-pixijs-container,
    #domain-slider-container {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Ensure parent containers don't constrain width */
    .military-domains,
    .law-enforcement-domains,
    .unmanned-systems-domains,
    .tab-content,
    .tab-content-container,
    .fx-pixijs-tabbed-content {
        max-width: 100vw !important;
        overflow-x: visible !important;
    }
}

/* Large ultra-wide displays - 2560px screens (legacy support) */
@media screen and (min-width: 2560px) {
    .air {
        top: calc(20% + 292px);
        left: 10%;
    }
    
    /* Fix for zoom functionality on ultra-wide screens (2552px+) */
    #fx-pixijs-container.zoomed,
    #domain-slider-container.zoomed {
        max-width: none !important;
        width: 100vw !important;
        overflow: visible !important;
        position: relative !important;
        margin: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    #fx-pixijs-container.zoomed canvas,
    #domain-slider-container.zoomed canvas {
        max-width: none !important;
        position: relative !important;
        top: 0 !important;
    }
    
    /* Prevent container from being pulled down */
    #fx-pixijs-container.zoomed {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    /* Ensure content stays properly aligned */
    #fx-pixijs-container.zoomed > div {
        transform: none !important;
        margin: 0 !important;
    }

    .maritime {
        bottom: calc(13% - 1080px);
        left: 50%;
        transform: translateX(-50%);
    }

    .land {
        top: calc(37% + 580px);
        right: 13%;
    }

    .border-security {
        left: 53%;
        top: calc(20% + 800px);
    }

    .unmanned-ground {
        left: 63%;
        top: calc(20% + 775px);
    }

    .unmanned-air {
        left: 40%;
        top: calc(20% + 232px);
    }

    .unmanned-maritime {
        top: calc(20% + 651px);
        left: 12%;
    }
    
}

.page-template-custom-solutions h2, .page-template-custom-solutions h4 {
    color: #fff;
}



.tab-description, .landing-tab-content-container .tab-description {
    text-align: left;
    margin-left: 60px;
    margin-right: 60px;
    margin-top: 20px;
}

/* Responsive margins for larger screens */
@media (min-width: 1441px) {
    .tab-description, .landing-tab-content-container .tab-description {
        margin-left: 180px;
        margin-right: 180px;
    }
}

/* Loading overlay styles */
.fx-pixijs-loading-overlay {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.fx-pixijs-loading-content {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transform: translateZ(0); /* Force hardware acceleration */
}

.fx-pixijs-loading-spinner {
    animation: fx-pixijs-spin 1s linear infinite;
}

@keyframes fx-pixijs-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fx-pixijs-progress-bar {
    background: linear-gradient(90deg, #b21e27, #d42d3a);
    position: relative;
    overflow: hidden;
}

.fx-pixijs-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: fx-pixijs-progress-shine 2s ease-in-out infinite;
}

@keyframes fx-pixijs-progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Responsive loading overlay */
@media screen and (max-width: 768px) {
    .fx-pixijs-loading-content {
        padding: 30px 20px;
        min-width: 250px;
        margin: 0 20px;
    }
    
    .fx-pixijs-loading-text {
        font-size: 16px !important;
    }
    
    .fx-pixijs-loading-spinner {
        width: 35px !important;
        height: 35px !important;
    }
}

/* VIEW ALL DOMAINS Button Styles */
.view-all-domains-container {
    position: absolute;
    top: 67px; /* Position below domain title in upper left corner */
    left: 30px; /* Align with domain name on the left */
    display: none; /* Hidden by default, shown when overlaps expand */
    z-index: 1000;
}

/* Force-hide the button while a product is zoomed in, overriding any JS inline styles */
.view-all-domains-container.zoom-hidden {
    display: none !important;
}

.view-all-domains-button {
    background: #990000;
    border: 2px solid #990000;
    color: white;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    padding: 0px 7px;
    font-family: Sansation, sans-serif;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.view-all-domains-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(153, 0, 0, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.view-all-domains-button:hover {
    background: #b21e27;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    border-color: #ff0000;
    transform: scale(1.05);
}

.view-all-domains-button:hover::before {
    opacity: 1;
}

.view-all-domains-icon {
    width: 12px;
    height: 12px;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.view-all-domains-text {
    position: relative;
    z-index: 1;
}

/* Section loading overlay for VIEW ALL DOMAINS */
.fx-pixijs-section-loading-overlay {
    position: fixed !important; /* Changed from absolute to fixed to ensure it covers the viewport */
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999 !important; /* Increased z-index to ensure it's on top */
    backdrop-filter: blur(8px) !important; /* Increased blur for better visibility */
    -webkit-backdrop-filter: blur(8px) !important;
    /* Force hardware acceleration and proper stacking context */
    transform: translateZ(0);
    will-change: backdrop-filter, transform, opacity;
    /* Ensure backdrop-filter works across all containers */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Ensure proper rendering in all browsers */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    /* Smooth transition */
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Fallback for browsers that don't support backdrop-filter */
@supports not (backdrop-filter: blur(4px)) {
    .fx-pixijs-section-loading-overlay {
        background: rgba(0, 0, 0, 0.95);
    }
}

.fx-pixijs-section-loading-overlay.active {
    display: flex !important;
    /* Force visibility and proper rendering */
    opacity: 1 !important;
    pointer-events: auto;
}

.section-loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid #990000;
    border-radius: 50%;
    animation: section-loading-spin 1s linear infinite;
    margin-bottom: 20px;
    /* Ensure circle shape is maintained */
    flex-shrink: 0;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    /* Ensure proper centering */
    margin-left: auto;
    margin-right: auto;
}

.section-loading-text {
    color: white;
    font-family: Sansation, sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

@keyframes section-loading-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.mobile-solution-detail ul li a{
    color: #b21e27;
}

/* Ensure all slider containers maintain proper stacking context for loading overlay */
#domain-slider-container,
#law-enforcement-slider-container,
#unmanned-systems-slider-container {
    /* Create stacking context for proper backdrop-filter support */
    position: relative;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    /* Prevent backdrop-filter issues */
    isolation: isolate;
    /* Force proper rendering context */
    will-change: transform;
}

/* Ensure parent domain containers don't break backdrop-filter */
.military-domains,
.law-enforcement-domains,
.unmanned-systems-domains {
    /* Maintain stacking context without breaking child backdrop-filters */
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    /* Ensure proper positioning context */
    position: relative;
    /* Prevent transform issues */
    isolation: isolate;
}

/* Large ultra-wide displays - 2650px screen sizes */
/*@media screen and (min-width: 2560px) {
    .view-all-domains-container {
        top: 100px !important; 
    }
}*/

/* Edge browser specific styles for 1912px screens */
@media screen and (width: 1912px) {
   
        .maritime {
            bottom: calc(13% - 750px) !important;
        }
    
}
@media screen and (width: 1432px) {
    .maritime {
        bottom: calc(13% - 550px);
    }

    .law-enforcement {
        top: calc(20% + 236px);
        left: 10%;
    }

    .border-security {
        left: 45%;
        top: calc(20% + 420px);
    }

    .unmanned-maritime {
        top: calc(20% + 237px);
        left: 12%;
    }

    .unmanned-ground {
        left: 63%;
        top: calc(20% + 271px);
    }
    
}

@media screen and (width: 2552px) {
   
    .maritime {
        bottom: calc(13% - 1090px);
        left: 50%;
        transform: translateX(-50%);
    }

    .air {
        top: calc(20% + 298px);
        left: 10%;
    }

    .land {
        top: calc(37% + 450px);
        right: 13%;
    }

    .disaster-response {
        left: 58%;
        top: calc(20% + 238px);
    }

    .border-security {
        left: 53%;
        top: calc(20% + 776px);
    }
    
    .unmanned-maritime {
        top: calc(20% + 654px);
        left: 12%;
    }

    .unmanned-ground {
        left: 66%;
        top: calc(20% + 731px);
    }

    .unmanned-air {
        left: 40%;
        top: calc(20% + 250px);
    }
    
    

}

/* Alternative Edge detection for older Edge versions */
@media screen and (width: 1912px) and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .maritime {
        bottom: calc(13% - 750px) !important;
    }
}

