/*
Theme Name:   Wisemen Global Child
Theme URI:    https://www.wisemenusa.com
Description:  Child theme for Wisemen Global — Corporate Edition. Light, authoritative design inspired by enterprise-scale defense and technology firms. Barlow Condensed headlines, clean white panels, full-viewport Driver sections.
Author:       Wisemen Multimedia, LLC
Author URI:   https://www.wisemenusa.com
Template:     wisemen-global
Version:      4.0.0
License:      GNU General Public License v2 or later
Text Domain:  wisemen-global-child

Design System:
- Primary Blue:    #1B3A6B
- Accent Blue:     #2563EB
- Gold:            #C9922A
- White:           #FFFFFF
- Off-White:       #F4F6F9
- Dark Text:       #0F1923
- Mid Gray:        #4B5563
- Light Gray:      #E5E7EB
- Fonts: Barlow Condensed (headings), Barlow (body)
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Barlow', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #0F1923;
    background: #ffffff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: #0F1923;
    margin-top: 0;
}

a { color: #2563EB; text-decoration: none; transition: color 0.2s; }
a:hover { color: #1B3A6B; }

img { max-width: 100%; height: auto; display: block; }

p { margin-top: 0; margin-bottom: 1.2em; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
#masthead {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
    padding: 0;
}

#masthead.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(0,0,0,0.10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 80px;
}

/* Logo */
.site-branding { display: flex; align-items: center; gap: 0.75rem; }
.site-branding .custom-logo { height: 48px; width: auto; }
.site-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
    transition: color 0.4s;
    line-height: 1;
}
.site-title a { color: inherit; }
.site-title span { color: #C9922A; }
#masthead.scrolled .site-title { color: #1B3A6B; }

/* Nav */
.main-navigation { display: flex; align-items: center; }
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.25rem;
    align-items: center;
}
.main-navigation ul li a {
    display: block;
    padding: 0.5rem 1rem;
    font-family: 'Barlow', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}
.main-navigation ul li a:hover {
    color: #C9922A;
    background: rgba(255,255,255,0.08);
}
#masthead.scrolled .main-navigation ul li a { color: #1B3A6B; }
#masthead.scrolled .main-navigation ul li a:hover { color: #2563EB; background: #F4F6F9; }

/* ============================================================
   DROPDOWN SUB-MENU
   ============================================================ */

/* Parent item with children gets relative positioning */
.main-navigation ul li.menu-item-has-children {
    position: relative;
}

/* Add a small chevron indicator on parent items */
.main-navigation ul li.menu-item-has-children > a::after {
    content: ' \25BE';
    font-size: 0.7em;
    margin-left: 4px;
    opacity: 0.7;
    display: inline-block;
    transition: transform 0.2s;
}
.main-navigation ul li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Hide the sub-menu by default */
.main-navigation ul ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.14);
    border-top: 3px solid #C9922A;
    border-radius: 0 0 6px 6px;
    z-index: 9999;
    padding: 0.5rem 0;
    flex-direction: column;
    gap: 0;
}

/* Show sub-menu on hover */
.main-navigation ul li.menu-item-has-children:hover > ul.sub-menu,
.main-navigation ul li.menu-item-has-children:focus-within > ul.sub-menu {
    display: flex;
}

/* Sub-menu link styles */
.main-navigation ul ul.sub-menu li {
    width: 100%;
}
.main-navigation ul ul.sub-menu li a {
    display: block;
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #1B3A6B !important;
    background: transparent;
    border-radius: 0;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s, padding-left 0.15s;
}
.main-navigation ul ul.sub-menu li a:hover {
    background: #F4F6F9;
    color: #C9922A !important;
    padding-left: 1.6rem;
}

/* Mobile: show sub-menu inline when nav is open */
@media (max-width: 900px) {
    .main-navigation ul ul.sub-menu {
        display: flex !important;
        position: static;
        box-shadow: none;
        border-top: none;
        border-left: 3px solid #C9922A;
        background: #F4F6F9;
        padding: 0;
        margin: 0 0 0 1.5rem;
        border-radius: 0;
        min-width: 0;
    }
    .main-navigation ul ul.sub-menu li a {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
    }
    .main-navigation ul li.menu-item-has-children > a::after {
        display: none;
    }
}

