/************************************************
Name: ASIC.css                      *
Developer: CECOM Web-Team           *
Description: Army Software & Innovation Center stylesheet *
************************************************/

/* Table of Contents
------------------------------------
    1. FONTS
    2. COLOR VARIABLES
    3. GLOBAL STYLES
    4. HERO SECTION
    5. MISSION & VISION
    6. CAPABILITIES
    7. NEWS CAROUSEL
    8. QUICK LINKS
    9. PRIORITIES
    10. IMAGE MODAL
    11. NAVIGATION
    12. FOOTER
    13. PHOTO GALLERY
    14. SEARCH
    15. LOCATIONS & CONTACT
    16. RESPONSIVE STYLES (Consolidated)
*/

/* ===================================
   1. FONTS
   =================================== */
@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 */
: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;
}

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;
}

.fa, .fas, .far, .fab, .fal,
[class*="fa-"] {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Pro", "Font Awesome 5 Brands" !important;
}

h1, h2, h3, h4, h5, h6,
.nav-title-container h1,
strong, b {
    font-family: 'GI750', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

.hero-title,
.section-title {
    font-family: 'GI530', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

/* ===================================
   2. COLOR VARIABLES
   =================================== */
:root {
    --asic-navy: #003B5C;
    --asic-yellow: #FFCB05;
    --asic-red: #E31E24;
    --asic-light-blue: #4A9FD8;
    --asic-white: #FFFFFF;
    --asic-gray: #E8E8E8;
    --tech-black: #000000;
    --tech-dark: #0a0a1a;
    --tech-blue: #1a2a3a;
}

/* ===================================
   3. GLOBAL STYLES
   =================================== */
* {
    box-sizing: border-box;
}

container-fluid, .container-lg {
    padding-right: 0px !important;
    padding-left: 0px !important;
}

.asic-hero-section,
.mission-vision-section,
.capabilities-section,
.news-carousel-container,
.quick-links-section,
.priorities-section {
    width: 100%;
    margin: 0;
    padding: 0;
}

.highlight {
    color: var(--asic-light-blue);
}

.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;
}

/* ===================================
   4. HERO SECTION
   =================================== */
.asic-hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Keep minimum height */
    max-height: none !important; /* CHANGED: Remove max-height restriction */
    overflow: visible !important; /* CHANGED: Allow natural flow */
    background: linear-gradient(135deg, #1a4d6d 0%, #2a5d7d 100%);
    margin: 0 !important;
    padding: 0 !important;
}

.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;
    background-repeat: no-repeat;
    opacity: 0;
    animation: fadeSlide 30s infinite;
}

    .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(3) {
        background-image: url('/Images/ASIC/C3T PM MC TSI Briefing (10).jpg');
        animation-delay: 15s;
    }

    .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(5) {
        background-image: url('/Images/ASIC/C3T PM MC TSI Briefing (16).jpg');
        animation-delay: 25s;
    }

    .hero-bg-image:nth-child(6) {
        background-image: url('/Images/ASIC/0M3A0519.JPG');
        animation-delay: 20s;
    }

