/* Custom CSS Variables */
:root {
    --union-blue: #1e3a5f;
    --union-blue-dark: #152a42;
    --union-red: #c41e3a;
    --union-gold: #ffd700;
    --union-gold-dark: #e6c200;
    --text-light: rgba(255, 255, 255, 0.8);
    --text-lighter: rgba(255, 255, 255, 0.6);
    --border-light: rgba(255, 255, 255, 0.2);
}

/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Utility Classes */
.bg-union-blue { background-color: var(--union-blue) !important; }
.bg-union-red { background-color: var(--union-red) !important; }
.text-union-blue { color: var(--union-blue) !important; }
.text-union-red { color: var(--union-red) !important; }
.text-union-gold { color: var(--union-gold) !important; }
.text-white-80 { color: var(--text-light) !important; }
.text-white-60 { color: var(--text-lighter) !important; }
.border-white-20 { border-color: var(--border-light) !important; }

/* Button Styles */
.btn-union-blue {
    background-color: var(--union-blue);
    border-color: var(--union-blue);
    color: white;
}

.btn-union-blue:hover,
.btn-union-blue:focus {
    background-color: var(--union-blue-dark);
    border-color: var(--union-blue-dark);
    color: white;
}

.btn-union-gold {
    background-color: var(--union-gold);
    border-color: var(--union-gold);
    color: var(--union-blue);
    font-weight: 700;
}

.btn-union-gold:hover,
.btn-union-gold:focus {
    background-color: var(--union-gold-dark);
    border-color: var(--union-gold-dark);
    color: var(--union-blue);
}

/* Enhanced visibility for demo buttons */
.btn-demo-cta,
.navbar .btn-demo-cta {
    color: var(--union-blue) !important;
    background-color: var(--union-gold) !important;
    border: 2px solid var(--union-blue) !important;
    font-weight: 700 !important;
}

.btn-demo-cta:hover,
.btn-demo-cta:focus,
.navbar .btn-demo-cta:hover,
.navbar .btn-demo-cta:focus {
    color: var(--union-blue) !important;
    background-color: var(--union-gold-dark) !important;
    border: 2px solid var(--union-blue) !important;
    transform: translateY(-1px);
}

.btn-demo-cta {
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.875rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    color: var(--union-blue) !important;
    background-color: var(--union-gold) !important;
    border: 2px solid var(--union-blue) !important;
}

.btn-demo-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    background-color: var(--union-gold-dark) !important;
    border: 2px solid var(--union-blue) !important;
    color: var(--union-blue) !important;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--union-gold) !important;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    background-color: white !important;
    border: 2px solid var(--union-gold) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    margin-top: 0.5rem !important;
    min-width: 200px !important;
}

.dropdown-item {
    color: var(--union-blue) !important;
    font-weight: 500 !important;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.3s ease !important;
    border: none !important;
    min-height: 44px !important; /* Improved touch target for mobile */
    display: flex !important;
    align-items: center !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--union-gold) !important;
    color: var(--union-blue) !important;
}

.dropdown-item.active {
    background-color: var(--union-blue) !important;
    color: white !important;
}

.dropdown-divider {
    border-color: var(--union-gold) !important;
    opacity: 0.5 !important;
    margin: 0.5rem 0 !important;
}

/* Mobile-specific dropdown improvements */
@media (max-width: 991.98px) {
    .navbar-collapse .dropdown-menu {
        position: static !important;
        float: none !important;
        width: auto !important;
        margin-top: 0 !important;
        background-color: rgba(255, 255, 255, 0.95) !important;
        border: 1px solid var(--union-gold) !important;
        box-shadow: none !important;
        border-radius: 4px !important;
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }
    
    .navbar-collapse .dropdown-item {
        padding: 1rem 1.5rem !important;
        min-height: 48px !important; /* Larger touch targets on mobile */
        font-size: 1rem !important;
    }
    
    .navbar-collapse .dropdown-toggle::after {
        margin-left: auto !important;
    }
    
    /* Prevent touch delays on mobile */
    .navbar-collapse .dropdown-toggle,
    .navbar-collapse .dropdown-item {
        touch-action: manipulation !important;
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        user-select: none !important;
    }
}

/* Hidden breadcrumb for SEO - no visual styles needed since it's hidden */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--union-blue) 0%, var(--union-blue-dark) 100%);
    position: relative;
    overflow: hidden;
    /* Ensure hero content clears fixed navbar */
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><rect width="20" height="20" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>');
    opacity: 0.5;
    will-change: transform;
    contain: strict;
}

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

