/* Modern Corporate Compliance Styling - Compliance LED */

:root {
    /* Color Palette */
    --primary-color: #0f172a;       /* Deep Charcoal Navy */
    --navy-blue: #0b132b;           /* Pure Deep Dark Navy (Footer) */
    --teal-base: #0d9488;           /* Elegant Teal */
    --teal-light: #14b8a6;          /* Vibrant Teal */
    --teal-dark: #0f766e;           /* Deep Forest Teal */
    --bg-light: #f8fafc;            /* Soft Slate Base */
    --bg-white: #ffffff;            /* Pure Crisp White */
    --text-primary: #1e293b;        /* Dark Slate Text */
    --text-muted: #64748b;          /* Soft Gray Subtext */
    --border-color: #e2e8f0;        /* Subtle Outline Gray */
    --accent-indigo: #4f46e5;       /* Dynamic Accent */

    /* Typography */
    --font-headline: 'Hanken Grotesk', sans-serif;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* Base resets & classes */
body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography styles */
.font-headline {
    font-family: var(--font-headline);
}

.font-body {
    font-family: var(--font-sans);
}

.font-mono {
    font-family: var(--font-mono);
}

.fw-800 { font-weight: 800; }
.fw-900 { font-weight: 900; }

.font-label-caps {
    font-family: var(--font-headline);
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
}

/* Custom layout container helper */
.max-width-container {
    max-width: 1200px !important;
}

/* Section Headings */
.section-tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--teal-base);
    background-color: rgba(13, 148, 136, 0.08);
    padding: 6px 16px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(13, 148, 136, 0.15);
}

/* Beautiful Interactive Navigation Link */
.navbar-nav .nav-link {
    color: var(--text-muted) !important;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.18s ease-in-out, background-color 0.18s ease-in-out;
    border-radius: 8px;
}

.navbar-nav .nav-link:hover {
    color: var(--teal-base) !important;
    background-color: rgba(13, 148, 136, 0.05);
}

.navbar-nav .nav-link.active-nav-link {
    color: var(--teal-base) !important;
    background-color: rgba(13, 148, 136, 0.08);
    font-weight: 700;
}

/* Custom Corporate Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    background-color: var(--teal-base) !important;
    border-color: var(--teal-base) !important;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3) !important;
    transform: translateY(-1px);
}

.btn-teal {
    background-color: var(--teal-base);
    border-color: var(--teal-base);
    color: var(--bg-white);
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.btn-teal:hover {
    background-color: var(--teal-dark);
    border-color: var(--teal-dark);
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.2);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-custom {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.btn-outline-custom:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-1px);
}

/* Layout Utilities & Container Modifiers */
.rounded-xl {
    border-radius: 12px !important;
}

.rounded-xxl {
    border-radius: 20px !important;
}

/* Interactive Cards setting dynamic grid rhythm */
.compliance-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.compliance-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.05);
    border-color: rgba(13, 148, 136, 0.25);
}

/* Accent Lines and Borders */
.left-accent-teal {
    border-left: 4px solid var(--teal-base);
    padding-left: 1.5rem;
}

/* Material Symbols Adjustments */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

.text-vibrant-teal {
    color: var(--teal-base) !important;
}

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

/* Footer Accent details */
.bg-deep-navy {
    background-color: var(--navy-blue) !important;
}

.text-primary-fixed-dim {
    color: #cbd5e1;
}

.secondary-fixed-dim\/30 {
    border-color: rgba(203, 213, 225, 0.2) !important;
}

.hover-teal {
    transition: color 0.15s ease-in-out;
}

.hover-teal:hover {
    color: var(--teal-light) !important;
}

.placeholder-light-gray::placeholder {
    color: #94a3b8;
    font-size: 14px;
}

/* Custom form elements */
.form-control-custom {
    background-color: #f1f5f9;
    border: 1px solid transparent;
    padding: 14px 18px;
    border-radius: 12px;
    font-family: var(--font-sans);
    transition: all 0.18s ease-in-out;
    color: var(--text-primary);
}

.form-control-custom:focus {
    background-color: var(--bg-white);
    border-color: var(--teal-base);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
    outline: none;
}

.form-label-custom {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

/* Hero Section */
.hero-gradient {
    background: radial-gradient(circle at 100% 0%, rgba(20, 184, 166, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 0% 100%, rgba(79, 70, 229, 0.04) 0%, transparent 50%),
                #ffffff;
    border-bottom: 1px solid var(--border-color);
}

/* Numeric counters */
.counter-box {
    border-left: 2px solid var(--border-color);
    padding-left: 1.5rem;
}

@media (max-width: 767.98px) {
    .counter-box {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-left: 0;
        padding-top: 1.5rem;
    }
}

/* Table overrides */
.table-custom {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.table-custom th {
    background-color: #f1f5f9 !important;
    font-family: var(--font-headline);
    font-weight: 700;
    color: var(--primary-color);
    padding: 16px;
    border-bottom: 2px solid var(--border-color);
}

.table-custom td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.table-custom tr:last-child td {
    border-bottom: none;
}

/* Ethics tracking secure result card */
.tracking-badge {
    padding: 6px 14px;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-review {
    background-color: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

/* Back To Top or Floating Actions */
.btn-float-interactive {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}