@keyframes fadeSlide {
    0%, 16.66% {
        opacity: 1;
        transform: scale(1);
    }

    16.67%, 100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

.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;
    align-items: center;
    min-height: 100vh;
    padding: 3rem 3rem 3rem 3rem !important;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem !important;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.hero-text {
    position: relative;
    z-index: 5; /* Higher than video wrapper */
    color: var(--asic-white);
    padding: 0 !important;
}

.hero-title {
    position: relative;
    z-index: 5;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    margin-top: 0;
    padding-top: 0;
    animation: fadeInUp 1s ease 0.4s both;
    color: var(--asic-white);
}

    .hero-title .highlight {
        color: var(--asic-yellow);
        display: block;
    }

.hero-description {
    position: relative;
    z-index: 5;
    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;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mission Video Card */
.mission-video-card {
    position: relative;
    z-index: 4;
    padding: 1.5rem !important;
    height: auto !important; /* CHANGED: Let it size naturally */
    display: flex;
    align-items: center;
    justify-content: center;
}




/* Hero Capabilities Image Container */
.hero-capabilities-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1s ease 1s both;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.video-wrapper {
    position: relative;
    max-width: 100%;
    background: rgba(0, 0, 0, 0.9);
    border: 3px solid #FFCB05;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 20px 60px rgba(255, 203, 5, 0.3);
    transition: all 0.3s ease;
    z-index:1;
}

.mission-video-card:hover .video-wrapper {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(255, 203, 5, 0.4);
}

.mission-video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.video-expand-fullscreen-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 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: #000000;
        transform: scale(1.05);
    }

.video-controls-mission {
    position: absolute;
    bottom: 4.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
    background: rgba(0, 59, 92, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

    .video-controls-mission button {
        background-color: rgba(0, 0, 0, 0.9);
        border: 2px solid #FFCB05;
        color: #FFCB05;
        padding: 8px 12px;
        cursor: pointer;
        border-radius: 4px;
        transition: all 0.3s ease;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .video-controls-mission button:hover {
            background-color: #FFCB05;
            color: #000000;
        }


/* Video Modal */
.video-modal {
    display: none;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999 !important;
    background: rgba(0, 59, 92, 0.95);
    align-items: center;
    justify-content: center;
    padding: 60px 20px !important; /* Reduced padding */
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-modal-content {
    position: relative !important;
    width: 90%;
    max-width: 900px;
    margin: 0 auto !important; /* REMOVED the 5% margin */
    z-index: 1000000 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: #FFCB05;
    border: none;
    color: #000000;
    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;
    z-index: 1000001 !important;
}

    .video-modal-close:hover {
        background: #003B5C;
        color: #FFCB05;
        transform: rotate(90deg);
    }

.modal-video {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 140px); /* Accounts for padding + close button */
    border-radius: 12px;
    border: 3px solid #FFCB05;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: block;
}

/* ===================================
   VIDEO LOADING SPINNER & CONTROLS
   =================================== */

/* Video Loading Spinner */
.video-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 59, 92, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 15;
    border-radius: 8px;
}

    .video-loading.hidden {
        display: none;
    }

    .video-loading .spinner {
        width: 60px;
        height: 60px;
        border: 5px solid rgba(255, 203, 5, 0.3);
        border-top: 5px solid #FFCB05;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.video-loading p {
    color: #FFCB05;
    margin-top: 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Enhanced Video Controls - Repositioned */
.video-controls-mission {
    position: absolute;
    bottom: 0.5rem; /* CHANGED: Very close to bottom */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.85); /* CHANGED: More transparent black */
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 203, 5, 0.5);
}

    .video-controls-mission button {
        background-color: transparent; /* CHANGED: No background */
        border: 1.5px solid #FFCB05;
        color: #FFCB05;
        padding: 6px 10px; /* CHANGED: Even smaller */
        cursor: pointer;
        border-radius: 4px;
        transition: all 0.3s ease;
        width: 32px; /* CHANGED: Much smaller */
        height: 32px; /* CHANGED: Much smaller */
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .video-controls-mission button:hover {
            background-color: #FFCB05;
            color: #000000;
            transform: scale(1.05);
            box-shadow: 0 2px 8px rgba(255, 203, 5, 0.5);
        }

        .video-controls-mission button i {
            font-size: 0.8rem;
        }

/* Video Progress Container */
.video-progress-container {
    position: absolute;
    bottom: 3rem; /* CHANGED: Just above controls */
    left: 0.75rem;
    right: 0.75rem;
    z-index: 10;
}

/* Video Time Display */
.video-time-display {
    color: #FFCB05;
    font-size: 0.7rem; /* CHANGED: Even smaller */
    font-weight: 700;
    margin-bottom: 0.15rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.85); /* CHANGED: Dark background */
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    display: inline-block;
    width: auto; /* CHANGED: Not full width */
    margin-left: 50%;
    transform: translateX(-50%);
}

/* Video Progress Bar */
.video-progress-bar {
    width: 100%;
    height: 5px; /* CHANGED: Very thin */
    background: rgba(0, 0, 0, 0.7);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(255, 203, 5, 0.3);
    overflow: hidden;
}

.video-progress-filled {
    height: 100%;
    background: linear-gradient(90deg, #FFCB05 0%, #FFD700 100%);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
}

    .video-progress-filled::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 2px; /* CHANGED: Very thin indicator */
        background: #FFFFFF;
        box-shadow: 0 0 4px rgba(255, 203, 5, 0.8);
    }

.video-progress-bar:hover {
    height: 7px;
    border-color: #FFCB05;
}

    .video-progress-bar:hover .video-progress-filled {
        background: linear-gradient(90deg, #4A9FD8 0%, #6BB6E8 100%);
    }

/* Mobile Responsive Adjustments */
@media (max-width: 767.98px) {
    .video-controls-mission {
        bottom: 4.5rem;
        gap: 0.5rem;
        padding: 0.4rem 0.8rem;
    }

        .video-controls-mission button {
            width: 38px;
            height: 38px;
            padding: 8px 10px;
        }

            .video-controls-mission button i {
                font-size: 0.9rem;
            }

    .video-time-display {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }

    .video-progress-bar {
        height: 6px;
    }

        .video-progress-bar:hover {
            height: 8px;
        }
}

/* Video Modal - Equal Padding Fix */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 59, 92, 0.95);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

    .video-modal.active {
        display: flex !important;
    }

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-modal video {
    width: 79%;
    height: auto;
    max-height: calc(100vh - 120px);
    border: 3px solid #FFCB05;
    border-radius: 8px;
    display: block;
    background: #000000;
}

.modal-close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: #FFCB05;
    font-size: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
    z-index: 1000000;
    font-weight: bold;
}

    .modal-close-btn:hover {
        color: #ffd700;
        transform: scale(1.2);
    }

/* Mobile Video Modal */
@media (max-width: 991.98px) {
    .video-modal {
        padding: 40px 20px;
    }

        .video-modal video {
            max-height: calc(100vh - 80px);
        }

    .modal-close-btn {
        top: -40px;
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .video-modal {
        padding: 30px 15px;
    }

        .video-modal video {
            max-height: calc(100vh - 60px);
        }

    .modal-close-btn {
        top: -35px;
        font-size: 2rem;
    }
}

/* ===================================
   MOBILE RESPONSIVE FIXES
   =================================== */
@media (max-width: 991.98px) {
    /* Stack vertically on tablet */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Text stays on top */
    .hero-text {
        order: 1;
        z-index: 5;
    }

    /* Video below text */
    .mission-video-card {
        order: 2;
        z-index: 4;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.2rem;
    }
}

@media (max-width: 767.98px) {
    /* Reduce padding on mobile */
    .hero-content {
        padding: 2rem 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .mission-video-card {
        padding: 1.5rem;
    }

    /* Compact video controls on mobile */
    .video-controls-mission {
        bottom: 4.5rem;
        gap: 0.5rem;
        padding: 0.4rem 0.8rem;
    }

        .video-controls-mission button {
            width: 38px;
            height: 38px;
            padding: 8px 10px;
        }

            .video-controls-mission button i {
                font-size: 0.9rem;
            }

    .video-expand-fullscreen-btn {
        top: 1rem;
        right: 1rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

        .video-expand-fullscreen-btn span {
            display: none;
        }
}


/* ===================================
   5. MISSION & VISION
   =================================== */
.mission-vision-section {
    background: #FFFFFF;
    padding: 4rem 0;
}

#mission-vision-section {
    scroll-margin-top: 250px;
}

.mission-header-with-icon,
.vision-header-with-icon {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

    .mission-header-with-icon h2,
    .vision-header-with-icon h2 {
        margin-bottom: 0 !important;
        flex: 1;
        text-align: left;
    }

    .mission-header-with-icon .icon-wrapper,
    .vision-header-with-icon .icon-wrapper {
        margin: 0 !important;
        flex-shrink: 0;
    }

        .mission-header-with-icon .icon-wrapper i,
        .vision-header-with-icon .icon-wrapper i,
        .mission-card .icon-wrapper i,
        .vision-card .icon-wrapper i {
            font-size: 3rem !important;
            color: var(--asic-light-blue);
            filter: none;
        }

.mission-card:hover .icon-wrapper i,
.vision-card:hover .icon-wrapper i {
    color: var(--asic-yellow);
}

.icon-wrapper i[class*="fa-"] {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Pro", "Font Awesome 5 Brands" !important;
    font-weight: 900 !important;
}

.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;
        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 {
    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 {
    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;
    }

.mission-text,
.vision-text {
    color: rgba(0, 59, 92, 0.85);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.7;
    margin: 0;
    text-align: left;
}



/* Mission Video Card */
.mission-video-card {
    padding: 3rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}



.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.9);
    border: 3px solid #ffcb05;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 20px 60px rgba(255, 203, 5, 0.3);
    transition: all 0.3s ease;
}

.mission-video-card:hover .video-wrapper {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(255, 203, 5, 0.4);
    border-color: #4A9FD8;
}

.mission-video {
    display: block;
    width: 100%;
    height: auto;
    min-height: 250px;
    border-radius: 8px;
}

/* Video Player Controls (Consolidated) */
.video-expand-fullscreen-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 59, 92, 0.9);
    border: 2px solid var(--asic-yellow);
    color: var(--asic-yellow);
    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: var(--asic-yellow);
        color: var(--asic-navy);
        transform: scale(1.05);
    }

/* Enhanced Video Controls - Repositioned */
.video-controls-mission {
    position: absolute;
    bottom: 4.5rem; /* CHANGED: More space from bottom */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
    background: rgba(0, 59, 92, 0.9); /* CHANGED: More opaque */
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

    .video-controls-mission button {
        background-color: rgba(0, 59, 92, 0.95);
        border: 2px solid #FFCB05;
        color: #FFCB05;
        padding: 8px 12px; /* CHANGED: Smaller buttons */
        cursor: pointer;
        border-radius: 6px;
        transition: all 0.3s ease;
        width: 38px; /* CHANGED: Smaller */
        height: 38px; /* CHANGED: Smaller */
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .video-controls-mission button:hover {
            background-color: #FFCB05;
            color: #003B5C;
            transform: scale(1.1); /* CHANGED: Less dramatic scale */
            box-shadow: 0 4px 12px rgba(255, 203, 5, 0.4);
        }

        .video-controls-mission button i {
            font-size: 0.9rem; /* CHANGED: Smaller icons */
        }

/* Optional: Hide controls until hover */
.video-wrapper:not(:hover) .video-controls-mission {
    opacity: 0;
    pointer-events: none;
}

.video-wrapper:hover .video-controls-mission {
    opacity: 1;
    pointer-events: all;
}

.video-wrapper:not(:hover) .video-progress-container {
    opacity: 0.3; /* Show progress bar dimly even without hover */
}

.video-wrapper:hover .video-progress-container {
    opacity: 1;
}




/* ===================================
   6. CAPABILITIES
   =================================== */
.capabilities-section {
    background: #F8F9FA;
    padding: 2rem 0;
}

#Core-Competencie-section {
    scroll-margin-top: 200px;
}

.capabilities-section .capabilities-row {
    display: flex;
    align-items: stretch;
}

    .capabilities-section .capabilities-row > .col-lg-6 {
        display: flex;
    }

.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;
        }

.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;
    margin: 0 auto !important;
}

    .capabilities-content-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        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;
        }

