/************************************
Name: Mod.css                       *
Developer: CECOM Web-Team           *
Description: The Mod main css reference. *
*************************************/
/* Table of Contents
------------------------------------
    1. Fonts
    2. Global Styles
    3. Navigation
    4. Hero Section
    5. Mission & Vision
    6. Capabilities
    7. News Carousel
    8. Subordinate Commands
    9. Fixed Social Bar
    10. Footer
    11. Image Modal
    12. Mobile Responsive
	
COLORS
    Army Yellow: #ffcb05
*/

/* ===================================
   1. FONTS - LOAD FIRST
   =================================== */
@font-face {
    font-family: 'GI400';
    src: url('G.I.-400.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GI400Italic';
    src: url('G.I.-400Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'GI530';
    src: url('G.I.-530.ttf') format('truetype');
    font-weight: 530;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GI530Italic';
    src: url('G.I.-530Italic.ttf') format('truetype');
    font-weight: 530;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'GI750';
    src: url('G.I.-750.ttf') format('truetype');
    font-weight: 750;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GI750Italic';
    src: url('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;
}


/* ===================================
   2. GLOBAL STYLES
   =================================== */
* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}


a {
    border-bottom: none !important;
}

    a:hover {
        background-color: none !important;
    }

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 0;
    min-height: auto;
}

@media (min-width: 768px) {
    section {
        min-height: 100vh;
    }
}

/* ===================================
   3. NAVIGATION STYLES
   =================================== */
.main-navbar {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    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 0rem 1rem 0rem;
    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: 1.5rem;
        font-weight: 700;
        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 #ffcb05;
    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: #ffd700;
        outline: none;
    }

    .search-input::placeholder {
        color: #aaa;
    }

.search-submit {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #ffcb05;
    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: #ffd700;
        transform: translateY(-50%) scale(1.1);
    }

    .search-submit i {
        color: #000000;
        font-size: 16px;
    }

/* Right Logos - AFTER Search */
.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 Row */
.nav-links-bar {
    border-top: 1px solid rgba(255, 203, 5, 0.2);
    padding:0rem 16.5rem 0rem 0rem ;
    position: relative;
}

.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%;
}

/* Adjust nav spacing for smaller desktop/large tablet */
@media (max-width: 1366px) and (min-width: 1200px) {
    .navbar-nav {
        justify-content: center;
        gap: 0.3rem;
    }

    .nav-link {
        padding: 0.6rem 0.9rem;
        font-size: 0.88rem;
    }
}

.nav-item {
    position: static;
}

.nav-link {
    color: #ffcb05 !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(255, 203, 5, 0.15);
        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: black;
    border: none;
    border-top: 2px solid #ffcb05;
    border-bottom: 2px solid #ffcb05;
    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: 0 2rem;
}

.mega-menu ul li {
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    cursor: pointer;
}

    .mega-menu ul li:hover {
        color: #ffcb05 !important;
        padding-left: 0.5rem;
    }

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    width: 55px;
    height: 55px;
    background: #000000;
    border: 3px solid #ffcb05;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1100;
    transition: all 0.3s ease;
}

    .mobile-menu-btn:hover {
        border-color: #ffd700;
        box-shadow: 0 0 10px rgba(255, 203, 5, 0.5);
    }

    .mobile-menu-btn .bar {
        position: absolute;
        left: 50%;
        width: 30px;
        height: 3px;
        background: #ffcb05;
        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, #000000 0%, #1a1a1a 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(255, 203, 5, 0.2);
        display: block;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
    }

        .sidebar .nav-link:hover {
            background: rgba(255, 203, 5, 0.15);
            color: #ffcb05 !important;
            padding-left: 2rem;
        }

    .sidebar .dropdown-toggle {
        position: relative;
    }

        .sidebar .dropdown-toggle::after {
            content: "+";
            position: absolute;
            right: 1.5rem;
            font-size: 1.5rem;
            border: none;
            transition: transform 0.3s ease;
        }

    .sidebar .dropdown.active .dropdown-toggle::after {
        content: "−";
    }

    .sidebar .dropdown-submenu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: rgba(255, 203, 5, 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(255, 203, 5, 0.1);
            color: #ffcb05 !important;
        }

    .sidebar .mobile-search {
        padding: 1.5rem;
        border-top: 2px solid #ffcb05;
        margin-top: 1rem;
        position: relative;
    }

        .sidebar .mobile-search .search-input {
            width: 100%;
            padding-right: 45px;
        }

        .sidebar .mobile-search .search-submit {
            position: absolute;
            right: 1.75rem;
            top: 50%;
            transform: translateY(-50%);
        }

.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;
    }

/* ===================================
   4. HERO SECTION
   =================================== */

/* ===================================
   4. HERO SECTION
   =================================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    max-height: 100vh; /* ← ADD THIS - prevents extending */
    overflow: hidden;
    background: #000000;
    margin: 0 !important; /* ← Force no margin */
    padding: 0 !important; /* ← Force no padding */
}

.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;
    opacity: 0;
    animation: fadeSlide 15s infinite;
}

    /* ... rest of hero section stays the same ... */
    .hero-bg-image:nth-child(1) {
        background-image: url('/Images/ASIC/RU-Open-House-JUL-2025-(1).png');
        animation-delay: 0s;
    }

    .hero-bg-image:nth-child(2) {
        background-image: url('/Images/CECOM/For Soldiers3.jpg');
        animation-delay: 5s;
    }

    .hero-bg-image:nth-child(3) {
        background-image: url('/Images/CECOM/FOR INDUSTRY.jpg');
        animation-delay: 10s;
    }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 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(255, 203, 5, 0.03) 2px, rgba(255, 203, 5, 0.03) 4px), repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 203, 5, 0.03) 2px, rgba(255, 203, 5, 0.03) 4px);
        opacity: 0.5;
    }