/* CTA button in nav */
.main-navigation ul li.menu-cta a {
    background: #C9922A;
    color: #ffffff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
}
.main-navigation ul li.menu-cta a:hover { background: #a87520; }

/* Mobile toggle — matches .nav-toggle class in header.php */
.nav-toggle {
    display: none;
    background: none;
    border: 2px solid rgba(255,255,255,0.7);
    color: #ffffff;
    padding: 0.4rem 0.75rem;
    font-size: 1.25rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
    line-height: 1;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    margin: 4px 0;
    transition: all 0.25s;
}
#masthead.scrolled .nav-toggle { border-color: #1B3A6B; color: #1B3A6B; }

@media (max-width: 900px) {
    .nav-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; }
    .main-navigation { display: none; }
    .main-navigation.nav-open {
        display: block;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.99);
        box-shadow: 0 8px 24px rgba(0,0,0,0.14);
        padding: 0.5rem 0 1rem;
        z-index: 999;
    }
    .main-navigation.nav-open ul { flex-direction: column; gap: 0; }
    .main-navigation.nav-open ul li a { color: #1B3A6B !important; padding: 0.85rem 2rem; border-radius: 0; font-size: 0.9rem; }
    .main-navigation.nav-open ul li a:hover { background: #F4F6F9; color: #C9922A !important; }
    /* Sub-menus in mobile open nav — override the always-show rule */
    .main-navigation.nav-open ul ul.sub-menu {
        display: flex !important;
        position: static;
        box-shadow: none;
        border-top: none;
        border-left: 3px solid #C9922A;
        background: #F4F6F9;
        padding: 0;
        margin: 0 0 0 2rem;
        border-radius: 0;
        min-width: 0;
    }
}

/* ============================================================
   PAGE CONTENT WRAPPER (for non-full-width pages)
   ============================================================ */
.page-content-wrap {
    padding-top: 80px;
    min-height: 60vh;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.wg-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    background: #0F1923;
}
.wg-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.04);
    transition: transform 8s ease;
}
.wg-hero:hover .wg-hero-bg { transform: scale(1.0); }
.wg-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(11,22,45,0.82) 0%, rgba(11,22,45,0.45) 55%, rgba(11,22,45,0.15) 100%);
}
.wg-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}
.wg-hero-eyebrow {
    display: inline-block;
    font-family: 'Barlow', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C9922A;
    margin-bottom: 1.25rem;
    padding-left: 2.5rem;
    position: relative;
}
.wg-hero-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.75rem;
    height: 2px;
    background: #C9922A;
}
.wg-hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 800;
    line-height: 1.0;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
    max-width: 800px;
}
.wg-hero-title em {
    font-style: normal;
    color: #C9922A;
}
.wg-hero-subtitle {
    font-family: 'Barlow', sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: rgba(255,255,255,0.82);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}
.wg-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.wg-btn-primary {
    display: inline-block;
    background: #C9922A;
    color: #ffffff;
    font-family: 'Barlow', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.9rem 2.25rem;
    border-radius: 3px;
    transition: background 0.2s, transform 0.2s;
}
.wg-btn-primary:hover { background: #a87520; color: #fff; transform: translateY(-2px); }
.wg-btn-outline {
    display: inline-block;
    background: transparent;
    color: #ffffff;
    font-family: 'Barlow', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.9rem 2.25rem;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 3px;
    transition: all 0.2s;
}
.wg-btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }

/* Hero scroll indicator */
.wg-hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
}
.wg-hero-scroll span {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    font-family: 'Barlow', sans-serif;
}
.wg-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #fff, transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.wg-stats-bar {
    background: #1B3A6B;
    padding: 2rem 0;
}
.wg-stats-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}
.wg-stat-item { padding: 0.5rem 1rem; }
.wg-stat-number {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #C9922A;
    line-height: 1;
    margin-bottom: 0.35rem;
}
.wg-stat-label {
    font-family: 'Barlow', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}