/* Hero Brand Styling */
.hero-brand {
    position: relative;
    padding-left: 20px;
}

.hero-brand::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--union-gold) 0%, var(--union-red) 100%);
    border-radius: 2px;
}

.company-name {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.brand-tagline {
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.9;
}

.highlight-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

/* Background Gradients */
.bg-gradient-union {
    background: linear-gradient(135deg, var(--union-blue) 0%, var(--union-blue-dark) 100%);
}

/* Section Styling */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    line-height: 1.5;
}

/* Problem Section */
.problem-section {
    padding: 5rem 0;
}

.problem-card {
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
}

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

.problem-icon {
    text-align: center;
}

.problem-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.problem-details {
    margin: 0;
    padding: 0;
    list-style: none;
}

.problem-details li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.problem-details li::before {
    content: '•';
    color: var(--union-red);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.problem-source {
    border-top: 1px solid #e9ecef;
    padding-top: 0.75rem;
    margin-top: 1rem;
}

.problem-source a {
    font-weight: 500;
    transition: color 0.3s ease;
}

.problem-source a:hover {
    color: var(--union-gold) !important;
    text-decoration: underline !important;
}

/* Statistics Section */
.stats-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f1f3f4 0%, #e8eaf6 100%);
}

.stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15) !important;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--union-blue), var(--union-gold));
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.stat-title {
    font-weight: 600;
    color: var(--union-blue);
}

.stat-icon {
    opacity: 0.8;
}

.stat-source a {
    font-weight: 500;
    transition: color 0.3s ease;
}

.stat-source a:hover {
    color: var(--union-gold) !important;
    text-decoration: underline !important;
}

.highlight-stat {
    background: linear-gradient(135deg, var(--union-blue) 0%, #2563eb 100%) !important;
    box-shadow: 0 1rem 3rem rgba(30, 58, 138, 0.3);
}

.mobile-stat .display-4 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bg-gradient-light {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
}

/* Solution Section */
.solution-section {
    padding: 5rem 0;
}

.solution-card {
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--union-blue);
}

.solution-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.solution-benefits {
    margin: 0;
    padding: 0;
    list-style: none;
}

.solution-benefits li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.solution-benefits li::before {
    content: '✓';
    color: var(--union-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.roi-section {
    margin-top: 3rem;
}

/* Security Section */
.security-section {
    padding: 5rem 0;
}

.security-feature {
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.security-feature:hover {
    transform: translateY(-5px);
}

.security-icon {
    margin-bottom: 1rem;
}

.security-guarantee {
    border: 2px solid var(--union-blue);
}

.security-stat {
    padding: 1rem;
}

/* Demo Form Section */
.demo-form-section {
    padding: 5rem 0;
}

.demo-form-card {
    border: none;
    max-width: 600px;
    margin: 0 auto;
}

/* Unified Form Styles - Apply to all forms across the site */
.demo-form .form-control,
.demo-form .form-select,
.demo-form-container .form-control,
.demo-form-container .form-select,
.unified-form .form-control,
.unified-form .form-select,
form .form-control,
form .form-select {
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.demo-form .form-control:focus,
.demo-form .form-select:focus,
.demo-form-container .form-control:focus,
.demo-form-container .form-select:focus,
.unified-form .form-control:focus,
.unified-form .form-select:focus,
form .form-control:focus,
form .form-select:focus {
    border-color: var(--union-blue);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 95, 0.25);
    outline: none;
}

.demo-form .form-label,
.demo-form-container .form-label,
.unified-form .form-label,
form .form-label {
    font-weight: 600;
    color: var(--union-blue);
    margin-bottom: 0.5rem;
}

.demo-form .btn,
.demo-form-container .btn,
.unified-form .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.demo-form .btn:hover,
.demo-form-container .btn:hover,
.unified-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.3);
}

/* Enhanced Demo Form Submit Button - Apply to all primary form buttons */
.demo-form .btn-union-blue,
.demo-form-container .btn-union-blue,
.unified-form .btn-union-blue,
form .btn-union-blue {
    background: linear-gradient(135deg, var(--union-gold) 0%, var(--union-gold-dark) 100%) !important;
    border: 2px solid var(--union-gold) !important;
    color: var(--union-blue) !important;
    font-weight: 700 !important;
    padding: 1.2rem 3rem !important;
    font-size: 1.2rem !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.demo-form .btn-union-blue:hover,
.demo-form .btn-union-blue:focus,
.demo-form-container .btn-union-blue:hover,
.demo-form-container .btn-union-blue:focus,
.unified-form .btn-union-blue:hover,
.unified-form .btn-union-blue:focus,
form .btn-union-blue:hover,
form .btn-union-blue:focus {
    background: linear-gradient(135deg, var(--union-gold-dark) 0%, #ccaa00 100%) !important;
    border-color: var(--union-gold-dark) !important;
    color: var(--union-blue) !important;
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5) !important;
}

.demo-form .btn-union-blue:active,
.demo-form-container .btn-union-blue:active,
.unified-form .btn-union-blue:active,
form .btn-union-blue:active {
    transform: translateY(-1px) scale(1.01) !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4) !important;
}

/* Form Validation - Apply universally */
.was-validated .form-control:invalid,
.form-control.is-invalid,
.demo-form .form-control.is-invalid,
.demo-form-container .form-control.is-invalid,
.unified-form .form-control.is-invalid {
    border-color: var(--union-red);
}

.was-validated .form-control:valid,
.form-control.is-valid,
.demo-form .form-control.is-valid,
.demo-form-container .form-control.is-valid,
.unified-form .form-control.is-valid {
    border-color: #28a745;
}

.invalid-feedback {
    display: block;
    color: var(--union-red);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Form Check Elements (Checkboxes & Radio buttons) - Unified styling */
.form-check-input:checked {
    background-color: var(--union-blue);
    border-color: var(--union-blue);
}

.form-check-input:focus {
    border-color: var(--union-blue);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 95, 0.25);
}

.form-check-label {
    color: var(--union-blue);
    font-weight: 500;
}

/* Success/Error Alert Messages - Unified styling */
.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    border-color: #28a745;
    color: #155724;
}