@keyframes fadeSlide {
    0%, 33.33% {
        opacity: 1;
        transform: scale(1);
    }

    33.34%, 100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 4rem 3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.hero-text {
    color: #ffffff;
}

.hero-subtitle {
    color: #ffcb05;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s both;
}

    .hero-title .highlight {
        color: #ffcb05;
        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: #ffcb05;
    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-video-container {
    position: relative;
    animation: fadeIn 1s ease 1s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.video-box {
    position: relative;
    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;
}

    .video-box:hover {
        transform: translateY(-10px);
        box-shadow: 0 30px 80px rgba(255, 203, 5, 0.4);
    }

    .video-box video {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 8px;
    }

.video-expand-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.8);
    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-btn:hover {
        background: #ffcb05;
        color: #000000;
        transform: scale(1.05);
    }

.video-controls {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

    .video-controls button {
        background-color: rgba(0, 0, 0, 0.8);
        border: 2px solid #ffcb05;
        color: #ffcb05;
        padding: 8px 12px;
        cursor: pointer;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

        .video-controls button:hover {
            background-color: #ffcb05;
            color: #000000;
        }

    .video-controls i {
        font-size: 16px;
    }

.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

    .video-modal.active {
        display: flex;
    }

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1400px;
}

.video-modal video {
    width: 100%;
    height: auto;
    border: 3px solid #ffcb05;
    border-radius: 8px;
}

.modal-close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #ffcb05;
    font-size: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .modal-close-btn:hover {
        color: #ffd700;
        transform: scale(1.2);
    }

/* ===================================
   5. MISSION & VISION SECTION
   =================================== */
.mission-vision-section {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 4rem 0;
}

.mission-card,
.vision-card {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 3rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card {
    border-bottom: 1px solid rgba(255, 203, 5, 0.2);
}

    .mission-card:hover,
    .vision-card:hover {
        transform: translateY(-5px);
    }

.icon-wrapper {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 50%;
    border: 3px solid #ffcb05;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 203, 5, 0.4), 0 4px 15px rgba(0, 0, 0, 0.5);
    position: relative;
}

.mission-card:hover .icon-wrapper,
.vision-card:hover .icon-wrapper {
    border-color: #ffd700;
    box-shadow: 0 0 40px rgba(255, 203, 5, 0.6), 0 6px 20px rgba(0, 0, 0, 0.7);
    transform: scale(1.05);
}

.icon-wrapper img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: brightness(1.5) contrast(1.2);
    position: relative;
    z-index: 2;
}

.content-wrapper {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
}

    .content-wrapper h2 {
        color: #ffffff;
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        letter-spacing: 0.5px;
        text-align: left;
        margin-left: 0;
    }

    .content-wrapper .highlight {
        color: #ffcb05;
        font-weight: 800;
    }

.info-box {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid #ffcb05;
    border-radius: 4px;
    transition: all 0.3s ease
}

    .info-box:hover {
        background: rgba(255, 255, 255, 0.03);
        transform: translateX(10px);
        box-shadow: 0 4px 15px rgba(255, 203, 5, 0.2);
    }

    .info-box p {
        margin: 0;
        color: #FFFFFF;
        font-size: 1.1rem;
        font-weight: 600;
        line-height: 1.8;
    }
/* ===================================
   MISSION & VISION - ADD HORIZONTAL PADDING
   =================================== */
.mission-vision-section .container-fluid {
    padding-left: 6rem !important;
    padding-right: 6rem !important;
}

/* Responsive padding adjustments */
@media (max-width: 1199.98px) {
    .mission-vision-section .container-fluid {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

@media (max-width: 767.98px) {
    .mission-vision-section .container-fluid {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

@media (max-width: 575.98px) {
    .mission-vision-section .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}


/* ===================================
   6. CAPABILITIES SECTION
   =================================== */
.capabilities-section {
    background: linear-gradient(135deg, #000000 0%, #2F372F 100%);
    padding: 0;
}

.capabilities-image-card {
    padding: 3rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .capabilities-image-card .image-wrapper {
        position: relative;
        width: 100%;
        max-width: 800px;
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        transition: transform 0.3s ease;
    }

        .capabilities-image-card .image-wrapper:hover {
            transform: scale(1.02);
        }

    .capabilities-image-card img {
        width: 100%;
        height: auto;
        display: block;
    }

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(0);
    transition: all 0.3s ease;
}

    .image-overlay .image-link {
        color: #ffcb05;
        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: #ffd700;
            border-bottom-color: #ffd700;
            gap: 0.75rem;
        }

        .image-overlay .image-link i {
            transition: transform 0.3s ease;
        }

        .image-overlay .image-link:hover i {
            transform: translateX(5px);
        }

.capabilities-content-card {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 3rem;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease;
    border-left: 1px solid rgba(255, 203, 5, 0.2);
}

    .capabilities-content-card:hover {
        transform: translateY(-5px);
    }

    .capabilities-content-card .icon-wrapper {
        flex-shrink: 0;
        width: 120px;
        height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border-radius: 50%;
        border: 3px solid #ffcb05;
        transition: all 0.3s ease;
        box-shadow: 0 0 20px rgba(255, 203, 5, 0.4), 0 4px 15px rgba(0, 0, 0, 0.5);
        position: relative;
    }

    .capabilities-content-card:hover .icon-wrapper {
        border-color: #ffd700;
        box-shadow: 0 0 40px rgba(255, 203, 5, 0.6), 0 6px 20px rgba(0, 0, 0, 0.7);
        transform: scale(1.05);
    }

    .capabilities-content-card .icon-wrapper i {
        font-size: 3.5rem;
        color: #ffcb05;
        filter: brightness(1.5);
    }

    .capabilities-content-card .content-wrapper {
        flex: 1;
        text-align: left;
        display: flex;
        flex-direction: column;
    }

        .capabilities-content-card .content-wrapper h2 {
            color: #ffffff;
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            letter-spacing: 0.5px;
            text-align: left;
            margin-left: 0;
        }

        .capabilities-content-card .content-wrapper .highlight {
            color: #ffcb05;
            font-weight: 800;
        }

.capabilities-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .capabilities-list li {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.5rem;
        padding: 1rem;
        background: rgba(255, 203, 5, 0.05);
        border-left: 4px solid #ffcb05;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

        .capabilities-list li:hover {
            background: rgba(255, 203, 5, 0.1);
            transform: translateX(10px);
            box-shadow: 0 4px 15px rgba(255, 203, 5, 0.2);
        }

        .capabilities-list li:last-child {
            margin-bottom: 0;
        }

        .capabilities-list li i {
            color: #ffcb05;
            font-size: 1.5rem;
            flex-shrink: 0;
            margin-top: 0.2rem;
        }

        .capabilities-list li span {
            color: #ffffff;
            font-size: 1.1rem;
            font-weight: 600;
            line-height: 1.6;
        }

/* ===================================
   7. NEWS CAROUSEL
   =================================== */
.news-carousel-container {
    padding: 3rem 2rem 5rem;
    background: #000000;
    position: relative;
    z-index: 1;
}

.carousel-indicators-custom {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    z-index: 50;
}

    .carousel-indicators-custom button {
        width: 80px;
        height: 4px;
        background: rgba(255, 203, 5, 0.3);
        border: none;
        border-radius: 2px;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
    }

        .carousel-indicators-custom button:hover {
            background: rgba(255, 203, 5, 0.5);
        }

        .carousel-indicators-custom button.active {
            background: rgba(255, 203, 5, 0.5);
        }

/* Fix progress bar animation - one at a time */
.indicator-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #ffcb05;
    width: 0%;
    transition: none;
}

.carousel-indicators-custom button.active .indicator-progress {
    animation: progressBar 5s linear forwards;
}


/* Remove any conflicting keyframe animations */
@keyframes progressBar {
    /* This animation is no longer used - using width transition instead */
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* Fix news card hover - prevent border from hiding */
.news-card {
    border: 2px solid rgba(255, 203, 5, 0.3);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 8px;
    overflow: hidden;
}

    .news-card:hover {
        border-color: #ffcb05;
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(255, 203, 5, 0.3);
    }

/* Next Story Preview Section */
.next-story-preview {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 203, 5, 0.05);
    border-left: 4px solid #ffcb05;
    border-radius: 8px;
}

.next-story-label {
    color: #ffcb05;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .next-story-label i {
        font-size: 1rem;
    }

.next-story-content {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.next-story-image {
    width: 120px;
    height: 80px;
    border-radius: 6px;
    object-fit: cover;
    border: 2px solid rgba(255, 203, 5, 0.3);
    flex-shrink: 0;
}

.next-story-info {
    flex: 1;
}

.next-story-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.next-story-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

    .next-story-date i {
        margin-right: 0.5rem;
        color: #ffcb05;
    }

/* Responsive */
@media (max-width: 767.98px) {
    .next-story-preview {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .next-story-content {
        gap: 1rem;
    }

    .next-story-image {
        width: 80px;
        height: 60px;
    }

    .next-story-title {
        font-size: 0.9rem;
    }

    .next-story-date {
        font-size: 0.8rem;
    }
}

.news-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 203, 5, 0.2);
    transition: all 0.3s ease;
}

    .news-card:hover {
        transform: translateY(-10px);
        border-color: #ffcb05;
        box-shadow: 0 20px 60px rgba(255, 203, 5, 0.3);
    }

.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.1);
}

.news-card-body {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.news-date {
    color: #ffcb05;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-card-title {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffcb05;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #ffcb05;
    border-radius: 6px;
    transition: all 0.3s ease;
    width: fit-content;
}

    .news-read-more:hover {
        background: #ffcb05;
        color: #000000;
        transform: translateX(5px);
    }

    .news-read-more i {
        transition: transform 0.3s ease;
    }

    .news-read-more:hover i {
        transform: translateX(5px);
    }

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #ffcb05;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: -80px;
}

.carousel-control-next {
    right: -80px;
}

@media (max-width: 1399px) {
    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: #ffcb05;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

/* ===================================
   8. SUBORDINATE COMMANDS SECTION
   =================================== */
.subordinate-commands-section {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 4rem 0;
    margin-bottom: 0;
}

.section-header {
    padding: 0 2rem 2rem;
}

    .section-header h2 {
        color: #FFFFFF;
       
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .section-header .highlight {
        color: #ffcb05;
    }

.section-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-style: italic;
    margin: 0;
}

.section-description {
    padding-bottom: 10px !important;
    margin-top: 10px !important;
}

.map-card {
    padding: 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .map-card img {
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        transition: transform 0.3s ease;
    }

        .map-card img:hover {
            transform: scale(1.02);
        }

.commands-detail-card {
    padding: 2rem;
    height: 100%;
    border-left: 1px solid rgba(255, 203, 5, 0.2);
}

.command-info {
    display: none;
}

    .command-info.active {
        display: block;
        animation: fadeIn 0.5s ease;
    }

.command-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #ffcb05;
}

.command-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

.command-header h3 {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.command-content-wrapper {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.command-text {
    flex: 1;
}

.command-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid #ffcb05;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.95);
}

.command-details {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    transition: all 0.3s ease;
}

    .detail-item:hover {
        background: rgba(255, 203, 5, 0.1);
        transform: translateX(5px);
    }

    .detail-item i {
        color: #ffcb05;
        font-size: 1.4rem;
        flex-shrink: 0;
        width: 28px;
        text-align: center;
        margin-top: 3px;
    }

    .detail-item span {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.05rem;
        line-height: 1.6;
        word-break: break-word;
    }

    .detail-item strong {
        color: #ffcb05;
        font-weight: 700;
        font-size: 1.05rem;
    }

    .detail-item a {
        color: #ffcb05;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .detail-item a:hover {
            color: #ffd700;
            text-decoration: underline;
        }

.command-image {
    flex-shrink: 0;
    width: 340px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

    .command-image img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        object-position: center;
        display: block;
        transition: transform 0.3s ease;
    }

    .command-image:hover img {
        transform: scale(1.05);
    }

/* ===================================
   9. FIXED SOCIAL MEDIA BAR
   =================================== */
.fixed-social-bar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Hide on tablets and smaller */
@media (max-width: 1400px) {
    .fixed-social-bar {
        display: none;
    }
}

.fixed-social-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #ffcb05;
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

    .fixed-social-bar a:first-child {
        border-top-right-radius: 8px;
    }

    .fixed-social-bar a:last-child {
        border-bottom-right-radius: 8px;
        border-bottom: none;
    }

    .fixed-social-bar a:hover {
        width: 60px;
        background: #ffd700;
        box-shadow: 2px 0 10px rgba(255, 203, 5, 0.5);
    }

    .fixed-social-bar a i {
        font-size: 24px;
        transition: all 0.3s ease;
    }

    .fixed-social-bar a:hover i {
        transform: scale(1.2);
    }

/* ===================================
   10. FOOTER
   =================================== */
.section-1-container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

    .section-1-container.section-container {
        background-color: #000000 !important;
        margin: 0 !important;
        padding-bottom: 0 !important;
    }

footer.navbar {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border-top: 3px solid #ffcb05;
    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(255, 203, 5, 0.2);
}

.footer-links-section h3 {
    color: #ffcb05;
    font-size: 1.2rem;
    font-weight: 700;
    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: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            display: inline-block;
        }

            .footer-list li a:hover {
                color: #ffcb05;
                transform: translateX(5px);
            }

.footer-social-section {
    text-align: center;
}

    .footer-social-section h3 {
        color: #ffcb05;
        font-size: 1.2rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

.dod-logo {
    margin-bottom: 2rem;
}

    .dod-logo img {
        height: 80px;
        width: auto;
        filter: brightness(1.2);
    }

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 0;
}

    .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(255, 203, 5, 0.2);
}

    .sitemap-link a {
        color: #ffcb05;
        text-decoration: none;
        font-size: 1rem;
        font-weight: 600;
        transition: all 0.3s ease;
    }

        .sitemap-link a:hover {
            color: #ffd700;
        }

.footer-partners-section h3 {
    color: #ffcb05;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.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(255, 255, 255, 0.03);
        border-radius: 8px;
        transition: all 0.3s ease;
        border: 1px solid transparent;
        min-height: 80px;
    }

        .partner-logos a:hover {
            background: rgba(255, 203, 5, 0.1);
            border-color: #ffcb05;
            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(255, 203, 5, 0.2);
}

    .footer-copyright-text p {
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.85rem;
        margin: 0;
        line-height: 1.6;
    }

.footer-bottom {
    background: black !important;
    padding-bottom: 5px !important;
}

.footer-top {
    padding-top: 20px !important;
    padding-bottom: 0px !important;
}

/* ===================================
   11. IMAGE MODAL
   =================================== */
#imageModal {
    display: none;
    position: fixed;
    z-index: 99999 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.95) !important;
}

    #imageModal.show {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;
        padding: 60px 20px 20px 20px !important;
    }

    #imageModal .modal-content {
        display: block !important;
        max-width: 70% !important;
        max-height: 70vh !important;
        width: auto !important;
        height: auto !important;
        border: 3px solid #ffcb05 !important;
        border-radius: 8px !important;
        object-fit: contain !important;
        margin: 0 auto !important;
        position: relative !important;
    }

    #imageModal .modal-close {
        position: fixed !important;
        top: 20px !important;
        right: 40px !important;
        color: #ffcb05 !important;
        font-size: 50px !important;
        font-weight: bold !important;
        transition: 0.3s;
        cursor: pointer !important;
        z-index: 100000 !important;
        line-height: 1 !important;
        background: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

        #imageModal .modal-close:hover,
        #imageModal .modal-close:focus {
            color: #ffd700 !important;
            transform: scale(1.2) !important;
        }

    #imageModal .modal-caption {
        text-align: center !important;
        padding: 20px 0 0 0 !important;
        margin: 0 !important;
        width: auto !important;
        max-width: none !important;
    }

    #imageModal .modal-link {
        display: inline-block !important;
        color: #ffcb05 !important;
        text-decoration: none !important;
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        padding: 0.75rem 1.5rem !important;
        border: 2px solid #ffcb05 !important;
        border-radius: 5px !important;
        transition: all 0.3s ease !important;
        background: rgba(0, 0, 0, 0.8) !important;
    }

        #imageModal .modal-link:hover {
            background: #ffcb05 !important;
            color: #000000 !important;
            transform: translateY(-3px) !important;
            box-shadow: 0 5px 20px rgba(255, 203, 5, 0.5) !important;
        }

        #imageModal .modal-link i {
            margin-left: 0.5rem !important;
        }

/* ===================================
   12. ADDITIONAL STYLES
   =================================== */
.btn-outline-secondary {
    color: #ffcb05;
    border-color: none;
    background-color: black;
}

.card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border: none;
}