@media (max-width: 768px) {
    .wg-stats-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .wg-stats-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION INTRO
   ============================================================ */
.wg-section-intro {
    max-width: 1320px;
    margin: 0 auto;
    padding: 5rem 2rem 3rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.wg-section-label {
    font-family: 'Barlow', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C9922A;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.wg-section-label::before {
    content: '';
    display: block;
    width: 2rem;
    height: 2px;
    background: #C9922A;
}
.wg-section-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    color: #0F1923;
    text-transform: uppercase;
    line-height: 1.05;
    max-width: 520px;
}
.wg-section-desc {
    font-size: 1rem;
    color: #4B5563;
    max-width: 400px;
    line-height: 1.7;
}

/* ============================================================
   DRIVER SECTIONS — Full Viewport Panels
   ============================================================ */
.wg-driver-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0F1923;
}
.wg-driver-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s ease;
}
.wg-driver-section:hover .wg-driver-bg { transform: scale(1.02); }
.wg-driver-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11,22,45,0.88) 0%, rgba(11,22,45,0.55) 50%, rgba(11,22,45,0.15) 100%);
}
.wg-driver-content {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    padding: 6rem 2rem;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.wg-driver-left {}
.wg-driver-number {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(6rem, 14vw, 12rem);
    font-weight: 900;
    line-height: 0.9;
    color: rgba(201,146,42,0.18);
    margin-bottom: -1.5rem;
    display: block;
    letter-spacing: -0.04em;
}
.wg-driver-eyebrow {
    font-family: 'Barlow', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C9922A;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.wg-driver-eyebrow::before {
    content: '';
    display: block;
    width: 2rem;
    height: 2px;
    background: #C9922A;
}
.wg-driver-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.0;
    margin-bottom: 1.5rem;
}
.wg-driver-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 2rem;
}
.wg-driver-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.wg-driver-tag {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85);
    font-family: 'Barlow', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 2px;
}
.wg-driver-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #C9922A;
    font-family: 'Barlow', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: gap 0.2s;
}
.wg-driver-link::after {
    content: '→';
    transition: transform 0.2s;
}
.wg-driver-link:hover { color: #e8ab3a; }
.wg-driver-link:hover::after { transform: translateX(4px); }

.wg-driver-right {}
.wg-driver-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 4px;
    padding: 2.5rem;
}
.wg-driver-card-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C9922A;
    margin-bottom: 1.5rem;
}
.wg-driver-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.wg-driver-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.5;
}
.wg-driver-card ul li::before {
    content: '▸';
    color: #C9922A;
    flex-shrink: 0;
    margin-top: 0.1rem;
    font-size: 0.75rem;
}

@media (max-width: 900px) {
    .wg-driver-content { grid-template-columns: 1fr; gap: 2rem; }
    .wg-driver-number { font-size: 5rem; }
}

/* ============================================================
   VENTURES SECTION
   ============================================================ */
.wg-ventures-section {
    background: #F4F6F9;
    padding: 6rem 0;
}
.wg-ventures-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
}
.wg-ventures-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}
.wg-venture-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #0F1923;
}
.wg-venture-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}
.wg-venture-card:hover .wg-venture-card-bg { transform: scale(1.05); }
.wg-venture-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11,22,45,0.92) 0%, rgba(11,22,45,0.3) 60%, transparent 100%);
}
.wg-venture-card-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
}
.wg-venture-logo-area {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #C9922A;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}
.wg-venture-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.0;
    margin-bottom: 1rem;
}
.wg-venture-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}
.wg-venture-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #C9922A;
    font-family: 'Barlow', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid rgba(201,146,42,0.5);
    padding: 0.6rem 1.25rem;
    border-radius: 3px;
    transition: all 0.2s;
}
.wg-venture-link:hover { background: #C9922A; color: #fff; }
@media (max-width: 768px) {
    .wg-ventures-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CAPABILITIES / SERVICES SECTION
   ============================================================ */
.wg-capabilities-section {
    background: #ffffff;
    padding: 6rem 0;
}
.wg-capabilities-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
}
.wg-capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.wg-capability-card {
    background: #F4F6F9;
    border-top: 3px solid #1B3A6B;
    padding: 2rem;
    border-radius: 3px;
    transition: transform 0.25s, box-shadow 0.25s;
}
.wg-capability-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(27,58,107,0.12);
}
.wg-capability-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}
.wg-capability-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0F1923;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.wg-capability-desc {
    font-size: 0.9rem;
    color: #4B5563;
    line-height: 1.65;
    margin: 0;
}
@media (max-width: 900px) {
    .wg-capabilities-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .wg-capabilities-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.wg-cta-section {
    background: #1B3A6B;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.wg-cta-section::before {
    content: '';
    position: absolute;
    right: -5%;
    top: -30%;
    width: 50%;
    height: 160%;
    background: rgba(201,146,42,0.07);
    transform: rotate(-12deg);
    pointer-events: none;
}
.wg-cta-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.wg-cta-text {}
.wg-cta-label {
    font-family: 'Barlow', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C9922A;
    margin-bottom: 0.75rem;
}
.wg-cta-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.05;
    margin: 0;
}
.wg-cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
#colophon {
    background: #0F1923;
    padding: 4rem 0 2rem;
}
.site-footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 2rem;
}
.footer-brand-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}
.footer-brand-name span { color: #C9922A; }
.footer-brand-desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 0.5rem;
}
.footer-col-title {
    font-family: 'Barlow', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C9922A;
    margin-bottom: 1.25rem;
}
.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.footer-col ul li a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    transition: color 0.2s;
}
.footer-col ul li a:hover { color: #C9922A; }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-copy {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}
.footer-certs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.footer-cert-badge {
    font-family: 'Barlow', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
}
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   ABOUT / INTERIOR PAGES
   ============================================================ */
.wg-page-hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: flex-end;
    background: #0F1923;
    overflow: hidden;
    padding-top: 80px;
}
.wg-page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
}
.wg-page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    padding: 4rem 2rem;
    width: 100%;
}
.wg-page-hero-eyebrow {
    font-family: 'Barlow', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C9922A;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.wg-page-hero-eyebrow::before {
    content: '';
    display: block;
    width: 2rem;
    height: 2px;
    background: #C9922A;
}
.wg-page-hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.0;
    margin: 0;
}

