/************************************
Name: ASIC.css                      *
Developer: CECOM Web-Team           *
Description: Army Software & Innovation Center stylesheet *
*************************************/

/* Table of Contents
------------------------------------
    1. Color Variables
    2. Global Styles
    3. Hero Section
    4. Mission & Vision
    5. Capabilities
    6. News Carousel
    7. Quick Links
    8. Priorities
    9. Responsive
	
ASIC COLORS (from logo)
    Navy Blue: #003B5C
    Army Yellow: #FFCB05
    Eagle Red: #E31E24
    Light Blue: #4A9FD8
    White: #FFFFFF
*/

/* ===================================
   1. FONTS - LOAD FIRST
   =================================== */
@font-face {
    font-family: 'GI400';
    src: url('../Mod/G.I.-400.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GI400Italic';
    src: url('../Mod/G.I.-400Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'GI530';
    src: url('../Mod/G.I.-530.ttf') format('truetype');
    font-weight: 530;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GI530Italic';
    src: url('../Mod/G.I.-530Italic.ttf') format('truetype');
    font-weight: 530;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'GI750';
    src: url('../Mod/G.I.-750.ttf') format('truetype');
    font-weight: 750;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GI750Italic';
    src: url('../Mod/G.I.-750Italic.ttf') format('truetype');
    font-weight: 750;
    font-style: italic;
    font-display: swap;
}


/* ===================================
   FORCE CUSTOM FONTS - MUST BE FIRST
   =================================== */

/* Override Bootstrap font variables */
:root {
    --bs-body-font-family: 'GI400', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    --bs-font-sans-serif: 'GI400', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

/* Force on all elements EXCEPT Font Awesome icons */
body,
body *:not([class*="fa-"]):not(.fa):not(.fas):not(.far):not(.fab):not(.fal) {
    font-family: 'GI400', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

/* Explicitly preserve Font Awesome fonts */
.fa, .fas, .far, .fab, .fal,
[class*="fa-"] {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Pro", "Font Awesome 5 Brands" !important;
}

/* Force bold font weight elements to use GI750 */
h1, h2, h3, h4, h5, h6,
.nav-title-container h1,
strong, b {
    font-family: 'GI750', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

/* Medium weight elements use GI530 */
.hero-title,
.section-title {
    font-family: 'GI530', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

/* ===================================
   1. COLOR VARIABLES
   =================================== */
:root {
    --asic-navy: #003B5C;
    --asic-yellow: #FFCB05;
    --asic-red: #E31E24;
    --asic-light-blue: #4A9FD8;
    --asic-white: #FFFFFF;
    --asic-gray: #E8E8E8;
}

/* ===================================
   2. GLOBAL STYLES
   =================================== */
* {
    box-sizing: border-box;
}

.asic-hero-section,
.mission-vision-section,
.capabilities-section,
.news-carousel-container,
.quick-links-section,
.priorities-section {
    width: 100%;
    margin: 0;
    padding: 0;
}


/* ===================================
   3. HERO SECTION
   =================================== */
/* Update the hero section to account for the header */
.asic-hero-section {
    position: relative;
    width: 100%;
    min-height: 80vh; /* Changed from 100vh to prevent excessive scrolling */
    overflow: hidden;
    background: linear-gradient(135deg, #1a4d6d 0%, #2a5d7d 100%);
    display: flex;
    align-items: flex-start; /* Align to top instead of center */
}

.hero-backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center; /* Better centering */
    background-repeat: no-repeat; /* Prevent tiling */
    opacity: 0;
    animation: fadeSlide 30s infinite; /* 6 images × 5 seconds = 30s total */
}

    .hero-bg-image:nth-child(1) {
        background-image: url('/Images/ASIC/Town Hall 09 July 2025 (7).JPG');
        animation-delay: 0s;
    }

    .hero-bg-image:nth-child(2) {
        background-image: url('/Images/ASIC/RU-Open-House-JUL-2025-(1).jpg');
        animation-delay: 5s;
    }


    .hero-bg-image:nth-child(4) {
        background-image: url('/Images/ASIC/C3T PM MC TSI Briefing (15).jpg');
        animation-delay: 10s;
    }


    .hero-bg-image:nth-child(3) {
        background-image: url('/Images/ASIC/C3T PM MC TSI Briefing (10).jpg');
        animation-delay: 15s;
    }

    .hero-bg-image:nth-child(6) {
        background-image: url('/Images/ASIC/0M3A0519.JPG');
        animation-delay: 20s;
    }

    .hero-bg-image:nth-child(5) {
        background-image: url('/Images/ASIC/C3T PM MC TSI Briefing (16).jpg');
        animation-delay: 25s;
    }

@keyframes fadeSlide {
    0%, 16.66% {
        opacity: 1;
        transform: scale(1);
    }

    16.67%, 100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

/* LIGHTENED OVERLAY - Images more visible */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 59, 92, 0.85) 0%, rgba(0, 59, 92, 0.85) 100%);
    z-index: 2;
}

    .hero-overlay::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(74, 159, 216, 0.05) 2px, rgba(74, 159, 216, 0.05) 4px), repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(74, 159, 216, 0.05) 2px, rgba(74, 159, 216, 0.05) 4px);
        opacity: 0.3;
    }

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    width: 100%;
    /* Add specific padding-top to clear your header without being too large */
    padding: 4rem 3rem 2rem 3rem;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Give text a bit more room */
    gap: 2rem;
    align-items: start; /* Align items to the top of the grid */
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}
.hero-text {
    color: var(--asic-white);
}
.hero-subtitle-with-logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
    color: var(--asic-light-blue);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0;
}

.hero-subtitle-logo {
    flex-shrink: 0;
    padding: 0.75rem;
  
   
}


    .hero-subtitle-logo img {
        height: 90px;
        width: auto;
        display: block;
    }

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s both;
    color: var(--asic-white);
    font-family: 'GI750', sans-serif;
}

    .hero-title .highlight {
        color: var(--asic-yellow);
        display: block;
    }

.hero-description {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    animation: fadeInUp 1s ease 0.8s both;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--asic-yellow);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Logo */
.hero-logo-container {
    position: relative;
    animation: fadeIn 1s ease 1s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.logo-box {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 3px solid var(--asic-yellow);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(255, 203, 5, 0.3);
    transition: all 0.3s ease;
}

    .logo-box:hover {
        transform: translateY(-10px);
        box-shadow: 0 30px 80px rgba(255, 203, 5, 0.4);
    }

.asic-logo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Mobile */
@media (max-width: 767.98px) {
    .hero-content {
        padding: 2rem 1.5rem;
    }

    /* Stack subtitle and logo vertically on mobile */
    .hero-subtitle-with-logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-subtitle-logo img {
        height: 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .news-image-wrapper {
        min-height: 250px;
    }

    .news-card-body {
        padding: 2rem;
    }

    .news-card-title {
        font-size: 1.5rem;
    }

    .section-title,
    .section-title-center {
        font-size: 2rem;
    }
}






.video-expand-fullscreen-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 59, 92, 0.9);
    border: 2px solid #FFCB05;
    color: #FFCB05;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    z-index: 10;
}

    .video-expand-fullscreen-btn:hover {
        background: #FFCB05;
        color: #003B5C;
        transform: scale(1.05);
    }

.video-controls-mission {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

    .video-controls-mission button {
        background-color: rgba(0, 59, 92, 0.9);
        border: 2px solid #FFCB05;
        color: #FFCB05;
        padding: 8px 12px;
        cursor: pointer;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

        .video-controls-mission button:hover {
            background-color: #FFCB05;
            color: #003B5C;
        }

    .video-controls-mission i {
        font-size: 16px;
    }

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: rgba(0, 59, 92, 0.95);
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 5% auto;
    z-index: 10001;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: #FFCB05;
    border: none;
    color: #003B5C;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .video-modal-close:hover {
        background: #003B5C;
        color: #FFCB05;
        transform: rotate(90deg);
    }

.modal-video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 3px solid #FFCB05;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767.98px) {
    .mission-video-card {
        padding: 1.5rem;
    }

    .video-expand-fullscreen-btn span {
        display: none;
    }

    .video-controls-mission {
        bottom: 1rem;
        right: 1rem;
    }
}