.card-img-top {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.card-text {
    flex: 1;
    margin-bottom: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ===================================
   13. MOBILE RESPONSIVE
   =================================== */
@media (min-width: 1200px) {
    .mobile-menu-btn {
        display: none !important;
    }

    .sidebar {
        display: none !important;
    }

    .overlay {
        display: none !important;
    }
}

@media (max-width: 1199.98px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links-bar {
        display: none !important;
    }

    .top-bar {
        padding: 0.75rem 1rem;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        position: relative;
        min-height: 80px;
    }
    /* Army Logo - Centered */
    .army-logo-container {
        order: 1;
        margin: 0 auto;
        flex: 1 1 100%;
        text-align: center;
        padding-left: 60px; /* Offset for hamburger button */
    }

        .army-logo-container img {
            height: 55px;
        }
    /* Title "CECOM" - Centered Below Army Logo */
    .nav-title-container {
        order: 2;
        flex: 1 1 100%;
        text-align: center;
        padding-left: 60px; /* Offset for hamburger button */
    }

        .nav-title-container h1 {
            font-size: 2rem;
            font-weight:900;
            color: #ffcb05;
        }

            .nav-title-container h1::before {
                content: "CECOM";
                font-size: 1.4rem;
                display: block;
                font-weight: 700;
            }
    /* AMC & CECOM Logos - Top Right Corner */
    .right-logos-container {
        order: 3;
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
        gap: 0.5rem;
        z-index: 1;
    }

        .right-logos-container img {
            height: 35px;
        }
    /* Hide Search on Mobile/Tablet */
    .search-container {
        display: none;
    }

    /* Hero Section Mobile/Tablet */
    .hero-content {
        padding: 2rem 1.5rem;
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* News Carousel Mobile */
    .news-card-body {
        padding: 2rem;
    }

    .news-card-title {
        font-size: 1.5rem;
    }

    .news-image-wrapper {
        min-height: 300px;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }

    /* Mission/Vision Mobile */
    .mission-vision-section {
        padding: 2rem 0;
    }

    .mission-card,
    .vision-card {
        padding: 2rem 1rem;
        flex-direction: row;
        gap: 1.25rem;
        text-align: left;
    }

    .mission-card,
    .vision-card {
        align-items: center !important;
    }

    .icon-wrapper {
        width: 65px;
        height: 65px;
        flex-shrink: 0;
        border-width: 2px;
    }

        .icon-wrapper img {
            width: 40px;
            height: 40px;
        }

    .content-wrapper h2 {
        font-size: 1.35rem;
        margin-bottom: 0.75rem;
    }

    .info-box {
        padding: 1rem;
    }

        .info-box p {
            font-size: 0.9rem;
            line-height: 1.5;
        }

    /* Capabilities Mobile */
    .capabilities-section {
        padding: 2rem 0;
    }

    .capabilities-image-card {
        padding: 2rem 1rem;
    }

        .capabilities-image-card .image-wrapper {
            max-width: 100%;
        }

    .image-overlay .image-link {
        font-size: 1rem;
    }

    .capabilities-content-card {
        border-left: none;
        border-top: 1px solid rgba(255, 203, 5, 0.2);
        padding: 2rem 1rem;
        flex-direction: row;
        gap: 1.25rem;
    }

        .capabilities-content-card .icon-wrapper {
            width: 65px;
            height: 65px;
            border-width: 2px;
        }

            .capabilities-content-card .icon-wrapper i {
                font-size: 2rem;
            }

        .capabilities-content-card .content-wrapper h2 {
            font-size: 1.35rem;
            margin-bottom: 0.75rem;
        }

    .capabilities-list li {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }

        .capabilities-list li i {
            font-size: 1.25rem;
        }

        .capabilities-list li span {
            font-size: 0.95rem;
        }

    /* Subordinate Commands Mobile */
    .subordinate-commands-section {
        padding: 2rem 0;
    }

    .section-header {
        padding: 0 1.5rem 1.5rem;
    }

        .section-header h2 {
            font-size: 2rem;
        }

    .map-card {
        padding: 1.5rem 1rem;
    }

    .commands-detail-card {
        border-left: none;
        border-top: 1px solid rgba(255, 203, 5, 0.2);
        padding: 1.5rem 1rem;
    }

    .command-header {
        gap: 0.75rem;
    }

    .command-logo {
        width: 40px;
        height: 40px;
    }

    .command-header h3 {
        font-size: 1.1rem;
    }

    .command-content-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .command-description {
        font-size: 0.9rem;
        padding: 0.75rem;
    }

    .detail-item {
        padding: 0.5rem;
    }

        .detail-item i {
            font-size: 1rem;
        }

        .detail-item span {
            font-size: 0.85rem;
        }

    .command-image {
        width: 100%;
    }

        .command-image img {
            height: 180px;
        }

    /* Footer Mobile */
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-social-section,
    .footer-partners-section {
        text-align: center;
    }

    .partner-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* ===================================
   TABLET BREAKPOINT (992px - 1199px)
   Better spacing and sizing for tablets
   =================================== */
@media (max-width: 1199.98px) and (min-width: 992px) {
    /* Top bar adjustments for tablet */
    .top-bar {
        padding: 1rem 1.5rem;
        gap: 1.5rem;
    }

    .army-logo-container img {
        height: 55px;
    }

    .nav-title-container h1 {
        font-size: 1.3rem;
    }

    .search-input {
        width: 160px;
    }

    .right-logos-container img {
        height: 50px;
    }

    /* Hero adjustments */
    .hero-content {
        padding: 3rem 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* News carousel adjustments */
    .news-card-body {
        padding: 2.5rem;
    }

    .news-card-title {
        font-size: 1.6rem;
    }

    /* Commands adjustments */
    .command-header h3 {
        font-size: 1.4rem;
    }

    .command-description {
        font-size: 1rem;
    }

    .command-image {
        width: 280px;
    }

        .command-image img {
            height: 220px;
        }
}

/* ===================================
   IPAD PRO & LARGE TABLETS (1200px - 1400px)
   Optimize for tablet landscape
   =================================== */
@media (max-width: 1400px) and (min-width: 1200px) {
    /* Show desktop nav but make it more compact */
    .nav-links-bar {
        padding: 0.5rem 1rem;
    }

    .navbar-nav {
        gap: 0.25rem;
        padding: 0 1rem;
    }

    .nav-link {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }

    .top-bar {
        padding: 0.75rem 1.5rem;
        gap: 1.5rem;
    }

    .army-logo-container img {
        height: 58px;
    }

    .nav-title-container h1 {
        font-size: 1.35rem;
    }

    .search-input {
        width: 180px;
        font-size: 13px;
    }

    .right-logos-container {
        gap: 0.75rem;
    }

        .right-logos-container img {
            height: 55px;
        }

    /* Hide fixed social bar on tablets */
    .fixed-social-bar {
        display: none;
    }

    /* Hero section adjustments */
    .hero-content {
        padding: 3rem 2rem;
    }

    .hero-grid {
        gap: 3rem;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1.2rem;
    }

    .stat-number {
        font-size: 2.6rem;
    }

    .hero-stats {
        gap: 2.5rem;
    }

    /* Dropdown menu adjustments */
    .mega-menu .container {
        padding: 0 1.5rem;
    }

    .mega-menu ul li {
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .news-image-wrapper {
        min-height: 250px;
    }

    .news-card-body {
        padding: 1.5rem;
    }

    .news-card-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .carousel-indicators-custom button {
        width: 60px;
    }

    #imageModal.show {
        padding: 80px 10px 20px 10px !important;
    }

    #imageModal .modal-content {
        max-width: 90% !important;
        max-height: 60vh !important;
    }

    #imageModal .modal-close {
        top: 10px !important;
        right: 20px !important;
        font-size: 40px !important;
    }

    #imageModal .modal-link {
        font-size: 0.95rem !important;
        padding: 0.6rem 1.2rem !important;
    }
}

@media (max-width: 576px) {
    .army-logo-container img {
        height: 50px;
    }

    .nav-title-container h1::before {
        font-size: 1.25rem;
    }

    .right-logos-container img {
        height: 35px;
    }

    .right-logos-container {
        gap: 0.5rem;
    }

    /* Hero Section */
    .hero-content {
        padding: 2rem 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .video-expand-btn {
        top: 1rem;
        right: 1rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    .video-controls {
        bottom: 1rem;
        right: 1rem;
    }

    /* Mission/Vision */
    .mission-card,
    .vision-card {
        padding: 1.5rem 0.75rem;
        gap: 1rem;
    }

    .icon-wrapper {
        width: 60px;
        height: 60px;
    }

        .icon-wrapper img {
            width: 36px;
            height: 36px;
        }

    .content-wrapper h2 {
        font-size: 1.2rem;
    }

    .info-box {
        padding: 0.75rem;
    }

        .info-box p {
            font-size: 0.85rem;
        }

    /* Capabilities */
    .capabilities-image-card {
        padding: 1.5rem 0.75rem;
    }

    .image-overlay {
        padding: 1.5rem 1rem 1rem;
    }

        .image-overlay .image-link {
            font-size: 0.9rem;
        }

    .capabilities-content-card {
        padding: 1.5rem 0.75rem;
        gap: 1rem;
    }

        .capabilities-content-card .icon-wrapper {
            width: 60px;
            height: 60px;
        }

            .capabilities-content-card .icon-wrapper i {
                font-size: 1.5rem;
            }

        .capabilities-content-card .content-wrapper h2 {
            font-size: 1.2rem;
        }

    .capabilities-list li {
        padding: 0.5rem;
        gap: 0.75rem;
    }

        .capabilities-list li i {
            font-size: 1rem;
        }

        .capabilities-list li span {
            font-size: 0.85rem;
        }

    /* Subordinate Commands */
    .section-header h2 {
        font-size: 1.5rem;
    }

    .command-header h3 {
        font-size: 1rem;
    }

    .command-logo {
        width: 35px;
        height: 35px;
    }

    .command-description {
        font-size: 0.85rem;
    }

    .detail-item span {
        font-size: 0.8rem;
    }

    .command-image img {
        height: 150px;
    }

    /* Footer */
    .footer-container {
        padding: 3rem 1rem 1rem;
    }

    .footer-main-grid {
        gap: 2rem;
    }

    .social-icons {
        gap: 1rem;
    }

        .social-icons img {
            height: 35px;
        }

    .partner-logos {
        grid-template-columns: 1fr;
    }

    .sitemap-link {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
}

/* ===================================
   VERY SMALL MOBILE (< 400px)
   Extra small phones
   =================================== */
@media (max-width: 399.98px) {
    .army-logo-container img {
        height: 45px;
    }

    .nav-title-container h1::before {
        font-size: 1.1rem;
    }

    .right-logos-container img {
        height: 30px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .news-card-body {
        padding: 1rem;
    }

    .news-card-title {
        font-size: 1.1rem;
    }

    .content-wrapper h2 {
        font-size: 1.1rem;
    }

    .info-box p {
        font-size: 0.8rem;
    }

    .footer-container {
        padding: 2rem 0.75rem 1rem;
    }
}

/* ===================================
   SUB-PAGE TEMPLATE STYLES
   Add this to your Mod.css file
   =================================== */

/* ===================================
   BREADCRUMB NAVIGATION
   =================================== */
.breadcrumb-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 203, 5, 0.2);
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb-item {
    font-size: 0.9rem;
}

    .breadcrumb-item + .breadcrumb-item::before {
        content: "›";
        color: #ffcb05;
        padding: 0 0.5rem;
    }

    .breadcrumb-item a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .breadcrumb-item a:hover {
            color: #ffcb05;
        }

    .breadcrumb-item.active {
        color: #ffcb05;
    }

/* ===================================
   PAGE HEADER
   =================================== */
.page-header-section {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 3rem 0 2rem;
    border-bottom: 3px solid #ffcb05;
}

.page-header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.6;
}

/* ===================================
   MAIN CONTENT SECTION
   =================================== */
.content-section {
    background: #000000;
    padding: 4rem 0;
}

.content-block {
    margin-bottom: 3rem;
}

.section-title {
    color: #ffcb05;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(255, 203, 5, 0.3);
}

.subsection-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.section-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

    .content-list li {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.05rem;
        line-height: 1.8;
        padding-left: 2rem;
        margin-bottom: 1rem;
        position: relative;
    }

        .content-list li::before {
            content: "▸";
            color: #ffcb05;
            position: absolute;
            left: 0;
            font-size: 1.2rem;
        }

/* Image Container */
.image-container {
    margin: 2rem 0;
}

.content-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid rgba(255, 203, 5, 0.3);
    transition: all 0.3s ease;
}

    .content-image:hover {
        border-color: #ffcb05;
        box-shadow: 0 10px 30px rgba(255, 203, 5, 0.3);
    }

.image-caption {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 0.75rem;
    text-align: center;
}

/* Two Column Content */
.column-content {
    padding: 1.5rem;
    background: rgba(255, 203, 5, 0.05);
    border-left: 3px solid #ffcb05;
    border-radius: 4px;
    height: 100%;
}

.column-title {
    color: #ffcb05;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.column-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Call-to-Action Box */
.cta-box {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid #ffcb05;
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    margin: 3rem 0;
}

.cta-title {
    color: #ffcb05;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.btn-primary {
    display: inline-block;
    background: #ffcb05;
    color: #000000;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #ffcb05;
}

    .btn-primary:hover {
        background: transparent;
        color: #ffcb05;
        transform: translateY(-3px);
        box-shadow: 0 5px 20px rgba(255, 203, 5, 0.4);
    }

/* ===================================
   SIDEBAR
   =================================== */
.sidebar {
    padding-left: 2rem;
}

.sidebar-widget {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid rgba(255, 203, 5, 0.2);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.widget-title {
    color: #ffcb05;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(255, 203, 5, 0.3);
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .sidebar-links li {
        margin-bottom: 0.75rem;
    }

    .sidebar-links a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        font-size: 1rem;
        display: flex;
        align-items: center;
        padding: 0.5rem;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

        .sidebar-links a::before {
            content: "→";
            color: #ffcb05;
            margin-right: 0.75rem;
            transition: transform 0.3s ease;
        }

        .sidebar-links a:hover {
            background: rgba(255, 203, 5, 0.1);
            color: #ffcb05;
            padding-left: 1rem;
        }

            .sidebar-links a:hover::before {
                transform: translateX(5px);
            }

/* Info Widget */
.info-widget {
    text-align: center;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 203, 5, 0.1);
    border: 2px solid #ffcb05;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

    .info-icon i {
        color: #ffcb05;
        font-size: 2rem;
    }

.info-widget p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Contact Widget */
.contact-widget {
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(255, 203, 5, 0.05);
    border-radius: 4px;
}

    .contact-item i {
        color: #ffcb05;
        font-size: 1.2rem;
        margin-top: 0.2rem;
        width: 20px;
        text-align: center;
    }

    .contact-item span {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1rem;
        line-height: 1.5;
    }

/* Downloads Widget */
.download-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .download-links li {
        margin-bottom: 1rem;
    }

.download-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 203, 5, 0.05);
    border: 1px solid rgba(255, 203, 5, 0.2);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .download-link:hover {
        background: rgba(255, 203, 5, 0.1);
        border-color: #ffcb05;
        transform: translateX(5px);
    }

    .download-link i {
        color: #ffcb05;
        font-size: 1.5rem;
    }

    .download-link span {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1rem;
        font-weight: 600;
        flex: 1;
    }

    .download-link small {
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.85rem;
    }

/* ===================================
   FULL WIDTH SECTION
   =================================== */
.full-width-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 203, 5, 0.2);
    border-bottom: 1px solid rgba(255, 203, 5, 0.2);
}

.section-title-center {
    color: #ffcb05;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-text-center {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.three-column-grid {
    margin-top: 2rem;
}

.feature-card {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 203, 5, 0.2);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

    .feature-card:hover {
        border-color: #ffcb05;
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(255, 203, 5, 0.3);
    }

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 203, 5, 0.1);
    border: 3px solid #ffcb05;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

    .feature-icon i {
        color: #ffcb05;
        font-size: 2.5rem;
    }

.feature-title {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* ===================================
   ACCORDION SECTION
   =================================== */
.accordion-section {
    background: #000000;
    padding: 4rem 0;
}

.accordion {
    max-width: 900px;
    margin: 3rem auto 0;
}

.accordion-item {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid rgba(255, 203, 5, 0.2);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    background: transparent;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border: none;
    width: 100%;
    text-align: left;
    transition: all 0.3s ease;
}

    .accordion-button:not(.collapsed) {
        background: rgba(255, 203, 5, 0.1);
        color: #ffcb05;
    }

    .accordion-button:hover {
        background: rgba(255, 203, 5, 0.05);
    }

    .accordion-button::after {
        background-image: none;
        content: "+";
        color: #ffcb05;
        font-size: 1.5rem;
        font-weight: 700;
        transform: none;
    }

    .accordion-button:not(.collapsed)::after {
        content: "−";
    }

.accordion-body {
    padding: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.7;
    border-top: 1px solid rgba(255, 203, 5, 0.2);
}

/* ===================================
   RELATED CONTENT SECTION
   =================================== */
.related-content-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 203, 5, 0.2);
}

.related-card {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 203, 5, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

    .related-card:hover {
        border-color: #ffcb05;
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(255, 203, 5, 0.3);
    }

.related-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-content {
    padding: 1.5rem;
}

.related-title {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.related-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.related-link {
    color: #ffcb05;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

    .related-link:hover {
        gap: 0.75rem;
    }

    .related-link i {
        transition: transform 0.3s ease;
    }

    .related-link:hover i {
        transform: translateX(5px);
    }

/* ===================================
   RESPONSIVE - MOBILE
   =================================== */
@media (max-width: 991.98px) {
    .sidebar {
        padding-left: 0;
        margin-top: 3rem;
    }

    .page-header-section {
        padding: 2rem 0 1.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .content-section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .subsection-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 767.98px) {
    .page-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .cta-box {
        padding: 2rem 1.5rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .feature-card {
        margin-bottom: 2rem;
    }

    .related-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .breadcrumb-section {
        padding: 0.75rem 0;
    }

    .breadcrumb-item {
        font-size: 0.8rem;
    }

    .page-header-section {
        padding: 1.5rem 0 1rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }

    .content-section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .section-text {
        font-size: 0.95rem;
    }

    .content-list li {
        font-size: 0.95rem;
        padding-left: 1.5rem;
    }
}

/************************************
Name: Mod.css                       *
Developer: CECOM Web-Team           *
Description: The Mod main css reference. *
*************************************/
/* Table of Contents
------------------------------------
    1. Fonts
    2. Global Styles
    3. Navigation
    4. Hero Section
    5. Mission & Vision
    6. Capabilities
    7. News Carousel
    8. Subordinate Commands
    9. Fixed Social Bar
    10. Footer
    11. Image Modal
    12. Mobile Responsive
    13. Sub-Page Template Styles
    14. Leadership Page Styles
    15. MSC Page Styles
	
COLORS
    Army Yellow: #ffcb05
*/

/* =================================
   [EXISTING MOD.CSS CONTENT - Lines 1-3764]
   All your existing Mod.css styles from Fonts through Sub-Page Template Styles
   ================================= */

/************************************
Name: Mod.css                       *
Developer: CECOM Web-Team           *
Description: The Mod main css reference. *
*************************************/
/* Table of Contents
------------------------------------
    1. Fonts
    2. Global Styles
    3. Navigation
    4. Hero Section
    5. Mission & Vision
    6. Capabilities
    7. News Carousel
    8. Subordinate Commands
    9. Fixed Social Bar
    10. Footer
    11. Image Modal
    12. Mobile Responsive
    13. Sub-Page Template Styles
    14. Leadership Page Styles
    15. MSC Page Styles
	
COLORS
    Army Yellow: #ffcb05
*/

/* =================================
   [EXISTING MOD.CSS CONTENT - Lines 1-3764]
   All your existing Mod.css styles from Fonts through Sub-Page Template Styles
   ================================= */

/* ===================================
   14. LEADERSHIP PAGE STYLES
   =================================== */

/* Hero Section - Match ASIC Style */
.leadership-hero {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    padding: 3rem 0 2.5rem 0; /* ← Increased to match ASIC */
    border-bottom: 3px solid #FFCB05;
    margin: 0 !important;
    min-height: auto !important;
}

    .leadership-hero .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 203, 5, 0.02) 2px, rgba(255, 203, 5, 0.02) 4px), repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 203, 5, 0.02) 2px, rgba(255, 203, 5, 0.02) 4px);
        opacity: 0.3;
    }

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-text-content {
    flex: 1;
    max-width: 700px;
}

.hero-breadcrumb {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

    .hero-breadcrumb a {
        color: #FFCB05;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .hero-breadcrumb a:hover {
            color: #FFF;
        }

.hero-page-title {
    font-size: 3rem; /* ← SAME SIZE AS ASIC */
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
    font-family: 'GI750', sans-serif;
    line-height: 1.2;
}

    .hero-page-title .highlight {
        color: #FFCB05;
    }

.hero-page-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Hero Image - Right Side */
.hero-image-wrapper {
    flex-shrink: 0;
    width: 250px;
}

.hero-image-box {
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #FFCB05;
    border-radius: 8px;
    padding: 0.75rem;
    box-shadow: 0 10px 30px rgba(255, 203, 5, 0.4);
    transition: all 0.3s ease;
}

    .hero-image-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(255, 203, 5, 0.5);
    }

    .hero-image-box img {
        width: 100%;
        height: auto;
        border-radius: 6px;
        display: block;
    }

/* Section Headers */
.section-header {
   
 
    padding-top: 1rem; /* ← ADD TOP PADDING */
}

    .section-header h2 {
       
        font-weight: 700;
        color: #FFFFFF;
        font-family: 'GI750', sans-serif;
       
    }

    .section-header .highlight {
        color: #FFCB05;
    }

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 0.6);
    margin: 0;
}