.alert-danger {
    background-color: rgba(196, 30, 58, 0.1);
    border-color: var(--union-red);
    color: var(--union-red);
}

/* About Section */
.about-section {
    padding: 5rem 0;
}

.about-card {
    padding: 2rem;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-icon {
    margin-bottom: 1rem;
}

.about-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.testimonial-section {
    border: 2px solid var(--union-blue);
    margin-top: 3rem;
}

.testimonial-stats .stat-item {
    text-align: center;
}

/* Footer */
.footer {
    padding: 3rem 0;
}

.footer-brand img {
    background-color: white;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.footer h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--union-gold) !important;
}

.social-links a {
    margin-right: 1rem;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--union-gold) !important;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .problem-section,
    .solution-section,
    .security-section,
    .demo-form-section,
    .about-section {
        padding: 3rem 0;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn-demo-cta {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .highlight-item {
        font-size: 1rem;
    }
    
    .solution-icon {
        width: 50px;
        height: 50px;
    }
    
    .security-feature,
    .about-card {
        padding: 1.5rem 1rem;
    }
    
    .demo-form-card {
        padding: 2rem 1.5rem;
    }
    
    .roi-section .col-lg-4 {
        text-align: center;
        margin-top: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-content .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .demo-form-card {
        padding: 1.5rem 1rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .hero-section {
        padding-top: 35px; /* Reduced for mobile navbar */
    }
    
    .problem-card,
    .solution-card {
        margin-bottom: 2rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .hero-section {
        background: #000;
    }
    
    .hero-section .text-white-80,
    .hero-section .text-white-60 {
        color: white !important;
    }
}

/* Print styles */
@media print {
    .navbar,
    .demo-form-section,
    .footer {
        display: none;
    }
    
    .hero-section {
        background: white;
        color: black;
    }
    
    .section-title,
    .hero-title {
        color: black !important;
    }
}

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

.loading .submit-text {
    display: none;
}

.loading .loading-text {
    display: inline-block !important;
}

/* Animation for form success */
@keyframes slideInFromTop {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.alert.show {
    animation: slideInFromTop 0.3s ease-out;
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--union-gold);
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--union-blue);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 6px;
}

/* Privacy Notice Banner */
.privacy-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--union-blue);
    color: white;
    z-index: 1050;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.privacy-notice.show {
    transform: translateY(0);
}

.privacy-notice-content {
    padding: 1rem 0;
}

.privacy-notice-text {
    font-size: 0.95rem;
    line-height: 1.4;
}

.privacy-link {
    color: var(--union-gold);
    text-decoration: underline;
    font-weight: 500;
}

.privacy-link:hover {
    color: var(--union-gold-dark);
    text-decoration: underline;
}

.btn-privacy-accept {
    background-color: var(--union-gold) !important;
    color: var(--union-blue) !important;
    border: 2px solid var(--union-gold) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    min-width: 120px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-privacy-accept:hover {
    background-color: var(--union-gold-dark) !important;
    color: var(--union-blue) !important;
    border-color: var(--union-gold-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.btn-privacy-accept:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}



/* Mobile responsive for privacy notice */
@media (max-width: 767.98px) {
    .privacy-notice-content {
        padding: 1rem 0;
    }
    
    .privacy-notice-text {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }
    
    .privacy-notice .col-lg-3 {
        text-align: center;
    }
    
    .btn-privacy-accept {
        font-size: 0.8rem;
    }
    
    /* Hero section mobile adjustments */
    .hero-section {
        padding-top: 60px;
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    /* Container padding for mobile */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Section spacing on mobile */
    .section {
        padding: 3rem 0;
    }
    
    /* Button responsive sizing */
    .btn {
        font-size: 0.875rem;
        padding: 0.75rem 1.25rem;
    }
    
    /* Navbar mobile improvements */
    .navbar {
        padding: 0.75rem 1rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .btn-privacy-accept {
        padding: 0.75rem 1.8rem;
        font-weight: 700;
        min-width: 130px;
        border-width: 2px;
        letter-spacing: 0.4px;
    }
}

/* Citation Styles for Clean Academic References */
.citation {
    font-size: 0.8em;
    vertical-align: super;
    text-decoration: none;
    color: #0066cc;
    margin-left: 2px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.citation:hover {
    text-decoration: underline;
    color: #004499;
}

.citation:focus {
    outline: 1px solid #0066cc;
    outline-offset: 1px;
}

/* Statistics Callout Boxes */
.statistics-callout {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.05) 0%, rgba(30, 58, 95, 0.02) 100%);
    border: 2px solid rgba(30, 58, 95, 0.15);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    margin: 1rem 0;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.statistics-callout::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--union-blue) 0%, var(--union-red) 100%);
    border-radius: 12px 12px 0 0;
}

.statistics-callout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.15);
    border-color: var(--union-blue);
}

.statistics-callout .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--union-blue);
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: none;
}

