/* Genesis Security + Compliance Brand Colors */
:root {
    --primary: #136BB1;
    --navy: #222979;
    --deep-navy: #000062;
    --light-bg: #F2F5F9;
    --neutral-black: #000000;
    --white: #ffffff;
}

/* Base styles */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--light-bg);
    color: var(--neutral-black);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--navy);
    font-weight: 700;
    line-height: 1.2;
}

.display-1, .display-2, .display-3, .display-4 {
    color: var(--navy);
    font-weight: 800;
}

/* Brand elements */
.brand-logo .brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.brand-logo .brand-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
    display: block;
    line-height: 1;
    margin-top: -2px;
}

/* Colors */
.text-primary { color: var(--primary) !important; }
.text-navy { color: var(--navy) !important; }
.text-deep-navy { color: var(--deep-navy) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-navy { background-color: var(--navy) !important; }
.bg-light-bg { background-color: var(--light-bg) !important; }

/* Service Model Cards */
.service-model-card {
    transition: all 0.3s ease;
}

.service-model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-model-card.border-primary {
    border-width: 2px !important;
}

/* Icon boxes */
.icon-box {
    transition: all 0.3s ease;
}

/* Client logos */
.client-logo {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
}

/* Specialty Cards */
.specialty-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.specialty-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.specialty-detail-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.specialty-detail-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Pricing Cards */
.pricing-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card.border-primary {
    border-width: 2px !important;
}

.pricing-features {
    margin: 2rem 0;
}

.feature-row {
    display: flex;
    justify-content: between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.feature-row:last-child {
    border-bottom: none;
}

.feature-label {
    font-weight: 500;
    color: var(--navy);
}

.feature-value {
    font-weight: 600;
    margin-left: auto;
}

/* Navigation */
.navbar {
    background-color: var(--white) !important;
    border-bottom: 1px solid rgba(34, 41, 121, 0.1);
}

.navbar-brand:hover {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

.nav-link {
    color: var(--neutral-black) !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--primary) !important;
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--primary) !important;
    font-weight: 600;
}

/* Buttons */
.btn {
    border-radius: 10px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 2px 4px rgba(19, 107, 177, 0.2);
}

.btn-primary:hover {
    background-color: #0f5a98;
    border-color: #0f5a98;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(19, 107, 177, 0.3);
}

.btn-secondary {
    background: none;
    border: 2px solid var(--navy);
    color: var(--navy);
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: var(--navy);
    color: white;
    transform: translateY(-1px);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero sections */
.hero {
    background: linear-gradient(135deg, var(--light-bg) 0%, rgba(19, 107, 177, 0.05) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(19, 107, 177, 0.03) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero .lead {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    background: white;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.card-body {
    padding: 2rem;
}

.card-title {
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-text {
    color: #666;
    line-height: 1.6;
}

/* Value proposition cards */
.value-card {
    text-align: center;
    padding: 2rem;
    height: 100%;
}

.value-card .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--deep-navy));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

/* Process steps */
.process-step {
    position: relative;
    text-align: center;
    padding: 1.5rem;
}

.process-step .step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 25px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary), transparent);
    z-index: -1;
}

.process-step:last-child::after {
    display: none;
}

/* Forms */
.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(19, 107, 177, 0.15);
}

.form-label {
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-text {
    color: #666;
    font-size: 0.875rem;
}

/* Honeypot field (hidden) */
.form-control.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* Job listings */
.job-card {
    padding: 1.5rem;
    border-left: 4px solid var(--primary);
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.job-card:hover {
    border-left-color: var(--deep-navy);
    transform: translateX(4px);
}

.job-title {
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.2rem;
}

.job-title:hover {
    color: var(--primary);
}

.job-meta {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.skill-tag {
    display: inline-block;
    background: rgba(19, 107, 177, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0.25rem 0.25rem 0.25rem 0;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Testimonials / Social proof */
.testimonial {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    text-align: center;
    height: 100%;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #444;
}

.testimonial-author {
    font-weight: 700;
    color: var(--navy);
}

.testimonial-role {
    color: #666;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: var(--navy) !important;
}

footer a {
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .lead {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .brand-logo .brand-name {
        font-size: 1.25rem;
    }
    
    .brand-logo .brand-subtitle {
        font-size: 0.7rem;
    }
    
    .process-step::after {
        display: none;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
    }
}

/* Accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus,
.nav-link:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .card {
        border: 1px solid #ccc;
    }
    
    .btn-primary {
        background-color: var(--deep-navy);
        border-color: var(--deep-navy);
    }
}

/* Print styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }
    
    body {
        background: white !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--deep-navy));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-primary {
    border-color: var(--primary) !important;
}

.border-navy {
    border-color: var(--navy) !important;
}