/* Commanding Leadership Section */
.commanding-leadership-section {
    background: #F5F5F5;
    padding: 5rem 0 4rem 0; /* ← ADD MORE TOP PADDING */
    margin-top: 0 !important;
}

.command-profile-card {
    background: #FFFFFF;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .command-profile-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(255, 203, 5, 0.3);
        border-color: #FFCB05;
    }

.command-profile-image {
    text-align: center;
}

    .command-profile-image img {
        width: 100%;
        max-width: 350px;
        height: auto;
        border-radius: 8px;
        border: 3px solid #FFCB05;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

.command-profile-content {
    padding-left: 2rem;
}

.profile-rank {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-family: 'GI750', sans-serif;
}

.profile-position {
    font-size: 1.3rem;
    font-weight: 600;
    color: #FFCB05;
    margin-bottom: 1rem;
}

.profile-date {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .profile-date i {
        color: #FFCB05;
    }

.profile-summary {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 2rem;
}

.profile-bio-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #FFCB05;
    color: #000000;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #FFCB05;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .profile-bio-button:hover {
        background: #1a1a1a;
        color: #FFCB05;
        transform: translateX(5px);
    }

/* Senior Leaders Section */
.senior-leaders-section {
    background: #FFFFFF;
    padding: 4rem 0;
}

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.leader-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .leader-card:hover {
        transform: translateY(-10px);
        border-color: #FFCB05;
        box-shadow: 0 15px 40px rgba(255, 203, 5, 0.3);
    }

.leader-image-wrapper {
    position: relative;
    height: 350px;
    overflow: hidden;
    background: #f5f5f5;
}

    .leader-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        transition: transform 0.5s ease;
    }

