/* Tactical Shared Theme for Employment & Workforce Solutions */
:root {
    --tactical-red: #c61732;
    --tactical-dark: #161a33;
    --tactical-green: #00ff41;
    --tactical-border: rgba(198, 23, 50, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.05);
}

.tactical_page_bg {
    background-color: #fcfcfc;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}

/* Hero Section */
.tactical_hero {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.tactical_events_hero {
    background-image: url('../../../uploads/media/1638509691-events.png');
}

.tactical_veteran_hero {
    background-image: url('../../../uploads/media/elite_bridge_hero.png');
}

.tactical_m2clabs_hero {
    background-image: url('../../../uploads/media/m2c_labs_hq_hero.png');
}

.tactical_hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(22, 26, 51, 0.85) 0%, rgba(22, 26, 51, 0.3) 100%);
}

.hero_hud {
    position: relative;
    z-index: 2;
    border-left: 5px solid var(--tactical-red);
    padding: 30px 60px;
    background: rgba(22, 26, 51, 0.4);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(198, 23, 50, 0.2);
    animation: slideInLeft 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero_hud h1 {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #fff;
    margin: 0;
    font-size: 64px;
    line-height: 1;
    text-shadow: 0 0 20px rgba(198, 23, 50, 0.5);
    position: relative;
}

/* Professional Tactical Reveal Animation */
.tactical_name_reveal {
    position: relative;
    display: inline-block;
    color: #fff;
    opacity: 0;
    animation: tacticalRevealEntrance 1.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.tactical_name_reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--tactical-red);
    z-index: 2;
    animation: tacticalScanlineReveal 1.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes tacticalRevealEntrance {
    0% {
        opacity: 0;
        transform: translateY(10px);
        filter: blur(10px);
    }

    30% {
        opacity: 0.5;
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes tacticalScanlineReveal {
    0% {
        width: 0;
        left: 0;
    }

    40% {
        width: 100%;
        left: 0;
    }

    60% {
        width: 100%;
        left: 0;
    }

    100% {
        width: 0;
        left: 100%;
    }
}

/* Subtle Flicker for operational feel */
.tactical_flicker {
    animation: digitalFlicker 4s infinite linear;
}

@keyframes digitalFlicker {
    0% {
        opacity: 1;
    }

    1% {
        opacity: 0.8;
    }

    2% {
        opacity: 1;
    }

    30% {
        opacity: 1;
    }

    31% {
        opacity: 0.9;
    }

    32% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

/* Intelligent HUD Content Panels */
.intel_panel_container {
    position: relative;
    background: rgba(22, 26, 51, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(198, 23, 50, 0.3);
    padding: 40px;
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 0 30px rgba(198, 23, 50, 0.1);
    text-align: left;
}

.intel_panel_container:hover {
    background: rgba(22, 26, 51, 0.55);
    border-color: rgba(198, 23, 50, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(198, 23, 50, 0.2);
}

.intel_panel_header {
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--tactical-red);
    letter-spacing: 3px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 3;
}

.intel_panel_header::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--tactical-red);
    display: inline-block;
    animation: digitalFlicker 2s infinite;
}

.intel_data_decor {
    position: absolute;
    font-family: 'Courier New', Courier, monospace;
    font-size: 9px;
    color: rgba(198, 23, 50, 0.6);
    pointer-events: none;
    text-transform: uppercase;
    z-index: 2;
}

.intel_data_decor.top_right {
    top: 10px;
    right: 15px;
}

.intel_data_decor.bottom_left {
    bottom: 10px;
    left: 15px;
}

.scanning_light_bar {
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--tactical-red), transparent);
    opacity: 0.3;
    animation: horizontalScan 8s linear infinite;
    z-index: 1;
}

@keyframes horizontalScan {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(50%);
    }
}

.intel_panel_border_accents {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 2;
}

.intel_panel_border_accents::before,
.intel_panel_border_accents::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border: 2px solid var(--tactical-red);
}

.intel_panel_border_accents::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.intel_panel_border_accents::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.hero_hud p {
    color: var(--tactical-red);
    font-weight: 800;
    margin-top: 15px;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 8px;
    opacity: 0.9;
}

/* Info Cards */
.mission_objective_card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    z-index: 1;
}

.mission_objective_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--tactical-dark);
    transform: translateY(100%);
    transition: transform 0.4s ease;
    z-index: -1;
}