.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;
        }

/* ===================================
   7. NEWS CAROUSEL
   =================================== */

/* Full-width news card without image */
.news-card-full {
    max-width: 900px;
    margin: 0 auto;
}

    .news-card-full .news-card-body {
        min-height: 300px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 3rem;
    }

/* News Card Excerpt Text */
.news-card-excerpt {
    color: rgba(0, 59, 92, 0.8);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* View All News Button */
.btn-view-all-news {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--asic-yellow);
    color: var(--asic-navy);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    border: 2px solid var(--asic-yellow);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 203, 5, 0.2);
}

    .btn-view-all-news:hover {
        background: var(--asic-navy);
        color: var(--asic-yellow);
        border-color: var(--asic-navy);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(255, 203, 5, 0.3);
    }

    .btn-view-all-news i {
        font-size: 1.2rem;
    }

@media (max-width: 767.98px) {
    .news-card-full .news-card-body {
        padding: 2rem;
        min-height: 250px;
    }

    .news-card-excerpt {
        font-size: 1rem;
    }

    .btn-view-all-news {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
}


.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-navy);
    }

.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-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);
    }

.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);
}

.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-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;
        }

/* ===================================
   8. QUICK LINKS
   =================================== */
.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-white);
    }

.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);
}

/* ===================================
   9. PRIORITIES
   =================================== */