.leader-card:hover .leader-image-wrapper img {
    transform: scale(1.1);
}

.leader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.leader-card:hover .leader-overlay {
    opacity: 1;
}

.leader-overlay i {
    color: #FFCB05;
    font-size: 3rem;
}

.leader-card-body {
    padding: 1.5rem;
}

.leader-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-family: 'GI750', sans-serif;
}

.leader-position {
    font-size: 1rem;
    color: #FFCB05;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.leader-bio-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #FFCB05;
    color: #000000;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    border: 2px solid #FFCB05;
    border-radius: 6px;
    transition: all 0.3s ease;
    width: 100%;
    cursor: pointer;
}

    .leader-bio-button:hover {
        background: #1a1a1a;
        color: #FFCB05;
    }

/* Biography Modals */
.bio-modal {
    display: none;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.95);
}

    .bio-modal.bio-modal-active {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

.modal-content-wrapper {
    width: 95vw;
    height: 95vh;
    max-width: 1600px;
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
    border: 3px solid #FFCB05;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.close-modal-x {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 3rem;
    color: #FFCB05;
    z-index: 10;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.3s ease;
}

    .close-modal-x:hover {
        background: #FFCB05;
        color: #000;
        transform: scale(1.1);
    }

.pdf-modal-header {
    flex: 0 0 auto;
    padding: 1.5rem 2rem;
    background: #000;
    border-bottom: 2px solid #FFCB05;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .pdf-modal-header h2 {
        color: #FFCB05;
        font-size: 1.5rem;
        margin: 0;
        font-family: 'GI750', sans-serif;
    }

    .pdf-modal-header p {
        color: rgba(255, 255, 255, 0.8);
        margin: 0;
    }

.pdf-download-button {
    background: #FFCB05;
    color: #000;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

    .pdf-download-button:hover {
        background: #FFF;
        transform: scale(1.05);
    }

.pdf-modal-body {
    flex: 1 1 auto;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    background: #fff;
}

    .pdf-modal-body iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

/* ===================================
   RESPONSIVE STYLES
   =================================== */
@media (max-width: 991.98px) {
    .leadership-hero {
        padding: 2rem 0 1.5rem 0;
    }

    .hero-content-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-text-content {
        max-width: 100%;
    }

    .hero-page-title {
        font-size: 2.5rem;
    }

    .hero-image-wrapper {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .commanding-leadership-section {
        padding: 4rem 0;
    }

    .command-profile-content {
        padding-left: 0;
        margin-top: 2rem;
    }

    .leaders-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 767.98px) {
    .leadership-hero {
        padding: 1.5rem 0 1rem 0;
    }

    .hero-page-title {
        font-size: 2rem;
    }

    .hero-page-description {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .commanding-leadership-section {
        padding: 3rem 0;
    }

    .command-profile-card {
        padding: 1.5rem;
    }

    .leaders-grid {
        grid-template-columns: 1fr;
    }

    .leader-image-wrapper {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .leadership-hero {
        padding: 1.25rem 0 0.75rem 0;
    }

    .hero-page-title {
        font-size: 1.75rem;
    }

    .hero-breadcrumb {
        font-size: 0.85rem;
    }

    .hero-image-wrapper {
        max-width: 220px;
    }

    .commanding-leadership-section {
        padding: 2.5rem 0;
    }

    .leader-image-wrapper {
        height: 280px;
    }
}

/* ===================================
   15. MSC (MAJOR SUBORDINATE COMMANDS) PAGE STYLES
   =================================== */

/* MSC Hero Section - Match Leadership Style */
.msc-hero {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    padding: 3rem 0 2.5rem 0;
    border-bottom: 3px solid #FFCB05;
    margin: 0 !important;
    min-height: auto !important;
}

    .msc-hero .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 203, 5, 0.02) 2px, rgba(255, 203, 5, 0.02) 4px), repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 203, 5, 0.02) 2px, rgba(255, 203, 5, 0.02) 4px);
        opacity: 0.3;
    }

/* Command Cards Section */
.commands-section {
    background: #F5F5F5;
    padding: 5rem 0 4rem 0;
    margin: 0 !important;
}

.command-card {
    background: #FFFFFF;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 3rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

    .command-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        opacity: 0.3;
        pointer-events: none;
    }

    .command-card:hover {
        border-color: #FFCB05;
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(255, 203, 5, 0.3);
    }

.command-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.command-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(255, 203, 5, 0.3));
}

.command-title-wrapper h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-family: 'GI750', sans-serif;
}

    .command-title-wrapper h2 a {
        color: #1a1a1a;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .command-title-wrapper h2 a:hover {
            color: #FFCB05;
        }

.command-location {
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .command-location i {
        color: #FFCB05;
    }

.command-content {
    position: relative;
    z-index: 2;
}

.command-description {
    color: #000000;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.command-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.command-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #FFCB05;
    border: 2px solid #FFCB05;
    color: #000000;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .command-link:hover {
        background: #1a1a1a;
        color: #FFCB05;
        border-color: #1a1a1a;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 203, 5, 0.4);
    }

    .command-link i {
        font-size: 0.9rem;
    }

.command-divider {
    border: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 203, 5, 0.3), transparent);
    margin: 3rem 0;
}

/* MSC Responsive */
@media (max-width: 991.98px) {
    .msc-hero {
        padding: 2rem 0 1.5rem 0;
    }

    .commands-section {
        padding: 4rem 0;
    }

    .command-card {
        padding: 2.5rem;
    }

    .command-header {
        gap: 1.5rem;
    }

    .command-logo {
        width: 80px;
        height: 80px;
    }

    .command-title-wrapper h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .msc-hero {
        padding: 1.5rem 0 1rem 0;
    }

    .commands-section {
        padding: 3rem 0;
    }

    .command-card {
        padding: 2rem;
    }

    .command-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .command-logo {
        width: 80px;
        height: 80px;
    }

    .command-title-wrapper h2 {
        font-size: 1.4rem;
    }

    .command-location {
        justify-content: center;
    }

    .command-links {
        flex-direction: column;
    }

    .command-link {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .msc-hero {
        padding: 1.25rem 0 0.75rem 0;
    }

    .commands-section {
        padding: 2.5rem 0;
    }

    .command-card {
        padding: 1.5rem;
    }

    .command-title-wrapper h2 {
        font-size: 1.2rem;
    }

    .command-description {
        font-size: 0.95rem;
    }
}



/* ===================================
   16. HOMEPAGE SPECIFIC STYLES
   =================================== */

/* Map Text Label Highlighting */
.map-card {
    position: relative;
}

/* Mission/Vision Icon Alignment Fix */
.mission-card,
.vision-card {
    align-items: center !important;
}

.icon-wrapper {
    margin-top: 0 !important;
}

/* Overlay text labels on map */
.map-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.map-label {
    position: absolute;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
}

    .map-label.active {
        background: #ffcb05;
        color: #000000;
        font-weight: 900;
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(255, 203, 5, 0.8);
        text-shadow: none;
    }

    /* Position labels to the left of location markers */
    .map-label[data-location="tyad"] {
        top: 11%;
        right: 10%;
    }

    .map-label[data-location="amlc"] {
        top: 27%;
        left: 44%;
    }

    .map-label[data-location="cecomhq"] {
        top: 50%;
        left: 50%;
    }

    .map-label[data-location="ilsc"] {
        top: 54%;
        left: 62%;
    }

    .map-label[data-location="sec"] {
        top: 60%;
        left: 57%;
    }

    .map-label[data-location="usaisec"] {
        bottom: 18%;
        left: 31%;
    }

/* Make labels clickable */
.map-label {
    pointer-events: auto;
    cursor: pointer;
}

/* Responsive adjustments for labels */
@media (max-width: 991.98px) {
    .map-label {
        font-size: 12px;
        padding: 3px 10px;
    }
}

@media (max-width: 767.98px) {
    .map-label {
        font-size: 11px;
        padding: 2px 8px;
    }
}

/* Carousel Improvements - Next Story Preview */
.next-story-preview {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid #ffcb05;
    border-radius: 8px;
}

.next-story-label {
    color: #ffcb05;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .next-story-label i {
        font-size: 1rem;
    }

.next-story-content {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.next-story-image {
    width: 120px;
    height: 80px;
    border-radius: 6px;
    object-fit: cover;
    border: 2px solid rgba(255, 203, 5, 0.3);
    flex-shrink: 0;
}

.next-story-info {
    flex: 1;
}

.next-story-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.next-story-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

    .next-story-date i {
        margin-right: 0.5rem;
        color: #ffcb05;
    }

/* Next Story Responsive */
@media (max-width: 767.98px) {
    .next-story-preview {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .next-story-content {
        gap: 1rem;
    }

    .next-story-image {
        width: 80px;
        height: 60px;
    }

    .next-story-title {
        font-size: 0.9rem;
    }

    .next-story-date {
        font-size: 0.8rem;
    }
}

/* Image Modal - Homepage Capabilities Image */
.image-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
}

    .image-modal.show {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding: 60px 20px 20px 20px;
    }

    .image-modal .modal-content {
        display: block;
        max-width: 70%;
        max-height: 70vh;
        width: auto;
        height: auto;
        border: 3px solid #ffcb05;
        border-radius: 8px;
        object-fit: contain;
        margin: 0 auto;
        position: relative;
    }

    .image-modal .modal-close {
        position: fixed;
        top: 20px;
        right: 40px;
        color: #ffcb05;
        font-size: 50px;
        font-weight: bold;
        transition: 0.3s;
        cursor: pointer;
        z-index: 100000;
        line-height: 1;
        background: none;
        border: none;
        padding: 0;
        margin: 0;
    }

        .image-modal .modal-close:hover,
        .image-modal .modal-close:focus {
            color: #ffd700;
            transform: scale(1.2);
        }

    .image-modal .modal-caption {
        text-align: center;
        padding: 20px 0 0 0;
        margin: 0;
        width: auto;
        max-width: none;
    }

    .image-modal .modal-link {
        display: inline-block;
        color: #ffcb05;
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: 700;
        padding: 0.75rem 1.5rem;
        border: 2px solid #ffcb05;
        border-radius: 5px;
        transition: all 0.3s ease;
        background: rgba(0, 0, 0, 0.8);
    }

        .image-modal .modal-link:hover {
            background: #ffcb05;
            color: #000000;
            transform: translateY(-3px);
            box-shadow: 0 5px 20px rgba(255, 203, 5, 0.5);
        }

        .image-modal .modal-link i {
            margin-left: 0.5rem;
        }

/* Homepage Image Modal Responsive */
@media (max-width: 767.98px) {
    .image-modal.show {
        padding: 80px 10px 20px 10px;
    }

    .image-modal .modal-content {
        max-width: 90%;
        max-height: 60vh;
    }

    .image-modal .modal-close {
        top: 10px;
        right: 20px;
        font-size: 40px;
    }

    .image-modal .modal-link {
        font-size: 0.95rem;
        padding: 0.6rem 1.2rem;
    }
}

/* Clickable Image - Homepage Capabilities */
.clickable-image {
    cursor: pointer;
    transition: all 0.3s ease;
}

    .clickable-image:hover {
        transform: scale(1.02);
    }

/* ===================================
   HOMEPAGE SWAP - CAPABILITIES IMAGE & MISSION VIDEO
   =================================== */

/* Hero Section - Capabilities Image (swapped from video) */
.hero-capabilities-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1s ease 1s both;
}

.capabilities-box {
    position: relative;
    width: 100%;
    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;
}

    .capabilities-box:hover {
        transform: translateY(-10px);
        box-shadow: 0 30px 80px rgba(255, 203, 5, 0.4);
    }

.hero-capabilities-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .hero-capabilities-image:hover {
        transform: scale(1.02);
    }

.capabilities-expand-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.8);
    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;
}

    .capabilities-expand-btn:hover {
        background: #ffcb05;
        color: #000000;
        transform: scale(1.05);
    }