/* ===================================
   4. MISSION & VISION SECTION - PALANTIR STYLE
   =================================== */
.mission-vision-section {
    background: #FFFFFF;
    padding: 4rem 0;
}

#mission-vision-section {
    scroll-margin-top: 250px; /* Adjust this value as needed to provide enough space */
}

/* Cards */
.mission-card,
.vision-card {
    background: #F8F9FA;
    border-radius: 12px;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

    .mission-card::before,
    .vision-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--asic-yellow) 0%, var(--asic-light-blue) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mission-card:hover,
    .vision-card:hover {
        transform: translateY(-8px);
        border-color: var(--asic-light-blue);
        box-shadow: 0 12px 40px rgba(0, 59, 92, 0.15);
    }

        .mission-card:hover::before,
        .vision-card:hover::before {
            opacity: 1;
        }

/* Icon Wrapper */
.icon-wrapper {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 50%;
    border: 3px solid var(--asic-light-blue);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 159, 216, 0.2);
}

.mission-card:hover .icon-wrapper,
.vision-card:hover .icon-wrapper {
    border-color: var(--asic-yellow);
    box-shadow: 0 6px 25px rgba(255, 203, 5, 0.4);
    transform: scale(1.05) rotateY(10deg);
}

.icon-wrapper img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

/* Content Wrapper */
.content-wrapper {
    flex: 1;
    text-align: center;
    width: 100%;
}

    .content-wrapper h2 {
        color: var(--asic-navy);
        font-size: 1.75rem;
        font-weight: 700;
        margin-bottom: 1rem;
        font-family: 'GI750', sans-serif;
        line-height: 1.2;
    }

    .content-wrapper .highlight {
        color: var(--asic-light-blue);
        font-weight: 700;
    }

/* Text Styling */
.mission-text,
.vision-text {
    color: rgba(0, 59, 92, 0.85);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.7;
    margin: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
    .mission-card,
    .vision-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .mission-card,
    .vision-card {
        padding: 2rem;
    }

    .content-wrapper h2 {
        font-size: 1.5rem;
    }

    .mission-text,
    .vision-text {
        font-size: 1rem;
        
    }

    .icon-wrapper {
        width: 80px;
        height: 80px;
    }

        .icon-wrapper img {
            width: 45px;
            height: 45px;
        }
}

/* ===================================
   5. CAPABILITIES SECTION - PALANTIR CLEAN STYLE 
   =================================== */
.capabilities-section {
    background: #F8F9FA;
    padding: 2rem 0;
}

#Core-Competencie-section {
    scroll-margin-top: 200px; /* Adjust this value as needed to provide enough space */
}

    /* Force equal heights on the row */
    .capabilities-section .capabilities-row {
        display: flex;
        align-items: stretch;
    }

        .capabilities-section .capabilities-row > .col-lg-6 {
            display: flex;
        }

/* ===== LEFT SIDE ===== */
.capabilities-left-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    background: transparent;
}

    .capabilities-left-wrapper h2 {
        color: var(--asic-navy);
        margin-bottom: 2rem;
        flex-shrink: 0;
        font-weight: 700;
        font-size: 2.5rem;
        font-family: 'GI750', sans-serif;
    }

    .capabilities-left-wrapper .capabilities-image-card {
        flex: 1;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.capabilities-image-card .image-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    background: #FFFFFF;
}

    .capabilities-image-card .image-wrapper:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    }

.capabilities-image-card img {
    width: 100%;
    height: auto;
    display: block;
}

.clickable-image {
    cursor: pointer;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 59, 92, 0.95) 0%, rgba(0, 59, 92, 0.7) 50%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    transition: all 0.3s ease;
}

    .image-overlay .image-link {
        color: var(--asic-yellow);
        font-size: 1.1rem;
        font-weight: 700;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        transition: all 0.3s ease;
        border-bottom: 2px solid transparent;
    }

        .image-overlay .image-link:hover {
            color: var(--asic-light-blue);
            border-bottom-color: var(--asic-light-blue);
            gap: 0.75rem;
        }