.priorities-section {
    background: var(--asic-navy);
    padding: 4rem 0rem 4rem 0rem;
    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;
}

/* ===================================
   10. 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: absolute;
        top: 20px;
        right: 40px; /* Increased from default to move it more to the right */
        color: #ffcb05;
        font-size: 40px;
        font-weight: bold;
        cursor: pointer;
        z-index: 10002;
        transition: color 0.3s ease;
        background: rgba(0, 0, 0, 0.7);
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }


        .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);
        }

/* ===================================
   11. NAVIGATION
   =================================== */
.asic-navbar {
    background: #000000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 0 1rem 0;
}

.top-bar {
    display: flex;
    align-items: center;
    padding: 0.75rem 6rem .05rem .05rem !important;
    gap: 1rem !important;
    max-width: 1600px;
    margin: 0 auto;
    justify-content: space-between; /* ADDED: Space items evenly */
}

/* LEFT SIDE: Logo + Title */
.left-side-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 0 0 auto;
}

.army-logo-container {
    flex-shrink: 0;
}

    .army-logo-container a {
        display: flex;
        align-items: center;
    }

    .army-logo-container img {
        height: 45px !important;
        width: auto;
    }

.nav-title-container {
    position: absolute; /* CHANGED: Position absolutely */
    left: 50%; /* ADDED: Start at center */
    transform: translateX(-50%); /* ADDED: Center perfectly */
    flex-shrink: 0;
}

    .nav-title-container h1 {
        color: #ffffff !important;
        font-size: 1.5rem !important;
        font-weight: 700 !important;
        margin: 0 !important;
        letter-spacing: 0.5px !important;
        line-height: 1.2 !important;
        text-transform: uppercase !important;
        font-family: 'GI750', sans-serif !important;
        white-space: nowrap !important;
    }

        .nav-title-container h1 a {
            color: inherit !important;
            text-decoration: none !important;
        }