/* Content sections */
.wg-content-section {
    padding: 5rem 0;
}
.wg-content-section.bg-light { background: #F4F6F9; }
.wg-content-section.bg-dark { background: #0F1923; }
.wg-content-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Two-col layout */
.wg-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.wg-two-col.reverse { direction: rtl; }
.wg-two-col.reverse > * { direction: ltr; }
.wg-col-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
}
@media (max-width: 768px) {
    .wg-two-col { grid-template-columns: 1fr; direction: ltr; }
    .wg-two-col.reverse { direction: ltr; }
}

/* Drivers grid (about page) */
.wg-drivers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.wg-driver-mini-card {
    background: #ffffff;
    border-radius: 4px;
    padding: 1.75rem 1.5rem;
    border-top: 3px solid #C9922A;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.25s, box-shadow 0.25s;
}
.wg-driver-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(27,58,107,0.1);
}
.wg-driver-mini-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(201,146,42,0.25);
    line-height: 1;
    margin-bottom: 0.25rem;
}
.wg-driver-mini-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F1923;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.wg-driver-mini-desc {
    font-size: 0.85rem;
    color: #4B5563;
    line-height: 1.6;
    margin: 0;
}
@media (max-width: 900px) {
    .wg-drivers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .wg-drivers-grid { grid-template-columns: 1fr; }
}

/* Contact form section */
.wg-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}
.wg-contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.wg-contact-info-icon {
    width: 44px;
    height: 44px;
    background: #1B3A6B;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
    color: #C9922A;
}
.wg-contact-info-label {
    font-family: 'Barlow', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #C9922A;
    margin-bottom: 0.25rem;
}
.wg-contact-info-value {
    font-size: 0.95rem;
    color: #0F1923;
    font-weight: 500;
}
@media (max-width: 768px) {
    .wg-contact-grid { grid-template-columns: 1fr; }
}

/* Ninja Forms overrides */
.nf-form-content .nf-field-label label {
    font-family: 'Barlow', sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #4B5563 !important;
}
.nf-form-content input[type="text"],
.nf-form-content input[type="email"],
.nf-form-content input[type="tel"],
.nf-form-content textarea,
.nf-form-content select {
    border: 1px solid #E5E7EB !important;
    border-radius: 3px !important;
    padding: 0.75rem 1rem !important;
    font-family: 'Barlow', sans-serif !important;
    font-size: 0.95rem !important;
    color: #0F1923 !important;
    background: #ffffff !important;
    width: 100% !important;
    transition: border-color 0.2s !important;
}
.nf-form-content input:focus,
.nf-form-content textarea:focus {
    border-color: #1B3A6B !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(27,58,107,0.1) !important;
}
.nf-form-content input[type="submit"],
.nf-form-content .submit-container input {
    background: #C9922A !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0.9rem 2.5rem !important;
    font-family: 'Barlow', sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    border-radius: 3px !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}