/* ===== RIGHT SIDE ===== */
.capabilities-content-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    max-width: 1200px !important; /* Add this line */
    margin: 0 auto !important; /* Add this line to center it */
}

    .capabilities-content-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--asic-yellow) 0%, var(--asic-light-blue) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .capabilities-content-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
        border-color: var(--asic-light-blue);
    }

        .capabilities-content-card:hover::before {
            opacity: 1;
        }

    .capabilities-content-card .icon-wrapper {
        flex-shrink: 0;
        width: 100px;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #FFFFFF;
        border-radius: 50%;
        border: 3px solid var(--asic-light-blue);
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(74, 159, 216, 0.2);
    }

    .capabilities-content-card:hover .icon-wrapper {
        border-color: var(--asic-yellow);
        box-shadow: 0 6px 25px rgba(255, 203, 5, 0.4);
        transform: scale(1.05);
    }

    .capabilities-content-card .icon-wrapper i {
        font-size: 2.5rem;
        color: var(--asic-light-blue);
        transition: color 0.3s ease;
    }

    .capabilities-content-card:hover .icon-wrapper i {
        color: var(--asic-yellow);
    }

    .capabilities-content-card .content-wrapper {
        flex: 1;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

        .capabilities-content-card .content-wrapper h2 {
            color: var(--asic-navy);
            margin-bottom: 2rem;
            font-size: 1.75rem;
            font-weight: 700;
            font-family: 'GI750', sans-serif;
        }

/* List Styling - Clean Palantir Style */
.capabilities-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .capabilities-list li {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        padding: 1rem 1.5rem;
        background: #F8F9FA;
        border-radius: 8px;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }

        .capabilities-list li:hover {
            background: #FFFFFF;
            border-color: var(--asic-light-blue);
            transform: scale(1.02);
            box-shadow: 0 4px 15px rgba(74, 159, 216, 0.15);
        }

        .capabilities-list li i {
            color: var(--asic-light-blue);
            font-size: 1.25rem;
            flex-shrink: 0;
            transition: all 0.3s ease;
        }

        .capabilities-list li:hover i {
            color: var(--asic-yellow);
            transform: scale(1.1);
        }

        .capabilities-list li span {
            color: var(--asic-navy);
            font-size: 1rem;
            font-weight: 600;
            line-height: 1.4;
        }

        .capabilities-list li strong {
            color: var(--asic-navy);
            font-weight: 700;
        }

/* Highlight class */
.highlight {
    color: var(--asic-light-blue);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .capabilities-section .capabilities-row {
        flex-direction: column;
    }

    .capabilities-left-wrapper {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .capabilities-left-wrapper {
        padding: 2rem;
    }

    .capabilities-content-card {
        padding: 2rem;
    }

        .capabilities-content-card .icon-wrapper {
            width: 80px;
            height: 80px;
        }

            .capabilities-content-card .icon-wrapper i {
                font-size: 2rem;
            }

    .capabilities-list li {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* ===================================
   6. NEWS CAROUSEL - PALANTIR CLEAN STYLE
   =================================== */
.news-carousel-container {
    padding: 4rem 2rem;
    background: #FFFFFF;
}

.section-title {
    color: var(--asic-navy);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    font-family: 'GI750', sans-serif;
}

    .section-title .highlight {
        color: var(--asic-light-blue);
    }

/* Carousel Indicators - Modern Style */
.carousel-indicators-custom {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

    .carousel-indicators-custom button {
        width: 80px;
        height: 4px;
        background: rgba(0, 59, 92, 0.15);
        border: none;
        border-radius: 2px;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
    }

        .carousel-indicators-custom button:hover {
            background: rgba(74, 159, 216, 0.3);
        }

        .carousel-indicators-custom button.active {
            background: rgba(74, 159, 216, 0.3);
        }

.indicator-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--asic-light-blue);
    width: 0%;
    transition: none;
}

.carousel-indicators-custom button.active .indicator-progress {
    animation: progressBar 5s linear forwards;
}

@keyframes progressBar {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* News Cards - Clean Modern Style */
.news-card {
    background: #F8F9FA;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
}

    .news-card:hover {
        border-color: var(--asic-light-blue);
        transform: translateY(-5px);
        box-shadow: 0 12px 35px rgba(0, 59, 92, 0.15);
    }

/* Image Card */
.news-image-wrapper {
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    position: relative;
}

.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-img {
    transform: scale(1.05);
}

/* Content Card */
.news-card-body {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: 400px;
}

.news-date {
    color: var(--asic-light-blue);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .news-date i {
        font-size: 1rem;
    }

.news-card-title {
    color: var(--asic-navy);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
    font-family: 'GI750', sans-serif;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--asic-navy);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--asic-light-blue);
    border-radius: 8px;
    transition: all 0.3s ease;
    width: fit-content;
    background: transparent;
}

    .news-read-more:hover {
        background: var(--asic-light-blue);
        color: #FFFFFF;
        transform: translateX(5px);
        border-color: var(--asic-light-blue);
    }

    .news-read-more i {
        transition: transform 0.3s ease;
    }

    .news-read-more:hover i {
        transform: translateX(3px);
    }

/* Carousel Controls - Modern Clean Style */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: #FFFFFF;
    border: 2px solid var(--asic-light-blue);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none;
    width: auto;
    height: auto;
}

    .carousel-control-prev-icon::before {
        content: '←';
        color: var(--asic-light-blue);
        font-size: 1.5rem;
        font-weight: 700;
    }

    .carousel-control-next-icon::before {
        content: '→';
        color: var(--asic-light-blue);
        font-size: 1.5rem;
        font-weight: 700;
    }

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        background: var(--asic-light-blue);
        border-color: var(--asic-light-blue);
        transform: translateY(-50%) scale(1.1);
    }

        .carousel-control-prev:hover .carousel-control-prev-icon::before,
        .carousel-control-next:hover .carousel-control-next-icon::before {
            color: #FFFFFF;
        }

/* Responsive */
@media (max-width: 991.98px) {
    .news-card-body {
        padding: 2.5rem;
        min-height: 350px;
    }

    .news-image-wrapper {
        min-height: 300px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }
}

@media (max-width: 767.98px) {
    .news-carousel-container {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .news-card-body {
        padding: 2rem;
        min-height: 300px;
    }

    .news-image-wrapper {
        min-height: 250px;
    }

    .news-card-title {
        font-size: 1.5rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev-icon::before,
    .carousel-control-next-icon::before {
        font-size: 1.2rem;
    }
}

/* ===================================
   7. QUICK LINKS SECTION
   =================================== */
.quick-links-section {
    background: linear-gradient(135deg, #002A42 0%, var(--asic-navy) 100%);
    padding: 4rem 0;
}

.section-title-center {
    color: var(--asic-white);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'GI750', sans-serif;
}

    .section-title-center .highlight {
        color: var(--asic-yellow);
    }

.quick-link-card {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid rgba(74, 159, 216, 0.2);
    background: linear-gradient(135deg, #001F33 0%, #002A42 100%);
}

    .quick-link-card:hover {
        transform: translateY(-10px);
        border-color: var(--asic-yellow);
        box-shadow: 0 15px 40px rgba(255, 203, 5, 0.3);
    }

.quick-link-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

    .quick-link-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.quick-link-card:hover .quick-link-image img {
    transform: scale(1.1);
}

.quick-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 59, 92, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.quick-link-card:hover .quick-link-overlay {
    opacity: 1;
}

.quick-link-overlay i {
    color: var(--asic-yellow);
    font-size: 3rem;
}

.quick-link-title {
    padding: 1.5rem;
    color: var(--asic-white);
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    background: rgba(74, 159, 216, 0.1);
    transition: all 0.3s ease;
}

.quick-link-card:hover .quick-link-title {
    background: var(--asic-yellow);
    color: var(--asic-navy);
}

/* ===================================
   8. PRIORITIES SECTION
   =================================== */
.priorities-section {
    background: var(--asic-navy);
    padding: 4rem 0;
    border-top: 1px solid rgba(74, 159, 216, 0.2);
}

.priority-card {
    background: linear-gradient(135deg, #002A42 0%, #001F33 100%);
    border: 2px solid rgba(74, 159, 216, 0.2);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

    .priority-card:hover {
        border-color: var(--asic-yellow);
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(255, 203, 5, 0.3);
    }

.priority-icon {
    width: 80px;
    height: 80px;
    background: rgba(74, 159, 216, 0.1);
    border: 3px solid var(--asic-light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
}

.priority-card:hover .priority-icon {
    border-color: var(--asic-yellow);
    background: rgba(255, 203, 5, 0.1);
}

.priority-icon i {
    color: var(--asic-light-blue);
    font-size: 2.5rem;
}

.priority-card:hover .priority-icon i {
    color: var(--asic-yellow);
}

.priority-title {
    color: var(--asic-white);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.priority-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* ===================================
   9. IMAGE MODAL
   =================================== */
.image-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 59, 92, 0.95);
}

    .image-modal.show {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding: 60px 20px 20px;
    }

    .image-modal .modal-content {
        display: block;
        max-width: 70%;
        max-height: 70vh;
        width: auto;
        height: auto;
        border: 3px solid var(--asic-yellow);
        border-radius: 8px;
        object-fit: contain;
    }

    .image-modal .modal-close {
        position: fixed;
        top: 20px;
        right: 40px;
        color: var(--asic-yellow);
        font-size: 50px;
        font-weight: bold;
        cursor: pointer;
        z-index: 100000;
        transition: 0.3s;
    }

        .image-modal .modal-close:hover {
            color: var(--asic-light-blue);
            transform: scale(1.2);
        }

    .image-modal .modal-caption {
        text-align: center;
        padding: 20px 0 0;
    }

    .image-modal .modal-link {
        display: inline-block;
        color: var(--asic-yellow);
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: 700;
        padding: 0.75rem 1.5rem;
        border: 2px solid var(--asic-yellow);
        border-radius: 5px;
        transition: all 0.3s ease;
        background: rgba(0, 59, 92, 0.8);
    }

        .image-modal .modal-link:hover {
            background: var(--asic-yellow);
            color: var(--asic-navy);
        }

/* ===================================
   10. RESPONSIVE STYLES
   =================================== */

/* Tablets */
@media (max-width: 991.98px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .mission-card,
    .vision-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .content-wrapper {
        text-align: center;
    }

    .capabilities-content-card {
        flex-direction: column;
        text-align: center;
        border-left: none;
        border-top: 1px solid rgba(74, 159, 216, 0.2);
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .hero-content {
        padding: 2rem 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .news-image-wrapper {
        min-height: 250px;
    }

    .news-card-body {
        padding: 2rem;
    }

    .news-card-title {
        font-size: 1.5rem;
    }

    .section-title,
    .section-title-center {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .quick-link-image {
        height: 150px;
    }

    .priority-card {
        padding: 2rem 1.5rem;
    }
}

/* ===================================
   ASIC NAVIGATION STYLES
   =================================== */

:root {
    --tech-black: #000000;
    --tech-dark: #0a0a1a;
    --tech-blue: #1a2a3a;
}


.asic-navbar {
    background: #000000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    gap: 2rem;
}

/* Army Logo - LEFT */
.army-logo-container {
    flex-shrink: 0;
}

    .army-logo-container img {
        height: 65px;
        width: auto;
    }

/* Center Title */
.nav-title-container {
    flex: 1;
    text-align: center;
}

    .nav-title-container h1 {
        color: #ffffff;
        font-size: 2rem;
        font-weight: 900;
        margin: 0;
        letter-spacing: 0.5px;
        line-height: 1.2;
        text-transform: uppercase;
        font-family: 'GI750', sans-serif;
        white-space: nowrap;
    }

/* Search Box */
.search-container {
    flex-shrink: 0;
    position: relative;
}

.search-input {
    font-size: 14px;
    border: 2px solid var(--asic-yellow);
    border-radius: 5px;
    padding: 10px 45px 10px 15px;
    width: 200px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

    .search-input:focus {
        background: rgba(255, 255, 255, 0.2);
        border-color: var(--asic-light-blue);
        outline: none;
    }

    .search-input::placeholder {
        color: #aaa;
    }

.search-submit {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--asic-yellow);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .search-submit:hover {
        background: var(--asic-light-blue);
    }

    .search-submit i {
        color: var(--asic-navy);
        font-size: 16px;
    }

/* Right Logos */
.right-logos-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

    .right-logos-container img {
        height: 60px;
        width: auto;
        transition: transform 0.3s ease;
    }

        .right-logos-container img:hover {
            transform: scale(1.05);
        }

/* Navigation Links Bar */
.nav-links-bar {
    border-top: 1px solid rgba(74, 159, 216, 0.2);
    padding: 0.5rem 0;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    padding: 0 2rem;
    list-style: none;
    max-width: 1400px;
    width: 100%;
}

.nav-item {
    position: static;
}

.nav-link {
    color: #ffffff !important;
    font-weight: bold;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-size: 0.95rem;
}

    .nav-link:hover {
        background: rgba(74, 159, 216, 0.15);
        color: var(--asic-light-blue) !important;
        transform: translateY(-2px);
    }

/* Dropdown Arrow */
.dropdown-toggle::after {
    content: "▼";
    font-size: 0.7rem;
    margin-left: 0.5rem;
    border: none;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* DROPDOWN MEGA MENU */
.dropdown-menu.mega-menu {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    top: 100% !important;
    width: 100vw !important;
    max-width: 100vw !important;
    background-color: var(--asic-navy);
    border: none;
    border-top: 2px solid var(--asic-yellow);
    border-bottom: 2px solid var(--asic-yellow);
    border-radius: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    z-index: 990;
}

.mega-menu .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.mega-menu h6 {
    color: var(--asic-yellow);
}

.mega-menu ul li {
    transition: all 0.3s ease;
    padding: 0.25rem 0;
}

    .mega-menu ul li a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
    }

    .mega-menu ul li:hover {
        color: var(--asic-light-blue) !important;
        padding-left: 0.5rem;
    }

    .mega-menu ul li a:hover {
        color: var(--asic-light-blue);
    }

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    width: 55px;
    height: 55px;
    background: var(--asic-navy);
    border: 3px solid var(--asic-yellow);
    border-radius: 5px;
    cursor: pointer;
    z-index: 1100;
    transition: all 0.3s ease;
}

    .mobile-menu-btn:hover {
        border-color: var(--asic-light-blue);
        box-shadow: 0 0 10px rgba(74, 159, 216, 0.5);
    }

    .mobile-menu-btn .bar {
        position: absolute;
        left: 50%;
        width: 30px;
        height: 3px;
        background: var(--asic-yellow);
        margin-left: -15px;
        transition: all 0.3s ease;
    }

        .mobile-menu-btn .bar:nth-child(1) {
            top: 16px;
        }

        .mobile-menu-btn .bar:nth-child(2) {
            top: 26px;
        }

        .mobile-menu-btn .bar:nth-child(3) {
            top: 36px;
        }

    .mobile-menu-btn.open .bar:nth-child(1) {
        top: 26px;
        transform: rotate(45deg);
    }

    .mobile-menu-btn.open .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.open .bar:nth-child(3) {
        top: 26px;
        transform: rotate(-45deg);
    }

/* Mobile Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100%;
    background: linear-gradient(135deg, var(--asic-navy) 0%, #001F33 100%);
    transition: left 0.3s ease-in-out;
    z-index: 1090;
    padding: 0;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
}

    .sidebar.show {
        left: 0;
    }

    .sidebar .nav {
        padding-top: 80px;
    }

    .sidebar .nav-link {
        color: white !important;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(74, 159, 216, 0.2);
        display: block;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
    }

        .sidebar .nav-link:hover {
            background: rgba(74, 159, 216, 0.15);
            color: var(--asic-light-blue) !important;
            padding-left: 2rem;
        }

    .sidebar .dropdown-toggle::after {
        content: "+";
        position: absolute;
        right: 1.5rem;
        font-size: 1.5rem;
        border: none;
    }

    .sidebar .dropdown.active .dropdown-toggle::after {
        content: "−";
    }

    .sidebar .dropdown-submenu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: rgba(74, 159, 216, 0.05);
    }

    .sidebar .dropdown.active .dropdown-submenu {
        max-height: 500px;
    }

    .sidebar .dropdown-submenu a {
        padding: 0.75rem 2.5rem;
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.9) !important;
    }

        .sidebar .dropdown-submenu a:hover {
            background: rgba(74, 159, 216, 0.1);
            color: var(--asic-light-blue) !important;
        }

    .sidebar .mobile-search {
        padding: 1.5rem;
        border-top: 2px solid var(--asic-yellow);
        margin-top: 1rem;
    }

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1040;
}

    .overlay.show {
        display: block;
    }


/* ===================================
   ASIC FOOTER STYLES
   =================================== */
.asic-footer {
    
    background: #000000;
    border-top: 3px solid #221F20;
    padding: 0;
    margin: 0;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(74, 159, 216, 0.2);
}

.footer-links-section h3,
.footer-social-section h3,
.footer-partners-section h3 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 900 !important;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

    .footer-list li {
        margin-bottom: 0.75rem;
    }

        .footer-list li a {
            color: #ffffff;
            text-decoration: none;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            display: inline-block;
        }

            .footer-list li a:hover {
                color: var(--asic-light-blue);
                transform: translateX(5px);
            }

.footer-social-section {
    text-align: center;
    font-size: 45px;
  
}

.footer-social-section a {
 
    color: #ffffff !important;
}

.dod-logo {
    margin-bottom: 2rem;
    
}

    .dod-logo img {
        height: 130px;
        width: auto;
        filter: brightness(1.2);
        color: #ffffff !important;
    }

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

    .social-icons a {
        display: inline-block;
        transition: all 0.3s ease;
    }

        .social-icons a:hover {
            transform: translateY(-5px);
        }

    .social-icons img {
        height: 40px;
        width: auto;
        filter: brightness(1.1);
    }

.sitemap-link {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(74, 159, 216, 0.2);
}

    .sitemap-link a {
        color: #ffffff;
        text-decoration: none;
        font-size: 1.5rem;
        font-weight: 600;
        transition: all 0.3s ease;
    }

        .sitemap-link a:hover {
            color: var(--asic-light-blue);
        }

.partner-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: center;
}

    .partner-logos a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        background: rgba(86, 85, 87, 0.06);
        border-radius: 8px;
        transition: all 0.3s ease;
        border: 1px solid transparent;
        min-height: 80px;
    }

        .partner-logos a:hover {
            background: rgba(34, 31, 32, 0.1);
            border-color: #221F20;
            transform: translateY(-3px);
        }

    .partner-logos img {
        max-height: 50px;
        max-width: 100%;
        width: auto;
        height: auto;
        filter: brightness(1.1);
    }

.footer-copyright-text {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(74, 159, 216, 0.2);
}

    .footer-copyright-text p {
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.85rem;
        margin: 0;
        line-height: 1.6;
    }

/* Responsive Navigation & Footer */
@media (max-width: 1199.98px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links-bar {
        display: none !important;
    }

    .top-bar {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .army-logo-container {
        order: 1;
        margin: 0 auto;
        flex: 1 1 100%;
        text-align: center;
        padding-left: 60px;
    }

        .army-logo-container img {
            height: 55px;
        }

    .nav-title-container {
        order: 2;
        flex: 1 1 100%;
        text-align: center;
        padding-left: 60px;
    }

        .nav-title-container h1 {
            font-size: 1.4rem;
        }

    .right-logos-container {
        order: 3;
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
        gap: 0.5rem;
    }

        .right-logos-container img {
            height: 35px;
        }

    .search-container {
        display: none;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (min-width: 1200px) {
    .mobile-menu-btn {
        display: none !important;
    }

    .sidebar {
        display: none !important;
    }

    .overlay {
        display: none !important;
    }
}

/* ===================================
   ASIC PHOTO GALLERY STYLES
   =================================== */

/* Hero Section */
.photo-gallery-hero {
    position: relative;
    background: linear-gradient(135deg, var(--asic-navy) 0%, #001F33 100%);
    padding: 4rem 0 3rem;
    border-bottom: 3px solid var(--asic-yellow);
}

    .photo-gallery-hero .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(74, 159, 216, 0.02) 2px, rgba(74, 159, 216, 0.02) 4px), repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(74, 159, 216, 0.02) 2px, rgba(74, 159, 216, 0.02) 4px);
        opacity: 0.3;
    }

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-text-content {
    flex: 1;
}

.hero-breadcrumb {
    color: var(--asic-light-blue);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

    .hero-breadcrumb a {
        color: var(--asic-yellow);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .hero-breadcrumb a:hover {
            color: var(--asic-light-blue);
        }

.hero-page-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--asic-white);
    margin-bottom: 1.5rem;
    font-family: 'GI750', sans-serif;
}

    .hero-page-title .highlight {
        color: var(--asic-yellow);
    }

.hero-page-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    max-width: 700px;
}

.hero-asic-logo {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.95);
    border: 4px solid var(--asic-yellow);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(255, 203, 5, 0.4);
    transition: all 0.3s ease;
}

    .hero-asic-logo:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(255, 203, 5, 0.5);
    }

    .hero-asic-logo img {
        height: 120px;
        width: auto;
        display: block;
    }

/* Albums Section */
.albums-section {
    background: #F5F5F5;
    padding: 4rem 0;
}

.albums-count-bar {
    background: var(--asic-navy);
    color: var(--asic-white);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    border-left: 5px solid var(--asic-yellow);
}

    .albums-count-bar p {
        margin: 0;
        font-size: 1.1rem;
    }

    .albums-count-bar i {
        color: var(--asic-yellow);
        margin-right: 0.5rem;
    }

    .albums-count-bar strong {
        color: var(--asic-yellow);
        font-size: 1.3rem;
    }

/* Albums Grid */
.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* Album Card */
.album-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 59, 92, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

    .album-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0, 59, 92, 0.2);
        border-color: var(--asic-yellow);
    }

.album-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

    .album-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.album-card:hover .album-image-wrapper img {
    transform: scale(1.1);
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 59, 92, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.album-overlay i {
    color: var(--asic-yellow);
    font-size: 3rem;
}

/* Album Body */
.album-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.album-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--asic-navy);
    margin-bottom: 1rem;
    font-family: 'GI750', sans-serif;
}

.album-description {
    color: rgba(0, 59, 92, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

/* Album Stats */
.album-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(74, 159, 216, 0.1);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--asic-navy);
    font-weight: 600;
}

    .stat-badge i {
        color: var(--asic-light-blue);
    }

/* View Album Button */
.album-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--asic-yellow);
    color: var(--asic-navy);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 2px solid var(--asic-yellow);
}

    .album-view-btn:hover {
        background: var(--asic-navy);
        color: var(--asic-yellow);
        transform: translateX(5px);
    }

    .album-view-btn i {
        font-size: 0.85rem;
    }

/* No Albums Message */
.no-albums-message {
    text-align: center;
    padding: 4rem 2rem;
    background: #FFFFFF;
    border-radius: 12px;
    border: 2px dashed rgba(0, 59, 92, 0.3);
}

    .no-albums-message i {
        font-size: 4rem;
        color: var(--asic-light-blue);
        margin-bottom: 1.5rem;
    }

    .no-albums-message h2 {
        color: var(--asic-navy);
        font-size: 2rem;
        margin-bottom: 1rem;
        font-family: 'GI750', sans-serif;
    }

    .no-albums-message p {
        color: rgba(0, 59, 92, 0.7);
        font-size: 1.1rem;
    }

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ===================================
   RESPONSIVE STYLES
   =================================== */
@media (max-width: 991.98px) {
    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero-text-content {
        text-align: center;
    }

    .hero-page-title {
        font-size: 2.5rem;
    }

    .hero-page-description {
        margin: 0 auto;
    }

    .hero-asic-logo img {
        height: 100px;
    }

    .albums-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .photo-gallery-hero {
        padding: 2rem 0;
    }

    .hero-page-title {
        font-size: 2rem;
    }

    .hero-page-description {
        font-size: 1rem;
    }

    .hero-asic-logo img {
        height: 80px;
    }

    .albums-grid {
        grid-template-columns: 1fr;
    }

    .album-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .albums-count-bar {
        padding: 1rem;
    }

        .albums-count-bar p {
            font-size: 0.95rem;
        }

    .album-title {
        font-size: 1.2rem;
    }
}

/* ===================================
   ASIC SEARCH STYLES
   =================================== */

/* Search Container */
.asic-search-container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 400px;
}