.statistics-callout .stat-label {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
    font-weight: 500;
}

/* Statistics Grid for Hero Section */
.hero-statistics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.hero-statistics .statistics-callout {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 12px;
}

.hero-statistics .statistics-callout::before {
    background: linear-gradient(90deg, var(--union-gold) 0%, rgba(255, 255, 255, 0.8) 100%);
}

.hero-statistics .statistics-callout:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-statistics .stat-value {
    color: var(--union-gold);
    font-size: 1.8rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-statistics .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

.hero-statistics .stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background: transparent;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
}

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0.5rem;
}

.breadcrumb-item.active {
    color: var(--union-gold);
    font-weight: 500;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--union-gold);
    text-decoration: underline;
}

/* Mobile Responsive Styles */
@media (max-width: 767.98px) {
    .hero-brand {
        padding-left: 15px;
        margin-bottom: 2rem;
    }
    
    .company-name {
        font-size: 1.5rem !important;
    }
    
    .brand-tagline {
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-statistics {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin: 1.5rem 0;
    }
    
    .hero-statistics .stat-value {
        font-size: 1.5rem;
    }
    
    .statistics-callout {
        padding: 1.25rem 0.75rem;
        margin: 0.75rem 0;
    }
    
    .statistics-callout .stat-value {
        font-size: 1.75rem;
    }
    
    .statistics-callout .stat-label {
        font-size: 0.9rem;
    }
}

/* Enhanced Hero Visual Styles for Grievance Management */
.hero-visual {
    animation: fadeInUp 0.8s ease-out;
}

.grievance-workflow-visual {
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.workflow-step .step-icon {
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workflow-step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.4);
}

.mobile-frame {
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.mobile-frame .grievance-list {
    animation: slideUp 0.6s ease-out 0.3s both;
}

.mobile-frame .grievance-list > div {
    animation: fadeInScale 0.4s ease-out both;
}

.mobile-frame .grievance-list > div:nth-child(2) {
    animation-delay: 0.1s;
}

.mobile-frame .grievance-list > div:nth-child(3) {
    animation-delay: 0.2s;
}

.floating-elements > div {
    animation: pulse 2s ease-in-out infinite;
}

.floating-elements > div:nth-child(2) {
    animation-delay: 0.5s;
}

.floating-elements > div:nth-child(3) {
    animation-delay: 1s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive adjustments for enhanced visuals */
@media (max-width: 768px) {
    .workflow-step .step-icon {
        width: 45px !important;
        height: 45px !important;
    }
    
    .workflow-step small {
        font-size: 0.7rem;
    }
    
    .mobile-frame {
        max-width: 150px !important;
    }
}