.nf-form-content input[type="submit"]:hover { background: #a87520 !important; }

/* Careers */
.wg-jobs-list { margin-top: 2rem; }
.wg-job-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-left: 4px solid #1B3A6B;
    border-radius: 3px;
    margin-bottom: 1rem;
    transition: box-shadow 0.2s, transform 0.2s;
    flex-wrap: wrap;
}
.wg-job-item:hover {
    box-shadow: 0 6px 20px rgba(27,58,107,0.1);
    transform: translateX(4px);
}
.wg-job-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0F1923;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}
.wg-job-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.wg-job-meta span {
    font-size: 0.8rem;
    color: #4B5563;
    font-weight: 500;
}
.wg-job-meta .clearance {
    color: #1B3A6B;
    font-weight: 700;
}

/* Scroll reveal animations */
.wg-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.wg-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.wg-reveal-delay-1 { transition-delay: 0.1s; }
.wg-reveal-delay-2 { transition-delay: 0.2s; }
.wg-reveal-delay-3 { transition-delay: 0.3s; }
.wg-reveal-delay-4 { transition-delay: 0.4s; }

/* Elementor Full Width compatibility */
.elementor-page .site-main { padding: 0; }
.elementor-section-wrap { padding-top: 0; }

/* ============================================================
   MOBILE RESPONSIVENESS & SECTION 508 COMPLIANCE FIXES
   ============================================================ */

/* ── Hero: reduce height and font on small screens ── */
@media (max-width: 768px) {
    .wg-hero { min-height: 85vh; }
    .wg-hero-content { padding: 0 1.25rem; }
    .wg-hero-title { font-size: clamp(2.2rem, 9vw, 3.5rem); max-width: 100%; }
    .wg-hero-subtitle { font-size: 1rem; max-width: 100%; }
    .wg-hero-actions { flex-direction: column; gap: 0.75rem; }
    .wg-btn-primary, .wg-btn-outline { width: 100%; text-align: center; }
}
@media (max-width: 480px) {
    .wg-hero { min-height: 75vh; }
    .wg-hero-title { font-size: clamp(1.9rem, 10vw, 2.8rem); }
}

/* ── Driver sections: reduce height, stack columns ── */
@media (max-width: 768px) {
    .wg-driver-section { min-height: auto; }
    .wg-driver-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 4rem 1.25rem;
    }
    .wg-driver-number { font-size: 4rem; margin-bottom: -0.75rem; }
    .wg-driver-title { font-size: clamp(2rem, 8vw, 3rem); }
    .wg-driver-desc { font-size: 0.95rem; max-width: 100%; }
    .wg-driver-card { padding: 1.5rem; }
    /* Overlay: darken more on mobile for text readability */
    .wg-driver-overlay {
        background: linear-gradient(180deg, rgba(11,22,45,0.75) 0%, rgba(11,22,45,0.85) 100%);
    }
}
@media (max-width: 480px) {
    .wg-driver-content { padding: 3rem 1rem; }
    .wg-driver-number { font-size: 3rem; }
    .wg-driver-tags { gap: 0.35rem; }
    .wg-driver-tag { font-size: 0.7rem; padding: 0.3rem 0.65rem; }
}