.asic-search-input {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: #221F20;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--asic-navy);
    font-size: 1rem;
    font-family: 'GI400', sans-serif;
    transition: all 0.3s ease;
}

    .asic-search-input:focus {
        outline: none;
        border-color: var(--asic-light-blue);
        box-shadow: 0 0 0 3px rgba(74, 159, 216, 0.2);
    }

.asic-search-button {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    background: #221F20;
    border: none;
    border-radius: 0 8px 8px 0;
    color: #ffffff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .asic-search-button:hover {
        background: var(--asic-light-blue);
        color: black;
    }

/* Search Overlay */
.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 59, 92, 0.8);
    z-index: 9998;
}

/* Search Results Panel */
.search-results-panel {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: var(--asic-navy);
    color: white;
    border-bottom: 3px solid var(--asic-yellow);
}

    .search-header h3 {
        margin: 0;
        font-size: 1.5rem;
        color: white;
    }

.search-count {
    color: var(--asic-yellow);
    font-weight: 600;
}

.search-close-btn {
    background: transparent;
    border: 2px solid var(--asic-yellow);
    color: var(--asic-yellow);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

    .search-close-btn:hover {
        background: var(--asic-yellow);
        color: var(--asic-navy);
    }

.search-results-container {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

/* Search Categories */
.search-category {
    margin-bottom: 2rem;
}

.search-category-title {
    color: var(--asic-navy);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--asic-yellow);
}

.search-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Search Result Items */
.search-result-item {
    display: block;
    padding: 1.5rem;
    background: #F5F5F5;
    border: 2px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .search-result-item:hover {
        border-color: var(--asic-yellow);
        background: white;
        transform: translateX(5px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

.search-item-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.search-item-icon {
    color: var(--asic-light-blue);
    font-size: 1.2rem;
}

.search-item-title {
    color: var(--asic-navy);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.search-item-description {
    color: rgba(0, 59, 92, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 0.75rem 0;
}

.search-item-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Badges */
.command-badge,
.link-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.command-badge {
    background: rgba(74, 159, 216, 0.1);
    color: var(--asic-light-blue);
    border: 1px solid var(--asic-light-blue);
}

.link-badge.internal {
    background: rgba(74, 159, 216, 0.1);
    color: var(--asic-navy);
    border: 1px solid var(--asic-light-blue);
}

.link-badge.external {
    background: rgba(255, 203, 5, 0.1);
    color: var(--asic-navy);
    border: 1px solid var(--asic-yellow);
}

/* Highlight matched text */
mark {
    background: var(--asic-yellow);
    color: var(--asic-navy);
    padding: 0.1rem 0.2rem;
    border-radius: 2px;
}

/* No Results */
.search-no-results {
    text-align: center;
    padding: 3rem 2rem;
}

    .search-no-results i {
        font-size: 4rem;
        color: var(--asic-light-blue);
        margin-bottom: 1rem;
    }

    .search-no-results h3 {
        color: var(--asic-navy);
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .search-no-results p {
        color: rgba(0, 59, 92, 0.7);
    }

/* Responsive */
@media (max-width: 767.98px) {
    .search-results-panel {
        width: 95%;
        max-height: 90vh;
    }

    .search-header {
        padding: 1rem;
        flex-wrap: wrap;
    }

    .search-results-container {
        padding: 1rem;
    }

    .search-item-meta {
        flex-direction: column;
    }
}

/* ===================================
   ENHANCED SEARCH STYLES
   Command Hierarchy Display
   =================================== */

/* Search Results Panel */
.search-results-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.search-results-container {
    padding: 2rem;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    max-height: calc(80vh - 200px);
}

    /* Custom Scrollbar for Search Results */
    .search-results-container::-webkit-scrollbar {
        width: 10px;
    }

    .search-results-container::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .search-results-container::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 10px;
    }

        .search-results-container::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

/* For Firefox */
.search-results-container {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

/* Command Structure Legend */
.command-structure-legend {
    background: linear-gradient(135deg, var(--asic-navy) 0%, #001F33 100%);
    padding: 1.5rem 2rem;
    border-bottom: 3px solid var(--asic-yellow);
}

.legend-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--asic-yellow);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

    .legend-title i {
        font-size: 1.3rem;
    }

.legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 203, 5, 0.3);
}

.legend-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 2px solid;
}

    .legend-badge.cecom {
        background: var(--asic-yellow);
        color: var(--asic-navy);
        border-color: var(--asic-yellow);
    }

    .legend-badge.asic {
        background: var(--asic-light-blue);
        color: white;
        border-color: var(--asic-light-blue);
    }

.legend-arrow {
    color: var(--asic-yellow);
    font-size: 1.2rem;
    font-weight: 700;
}

.legend-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Enhanced Search Header */
.search-header-content {
    flex: 1;
}

.search-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: white;
}

/* Category Styling */
.search-category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--asic-navy);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--asic-yellow);
}

    .search-category-title i {
        color: var(--asic-yellow);
    }

