/* Core & Variables - inspired by high-end engineering brand Pelco.com */
:root {
    --primary: #111827;      /* Deep obsidian black */
    --accent: #2563eb;       /* Corporate Blue accent */
    --light-bg: #f9fafb;     /* Clinical Clean Light Grey */
    --text-dark: #1f2937;
    --text-light: #f3f4f6;
    --border-color: #e5e7eb;
    --font-neutral: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-neutral);
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 48px;
}
.section-padding {
    padding: 80px 0;
}
.text-center { text-align: center; }

/* Utility Bar */
.utility-bar {
    background: #0b0f19;
    color: #9ca3af;
    font-size: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #1f2937;
}
.utility-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.lang-selector {
    display: flex;
    gap: 8px;
}
.lang-btn {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
}
.lang-btn.active, .lang-btn:hover {
    color: #ffffff;
}

/* Header & Nav */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo {
    text-decoration: none;
    color: var(--primary);
    font-size: 20px;
    letter-spacing: 1px;
}
.logo-bold { font-weight: 700; }
.logo-light { font-weight: 300; color: #6b7280; }

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    margin-left: 32px;
    transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}
.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section (Pelco premium style) */
.hero {
    background: radial-gradient(circle at top right, #1f2937, #030712);
    color: white;
    padding: 140px 0;
    border-bottom: 4px solid var(--accent);
}
.hero-subtitle {
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 16px;
}
.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    max-width: 800px;
    margin-bottom: 24px;
}
.hero p {
    font-size: 18px;
    color: #9ca3af;
    max-width: 600px;
    margin-bottom: 40px;
}

/* Inner Page Hero */
.page-hero {
    background: #111827;
    color: white;
    padding: 60px 0;
    border-bottom: 1px solid #1f2937;
}
.page-hero h1 { font-size: 36px; margin-bottom: 8px;}
.page-hero p { color: #9ca3af; font-size: 16px;}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border-radius: 2px; /* Sharp modern corners */
    transition: var(--transition);
}
.btn-primary {
    background-color: var(--accent);
    color: white;
}
.btn-primary:hover { background-color: #1d4ed8; }
.btn-secondary {
    background-color: transparent;
    color: white;
    border: 1px solid #4b5563;
    margin-left: 16px;
}
.btn-secondary:hover {
    background-color: white;
    color: var(--primary);
}

/* Cards (Divisions Overview) */
.section-title-wrapper { margin-bottom: 48px; }
.section-title { font-size: 32px; font-weight: 700; color: var(--primary); }
.section-subtitle { color: #6b7280; font-size: 16px; margin-top: 8px; }

.card {
    background: white;
    border: 1px solid var(--border-color);
    padding: 32px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05);
    border-color: #9ca3af;
}
.card-badge {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
}
.card h3 { font-size: 20px; margin-bottom: 12px; font-weight: 600;}
.card p { color: #4b5563; font-size: 14px; margin-bottom: 24px; }
.card-link {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

/* Statistics Section */
.stats-section { background-color: var(--light-bg); padding: 60px 0; border-top: 1px solid var(--border-color); }
.statistics { text-align: center; }
.stat-number { font-size: 36px; font-weight: 700; color: var(--primary); }
.stat-label { color: #6b7280; font-size: 14px; text-transform: uppercase; margin-top: 4px; }

/* Division Detail Layout */
.division-detail-block { padding: 40px 0; }
.division-detail-block h2 { margin-bottom: 16px; }
.divider { border: 0; border-top: 1px solid var(--border-color); margin: 20px 0; }

/* Careers & Jobs */
.jobs-list { display: flex; flex-direction: column; gap: 16px; }
.job-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border: 1px solid var(--border-color);
    background: var(--light-bg);
}
.job-item .btn-secondary { color: var(--primary); border-color: var(--primary); }
.job-item .btn-secondary:hover { background: var(--primary); color: white; }

/* Forms */
.contact-form { display: flex; flex-direction: column; gap: 16px; background: var(--light-bg); padding: 32px; border: 1px solid var(--border-color); }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; padding: 12px; border: 1px solid #d1d5db; font-family: var(--font-neutral); font-size: 14px;
}

/* Corporate Footer */
.corporate-footer {
    background-color: var(--primary);
    color: #9ca3af;
    padding: 60px 0 0 0;
    font-size: 14px;
    border-top: 5px solid #000;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}
.footer-brand h3 { color: white; margin-bottom: 16px; letter-spacing: 1px;}
.hq-text { margin-top: 12px; color: #cbd5e1; font-size: 12px; }
.footer-grid h4 { color: white; margin-bottom: 16px; font-size: 15px;}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #9ca3af; text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-bottom {
    background-color: #0b0f19;
    padding: 24px 0;
    border-top: 1px solid #1f2937;
    font-size: 12px;
}
.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.legal-links a { color: #6b7280; text-decoration: none; margin-left: 20px; }
.legal-links a:hover { color: #9ca3af; }

/* --- ANIMATIONS --- */
.animate-fade-up {
    animation: fadeUp 1s ease forwards;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsiveness */
@media(max-width: 768px) {
    .nav-links {
        display: none; /* Can be toggled via JS */
        flex-direction: column;
        position: absolute;
        top: 70px; left: 0; width: 100%;
        background: white; border-bottom: 1px solid var(--border-color);
        padding: 20px;
    }
    .nav-links a { margin: 12px 0; }
    .menu-toggle { display: block; }
    .hero h1 { font-size: 32px; }
    .hero-cta { display: flex; flex-direction: column; gap: 12px; }
    .btn-secondary { margin-left: 0; }
    .job-item { flex-direction: column; align-items: flex-start; gap: 16px; }
}