/* SEARCH BOX - Push to right with margin-left: auto */
.asic-search-container {
    position: absolute; /* CHANGED: Position absolutely */
    right:4.5rem; /* ADDED: Align with top-bar right padding */
    top: 0rem; /* ADDED: Match top-bar padding */
    display: inline-flex;
    align-items: center;
    width: 200px !important;
    height: 38px !important;
    flex-shrink: 0;
    z-index: 10; /* ADDED: Keep above other elements */
}

.asic-search-input {
    width: 100%;
    height: 38px;
    padding: 0 38px 0 12px !important;
    border: 2px solid #221F20;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--asic-navy);
    font-size: 0.85rem !important;
    font-family: 'GI400', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

    .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-input::placeholder {
        color: rgba(0, 59, 92, 0.5);
    }

.asic-search-button {
    position: absolute;
    right: 2px;
    top: 2px;
    bottom: 2px;
    width: 34px;
    background: var(--asic-navy);
    border: none;
    border-radius: 0 4px 4px 0;
    color: #ffffff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .asic-search-button:hover {
        background: var(--asic-light-blue);
        color: #000000;
    }

/* RIGHT LOGOS */
.right-logos-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    width: 200px; /* ADDED: Match search box width */
    justify-content: flex-end; /* ADDED: Align logos to right within container */
}


    .right-logos-container a {
        display: flex;
        align-items: center;
    }

    .right-logos-container img {
        height: 42px !important;
        width: auto;
        transition: transform 0.3s ease;
    }

        .right-logos-container img:hover {
            transform: scale(1.05);
        }

