/* Nexus Service Marketing System - Custom Stylesheet */
:root {
    --nexus-primary: #0d6efd;
    --nexus-dark: #1e293b;
    --nexus-light: #f8fafc;
    --nexus-accent: #0ea5e9;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #334155;
    background-color: #f1f5f9;
    overflow-wrap: anywhere;
    word-break: normal;
}

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

/* Hero Section Responsiveness */
.hero-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #ffffff;
    padding: 2rem 1rem;
    border-radius: 0.75rem;
    overflow-wrap: anywhere;
}

@media (min-width: 768px) {
    .hero-banner {
        padding: 3.5rem 2rem;
    }
}

.hero-heading {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.hero-paragraph {
    font-size: clamp(0.95rem, 2.5vw, 1.25rem);
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* Card Enhancements */
.card {
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    max-width: 100%;
}

.card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
}

/* Status Badges */
.badge-active {
    background-color: #10b981;
    color: #ffffff;
}
.badge-inactive {
    background-color: #ef4444;
    color: #ffffff;
}
.badge-pending {
    background-color: #f59e0b;
    color: #ffffff;
}
.badge-feasible {
    background-color: #3b82f6;
    color: #ffffff;
}

/* Tables */
.table thead th {
    background-color: #f8fafc;
    color: #475569;
    font-size: 0.825rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #cbd5e1;
}

.table-hover tbody tr:hover {
    background-color: #f8fafc;
}

/* Metric / Stat Cards */
.stat-widget {
    border-left: 4px solid var(--nexus-primary);
}
.stat-widget.warning {
    border-left-color: #f59e0b;
}
.stat-widget.success {
    border-left-color: #10b981;
}
.stat-widget.danger {
    border-left-color: #ef4444;
}

/* Hero Section */
.hero-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #ffffff;
    padding: 3.5rem 1.5rem;
    border-radius: 0.75rem;
}

/* Application Global Footer Styles */
.app-footer {
    background-color: #0f172a !important; /* Deep dark slate */
    color: #f8fafc !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.app-footer .footer-brand {
    color: #ffffff !important;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.app-footer .footer-brand-icon {
    color: #38bdf8 !important; /* Vivid cyan-blue for clear visibility */
}

.app-footer .footer-subtext {
    color: #cbd5e1 !important; /* High contrast light slate */
}

.app-footer .footer-right {
    color: #cbd5e1 !important;
}

.app-footer .helpline-icon {
    color: #fbbf24 !important; /* Warm amber */
}

.app-footer .helpline-number {
    color: #ffffff !important;
    font-weight: 700;
}

.app-footer .copyright-line {
    color: #94a3b8 !important; /* Readable muted text */
}

.app-footer a {
    color: #e2e8f0 !important;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.app-footer a:hover,
.app-footer a:focus {
    color: #38bdf8 !important;
    text-decoration: underline;
}