.category-count {
    color: var(--asic-light-blue);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Command Hierarchy Badges */
.command-hierarchy {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(74, 159, 216, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(74, 159, 216, 0.2);
}

.command-badge {
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 2px solid;
}

    .command-badge.parent {
        background: var(--asic-yellow);
        color: var(--asic-navy);
        border-color: var(--asic-yellow);
    }

    .command-badge.subordinate {
        background: var(--asic-light-blue);
        color: white;
        border-color: var(--asic-light-blue);
    }

    .command-badge.single {
        background: rgba(74, 159, 216, 0.1);
        color: var(--asic-navy);
        border-color: var(--asic-light-blue);
    }

.hierarchy-arrow {
    color: var(--asic-yellow);
    font-size: 0.9rem;
}

/* Enhanced Search Item */
.search-result-item {
    display: block;
    padding: 1.5rem;
    background: #F5F5F5;
    border: 2px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

    .search-result-item:hover {
        border-color: var(--asic-yellow);
        background: white;
        transform: translateX(5px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .search-result-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--asic-light-blue);
        border-radius: 8px 0 0 8px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .search-result-item:hover::before {
        opacity: 1;
    }

.search-item-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.search-item-icon {
    color: var(--asic-light-blue);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.search-item-title {
    color: var(--asic-navy);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.search-item-description {
    color: rgba(0, 59, 92, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.search-item-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Link Badges */
.link-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 2px solid;
}

    .link-badge.internal {
        background: rgba(74, 159, 216, 0.1);
        color: var(--asic-navy);
        border-color: var(--asic-light-blue);
    }

    .link-badge.external {
        background: rgba(255, 203, 5, 0.1);
        color: var(--asic-navy);
        border-color: var(--asic-yellow);
    }

    .link-badge i {
        font-size: 0.75rem;
    }

/* Highlight matched text */
mark {
    background: var(--asic-yellow);
    color: var(--asic-navy);
    padding: 0.15rem 0.3rem;
    border-radius: 3px;
    font-weight: 600;
}

/* Responsive Enhancements */
@media (max-width: 991.98px) {
    .command-structure-legend {
        padding: 1rem 1.5rem;
    }

    .legend-items {
        flex-direction: column;
    }

    .command-hierarchy {
        flex-wrap: wrap;
    }
}

@media (max-width: 767.98px) {
    .search-results-panel {
        width: 95%;
        max-height: 90vh;
    }

    .search-header {
        padding: 1rem;
        flex-wrap: wrap;
    }

    .search-results-container {
        padding: 1rem;
    }

    .search-item-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .command-structure-legend {
        padding: 1rem;
    }

    .legend-title {
        font-size: 1rem;
    }

    .command-hierarchy {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .search-header h3 {
        font-size: 1.2rem;
    }

    .search-category-title {
        font-size: 1rem;
    }

    .search-item-title {
        font-size: 1rem;
    }

    .legend-badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
}

/* No Results */
.search-no-results {
    text-align: center;
    padding: 3rem 2rem;
}

    .search-no-results i {
        font-size: 4rem;
        color: var(--asic-light-blue);
        margin-bottom: 1rem;
    }

    .search-no-results h3 {
        color: var(--asic-navy);
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .search-no-results p {
        color: rgba(0, 59, 92, 0.7);
        margin-bottom: 0;
    }

/* Try Again Button */
.search-retry-btn {
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--asic-yellow);
    color: var(--asic-navy);
    border: 2px solid var(--asic-yellow);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .search-retry-btn:hover {
        background: var(--asic-navy);
        color: var(--asic-yellow);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .search-retry-btn i {
        font-size: 1rem;
    }

/* ===================================
   ASIC COMPLETE RESPONSIVE OVERRIDE
   This file completely overrides ASIC.css responsive behavior
   Load this LAST, after all other CSS files
   =================================== */

/* ===================================
   FORCE DESKTOP MODE until 1800px
   Override the original 1199px breakpoint
   =================================== */
@media (min-width: 1200px) and (max-width: 1799.98px) {
    /* Force desktop nav to show between 1200-1800px */
    .nav-links-bar {
        display: block !important;
    }

    /* Force mobile elements to hide between 1200-1800px */
    .mobile-menu-btn {
        display: none !important;
    }

    .sidebar {
        display: none !important;
    }

    .overlay {
        display: none !important;
    }

    /* Show search */
    .search-container,
    .asic-search-container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* ===================================
   MOBILE MODE starts at 1800px
   =================================== */
@media (max-width: 1799.98px) {
    /* ===== HAMBURGER BUTTON ===== */
    .mobile-menu-btn {
        display: block !important;
        position: fixed !important;
        top: 1rem !important;
        left: 1rem !important;
        width: 55px !important;
        height: 55px !important;
        background: #003B5C !important;
        border: 3px solid #FFCB05 !important;
        border-radius: 5px !important;
        cursor: pointer !important;
        z-index: 1100 !important;
    }

        .mobile-menu-btn .bar {
            position: absolute !important;
            left: 50% !important;
            width: 30px !important;
            height: 3px !important;
            background: #FFCB05 !important;
            margin-left: -15px !important;
            transition: all 0.3s ease !important;
        }

            .mobile-menu-btn .bar:nth-child(1) {
                top: 16px !important;
            }

            .mobile-menu-btn .bar:nth-child(2) {
                top: 26px !important;
            }

            .mobile-menu-btn .bar:nth-child(3) {
                top: 36px !important;
            }

        .mobile-menu-btn.open .bar:nth-child(1) {
            top: 26px !important;
            transform: rotate(45deg) !important;
        }

        .mobile-menu-btn.open .bar:nth-child(2) {
            opacity: 0 !important;
        }

        .mobile-menu-btn.open .bar:nth-child(3) {
            top: 26px !important;
            transform: rotate(-45deg) !important;
        }

    /* ===== HIDE DESKTOP NAV ===== */
    .nav-links-bar {
        display: none !important;
    }

    /* ===== HIDE SEARCH ===== */
    .search-container,
    .asic-search-container {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    /* ===== TOP BAR LAYOUT ===== */
    .top-bar {
        padding: 1rem !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1rem !important;
        position: relative !important;
        min-height: 80px !important;
    }

    /* Army Logo - Centered */
    .army-logo-container {
        order: 1 !important;
        flex: 1 1 100% !important;
        text-align: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }

        .army-logo-container img {
            height: 50px !important;
            width: auto !important;
        }

    /* Title - Centered, shows "CECOM (ASIC)" */
    .nav-title-container {
        order: 2 !important;
        flex: 1 1 100% !important;
        text-align: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }

        .nav-title-container h1 {
            font-size: 0 !important;
            font-weight: 900 !important;
            color: #ffffff !important;
            line-height: 1.2 !important;
            white-space: nowrap !important;
        }

            .nav-title-container h1::before {
                content: "CECOM - ASIC" !important;
                display: block !important;
                font-size: 2rem !important;
                letter-spacing: 2px !important;
            }

    /* Right Logos */
    .right-logos-container {
        order: 3 !important;
        position: absolute !important;
        top: 1rem !important;
        right: 1rem !important;
        display: flex !important;
        gap: 0.5rem !important;
        z-index: 1 !important;
    }

        .right-logos-container img {
            height: 35px !important;
            width: auto !important;
        }

    /* ===== SIDEBAR ===== */
    .sidebar {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 300px !important;
        height: 100vh !important;
        background: linear-gradient(135deg, #003B5C 0%, #001F33 100%) !important;
        transition: left 0.3s ease-in-out !important;
        z-index: 1090 !important;
        overflow-y: auto !important;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5) !important;
        padding: 0 !important;
    }

        .sidebar.show {
            left: 0 !important;
        }

        /* Sidebar Nav Container */
        .sidebar .nav {
            padding-top: 80px !important;
            display: flex !important;
            flex-direction: column !important;
            list-style: none !important;
            margin: 0 !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
        }

        /* Sidebar Links */
        .sidebar .nav-link,
        .sidebar a.nav-link {
            color: #FFFFFF !important;
            padding: 1rem 1.5rem !important;
            border-bottom: 1px solid rgba(74, 159, 216, 0.2) !important;
            display: block !important;
            text-decoration: none !important;
            font-weight: 600 !important;
            transition: all 0.3s ease !important;
            background: transparent !important;
            font-size: 1rem !important;
        }

            .sidebar .nav-link:hover,
            .sidebar a.nav-link:hover {
                background: rgba(74, 159, 216, 0.15) !important;
                color: #4A9FD8 !important;
                padding-left: 2rem !important;
            }

        /* Dropdown Toggle */
        .sidebar .dropdown-toggle {
            color: #FFFFFF !important;
            padding: 1rem 1.5rem !important;
            padding-right: 3rem !important;
            border-bottom: 1px solid rgba(74, 159, 216, 0.2) !important;
            display: block !important;
            text-decoration: none !important;
            font-weight: 600 !important;
            background: transparent !important;
            position: relative !important;
            cursor: pointer !important;
        }

            .sidebar .dropdown-toggle::after {
                content: "+" !important;
                position: absolute !important;
                right: 1.5rem !important;
                top: 50% !important;
                transform: translateY(-50%) !important;
                font-size: 1.5rem !important;
                border: none !important;
                color: #FFCB05 !important;
            }

        .sidebar .dropdown.active .dropdown-toggle::after {
            content: "−" !important;
        }

        /* Dropdown Submenu */
        .sidebar .dropdown-submenu {
            max-height: 0 !important;
            overflow: hidden !important;
            transition: max-height 0.3s ease !important;
            background: rgba(0, 31, 51, 0.5) !important;
        }

        .sidebar .dropdown.active .dropdown-submenu {
            max-height: 800px !important;
        }

        .sidebar .dropdown-submenu a {
            padding: 0.75rem 1.5rem 0.75rem 2.5rem !important;
            font-size: 0.9rem !important;
            color: rgba(255, 255, 255, 0.9) !important;
            display: block !important;
            text-decoration: none !important;
            border-bottom: 1px solid rgba(74, 159, 216, 0.1) !important;
        }

            .sidebar .dropdown-submenu a:hover {
                background: rgba(74, 159, 216, 0.2) !important;
                color: #FFCB05 !important;
                padding-left: 3rem !important;
            }

        /* Sidebar Icons */
        .sidebar .nav-link i,
        .sidebar .dropdown-toggle i {
            margin-right: 0.75rem !important;
            color: #FFCB05 !important;
        }

    /* ===== OVERLAY ===== */
    .overlay {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.8) !important;
        z-index: 1040 !important;
    }

        .overlay.show {
            display: block !important;
        }
}

/* ===== TABLET SIZING ===== */
@media (min-width: 768px) and (max-width: 1799.98px) {
    .army-logo-container img {
        height: 45px !important;
    }

    .nav-title-container h1::before {
        font-size: 1.8rem !important;
    }

    .right-logos-container img {
        height: 40px !important;
    }
}

/* ===== MOBILE SIZING ===== */
@media (max-width: 767.98px) {
    .army-logo-container img {
        height: 38px !important;
    }

    .nav-title-container h1::before {
        font-size: 1.5rem !important;
    }

    .right-logos-container img {
        height: 30px !important;
    }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 575.98px) {
    .army-logo-container img {
        height: 32px !important;
    }

    .nav-title-container h1::before {
        font-size: 1.3rem !important;
    }

    .right-logos-container img {
        height: 26px !important;
    }
}

/* ===== DESKTOP (1800px+) ===== */
@media (min-width: 1800px) {
    .mobile-menu-btn {
        display: none !important;
    }

    .sidebar {
        display: none !important;
    }

    .overlay {
        display: none !important;
    }

    .nav-links-bar {
        display: block !important;
    }

    .search-container,
    .asic-search-container {
        display: block !important;
    }
}


/* ===================================
   ASIC MOBILE SIDEBAR SEARCH - CORRECTED
   =================================== */
@media (max-width: 1799.98px) {
    /* Mobile Search Container in Sidebar */
    .sidebar .mobile-search,
    .sidebar .asic-search-container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 1.5rem !important;
        border-top: 2px solid #FFCB05 !important;
        margin-top: 1rem !important;
        background: rgba(0, 31, 51, 0.5) !important;
        position: relative !important;
    }

        /* Mobile Search Input */
        .sidebar .asic-search-input,
        .sidebar .mobile-search .asic-search-input,
        .sidebar .search-input {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
            width: 100% !important;
            padding: 0.75rem 3.5rem 0.75rem 1rem !important;
            border: 2px solid #4A9FD8 !important;
            border-radius: 8px !important;
            background: rgba(255, 255, 255, 0.95) !important;
            color: #000000 !important;
            font-size: 1rem !important;
            font-family: inherit !important;
            transition: all 0.3s ease !important;
            box-sizing: border-box !important;
        }

            .sidebar .asic-search-input:focus,
            .sidebar .mobile-search .asic-search-input:focus,
            .sidebar .search-input:focus {
                outline: none !important;
                border-color: #FFCB05 !important;
                box-shadow: 0 0 0 3px rgba(74, 159, 216, 0.2) !important;
                background: rgba(255, 255, 255, 1) !important;
            }

            .sidebar .asic-search-input::placeholder,
            .sidebar .mobile-search .asic-search-input::placeholder,
            .sidebar .search-input::placeholder {
                color: rgba(0, 0, 0, 0.5) !important;
            }

        /* Mobile Search Button */
        .sidebar .asic-search-button,
        .sidebar .mobile-search .asic-search-button,
        .sidebar .search-submit {
            display: flex !important;
            visibility: visible !important;
            opacity: 1 !important;
            position: absolute !important;
            right: 2rem !important;
            top: 50% !important;
            transform: translateY(-50%) !important;
            width: 45px !important;
            height: 45px !important;
            background: #FFCB05 !important;
            border: none !important;
            border-radius: 8px !important;
            color: #003B5C !important;
            font-size: 1.1rem !important;
            cursor: pointer !important;
            transition: all 0.3s ease !important;
            align-items: center !important;
            justify-content: center !important;
            z-index: 10 !important;
        }

            .sidebar .asic-search-button:hover,
            .sidebar .mobile-search .asic-search-button:hover,
            .sidebar .search-submit:hover {
                background: #4A9FD8 !important;
                color: #ffffff !important;
                transform: translateY(-50%) scale(1.05) !important;
            }

            .sidebar .asic-search-button i,
            .sidebar .mobile-search .asic-search-button i,
            .sidebar .search-submit i {
                color: inherit !important;
                margin: 0 !important;
            }
}

/* ===================================
   ASIC VIDEO MODAL - NUCLEAR Z-INDEX FIX
   Add this to the VERY BOTTOM of ASIC.css
   This ensures modal is ALWAYS above navigation
   =================================== */

/* Force video modal to highest possible z-index */
.video-modal,
#videoModal,
div[id="videoModal"],
.video-modal[style*="display: block"],
#videoModal[style*="display: block"] {
    z-index: 999999 !important;
    position: fixed !important;
}

    /* Modal content also needs high z-index */
    .video-modal-content,
    #videoModal .video-modal-content {
        z-index: 1000000 !important;
        position: relative !important;
    }

    /* Close button needs even higher */
    .video-modal-close,
    #videoModal .video-modal-close {
        z-index: 1000001 !important;
    }

/* Modal video */
.modal-video,
#modalVideo {
    z-index: 1000000 !important;
    position: relative !important;
}

/* Force navigation to LOWER z-index when modal is open */
body:has(#videoModal[style*="display: block"]) .asic-navbar,
body:has(#videoModal[style*="display: block"]) nav,
body:has(#videoModal[style*="display: block"]) header,
body:has(#videoModal[style*="display: block"]) .navbar {
    z-index: 1 !important;
}

/* Alternative: Add class to body when modal opens */
body.video-modal-open .asic-navbar,
body.video-modal-open nav,
body.video-modal-open header,
body.video-modal-open .navbar {
    z-index: 1 !important;
}

body.video-modal-open #videoModal {
    z-index: 999999 !important;
}
/* ===================================
   VIDEO BACKGROUND & HERO STYLES
   =================================== */

/* Full-screen video container */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

    /* Video element styling */
    .hero-video-container video {
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        object-fit: cover;
    }

/* Video Overlay (Darkens video for text readability) */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
    z-index: 1;
}

/* Video Playback Controls (if visible) */
.video-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.video-btn {
    background: rgba(255, 203, 5, 0.8);
    border: none;
    color: #000;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .video-btn:hover {
        background: #ffcb05;
    }

/* Responsive adjustments for video */
@media (max-width: 768px) {
    .hero-video-container {
        display: none; /* Often hidden on mobile to save data */
    }

    .hero-section {
        background-image: url('hero-fallback.jpg'); /* Static image fallback */
        background-size: cover;
        background-position: center;
    }
}


/* Bottom Controls (Play/Mute) */
.video-controls-mission {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 10;
    display: flex;
    gap: 10px;
    opacity: 0; /* Hidden by default, shows on hover */
    transition: opacity 0.3s ease;
}



.video-controls-mission button {
    background: rgba(0, 0, 0, 0.6);
    color: #ffcb05;
    border: 1px solid #ffcb05;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .video-controls-mission button:hover {
        background: #ffcb05;
        color: #000;
    }
/* Expand Button (Top Right) */
.video-expand-fullscreen-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: 1px solid #ffcb05;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

    .video-expand-fullscreen-btn:hover {
        background: #ffcb05;
        color: #000;
    }

/* Bottom Controls (Play/Mute) */
.video-controls-mission {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 10;
    display: flex;
    gap: 10px;
    opacity: 0; /* Hidden by default, shows on hover */
    transition: opacity 0.3s ease;
}


.video-controls-mission button {
    background: rgba(0, 0, 0, 0.6);
    color: #ffcb05;
    border: 1px solid #ffcb05;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .video-controls-mission button:hover {
        background: #ffcb05;
        color: #000;
    }
/* ===================================
   4. MISSION VIDEO & MODAL STYLES
   =================================== */





/* Expand Button (Top Right) */
.video-expand-fullscreen-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(0, 59, 92, 0.8); /* Navy Blue */
    color: var(--asic-white);
    border: 1px solid var(--asic-yellow);
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

    .video-expand-fullscreen-btn:hover {
        background: var(--asic-yellow);
        color: var(--asic-navy);
    }

/* Bottom Controls (Play/Mute) */
.video-controls-mission {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 10;
    display: flex;
    gap: 10px;
    opacity: 0; /* Hidden until hover */
    transition: opacity 0.3s ease;
}



.video-controls-mission button {
    background: rgba(0, 59, 92, 0.8);
    color: var(--asic-yellow);
    border: 1px solid var(--asic-yellow);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- FULLSCREEN MODAL --- */
.video-modal {
    display: none; /* Controlled by JS */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1100px;
}

#modalVideo {
    width: 100%;
    height: auto;
    border: 2px solid var(--asic-yellow);
}

.modal-close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

    .modal-close-btn:hover {
        color: var(--asic-yellow);
    }

/* ===================================
   4. MISSION VIDEO & MODAL STYLES
   =================================== */






/* This is the corrected replacement */


/* Expand Button (Top Right) */
.video-expand-fullscreen-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(0, 59, 92, 0.8); /* Navy Blue */
    color: var(--asic-white);
    border: 1px solid var(--asic-yellow);
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

    .video-expand-fullscreen-btn:hover {
        background: var(--asic-yellow);
        color: var(--asic-navy);
    }

/* Bottom Controls (Play/Mute) */
.video-controls-mission {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 10;
    display: flex;
    gap: 10px;
    opacity: 0; /* Hidden until hover */
    transition: opacity 0.3s ease;
}



.video-controls-mission button {
    background: rgba(0, 59, 92, 0.8);
    color: var(--asic-yellow);
    border: 1px solid var(--asic-yellow);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- FULLSCREEN MODAL --- */
.video-modal {
    display: none; /* Controlled by JS */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1100px;
}

#modalVideo {
    width: 100%;
    height: auto;
    border: 2px solid var(--asic-yellow);
}

.modal-close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

    .modal-close-btn:hover {
        color: var(--asic-yellow);
    }

/* =======================================
   FINAL UNIFIED VIDEO SECTION STYLES
   ======================================= */

/* 1. The Grid Container: Positions the entire block at the top. */
.mission-video-card {
    /* This is the most important rule for positioning */
    align-self: start;
    /* We add the hover effects to the outer container */
    transition: all 0.3s ease;
}

/* 2. The Decorative Frame: Holds all visual styles (border, shadow, etc.). */
.video-wrapper {
    position: relative; /* Needed for the buttons inside */
    width: 100%;
    /* --- Your Desired Styles Are Applied Here --- */
    background: #003B5C; /* Using theme navy instead of pure black */
    border: 3px solid #FFCB05;
    border-radius: 12px;
    padding: 1rem; /* Space between border and video */
    box-shadow: 0 20px 60px rgba(255, 203, 5, 0.3);
    /* Make the frame transition smoothly */
    transition: all 0.3s ease;
}

/* 3. The Hover Effect: Triggered when hovering the main card. */
.mission-video-card:hover .video-wrapper {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(255, 203, 5, 0.4);
    border-color: #4A9FD8;
}

/* 4. The Video Element Itself. */
.mission-video {
    display: block;
    width: 100%;
    height: auto; /* Maintains aspect ratio */
    border-radius: 8px; /* Slightly rounded corners inside the frame */
}

/* --- The rest of the button/modal styles are standard --- */
.video-expand-fullscreen-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10;
    /* ... other button styles ... */
}

.video-controls-mission {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem; /* Keep this as right */
    display: flex;
    gap: 0.5rem;
    z-index: 10;
    opacity: 1; /* <<< THIS IS THE FIX (Changed to 1) */
    transition: opacity 0.3s ease;
}