/* NAV LINKS BAR */
.nav-links-bar {
    border-top: 1px solid rgba(74, 159, 216, 0.2);
    padding: 0.4rem 3rem; /* CHANGED: Match hero padding (3rem) */
    position: relative;
}

    .nav-links-bar .container-fluid {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 1600px; /* ADDED: Match hero max-width */
        margin: 0 auto !important; /* ADDED: Center the content */
    }

.navbar-nav {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%; /* CHANGED: from max-width: 1400px */
}

.nav-item {
    position: static;
}

.nav-link {
    color: #ffffff !important;
    font-weight: bold;
    padding: 0.6rem 0.9rem !important;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-size: 0.85rem !important;
}

    .nav-link:hover {
        background: rgba(74, 159, 216, 0.15);
        color: var(--asic-light-blue) !important;
        transform: translateY(-2px);
    }

.dropdown-toggle::after {
    content: "▼";
    font-size: 0.6rem;
    margin-left: 0.4rem;
    border: none;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.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);
    }


/* ===================================
   12. FOOTER
   =================================== */
.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);
}

/* Ensure each footer section behaves as grid item */
.footer-links-section,
.footer-social-section,
.footer-partners-section {
    display: block !important;
    width: 100% !important;
}

.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: 90px;
        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 i {
            font-style: normal;
        }

        .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: 70px;
        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;
    }

/* Fix for smaller screens - stack on tablets */
@media (max-width: 991.98px) {
    .footer-main-grid

{
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
}

/* Partner section takes full width on tablet */
.footer-partners-section {
    grid-column: 1 / -1 !important;
}

}

/* Stack vertically on mobile */
@media (max-width: 767.98px) {
    .footer-main-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* Ensure footer container has proper max-width */
.footer-container {
    max-width: 1600px !important;
    margin: 0 auto !important;
    padding: 4rem 2rem 2rem !important;
}


/* ===================================
   13. PHOTO GALLERY
   =================================== */
.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 {
    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 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.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 {
    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 {
    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);
    }

.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 {
    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;
    }

/* ===================================
   14. SEARCH
   =================================== */
.asic-search-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 250px;
    height: 45px;
    margin-left: auto !important;
    margin-right: 1.5rem !important;
}

.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: var(--asic-navy);
    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 {
    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 {
    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-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-content {
    flex: 1;
}

.search-header h3 {
    margin: 0 0 0.5rem 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;
    overflow-x: hidden;
    flex: 1;
    max-height: calc(80vh - 200px);
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

    .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;
        }

.search-category {
    margin-bottom: 2rem;
}

.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;
}

.search-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.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;
}

.command-badge,
.link-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    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;
}

.link-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

    .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;
    }

mark {
    background: var(--asic-yellow);
    color: var(--asic-navy);
    padding: 0.15rem 0.3rem;
    border-radius: 3px;
    font-weight: 600;
}

.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;
    }

.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;
    }

.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;
}

.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);
}


/* ===================================
   15. LOCATIONS & CONTACT
   =================================== */
.locations-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

    .locations-section .section-header {
        text-align: center;
        margin-bottom: 3rem;
    }

        .locations-section .section-header h2 {
            font-size: 2.5rem;
            font-weight: bold;
            color: var(--asic-navy);
            margin-bottom: 1rem;
        }

    .locations-section .highlight {
        color: #ffcb05;
    }