.mission_objective_card:hover::before {
    transform: translateY(0);
}

.mission_objective_card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--tactical-red);
    transition: width 0.4s ease;
}

.mission_objective_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.mission_objective_card:hover h4,
.mission_objective_card:hover p {
    color: #fff !important;
}

.mission_objective_card:hover::after {
    width: 100%;
}

.tactical_icon_box {
    width: 110px;
    height: 110px;
    margin: 0 auto 25px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: grayscale(0.8) contrast(1.2);
    transition: all 0.4s ease;
}

.mission_objective_card:hover .tactical_icon_box {
    filter: grayscale(0) brightness(1.2) drop-shadow(0 0 10px var(--tactical-red));
    transform: scale(1.1);
}

/* Functional Section (Mission Map / Labs) */
.functional_tactical_section {
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    color: #fff;
    border-top: 2px solid var(--tactical-red);
    border-bottom: 2px solid var(--tactical-red);
}

.mission_map_bg {
    background-image: url('../../../uploads/media/tactical_map_bg.png');
}

.labs_collaboration_bg {
    background-image: url('../../../uploads/media/labs_collaboration.png');
}

.m2clabs_bg {
    background-image: url('../../../uploads/media/m2c-labs-bg.png');
}

.tactical_pattern_bg {
    background-image: url('../../../uploads/media/army_pattern_bg.jpg');
}

/* Blueprint Grid Overlay */
.blueprint_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(198, 23, 50, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(198, 23, 50, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

.mission_map_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(22, 26, 51, 0.8) 0%, rgba(22, 26, 51, 0.95) 100%);
}

.mission_map_content {
    position: relative;
    z-index: 2;
}

.tactical_list {
    list-style: none;
    padding: 0;
}

.tactical_list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.tactical_list li:hover {
    transform: translateX(10px);
}

.tactical_list li i {
    color: var(--tactical-red);
    margin-right: 18px;
    font-size: 20px;
    text-shadow: 0 0 5px var(--tactical-red);
}

/* Buttons */
.tactical_btn {
    background: var(--tactical-red);
    color: #fff;
    padding: 18px 50px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 3px;
    border: none;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(198, 23, 50, 0.3);
}

.tactical_btn:hover {
    background: #e61a3b;
    color: #fff;
    padding-right: 70px;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(198, 23, 50, 0.5);
}

.tactical_btn::after {
    content: '→';
    position: absolute;
    right: -30px;
    transition: right 0.4s ease;
    font-size: 20px;
}

.tactical_btn:hover::after {
    right: 25px;
}

/* HUD Accents */
.hud_corner {
    position: absolute;
    width: 35px;
    height: 35px;
    border: 3px solid var(--tactical-red);
    pointer-events: none;
}

.tl {
    top: -5px;
    left: -5px;
    border-right: none;
    border-bottom: none;
}

.tr {
    top: -5px;
    right: -5px;
    border-left: none;
    border-bottom: none;
}

.bl {
    bottom: -5px;
    left: -5px;
    border-right: none;
    border-top: none;
}

.br {
    bottom: -5px;
    right: -5px;
    border-left: none;
    border-top: none;
}

/* Global Utilities */
.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to bottom, rgba(198, 23, 50, 0) 0%, rgba(198, 23, 50, 0.2) 50%, rgba(198, 23, 50, 0) 100%);
    z-index: 10000;
    pointer-events: none;
    animation: scanline 12s linear infinite;
    opacity: 0.5;
}

@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100vh);
    }
}

/* Image Tech Frames */
.tech_frame_image {
    position: relative;
    padding: 10px;
}

.tech_frame_image::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    border-top: 4px solid var(--tactical-red);
    border-right: 4px solid var(--tactical-red);
    z-index: 10;
}

.operational_tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--tactical-red);
    color: #fff;
    padding: 2px 10px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 10px;
    text-transform: uppercase;
    z-index: 11;
    letter-spacing: 2px;
    box-shadow: 0 0 10px rgba(198, 23, 50, 0.5);
}

.image_data_overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Courier New', Courier, monospace;
    font-size: 10px;
    text-align: right;
    pointer-events: none;
    z-index: 11;
}

@media (max-width: 768px) {
    .hero_hud h1 {
        font-size: 36px;
    }

    .hero_hud {
        padding: 15px 30px;
    }

    .tactical_hero {
        height: 400px;
    }
}