/*===================================
ASIC VIDEO SECTION CSS
Navy/Blue/Yellow Color Scheme
=================================== */
/* Mission Section - Video (ASIC Colors) */
.mission-video-card {
    padding: 3rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    background: var(--asic-navy); /* Changed from rgba(0, 0, 0, 0.9) */
    border: 3px solid var(--asic-yellow); /* Changed from #ffcb05 */
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 20px 60px rgba(255, 203, 5, 0.3);
    transition: all 0.3s ease;
}

    .video-wrapper:hover {
        transform: translateY(-10px);
        box-shadow: 0 30px 80px rgba(255, 203, 5, 0.4);
        border-color: var(--asic-light-blue); /* Added color change on hover */
    }

.mission-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Expand Fullscreen Button */
.video-expand-fullscreen-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 59, 92, 0.9); /* Changed to ASIC navy */
    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); /* Changed from #000000 */
        transform: scale(1.05);
    }

/* Video Controls */
.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); /* Changed to ASIC navy */
        border: 2px solid var(--asic-yellow);
        color: var(--asic-yellow);
        padding: 8px 12px;
        cursor: pointer;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

        .video-controls-mission button:hover {
            background-color: var(--asic-yellow);
            color: var(--asic-navy); /* Changed from #000000 */
        }

    .video-controls-mission i {
        font-size: 16px;
    }

/* Responsive Design */
@media (max-width: 991.98px) {
    .mission-video-card {
        padding: 2rem;
    }

    .video-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .mission-video-card {
        padding: 1.5rem;
    }

    .video-expand-fullscreen-btn {
        top: 1rem;
        right: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .video-controls-mission {
        bottom: 1rem;
        right: 1rem;
    }

        .video-controls-mission button {
            padding: 6px 10px;
        }

        .video-controls-mission i {
            font-size: 14px;
        }
}

/* News Carousel - Inset Arrows (60px from edges on desktop) */
.carousel-control-prev {
    left: 60px !important;
}

.carousel-control-next {
    right: 60px !important;
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .capabilities-box,
    .video-wrapper {
        max-width: 100%;
    }

    .capabilities-expand-btn,
    .video-expand-fullscreen-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    /* Arrows closer to edges on mobile */
    .carousel-control-prev {
        left: 10px !important;
    }

    .carousel-control-next {
        right: 10px !important;
    }
}

@media (max-width: 767.98px) {
    /* Hide "Expand" text on mobile, show icon only */
    .capabilities-expand-btn span,
    .video-expand-fullscreen-btn span {
        display: none;
    }

    .mission-video-card {
        padding: 2rem 1rem;
    }
}
/* ===================================
   STICKY HEADER (DESKTOP ONLY ≥1200px)
   =================================== */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    display: none;
}

/* Show sticky header only on desktop */
@media (min-width: 1200px) {
    .sticky-header {
        display: block;
    }

        .sticky-header.show {
            transform: translateY(0);
        }
}

.sticky-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border-bottom: 2px solid #ffcb05;
    opacity: 0.98;
}

.sticky-header-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.sticky-breadcrumb {
    margin: 0;
}

    .sticky-breadcrumb .breadcrumb {
        background: transparent;
        margin: 0;
        padding: 0;
    }

    .sticky-breadcrumb .breadcrumb-item {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.85rem;
    }

        .sticky-breadcrumb .breadcrumb-item.active {
            color: #ffcb05;
        }

.sticky-title {
    color: #ffcb05;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    font-family: 'GI750', sans-serif;
    letter-spacing: 2px;
}

/* ===================================
   LEADERSHIP BIOGRAPHY MODALS - FULLSCREEN
   =================================== */

/* Modal container - FULLSCREEN when active */
.bio-modal-active {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 999999 !important;
    background: rgba(0, 0, 0, 0.95) !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

/* Hidden state */
div[id^="bioModal-"]:not(.bio-modal-active) {
    display: none !important;
}

/* Modal wrapper - 95% of screen */
.bio-modal-active .modal-content-wrapper {
    width: 95vw !important;
    height: 95vh !important;
    max-width: 1600px !important;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%) !important;
    border: 3px solid #ffcb05 !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8) !important;
}

/* Header section */
.bio-modal-active .pdf-modal-header {
    background: rgba(0, 0, 0, 0.9) !important;
    padding: 1.5rem 2rem !important;
    border-bottom: 2px solid rgba(255, 203, 5, 0.3) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    gap: 2rem !important;
}

    .bio-modal-active .pdf-modal-header h2 {
        color: #ffcb05 !important;
        margin: 0 !important;
        font-size: 1.6rem !important;
        font-weight: 700 !important;
    }

    .bio-modal-active .pdf-modal-header p {
        color: rgba(255, 255, 255, 0.9) !important;
        margin: 0.5rem 0 0 0 !important;
        font-size: 1.1rem !important;
    }

/* PDF body - TAKES ALL REMAINING SPACE */
.bio-modal-active .pdf-modal-body {
    flex: 1 !important;
    overflow: hidden !important;
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    background: #ffffff !important;
}

    /* PDF iframe - FILLS ENTIRE BODY */
    .bio-modal-active .pdf-modal-body iframe {
        width: 100% !important;
        height: 100% !important;
        border: none !important;
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
    }

/* Close button */
.bio-modal-active .close-modal-x {
    position: absolute !important;
    top: 1rem !important;
    right: 1.5rem !important;
    font-size: 3rem !important;
    color: #ffcb05 !important;
    cursor: pointer !important;
    z-index: 1000000 !important;
    background: rgba(0, 0, 0, 0.7) !important;
    border: none !important;
    line-height: 1 !important;
    font-weight: bold !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
}

    .bio-modal-active .close-modal-x:hover {
        color: #ffd700 !important;
        background: rgba(0, 0, 0, 0.9) !important;
        transform: scale(1.1) !important;
    }

/* Download button */
.bio-modal-active .pdf-download-button {
    background: #ffcb05 !important;
    color: #000000 !important;
    padding: 0.75rem 1.5rem !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
}

    .bio-modal-active .pdf-download-button:hover {
        background: #ffd700 !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 5px 15px rgba(255, 203, 5, 0.4) !important;
    }

/* Mobile responsive */
@media (max-width: 991.98px) {
    .bio-modal-active .modal-content-wrapper {
        width: 98vw !important;
        height: 98vh !important;
    }

    .bio-modal-active .pdf-modal-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        padding: 1.25rem 1rem !important;
        padding-right: 60px !important;
    }

        .bio-modal-active .pdf-modal-header h2 {
            font-size: 1.3rem !important;
        }

        .bio-modal-active .pdf-modal-header p {
            font-size: 1rem !important;
        }

    .bio-modal-active .pdf-download-button {
        width: 100% !important;
        justify-content: center !important;
    }

    .bio-modal-active .close-modal-x {
        top: 0.75rem !important;
        right: 0.75rem !important;
        font-size: 2.5rem !important;
        width: 45px !important;
        height: 45px !important;
    }
}

@media (max-width: 576px) {
    .bio-modal-active .modal-content-wrapper {
        width: 100vw !important;
        height: 100vh !important;
        border-radius: 0 !important;
    }

    .bio-modal-active .pdf-modal-header h2 {
        font-size: 1.1rem !important;
    }

    .bio-modal-active .pdf-modal-header p {
        font-size: 0.9rem !important;
    }

    .bio-modal-active .close-modal-x {
        font-size: 2rem !important;
        width: 40px !important;
        height: 40px !important;
    }
}

/* ===================================
   LEADERSHIP BIOGRAPHY MODALS - FULLSCREEN
   =================================== */

/* Modal container - FULLSCREEN when active */
.bio-modal-active {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 999999 !important;
    background: rgba(0, 0, 0, 0.95) !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

/* Hidden state */
div[id^="bioModal-"]:not(.bio-modal-active) {
    display: none !important;
}

/* Modal wrapper - 95% of screen */
.bio-modal-active .modal-content-wrapper {
    width: 95vw !important;
    height: 95vh !important;
    max-width: 1600px !important;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%) !important;
    border: 3px solid #ffcb05 !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8) !important;
}

/* Header section */
.bio-modal-active .pdf-modal-header {
    background: rgba(0, 0, 0, 0.9) !important;
    padding: 1.5rem 2rem !important;
    border-bottom: 2px solid rgba(255, 203, 5, 0.3) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    gap: 2rem !important;
}

    .bio-modal-active .pdf-modal-header h2 {
        color: #ffcb05 !important;
        margin: 0 !important;
        font-size: 1.6rem !important;
        font-weight: 700 !important;
    }

    .bio-modal-active .pdf-modal-header p {
        color: rgba(255, 255, 255, 0.9) !important;
        margin: 0.5rem 0 0 0 !important;
        font-size: 1.1rem !important;
    }

/* PDF body - TAKES ALL REMAINING SPACE */
.bio-modal-active .pdf-modal-body {
    flex: 1 !important;
    overflow: hidden !important;
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    background: #ffffff !important;
}

    /* PDF iframe - FILLS ENTIRE BODY */
    .bio-modal-active .pdf-modal-body iframe {
        width: 100% !important;
        height: 100% !important;
        border: none !important;
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
    }

/* Close button */
.bio-modal-active .close-modal-x {
    position: absolute !important;
    top: 1rem !important;
    right: 1.5rem !important;
    font-size: 3rem !important;
    color: #ffcb05 !important;
    cursor: pointer !important;
    z-index: 1000000 !important;
    background: rgba(0, 0, 0, 0.7) !important;
    border: none !important;
    line-height: 1 !important;
    font-weight: bold !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
}

    .bio-modal-active .close-modal-x:hover {
        color: #ffd700 !important;
        background: rgba(0, 0, 0, 0.9) !important;
        transform: scale(1.1) !important;
    }

/* Download button */
.bio-modal-active .pdf-download-button {
    background: #ffcb05 !important;
    color: #000000 !important;
    padding: 0.75rem 1.5rem !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
}

    .bio-modal-active .pdf-download-button:hover {
        background: #ffd700 !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 5px 15px rgba(255, 203, 5, 0.4) !important;
    }

/* Mobile responsive */
@media (max-width: 991.98px) {
    .bio-modal-active .modal-content-wrapper {
        width: 98vw !important;
        height: 98vh !important;
    }

    .bio-modal-active .pdf-modal-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        padding: 1.25rem 1rem !important;
        padding-right: 60px !important;
    }

        .bio-modal-active .pdf-modal-header h2 {
            font-size: 1.3rem !important;
        }

        .bio-modal-active .pdf-modal-header p {
            font-size: 1rem !important;
        }

    .bio-modal-active .pdf-download-button {
        width: 100% !important;
        justify-content: center !important;
    }

    .bio-modal-active .close-modal-x {
        top: 0.75rem !important;
        right: 0.75rem !important;
        font-size: 2.5rem !important;
        width: 45px !important;
        height: 45px !important;
    }
}

@media (max-width: 576px) {
    .bio-modal-active .modal-content-wrapper {
        width: 100vw !important;
        height: 100vh !important;
        border-radius: 0 !important;
    }

    .bio-modal-active .pdf-modal-header h2 {
        font-size: 1.1rem !important;
    }

    .bio-modal-active .pdf-modal-header p {
        font-size: 0.9rem !important;
    }

    .bio-modal-active .close-modal-x {
        font-size: 2rem !important;
        width: 40px !important;
        height: 40px !important;
    }
}
/* ===================================
   16. CONTACT PAGE STYLES
   =================================== */