.locations-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.locations-map {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.locations-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.locations-list-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

    .locations-list-wrapper h3 {
        font-size: 1.5rem;
        font-weight: bold;
        color: #000000;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 2px solid #ffcb05;
    }

.locations-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    transition: all 0.3s ease;
}

    .location-item:hover {
        background: #e9ecef;
        transform: translateX(5px);
    }

    .location-item i {
        color: #ffcb05;
        font-size: 1.2rem;
        min-width: 20px;
        flex-shrink: 0;
    }

    .location-item span {
        font-size: 1rem;
        color: #333;
        line-height: 1.4;
    }

    .location-item strong {
        color: #000000;
        font-weight: bold;
    }

    .location-item.international {
        background: #fff3cd;
    }

        .location-item.international:hover {
            background: #ffe69c;
        }

        .location-item.international i {
            color: #0066cc;
        }

.contact-cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.contact-card {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin: 0 auto;
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: #ffcb05;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

    .contact-icon i {
        font-size: 2.5rem;
        color: #000000;
    }

.contact-card h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #000000;
    margin-bottom: 1rem;
}

.contact-card p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffcb05;
    color: #000000;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 203, 5, 0.3);
    word-break: break-all;
}

    .contact-btn:hover {
        background: #e6b800;
        color: #000000;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(255, 203, 5, 0.4);
    }

    .contact-btn i {
        font-size: 1.2rem;
        flex-shrink: 0;
    }


/* ===================================
   16. RESPONSIVE STYLES (Consolidated)
   =================================== */

/* ===================================
   COMPLETE MOBILE NAVIGATION FIX
   Add this to your ASIC.css file
   =================================== */

