/* 
  KOBRAX GROUP - DEFENSE UI (V3)
  Theme: User-Friendly, Professional Blue, Government Tier
*/

:root {
    --bg-primary: #F8FAFC;         /* Clean off-white background */
    --bg-secondary: #EEF2F6;       /* Slightly darker panel background */
    --brand-blue: #1D4ED8;         /* Strong Trust Blue */
    --brand-blue-dark: #1E3A8A;    /* Navy Blue */
    --brand-blue-deep: #0F172A;    /* Deep Slate/Navy for headers */
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --border-color: #E2E8F0;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.25s;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--brand-blue-deep);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

p {
    font-size: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--brand-blue);
    text-decoration: none;
    transition: color var(--transition-speed);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.solid-bg {
    background-color: var(--bg-secondary);
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header p {
    font-size: 1.1rem;
}

.section-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #DBEAFE;
    color: var(--brand-blue-dark);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-speed);
    text-align: center;
}

.btn-primary {
    background: var(--brand-blue);
    color: #FFFFFF;
    border: 1px solid var(--brand-blue);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--brand-blue-dark);
    border-color: var(--brand-blue-dark);
    box-shadow: var(--shadow-md);
    color: #FFFFFF;
}

.btn-secondary {
    background: transparent;
    color: var(--brand-blue-deep);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: #F1F5F9;
    border-color: #CBD5E1;
}

/* Top Banner */
.gov-banner {
    background: var(--brand-blue-deep);
    color: #CBD5E1;
    font-size: 0.8rem;
    padding: 0.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.flag-icon {
    width: 14px;
    height: 14px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 32px; /* Offset for banner */
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-full {
    height: 44px;
    max-width: none;
    object-fit: contain;
    margin: 0;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-blue-deep);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--brand-blue-deep);
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn-primary) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:not(.btn-primary):hover,
.nav-links a.active {
    color: var(--brand-blue);
}
.nav-links a.active {
    font-weight: 700;
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 6rem;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.hero-content {
    max-width: 800px;
}

.status-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: #E0E7FF;
    color: var(--brand-blue-dark);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--brand-blue-deep);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Approach Card */
.friendly-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
}

.lead-text {
    font-size: 1.25rem;
    color: var(--brand-blue-deep);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #CBD5E1;
}

.icon-circle {
    width: 48px;
    height: 48px;
    background: #EFF6FF;
    color: var(--brand-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-circle svg {
    width: 24px;
    height: 24px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--brand-blue-deep);
    color: #F8FAFC;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.footer-brand .logo-text {
    color: #FFFFFF;
}

.footer-tag {
    color: #94A3B8;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.footer-links a {
    color: #CBD5E1;
    margin-left: 1.5rem;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    text-align: center;
    color: #64748B;
    font-size: 0.85rem;
}

/* Dynamic Grids */
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Page Headers & Forms */
.page-header {
    padding-top: 140px;
    padding-bottom: 3rem;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    border-bottom: 1px solid var(--border-color);
}

.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

.form-group { margin-bottom: 1.5rem; text-align: left; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--brand-blue-deep); }
.form-control { width: 100%; padding: 0.75rem; border: 1px solid var(--border-color); border-radius: var(--radius-sm); font-family: var(--font-body); }
.form-control:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1); }

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Globe Section */
.globe-section {
    background-color: var(--brand-blue-deep);
    color: #FFFFFF;
    overflow: hidden;
}

.globe-layout {
    display: grid;
    grid-template-columns: minmax(300px, 500px) 450px;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.globe-text {
    width: 100%;
}

.globe-container {
    width: 450px;
    height: 450px;
    cursor: grab;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
}

#globeViz {
    width: 100%;
    height: 100%;
    display: block;
}

.globe-container:active {
    cursor: grabbing;
}

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

.region-list li {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: #cbd5e1;
    border-left: 2px solid var(--brand-blue);
    padding-left: 1rem;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    .nav-content {
        flex-direction: row;
        justify-content: space-between;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(8px);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
        gap: 1.5rem;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links a:not(.btn-primary) {
        display: block;
        font-size: 1.05rem;
        text-align: center;
    }
    .btn-primary {
        width: 100%;
    }
    .page-header {
        padding-top: 140px;
    }
    .hero {
        padding-top: 160px;
    }
    .stats-grid {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-subtitle {
        font-size: 1.05rem;
    }
    .hero h1 {
        font-size: 2.25rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .globe-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .globe-container {
        width: 100%;
        max-width: 350px;
        height: 350px;
        margin: 0 auto;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
}