/* Contact Hero Section - Match Leadership Style */
.contact-hero {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    padding: 3rem 0 2.5rem 0;
    border-bottom: 3px solid #FFCB05;
    margin: 0 !important;
    min-height: auto !important;
}

    .contact-hero .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 203, 5, 0.02) 2px, rgba(255, 203, 5, 0.02) 4px), repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 203, 5, 0.02) 2px, rgba(255, 203, 5, 0.02) 4px);
        opacity: 0.3;
    }

/* Contact Info Section */
.contact-info-section {
    background: #F5F5F5;
    padding: 5rem 0 2rem 0;
    margin: 0 !important;
    min-height: auto !important;
}

.contact-info-card {
    background: #FFFFFF;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 3rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

    .contact-info-card:hover {
        border-color: #FFCB05;
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(255, 203, 5, 0.3);
    }

.contact-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 203, 5, 0.1);
    border: 3px solid #FFCB05;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

    .contact-icon-wrapper i {
        color: #FFCB05;
        font-size: 2.5rem;
    }

.contact-card-title {
    color: #000000;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'GI750', sans-serif;
}

.contact-details {
    color: rgba(0, 0, 0, 0.8);
}

.contact-address,
.contact-phone {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1rem;
}

    .contact-address i,
    .contact-phone i {
        color: #FFCB05;
        margin-right: 0.75rem;
        width: 20px;
    }