/* DESKTOP: Full navigation until 1024px */
@media (min-width: 1025px) {
    /* Hide mobile-only elements on desktop */
    .mobile-menu-btn,
    .sidebar,
    .overlay {
        display: none !important;
    }

    /* Show desktop navigation */
    .nav-links-bar {
        display: block !important;
    }

    /* Keep full title on desktop */
    .nav-title-container {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

        .nav-title-container h1 {
            font-size: 1.5rem !important;
        }

            /* No abbreviated title on desktop */
            .nav-title-container h1::before {
                content: '' !important;
                display: none !important;
            }
}

/* TABLET/MOBILE: Hamburger menu at 1024px and below */
@media (max-width: 1024px) {

    /* SHOW TOP BAR ON MOBILE - CRITICAL FIX */
    .top-bar {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 0.75rem 1rem !important;
        gap: 0.75rem !important;
        background: #000000 !important; /* Make sure it's visible */
        position: relative !important;
        z-index: 1050 !important; /* Above sidebar */
    }

    /* HIDE Army Logo and Full Title on Mobile */
    .army-logo-container {
        display: none !important;
    }

    .left-side-container {
        display: none !important;
    }

    /* ABBREVIATED TITLE - Centered */
    .nav-title-container {
        position: static !important;
        transform: none !important;
        text-align: center !important;
        width: 100% !important;
        order: 1 !important;
        padding: 0 !important;
        display: block !important; /* ADDED: Make sure it displays */
    }

        .nav-title-container h1 {
            font-size: 0 !important; /* Hide original text */
            margin: 0 !important;
            padding: 0 !important;
            display: block !important; /* ADDED */
        }

            /* Show abbreviated title */
            .nav-title-container h1::before {
                content: "CECOM - ASIC" !important;
                display: block !important;
                font-size: 1.8rem !important;
                letter-spacing: 2px !important;
                color: #FFFFFF !important;
                font-family: 'GI750', sans-serif !important;
                font-weight: 700 !important;
            }

    /* RIGHT LOGOS - Stacked under title */
    .right-logos-container {
        position: static !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1rem !important;
        width: 100% !important;
        order: 2 !important;
        margin-top: 0.5rem !important;
    }

        .right-logos-container img {
            height: 40px !important;
        }

    /* Mobile menu button positioning */
    .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 navigation */
    .nav-links-bar {
        display: none !important;
    }

    .navbar-nav .asic-search-container {
        display: none !important;
    }

    /* ====================================
       SIDEBAR STYLES - COMPLETE
       ==================================== */
    .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;
    }

        .sidebar.show {
            left: 0 !important;
        }

        /* SIDEBAR NAV - Add top padding to clear hamburger button */
        .sidebar .nav {
            padding-top: 80px !important;
            display: flex !important;
            flex-direction: column !important;
        }

        .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;
        }

            .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 STYLING */
        .sidebar .dropdown {
            position: relative !important;
        }

        .sidebar .dropdown-toggle {
            padding-right: 3rem !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;
                color: #FFCB05 !important;
                border: none !important;
                font-weight: 700 !important;
            }

        .sidebar .dropdown.active .dropdown-toggle::after {
            content: "−" !important;
        }

        .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;
            border-bottom: 1px solid rgba(74, 159, 216, 0.1) !important;
            display: block !important;
            text-decoration: none !important;
        }

            .sidebar .dropdown-submenu a:hover {
                background: rgba(74, 159, 216, 0.2) !important;
                color: #FFCB05 !important;
                padding-left: 3rem !important;
            }

        /* ICONS IN SIDEBAR */
        .sidebar .nav-link i,
        .sidebar .dropdown-toggle i {
            margin-right: 0.75rem !important;
            color: #FFCB05 !important;
            width: 20px !important;
            text-align: center !important;
        }

        /* SIDEBAR SEARCH BOX */
        .sidebar .mobile-search,
        .sidebar .asic-search-container {
            display: block !important;
            padding: 1.5rem !important;
            border-top: 2px solid #FFCB05 !important;
            margin-top: 1rem !important;
            background: rgba(0, 31, 51, 0.5) !important;
            position: static !important; /* CHANGED: Not relative anymore */
        }

        .sidebar .asic-search-input {
            width: 100% !important;
            height: 45px !important; /* ADDED: Fixed height */
            padding: 0.75rem 3.5rem 0.75rem 1rem !important; /* CHANGED: Right padding for button */
            border: 2px solid #4A9FD8 !important;
            border-radius: 8px !important;
            background: rgba(255, 255, 255, 0.95) !important;
            color: #000000 !important;
            font-size: 0.9rem !important;
            box-sizing: border-box !important;
        }

        /* INPUT WRAPPER - Add this new wrapper */
        .sidebar .asic-search-container {
            position: relative !important; /* THIS is what makes button position correctly */
        }


        .sidebar .asic-search-button {
            position: absolute !important;
            right: 2rem !important; /* CHANGED: 4px from right edge of input */
            top: 50% !important; /* CHANGED: 4px from top of input */
            /* ADDED: 4px from bottom of input */
            width: 45px !important; /* CHANGED: Slightly smaller to fit inside */
            height: 45px !important; /* ADDED: Auto height to fill top to bottom */
            background: #FFCB05 !important;
            border: none !important;
            border-radius: 4px !important; /* CHANGED: Smaller radius to fit inside */
            color: #003B5C !important;
            cursor: pointer !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            transition: all 0.3s ease !important;
            transform: none !important; /* REMOVED: No transform needed */
        }

            .sidebar .asic-search-button:hover {
                background: #4A9FD8 !important;
                color: #FFFFFF !important;
                
            }

            .sidebar .asic-search-button i {
                font-size: 0.9rem !important;
            }

        /* Focus state for input */
        .sidebar .asic-search-input:focus {
            outline: none !important;
            border-color: #FFCB05 !important;
            box-shadow: 0 0 0 3px rgba(255, 203, 5, 0.2) !important;
        }



    /* OVERLAY */
    .overlay {
        display: none !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(0, 0, 0, 0.8) !important;
        z-index: 1040 !important;
    }

        .overlay.show {
            display: block !important;
        }
}


@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; /* ✅ KEY: This is the positioning parent */
    }

    /* EXTRA SMALL MOBILE - Further adjustments */
    @media (max-width: 576px) {
        .nav-title-container h1::before {
            font-size: 1.5rem !important;
            letter-spacing: 1px !important;
        }

        .right-logos-container {
            gap: 0.75rem !important;
        }

            .right-logos-container img {
                height: 35px !important;
            }

        .sidebar {
            width: 280px !important;
        }
    }
  