/* ── Stats bar: stack on mobile ── */
@media (max-width: 480px) {
    .wg-stats-inner { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .wg-stat-number { font-size: 1.75rem; }
}

/* ── Section intro: stack on mobile ── */
@media (max-width: 768px) {
    .wg-section-intro { flex-direction: column; align-items: flex-start; padding: 3rem 1.25rem 2rem; gap: 1rem; }
    .wg-section-heading { font-size: clamp(1.75rem, 7vw, 2.5rem); }
}

/* ── Ventures grid: single column on mobile ── */
@media (max-width: 600px) {
    .wg-venture-card { min-height: 360px; }
    .wg-venture-title { font-size: 1.75rem; }
    .wg-venture-card-content { padding: 1.5rem; }
}

/* ── Capabilities grid: already handled, ensure padding ── */
@media (max-width: 600px) {
    .wg-capabilities-section { padding: 3.5rem 0; }
    .wg-capabilities-inner { padding: 0 1.25rem; }
    .wg-capability-card { padding: 1.5rem; }
}

/* ── CTA section: stack on mobile ── */
@media (max-width: 768px) {
    .wg-cta-inner { flex-direction: column; text-align: center; align-items: center; padding: 0 1.25rem; }
    .wg-cta-actions { justify-content: center; flex-direction: column; width: 100%; }
    .wg-cta-actions .wg-btn-primary,
    .wg-cta-actions .wg-btn-outline { width: 100%; text-align: center; }
}

/* ── Footer: already collapses, improve padding ── */
@media (max-width: 600px) {
    #colophon { padding: 3rem 0 1.5rem; }
    .site-footer-inner { padding: 0 1.25rem; }
    .footer-grid { gap: 2rem; }
}

/* ── Interior page hero ── */
@media (max-width: 768px) {
    .wg-page-hero { min-height: 40vh; }
    .wg-page-hero-content { padding: 3rem 1.25rem; }
    .wg-page-hero-title { font-size: clamp(2rem, 8vw, 3rem); }
}

/* ── Two-col content sections ── */
@media (max-width: 768px) {
    .wg-two-col { gap: 2rem; }
    .wg-col-img img { height: 260px; }
    .wg-content-section { padding: 3rem 0; }
    .wg-content-inner { padding: 0 1.25rem; }
}

/* ── Drivers mini grid (about page) ── */
@media (max-width: 480px) {
    .wg-drivers-grid { grid-template-columns: 1fr; }
    .wg-driver-mini-card { padding: 1.25rem; }
}

/* ── Contact grid ── */
@media (max-width: 600px) {
    .wg-contact-grid { gap: 2rem; }
}

/* ── Careers: inline grid overrides ── */
@media (max-width: 768px) {
    .wg-job-item { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.25rem; }
    .wg-job-meta { gap: 0.5rem; }
}

/* ── General container padding on mobile ── */
@media (max-width: 480px) {
    .wg-hero-content,
    .wg-stats-inner,
    .wg-section-intro,
    .wg-ventures-inner,
    .wg-capabilities-inner,
    .wg-cta-inner,
    .site-footer-inner,
    .wg-content-inner { padding-left: 1rem; padding-right: 1rem; }
}

/* ============================================================
   SECTION 508 ACCESSIBILITY FIXES
   ============================================================ */

/* Focus rings — visible on all interactive elements */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus {
    outline: 3px solid #C9922A;
    outline-offset: 2px;
}

/* Skip to main content link (508 requirement) — hidden until keyboard focus */
.skip-to-content {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
    background: #1B3A6B;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    font-family: 'Barlow', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 0 0 4px 4px;
    z-index: 99999;
    transition: top 0.2s;
    text-decoration: none;
}
.skip-to-content:focus {
    position: fixed;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    padding: 0.75rem 1.5rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    z-index: 99999;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 0 0 6px 0;
}

/* Ensure sufficient color contrast on muted text */
.footer-brand-desc,
.footer-contact-item,
.footer-col ul li a { color: rgba(255,255,255,0.65); }

/* Ensure all images have alt text fallback styling */
img:not([alt]) { outline: 2px dashed #C9922A; }

/* Ensure nav toggle has accessible label */
.nav-toggle[aria-label] { /* already set in header.php */ }

/* Remove animation for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .wg-hero-bg { transform: none !important; }
    .wg-driver-bg { transform: none !important; }
    .wg-reveal { opacity: 1 !important; transform: none !important; }
}

/* Minimum touch target size (44x44px) for all interactive elements */
@media (max-width: 900px) {
    .main-navigation.nav-open ul li a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    .wg-btn-primary,
    .wg-btn-outline { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
    .wg-venture-link { min-height: 44px; }
    .wg-driver-link { min-height: 44px; }
}

/* ── Careers page grid classes (replaces inline styles) ── */
.wg-careers-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.wg-careers-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
@media (max-width: 900px) {
    .wg-careers-why-grid { grid-template-columns: repeat(2, 1fr); }
    .wg-careers-benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .wg-careers-why-grid { grid-template-columns: 1fr; }
    .wg-careers-benefits-grid { grid-template-columns: 1fr; }
}