.contact-section-label {
    color: #FFCB05;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

    .contact-section-label:first-of-type {
        margin-top: 0;
    }

.contact-description {
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: #FFCB05;
    border: 2px solid #FFCB05;
    color: #000000;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

    .contact-link:hover {
        background: #1a1a1a;
        color: #FFCB05;
        border-color: #1a1a1a;
        transform: translateX(5px);
        box-shadow: 0 5px 15px rgba(255, 203, 5, 0.4);
    }

    .contact-link i {
        font-size: 1rem;
    }

/* Contact Form Section */

.contact-form-section {
    background: #FFFFFF;
    padding: 4rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    min-height: auto !important;
}

.form-card,
.qr-section {
    background: #F5F5F5;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 3rem;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-header,
.qr-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 203, 5, 0.3);
}

    .form-header i,
    .qr-header i {
        color: #FFCB05;
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .form-header h2,
    .qr-header h2 {
        color: #1a1a1a;
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 0.75rem;
    }

    .form-header p,
    .qr-header p {
        color: rgba(0, 0, 0, 0.7);
        font-size: 1rem;
        margin: 0;
    }

/* Form Validation Summary */
.form-validation-summary {
    background: rgba(220, 53, 69, 0.1);
    border: 2px solid #dc3545;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    color: #ff6b6b;
}

    .form-validation-summary i {
        margin-right: 0.5rem;
    }

    .form-validation-summary ul {
        margin: 1rem 0 0 0;
        padding-left: 1.5rem;
    }

    .form-validation-summary li {
        margin-bottom: 0.5rem;
        color: #ff6b6b;
    }

/* Form Groups */
.form-group {
    margin-bottom: 1.75rem;
}

    .form-group label {
        color: #1a1a1a;
        font-weight: 600;
        font-size: 1rem;
        margin-bottom: 0.5rem;
        display: block;
    }

.required {
    color: #ff6b6b;
    margin-left: 0.25rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    background: #FFFFFF !important;
    border: 2px solid rgba(0, 0, 0, 0.2) !important;
    border-radius: 6px !important;
    color: #000000 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

    .form-control:focus {
        background: #FFFFFF !important;
        border-color: #FFCB05 !important;
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(255, 203, 5, 0.1) !important;
    }

    .form-control::placeholder {
        color: rgba(0, 0, 0, 0.4) !important;
    }

/* Make sure textarea also gets these styles */
textarea.form-control {
    resize: vertical !important;
    min-height: 120px !important;
    color: #000000 !important;
}

/* Character Counter */
.char-counter {
    display: block;
    text-align: right;
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

#counter {
    color: #FFCB05;
    font-weight: 600;
}

/* Form Errors */
.form-error {
    color: #ff6b6b;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}

.input-validation-error {
    border-color: #dc3545 !important;
}

/* Submit Button */
.submit-button {
    width: 100%;
    background: #FFCB05;
    color: #000000;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border: 2px solid #FFCB05;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

    .submit-button:hover {
        background: #1a1a1a;
        color: #FFCB05;
        border-color: #1a1a1a;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(255, 203, 5, 0.4);
    }

    .submit-button i {
        font-size: 1.2rem;
    }

/* QR Code Section */
.qr-code-wrapper {
    text-align: center;
    margin: 2rem 0;
}

.qr-link {
    display: inline-block;
    padding: 2rem;
    background: #FFFFFF;
    border: 2px solid rgba(255, 203, 5, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .qr-link:hover {
        border-color: #FFCB05;
        background: rgba(255, 203, 5, 0.05);
        transform: scale(1.05);
        box-shadow: 0 10px 30px rgba(255, 203, 5, 0.3);
    }

.qr-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 1.5rem;
    border-radius: 8px;
}

.qr-cta {
    color: #FFCB05;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

    .qr-cta i {
        font-size: 1rem;
    }

.qr-description {
    color: rgba(0, 0, 0, 0.7);
    text-align: center;
    line-height: 1.7;
    font-size: 1rem;
    margin-top: 2rem;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
    .contact-hero {
        padding: 2rem 0 1.5rem 0;
    }

    .contact-info-section {
        padding: 4rem 0 2rem 0;
    }

    .contact-info-card,
    .form-card,
    .qr-section {
        margin-bottom: 2rem;
        padding: 2.5rem;
    }

    .form-header h2,
    .qr-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .contact-hero {
        padding: 1.5rem 0 1rem 0;
    }

    .contact-info-section {
        padding: 3rem 0 1rem 0;
    }

    .contact-form-section {
        padding: 3rem 0;
    }

    .contact-info-card,
    .form-card,
    .qr-section {
        padding: 2rem;
    }

    .contact-card-title {
        font-size: 1.5rem;
    }

    .contact-icon-wrapper {
        width: 70px;
        height: 70px;
    }

        .contact-icon-wrapper i {
            font-size: 2rem;
        }

    .qr-image {
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        padding: 1.25rem 0 0.75rem 0;
    }

    .contact-info-card,
    .form-card,
    .qr-section {
        padding: 1.5rem;
    }

    .submit-button {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}

/* ===================================
   GLOBAL CONTAINER FIXES
   =================================== */

/* Ensure main content doesn't have gaps */
main#main-content {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    overflow-x: hidden;
}

/* Force sections to connect with no gaps */
section {
    margin: 0 !important;
}

/* Ensure body and container have no background bleed */
body {
    margin: 0;
    padding: 0;
    background: #000000;
}

.container-fluid {
    padding: 0 !important;
    margin: 0 !important;
}

/* Leadership page specific - no gaps */
.leadership-hero + section {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Homepage hero - constrain properly */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    width: 100%;
    max-width: 100%;
}

/* ===================================
   CECOM SEARCH STYLES
   Command Hierarchy Display
   =================================== */

/* Search Container */
.cecom-search-container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 400px;
}

.cecom-search-input {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 2px solid #FFCB05; /* Army Gold */
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #1C1C1C;
    font-size: 1rem;
    font-family: Arial, sans-serif;
    transition: all 0.3s ease;
}

    .cecom-search-input:focus {
        outline: none;
        border-color: #000000;
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    }

.cecom-search-button {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    background: #FFCB05; /* Army Gold */
    border: none;
    border-radius: 0 8px 8px 0;
    color: #000000;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .cecom-search-button:hover {
        background: #000000;
        color: #FFCB05;
    }

/* Search Overlay */
.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9998;
}

/* 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-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: #000000; /* Army Black */
    color: white;
    border-bottom: 3px solid #FFCB05; /* Army Gold */
}

.search-header-content {
    flex: 1;
}

.search-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: white;
}

.search-count {
    color: #FFCB05; /* Army Gold */
    font-weight: 600;
}

.search-close-btn {
    background: transparent;
    border: 2px solid #FFCB05;
    color: #FFCB05;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

    .search-close-btn:hover {
        background: #FFCB05;
        color: #000000;
    }

.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, #1C1C1C 0%, #000000 100%);
    padding: 1.5rem 2rem;
    border-bottom: 3px solid #FFCB05;
}

.legend-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #FFCB05;
    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-parent {
        background: #FFCB05;
        color: #000000;
        border-color: #FFCB05;
    }

    .legend-badge.cecom-sub {
        background: #4A4A4A;
        color: white;
        border-color: #4A4A4A;
    }

.legend-arrow {
    color: #FFCB05;
    font-size: 1.2rem;
    font-weight: 700;
}

.legend-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Search Categories */
.search-category {
    margin-bottom: 2rem;
}

.search-category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #000000;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #FFCB05;
}

    .search-category-title i {
        color: #FFCB05;
    }

.category-count {
    color: #4A4A4A;
    font-size: 0.9rem;
    font-weight: 600;
}

.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;
    position: relative;
}

    .search-result-item:hover {
        border-color: #FFCB05;
        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: #000000;
        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: #000000;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.search-item-title {
    color: #000000;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.search-item-description {
    color: rgba(0, 0, 0, 0.7);
    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 Hierarchy Badges */
.command-hierarchy {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.command-badge {
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 2px solid;
}

    .command-badge.parent {
        background: #FFCB05; /* Army Gold */
        color: #000000;
        border-color: #FFCB05;
    }

    .command-badge.subordinate {
        background: #4A4A4A;
        color: white;
        border-color: #4A4A4A;
    }

    .command-badge.single {
        background: rgba(0, 0, 0, 0.05);
        color: #000000;
        border-color: #000000;
    }

.hierarchy-arrow {
    color: #FFCB05;
    font-size: 0.9rem;
}

/* 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(0, 0, 0, 0.05);
        color: #000000;
        border-color: #000000;
    }

    .link-badge.external {
        background: rgba(255, 203, 5, 0.1);
        color: #000000;
        border-color: #FFCB05;
    }

    .link-badge i {
        font-size: 0.75rem;
    }

/* Highlight matched text */
mark {
    background: #FFCB05; /* Army Gold */
    color: #000000;
    padding: 0.15rem 0.3rem;
    border-radius: 3px;
    font-weight: 600;
}

/* No Results */
.search-no-results {
    text-align: center;
    padding: 3rem 2rem;
}

    .search-no-results i {
        font-size: 4rem;
        color: #000000;
        margin-bottom: 1rem;
    }

    .search-no-results h3 {
        color: #000000;
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .search-no-results p {
        color: rgba(0, 0, 0, 0.6);
        margin-bottom: 0;
    }

/* Try Again Button */
.search-retry-btn {
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #FFCB05;
    color: #000000;
    border: 2px solid #FFCB05;
    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: #000000;
        color: #FFCB05;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .search-retry-btn i {
        font-size: 1rem;
    }

/* Responsive */
@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;
    }
}

/* ===================================
   NAVIGATION - ADD HORIZONTAL PADDING
   =================================== */
.main-navbar .top-bar {
    padding-left: 9.5rem !important;
    padding-right: 9.5rem !important;
}

.main-navbar .nav-links-bar {
    padding-left: 0rem !important;
    padding-right: 12rem !important;
}

/* Adjust the navbar-nav container to work with the new padding */
.navbar-nav {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Responsive padding adjustments */
@media (max-width: 1199.98px) {
    .main-navbar .top-bar {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }

    .main-navbar .nav-links-bar {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

@media (max-width: 767.98px) {
    .main-navbar .top-bar {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .main-navbar .nav-links-bar {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

@media (max-width: 575.98px) {
    .main-navbar .top-bar {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .main-navbar .nav-links-bar {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* ===================================
   FORCE DESKTOP MODE until 1800px
   Override the original 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,
    .cecom-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: #000000 !important;
        border: 3px solid #ffcb05 !important;
        border-radius: 5px !important;
        cursor: pointer !important;
        z-index: 1100 !important;
        transition: all 0.3s ease !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,
    .cecom-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" */
    .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: #ffcb05 !important;
            line-height: 1.2 !important;
            white-space: nowrap !important;
        }

            .nav-title-container h1::before {
                content: "CECOM" !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, #000000 0%, #1a1a1a 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.8) !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(255, 203, 5, 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(255, 203, 5, 0.15) !important;
                color: #ffcb05 !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(255, 203, 5, 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, 0, 0, 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(255, 203, 5, 0.1) !important;
        }

            .sidebar .dropdown-submenu a:hover {
                background: rgba(255, 203, 5, 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,
    .cecom-search-container {
        display: block !important;
    }
}

/* ===================================
   CECOM MOBILE SIDEBAR SEARCH - UPDATED & FIXED
   Add this to cecom-responsive-complete.css or as separate file
   =================================== */

@media (max-width: 1799.98px) {
    /* Mobile Search Container in Sidebar */
    .sidebar .mobile-search,
    .sidebar .cecom-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, 0, 0, 0.5) !important;
        position: relative !important;
    }

        /* Mobile Search Input */
        .sidebar .cecom-search-input,
        .sidebar .mobile-search .cecom-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 #ffcb05 !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 .cecom-search-input:focus,
            .sidebar .mobile-search .cecom-search-input:focus,
            .sidebar .search-input:focus {
                outline: none !important;
                border-color: #ffffff !important;
                box-shadow: 0 0 0 3px rgba(255, 203, 5, 0.2) !important;
                background: rgba(255, 255, 255, 1) !important;
            }

            .sidebar .cecom-search-input::placeholder,
            .sidebar .mobile-search .cecom-search-input::placeholder,
            .sidebar .search-input::placeholder {
                color: rgba(0, 0, 0, 0.5) !important;
            }

        /* Mobile Search Button */
        .sidebar .cecom-search-button,
        .sidebar .mobile-search .cecom-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: #000000 !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 .cecom-search-button:hover,
            .sidebar .mobile-search .cecom-search-button:hover,
            .sidebar .search-submit:hover {
                background: #ffffff !important;
                transform: translateY(-50%) scale(1.05) !important;
            }

            .sidebar .cecom-search-button i,
            .sidebar .mobile-search .cecom-search-button i,
            .sidebar .search-submit i {
                color: #000000 !important;
                margin: 0 !important;
            }
}

/* ===================================
   CECOM MOBILE SIDEBAR SEARCH - UPDATED & FIXED
   Add this to cecom-responsive-complete.css or as separate file
   =================================== */

@media (max-width: 1799.98px) {
    /* Mobile Search Container in Sidebar */
    .sidebar .mobile-search,
    .sidebar .cecom-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, 0, 0, 0.5) !important;
        position: relative !important;
    }

        /* Mobile Search Input */
        .sidebar .cecom-search-input,
        .sidebar .mobile-search .cecom-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 #ffcb05 !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 .cecom-search-input:focus,
            .sidebar .mobile-search .cecom-search-input:focus,
            .sidebar .search-input:focus {
                outline: none !important;
                border-color: #ffffff !important;
                box-shadow: 0 0 0 3px rgba(255, 203, 5, 0.2) !important;
                background: rgba(255, 255, 255, 1) !important;
            }

            .sidebar .cecom-search-input::placeholder,
            .sidebar .mobile-search .cecom-search-input::placeholder,
            .sidebar .search-input::placeholder {
                color: rgba(0, 0, 0, 0.5) !important;
            }

        /* Mobile Search Button */
        .sidebar .cecom-search-button,
        .sidebar .mobile-search .cecom-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: #000000 !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 .cecom-search-button:hover,
            .sidebar .mobile-search .cecom-search-button:hover,
            .sidebar .search-submit:hover {
                background: #ffffff !important;
                transform: translateY(-50%) scale(1.05) !important;
            }

            .sidebar .cecom-search-button i,
            .sidebar .mobile-search .cecom-search-button i,
            .sidebar .search-submit i {
                color: #000000 !important;
                margin: 0 !important;
            }
}

/* ===================================
   ASIC HERO TITLE - REDUCE TOP PADDING
   =================================== */

/* Reduce padding on hero content container */
.hero-content {
    padding-top: 0rem !important; /* Reduced from 4rem */
}

/* Alternative: Reduce margin on hero title specifically */
.hero-title {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Reduce top padding on hero text container */
.hero-text {
    padding-top: 0 !important;
}

/* Adjust hero subtitle if needed */
.hero-subtitle-with-logo {
    margin-top: 0 !important;
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
    .hero-content {
        padding-top: 1rem !important;
    }
}

/* ===================================
   CECOM HERO MOBILE FIX - NUCLEAR OVERRIDE
   This MUST be loaded AFTER all other CSS
   =================================== */

/* Target the hero section with maximum specificity */
@media screen and (max-width: 991px) {
    .hero-section,
    section.hero-section,
    div.hero-section {
        min-height: 0px !important;
        max-height: none !important;
        height: auto !important;
        display: block !important;
    }

        .hero-content,
        .hero-section .hero-content {
            min-height: 0px !important;
            max-height: none !important;
            height: auto !important;
            padding: 1rem !important;
            display: block !important;
        }

        .hero-grid,
        .hero-section .hero-grid {
            display: block !important;
            grid-template-columns: 1fr !important;
        }

        .hero-text,
        .hero-section .hero-text {
            margin-bottom: 1rem !important;
        }

        .hero-title,
        .hero-section .hero-title {
            font-size: 1.5rem !important;
            line-height: 1.3 !important;
            margin-bottom: 0.75rem !important;
        }

        .hero-subtitle,
        .hero-section .hero-subtitle {
            font-size: 0.85rem !important;
            margin-bottom: 0.5rem !important;
        }

        .hero-description,
        .hero-section .hero-description {
            font-size: 0.9rem !important;
            margin-bottom: 1rem !important;
        }

        .hero-stats,
        .hero-section .hero-stats {
            display: flex !important;
            flex-wrap: wrap !important;
            gap: 0.75rem !important;
        }

    .stat-item {
        flex: 1 1 45% !important;
    }

    .stat-number {
        font-size: 1.5rem !important;
    }

    .stat-label {
        font-size: 0.75rem !important;
    }

    .hero-capabilities-container,
    .hero-section .hero-capabilities-container {
        max-width: 100% !important;
        margin-top: 1rem !important;
    }

    .capabilities-box,
    .hero-section .capabilities-box {
        padding: 0.5rem !important;
        max-width: 350px !important;
        margin: 0 auto !important;
    }

    .hero-capabilities-image,
    .hero-section .hero-capabilities-image {
        max-height: 200px !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .capabilities-expand-btn {
        padding: 0.4rem 0.6rem !important;
        font-size: 0.75rem !important;
    }

        .capabilities-expand-btn span {
            display: none !important;
        }
}

@media screen and (max-width: 767px) {
    .hero-section {
        padding: 0 !important;
    }

    .hero-content {
        padding: 0.75rem !important;
    }

    .hero-title {
        font-size: 1.3rem !important;
    }

    .hero-stats {
        flex-direction: column !important;
    }

    .stat-item {
        flex: 1 1 100% !important;
    }

    .capabilities-box {
        max-width: 300px !important;
    }

    .hero-capabilities-image {
        max-height: 180px !important;
    }
}

@media screen and (max-width: 575px) {
    .hero-content {
        padding: 0.5rem !important;
    }

    .hero-title {
        font-size: 1.2rem !important;
    }

    .hero-subtitle {
        font-size: 0.75rem !important;
    }

    .hero-description {
        font-size: 0.85rem !important;
    }

    .capabilities-box {
        max-width: 280px !important;
    }

    .hero-capabilities-image {
        max-height: 160px !important;
    }
}

/* ===================================
   CECOM HERO MOBILE FIX - ABSOLUTE FINAL VERSION
   Add this to the VERY BOTTOM of Mod.css
   =================================== */

/* Mobile: Hero section should NOT take full viewport height */
@media screen and (max-width: 991.98px) {
    /* Remove 100vh from hero */
    .hero-section {
        min-height: 0 !important;
        max-height: none !important;
        height: auto !important;
        overflow: visible !important;
    }

    /* Content should be compact */
    .hero-content {
        min-height: 0 !important;
        height: auto !important;
        padding: 2rem 1rem !important;
    }

    /* Grid to single column */
    .hero-grid {
        display: block !important;
        gap: 1.5rem !important;
    }

    /* Text elements */
    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
    }

    .hero-title {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
    }

    .hero-description {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* Stats */
    .hero-stats {
        flex-wrap: wrap !important;
        gap: 1rem !important;
    }

    .stat-number {
        font-size: 2rem !important;
    }

    /* Capabilities image */
    .capabilities-box {
        max-width: 400px !important;
        margin: 0 auto !important;
    }

    .hero-capabilities-image {
        max-height: 250px !important;
        width: 100% !important;
        object-fit: contain !important;
    }
}

/* Small mobile */
@media screen and (max-width: 767.98px) {
    .hero-content {
        padding: 1.5rem 1rem !important;
    }

    .hero-title {
        font-size: 1.75rem !important;
    }

    .hero-stats {
        flex-direction: column !important;
    }

    .capabilities-box {
        max-width: 350px !important;
    }

    .hero-capabilities-image {
        max-height: 220px !important;
    }
}

/* Extra small mobile */
@media screen and (max-width: 575.98px) {
    .hero-content {
        padding: 1rem 0.75rem !important;
    }

    .hero-title {
        font-size: 1.5rem !important;
    }

    .capabilities-box {
        max-width: 300px !important;
    }

    .hero-capabilities-image {
        max-height: 200px !important;
    }
}

/* ===================================
   NEWS CAROUSEL - ADD HORIZONTAL PADDING
   =================================== */
.news-carousel-container {
    padding-left: 7rem !important;
    padding-right: 7rem !important;
}

/* Also apply to the section title row */
.section-1-container .row.ps-5 {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
}

/* Responsive padding adjustments */
@media (max-width: 1199.98px) {
    .news-carousel-container {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }

    .section-1-container .row.ps-5 {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

@media (max-width: 767.98px) {
    .news-carousel-container {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .section-1-container .row.ps-5 {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

@media (max-width: 575.98px) {
    .news-carousel-container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .section-1-container .row.ps-5 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* ===================================
   SUBORDINATE COMMANDS - ADD HORIZONTAL PADDING
   =================================== */
.subordinate-commands-section .container-fluid {
    padding-left: 8rem !important;
    padding-right: 8rem !important;
}

/* Ensure section header also has proper padding */
.subordinate-commands-section .section-header {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Responsive padding adjustments */
@media (max-width: 1199.98px) {
    .subordinate-commands-section .container-fluid {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

@media (max-width: 767.98px) {
    .subordinate-commands-section .container-fluid {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

@media (max-width: 575.98px) {
    .subordinate-commands-section .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

