/* Custom CSS for Multisoft Indonesia AABA */

:root {
    /* Multisoft Indonesia Brand Colors - Dark Theme */
    --primary-color: #9933ff;
    --primary-dark: #6f1dba;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    
    /* Background Colors */
    --bg-primary: #000000;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-light: #ffffff;
    --bg-card: rgba(153, 51, 255, 0.1);
    --bg-input: rgba(153, 51, 255, 0.1);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #999999;
    --text-dark: #212529;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #000000 0%, #111111 50%, #1a1a1a 100%);
    --gradient-hero: linear-gradient(135deg, #000000 0%, #111111 100%);
    --gradient-card: linear-gradient(135deg, rgba(153, 51, 255, 0.1) 0%, rgba(153, 51, 255, 0.05) 100%);
    --gradient-button: linear-gradient(135deg, #9933ff 0%, #6f1dba 100%);
    
    /* Shadows */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3);
    --shadow-primary: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.6);
    --shadow-purple: 0 0.25rem 1rem rgba(153, 51, 255, 0.3);
    
    /* Border Colors */
    --border-color: rgba(153, 51, 255, 0.2);
    --border-light: rgba(153, 51, 255, 0.3);
}

/* Light Theme Variables */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --bg-card: rgba(153, 51, 255, 0.05);
    --bg-input: #ffffff;
    
    --text-primary: #212529;
    --text-secondary: #495057;
    --text-muted: #6c757d;
    
    --gradient-primary: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
    --gradient-hero: linear-gradient(135deg, #9933ff 0%, #6f1dba 100%);
    --gradient-card: linear-gradient(135deg, rgba(153, 51, 255, 0.1) 0%, rgba(153, 51, 255, 0.05) 100%);
    
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-primary: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    
    --border-color: rgba(0, 0, 0, 0.1);
    --border-light: rgba(0, 0, 0, 0.125);
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Arimo:wght@400;500;600;700&display=swap');

/* General Styles */
body {
    font-family: 'Arimo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
}

.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

/* Ensure buttons are clickable */
a.btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient-button);
    border: none;
    color: white;
    box-shadow: var(--shadow-purple);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
    color: white;
}

.btn-primary:active {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-purple);
    color: white;
}

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

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

.btn-success {
    background: var(--success-color);
    border: none;
    box-shadow: var(--shadow-primary);
    color: white;
}

.btn-success:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(40, 167, 69, 0.25);
    color: white;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--text-primary);
}

/* Light theme specific styling for outline buttons */
[data-theme="light"] .btn-outline-light {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

[data-theme="light"] .btn-outline-light:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Theme Toggle */
.theme-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: 1rem;
    cursor: pointer;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(153, 51, 255, 0.2);
}

.theme-toggle input {
    display: none;
}

.theme-icon {
    font-size: 18px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.theme-toggle input:checked ~ .theme-icon.sun {
    display: none;
}

.theme-toggle input:not(:checked) ~ .theme-icon.moon {
    display: none;
}

.theme-toggle input:checked ~ .theme-icon.moon {
    color: var(--primary-color);
}

.theme-toggle input:not(:checked) ~ .theme-icon.sun {
    color: var(--primary-color);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.95) !important;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    margin-right: 0.75rem;
}

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



.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

/* Navbar Toggler (Hamburger Menu) Styling */
.navbar-toggler {
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.5rem;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(153, 51, 255, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='m4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    width: 1.5em;
    height: 1.5em;
}

/* Dark hamburger menu for light theme */
[data-theme="light"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%2833, 37, 41, 0.8%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='m4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

[data-theme="light"] .navbar-toggler {
    border-color: rgba(33, 37, 41, 0.2);
}

/* Navbar Collapse Animation */
.navbar-collapse {
    transition: all 0.3s ease-in-out;
}

.navbar-collapse.show {
    display: block !important;
}

.navbar-collapse:not(.show) {
    display: none;
}

/* Mobile menu specific styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--bg-card);
        border-radius: 12px;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--border-color);
        backdrop-filter: blur(10px);
    }
    
    [data-theme="light"] .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
        margin-bottom: 0.25rem;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(153, 51, 255, 0.1);
    }
    
    [data-theme="light"] .navbar-nav .nav-link:hover {
        background: rgba(153, 51, 255, 0.1);
    }
    
    /* Hero section mobile spacing */
    .hero-section {
        padding-top: 120px;
    }
}

/* Advanced Analytics Specific Styles */
.analytics-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #9933ff 100%);
    min-height: 70vh;
}

.analytics-hero .hero-stats .stat-item {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    backdrop-filter: blur(10px);
    color: white;
}

[data-theme="light"] .analytics-hero .hero-stats .stat-item {
    background: rgba(153, 51, 255, 0.08);
    border: 2px solid rgba(153, 51, 255, 0.4);
    color: #2d3748;
    box-shadow: 0 2px 8px rgba(153, 51, 255, 0.15);
}

[data-theme="light"] .analytics-hero .hero-stats .stat-item h3 {
    color: #4c51bf;
}

[data-theme="light"] .analytics-hero .hero-stats .stat-item p {
    color: #4a5568;
}

/* General hero-stats styling for all pages */
.hero-stats .stat-item {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    backdrop-filter: blur(10px);
    color: white;
    text-align: center;
}

[data-theme="light"] .hero-stats .stat-item {
    background: rgba(153, 51, 255, 0.08);
    border: 2px solid rgba(153, 51, 255, 0.4);
    color: #2d3748;
    box-shadow: 0 2px 8px rgba(153, 51, 255, 0.15);
}

[data-theme="light"] .hero-stats .stat-item h3 {
    color: #4c51bf;
}

[data-theme="light"] .hero-stats .stat-item small {
    color: #4a5568;
}

.clickable-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(153, 51, 255, 0.3);
}

/* Floating card border visibility for light theme */
[data-theme="light"] .floating-card {
    border: 2px solid rgba(153, 51, 255, 0.3) !important;
}

[data-theme="light"] .floating-card:hover {
    border: 2px solid rgba(153, 51, 255, 0.6) !important;
}

/* AABA Low-Risk High-Yield Section Styles */
.strategy-highlight {
    transition: all 0.3s ease;
}

.strategy-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(153, 51, 255, 0.15);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-optimization-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #9933ff 100%);
    box-shadow: 0 15px 35px rgba(153, 51, 255, 0.2);
}

/* Table styling improvements */
.table-hover tbody tr:hover {
    background-color: rgba(153, 51, 255, 0.1);
}

.table-success.bg-opacity-25 {
    background-color: rgba(25, 135, 84, 0.1) !important;
}

.table-danger.bg-opacity-10 {
    background-color: rgba(220, 53, 69, 0.05) !important;
}

/* Risk level badges */
.badge.fs-6 {
    font-size: 0.875rem !important;
    padding: 0.5rem 0.75rem;
}

/* Theme-aware table and strategy section backgrounds */
.table-responsive.bg-white {
    background-color: #ffffff !important;
}

[data-theme="dark"] .table-responsive.bg-white {
    background-color: #1a1a1a !important;
    color: #e2e8f0;
}

[data-theme="dark"] .table-responsive.bg-white h4 {
    color: #e2e8f0;
}

[data-theme="dark"] .table-responsive.bg-white .table {
    color: #e2e8f0;
    --bs-table-bg: transparent;
}

[data-theme="dark"] .table-responsive.bg-white .table th {
    color: #e2e8f0;
    border-color: #374151;
}

[data-theme="dark"] .table-responsive.bg-white .table td {
    color: #e2e8f0;
    border-color: #374151;
}

[data-theme="dark"] .table-responsive.bg-white .table-hover tbody tr:hover {
    background-color: rgba(153, 51, 255, 0.2);
}

/* Fix table header and specific row backgrounds in dark theme */
[data-theme="dark"] .table-responsive.bg-white .table-light {
    background-color: #2d3748 !important;
    color: #e2e8f0;
}

[data-theme="dark"] .table-responsive.bg-white .table-light th {
    background-color: #2d3748 !important;
    color: #e2e8f0;
}

[data-theme="dark"] .table-responsive.bg-white .table-success.bg-opacity-25 {
    background-color: rgba(34, 197, 94, 0.1) !important;
}

[data-theme="dark"] .table-responsive.bg-white .table-success.bg-opacity-25 td {
    background-color: rgba(34, 197, 94, 0.1) !important;
    color: #e2e8f0;
}

[data-theme="dark"] .table-responsive.bg-white .table-danger.bg-opacity-10 {
    background-color: rgba(239, 68, 68, 0.08) !important;
}

[data-theme="dark"] .table-responsive.bg-white .table-danger.bg-opacity-10 td {
    background-color: rgba(239, 68, 68, 0.08) !important;
    color: #e2e8f0;
}

/* Override Bootstrap's default table row backgrounds in dark theme */
[data-theme="dark"] .table-responsive.bg-white tbody tr {
    background-color: transparent !important;
}

[data-theme="dark"] .table-responsive.bg-white tbody tr td {
    background-color: inherit;
}

/* Badge colors in dark theme */
[data-theme="dark"] .badge.bg-success {
    background-color: #059669 !important;
}

[data-theme="dark"] .badge.bg-warning {
    background-color: #d97706 !important;
}

[data-theme="dark"] .badge.bg-danger {
    background-color: #dc2626 !important;
}

/* Strategy highlight boxes theme support */
.strategy-highlight.bg-white {
    background-color: #ffffff !important;
}

[data-theme="dark"] .strategy-highlight.bg-white {
    background-color: #1a1a1a !important;
    color: #e2e8f0;
}

[data-theme="dark"] .strategy-highlight.bg-white h3 {
    color: #e2e8f0;
}

[data-theme="dark"] .strategy-highlight.bg-white p {
    color: #d1d5db;
}

.recommendation-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    backdrop-filter: blur(10px);
}

[data-theme="light"] .recommendation-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.insight-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

[data-theme="light"] .insight-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.insight-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.chart-container {
    position: relative;
    margin-top: 1rem;
}

.bg-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #9933ff 100%);
}

/* Badge Styles */
.badge.bg-success {
    background-color: #28a745 !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #000 !important;
}

.badge.bg-danger {
    background-color: #dc3545 !important;
}

/* Responsive adjustments for analytics */
@media (max-width: 768px) {
    .analytics-hero .hero-stats {
        margin-top: 2rem;
    }
    
    .analytics-hero .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .recommendation-card {
        margin-bottom: 1rem;
    }
    
    .chart-container {
        height: 300px !important;
    }
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    color: var(--text-primary);
    padding-top: 80px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.hero-buttons .btn {
    margin-bottom: 1rem;
}

.floating-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

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

.hero-stats .stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

/* AABA Specific Styles */
.aaba-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.aaba-visualization {
    position: relative;
}

.trading-dashboard {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

[data-theme="light"] .trading-dashboard {
    background: rgba(255, 255, 255, 0.95);
    color: #212529;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.dashboard-header h5 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.trading-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: rgba(153, 51, 255, 0.1);
    border-radius: 8px;
}

[data-theme="light"] .metric {
    background: rgba(13, 110, 253, 0.05);
}

.metric .label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

[data-theme="light"] .metric .label {
    color: #6c757d;
}

.metric .value {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Service Cards */
.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 1.75rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-primary);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

[data-theme="light"] .service-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #6f42c1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(153, 51, 255, 0.3);
    transition: all 0.3s ease;
}

.benefit-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 24px !important;
    width: 24px;
    height: 24px;
    line-height: 1;
}

.feature-icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #6f42c1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white !important;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(153, 51, 255, 0.3);
    transition: all 0.3s ease;
}

.feature-icon-circle i {
    color: white !important;
    background: none !important;
}

/* Fix text colors for dark theme */
.benefit-item h5, .feature-item h5 {
    color: var(--text-primary) !important;
}

.benefit-item p, .feature-item p {
    color: var(--text-secondary) !important;
}

[data-theme="light"] .benefit-item p {
    color: #6c757d !important;
}

/* Reduce empty spaces */
.text-center.mb-5 {
    margin-bottom: 2rem !important;
}

.hero-content .fs-5 {
    margin-bottom: 2rem !important;
}

.hero-content .fs-6 {
    margin-bottom: 2rem !important;
}

.service-card h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Feature Cards */
.feature-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-primary);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

[data-theme="light"] .feature-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #212529;
}

[data-theme="light"] .feature-card h4 {
    color: #212529;
}

[data-theme="light"] .feature-card p {
    color: #495057;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    margin-bottom: 1.5rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-button);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

[data-theme="light"] .feature-icon {
    background: var(--primary-color);
}

/* About Section */
.about-features {
    padding: 2rem;
}

[data-theme="light"] #about {
    background: var(--bg-secondary) !important;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: var(--shadow-primary);
    border: 1px solid var(--border-color);
}

[data-theme="light"] .feature-item {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.feature-item h5 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-item p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Benefits Section */
.benefit-item {
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

[data-theme="light"] .benefit-item {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.benefit-item:hover {
    transform: translateY(-3px);
}

.benefit-icon i {
    font-size: 2rem;
}

.benefit-item h5 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.benefit-item p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Performance Showcase */
.performance-showcase {
    padding: 2rem;
}

.performance-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

[data-theme="light"] .performance-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #212529;
}

[data-theme="light"] .performance-card h5 {
    color: #212529;
}

.performance-metrics {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(153, 51, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
}

[data-theme="light"] .metric-row {
    background: rgba(13, 110, 253, 0.05);
    color: #212529;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: white;
    padding: 5rem 0;
    position: relative;
}

.process-step-link {
    text-decoration: none;
    color: inherit;
}

.process-step-clickable {
    transition: all 0.3s ease;
    cursor: pointer;
}

.process-step-clickable:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(153, 51, 255, 0.3);
}

.process-step-link:hover {
    text-decoration: none;
    color: inherit;
}

.cta-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 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.cta-process {
    position: relative;
    z-index: 2;
}

.process-step {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.process-step h6 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.process-step small {
    opacity: 0.9;
}

/* KYC Styles */
.kyc-section {
    background: var(--gradient-primary);
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 50px;
}

[data-theme="light"] .kyc-section {
    background: var(--bg-secondary);
}

.kyc-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

[data-theme="light"] .kyc-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.kyc-icon {
    margin-bottom: 2rem;
}

.kyc-step {
    display: none;
}

.kyc-step.active {
    display: block;
}

.form-floating {
    margin-bottom: 1rem;
}

.form-control, .form-select {
    border-radius: 12px;
    border: 2px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

[data-theme="light"] .form-control,
[data-theme="light"] .form-select {
    background: white;
    border-color: rgba(0, 0, 0, 0.1);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 105, 0, 0.25);
    background: var(--bg-input);
    color: var(--text-primary);
}

[data-theme="light"] .form-control:focus,
[data-theme="light"] .form-select:focus {
    background: white;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Dark theme dropdown options */
[data-theme="dark"] .form-select option {
    background-color: #2a2a2a;
    color: white;
}

/* Progress bar styling */
.progress {
    background-color: rgba(255, 255, 255, 0.3);
    height: 25px;
    border-radius: 15px;
}

.progress-bar {
    background: linear-gradient(135deg, #9933ff, #ff6900);
    color: white;
    font-weight: 600;
    border-radius: 15px;
    transition: width 0.6s ease;
}

[data-theme="light"] .progress {
    background-color: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .progress-bar {
    background: linear-gradient(135deg, #7c2d92, #e55d00);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .progress {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Alert styling for dark theme */
[data-theme="dark"] .alert-info {
    background-color: rgba(51, 153, 255, 0.1);
    border-color: rgba(51, 153, 255, 0.3);
    color: #e0e0e0;
}

[data-theme="dark"] .alert-info h6 {
    color: #66b3ff;
}

/* All form selects in dark theme */
[data-theme="dark"] .form-select,
[data-theme="dark"] .form-control {
    background-color: #2a2a2a !important;
    border-color: #444 !important;
    color: white !important;
}

[data-theme="dark"] .form-floating > label {
    color: #ccc !important;
}

[data-theme="dark"] .form-floating > .form-control:focus ~ label,
[data-theme="dark"] .form-floating > .form-control:not(:placeholder-shown) ~ label,
[data-theme="dark"] .form-floating > .form-select ~ label {
    color: #66b3ff !important;
}

[data-theme="dark"] .form-label {
    color: #ccc !important;
}

/* File upload instruction text styling for dark theme */
[data-theme="dark"] .file-upload-info {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .text-muted {
    color: #ccc !important;
}

[data-theme="dark"] .form-text {
    color: #e0e0e0 !important;
}

.form-control.is-invalid, .form-select.is-invalid {
    border-color: var(--danger-color);
}

.form-floating > label {
    color: var(--text-secondary);
}

[data-theme="light"] .form-floating > label {
    color: #6c757d;
}

.progress {
    height: 8px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.1);
}

.progress-bar {
    border-radius: 10px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    position: relative;
}

#progress-text {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
}

/* Success Page */
.success-section {
    background: var(--gradient-primary);
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 50px;
}

[data-theme="light"] .success-section {
    background: var(--bg-secondary);
}

.success-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

[data-theme="light"] .success-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.success-icon {
    margin-bottom: 2rem;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(13, 110, 253, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

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

.step-content h6 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.step-content p {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.support-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-primary);
}

.support-card i {
    font-size: 1.2rem;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

[data-theme="light"] .contact-form-wrapper {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: 12px;
}

/* Footer */
footer {
    margin-top: auto;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-top: 1px solid var(--border-color);
}

[data-theme="light"] footer {
    background: #f8f9fa;
    color: #212529;
    border-top: 1px solid #dee2e6;
}

/* Ensure footer text and links are properly colored in light theme */
[data-theme="light"] footer h5,
[data-theme="light"] footer p,
[data-theme="light"] footer .text-muted,
[data-theme="light"] footer a {
    color: #495057 !important;
}

[data-theme="light"] footer a:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

[data-theme="light"] .social-links a {
    background: rgba(33, 37, 41, 0.1);
    color: #495057;
}

[data-theme="light"] .social-links a:hover {
    background: var(--primary-color);
    color: white;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* General section backgrounds */
section {
    background: var(--bg-primary);
}

[data-theme="light"] section {
    background: white;
}

section:nth-child(even) {
    background: var(--bg-secondary);
}

[data-theme="light"] section:nth-child(even) {
    background: var(--bg-secondary);
}

/* Fix sections with .bg-light class for proper theme support */
.bg-light {
    background-color: var(--bg-secondary) !important;
}

[data-theme="light"] .bg-light {
    background-color: #f8f9fa !important;
}

/* Text color fixes for dark theme */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
}

p, .text-muted {
    color: var(--text-secondary);
}

[data-theme="light"] .text-muted {
    color: #6c757d !important;
}

/* Badge improvements */
.badge {
    background: var(--primary-color) !important;
    color: white;
}

/* Card improvements for better theme support */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

[data-theme="light"] .card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .kyc-card,
    .success-card {
        margin: 1rem;
        padding: 2rem;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .service-card,
    .feature-card {
        margin-bottom: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .kyc-card,
    .success-card {
        padding: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

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

/* Utility Classes */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-success {
    background: var(--gradient-success);
}

.border-radius-lg {
    border-radius: 16px !important;
}

.shadow-custom {
    box-shadow: var(--shadow-lg);
}

.backdrop-blur {
    backdrop-filter: blur(10px);
}

/* Hero Section Improvements */
.hero-section {
    padding-top: 80px;
    min-height: 70vh;
    padding-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary-color), #6f42c1);
}

[data-theme="light"] .hero-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(248,249,250,0.95));
}

/* Hero sections need special handling for backgrounds and text in light theme */
[data-theme="light"] .hero-section.aaba-hero,
[data-theme="light"] section.hero-section {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Force all hero section text to be dark in light theme */
[data-theme="light"] .hero-section h1,
[data-theme="light"] .hero-section h2,
[data-theme="light"] .hero-section h3,
[data-theme="light"] .hero-section h4,
[data-theme="light"] .hero-section h5,
[data-theme="light"] .hero-section h6,
[data-theme="light"] .hero-section p,
[data-theme="light"] .hero-section .lead,
[data-theme="light"] .hero-section .display-3,
[data-theme="light"] .hero-section .display-4,
[data-theme="light"] .hero-section .display-5 {
    color: #212529 !important;
}

/* Override any text-white classes in hero sections for light theme */
[data-theme="light"] .hero-section .text-white,
[data-theme="light"] .hero-section .text-white-50 {
    color: #212529 !important;
}

/* Fix all hero section content paragraphs for light theme */
[data-theme="light"] .hero-section .hero-content p,
[data-theme="light"] .hero-section .hero-content .lead,
[data-theme="light"] .hero-section p:not(.btn):not([class*="btn"]),
[data-theme="light"] .hero-section .mb-4,
[data-theme="light"] .hero-section .mb-5 {
    color: #495057 !important;
}

/* Ensure all direct paragraph children of hero sections are dark in light theme */
[data-theme="light"] .hero-section > .container p,
[data-theme="light"] .hero-section > .container .row p,
[data-theme="light"] .hero-section > .container .col-lg-6 p,
[data-theme="light"] .hero-section > .container .col-lg-8 p {
    color: #495057 !important;
}

/* Ensure text contrast on purple background for both themes */
.hero-section h1,
.hero-section .display-4,
.hero-section .display-3 {
    color: white !important;
}

.hero-section p,
.hero-section .lead,
.hero-section .text-white-50 {
    color: rgba(255, 255, 255, 0.9) !important;
}

.hero-section .floating-card h5 {
    color: white !important;
}

.hero-section .floating-card p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Force white text for all hero content in both themes since background is purple */
[data-theme="light"] .hero-section h1,
[data-theme="light"] .hero-section .display-4,
[data-theme="light"] .hero-section .display-3 {
    color: white !important;
}

[data-theme="light"] .hero-section p,
[data-theme="light"] .hero-section .lead,
[data-theme="light"] .hero-section .text-white-50 {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Section Spacing Improvements */
section.py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
}

section.py-5 + section.py-5 {
    padding-top: 1.5rem !important;
}

/* Background alternation */
section.bg-light-subtle {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
    background: var(--bg-secondary) !important;
}

[data-theme="light"] section.bg-light-subtle {
    background: #f8f9fa !important;
}

/* Text colors for alternate sections */
section.bg-light-subtle h2,
section.bg-light-subtle h5,
section.bg-light-subtle .fw-bold {
    color: var(--text-primary) !important;
}

section.bg-light-subtle p,
section.bg-light-subtle .text-muted,
section.bg-light-subtle .lead {
    color: var(--text-secondary) !important;
}

[data-theme="light"] section.bg-light-subtle h2,
[data-theme="light"] section.bg-light-subtle h5,
[data-theme="light"] section.bg-light-subtle .fw-bold {
    color: #212529 !important;
}

[data-theme="light"] section.bg-light-subtle p,
[data-theme="light"] section.bg-light-subtle .text-muted,
[data-theme="light"] section.bg-light-subtle .lead {
    color: #6c757d !important;
}

/* About section feature items styling */
section.bg-light-subtle .about-features {
    background: transparent;
}

section.bg-light-subtle .feature-item {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

section.bg-light-subtle .feature-item h5 {
    color: var(--text-primary) !important;
}

section.bg-light-subtle .feature-item p {
    color: var(--text-secondary) !important;
}

section.bg-light-subtle .feature-item i {
    color: white !important;
    background: linear-gradient(135deg, var(--primary-color), #6f42c1);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

/* About section dark styling */
#about .feature-item {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

#about .feature-item:hover {
    background: rgba(153, 51, 255, 0.1);
    border-color: var(--primary-color);
}

#about .feature-item i {
    background: linear-gradient(135deg, var(--primary-color), #6f42c1);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

#about .feature-item h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

#about .feature-item p {
    color: var(--text-secondary);
    margin: 0;
}

/* Fix text-muted visibility in dark theme */
.text-muted {
    color: var(--text-secondary) !important;
}

[data-theme="light"] .text-muted {
    color: #6c757d !important;
}

/* Feature item improvements */
.feature-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-item .feature-icon {
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Better spacing for sections */
.text-center.mb-5 {
    margin-bottom: 2.5rem !important;
}

.text-center.mb-5 p.lead {
    margin-bottom: 0;
}

/* Feature Icon Circle Style */
.feature-icon-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #6f42c1);
    border-radius: 50%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-right: 1.5rem;
    position: relative;
}

.feature-icon-circle i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
    font-size: 1.4rem;
}

.feature-icon-circle:hover {
    background: linear-gradient(135deg, #7952b3, var(--primary-color));
    transform: scale(1.05);
}

/* Feature Item Improvements */
.feature-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: rgba(153, 51, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(153, 51, 255, 0.1);
    transition: all 0.3s ease;
    text-align: left;
}

.feature-item:hover {
    background: rgba(153, 51, 255, 0.1);
    border-color: rgba(153, 51, 255, 0.2);
    transform: translateY(-2px);
}

.feature-item div:last-child {
    flex: 1;
    text-align: left;
}

.feature-item h5 {
    text-align: left;
    margin-bottom: 0.75rem;
}

.feature-item p {
    text-align: left;
    margin: 0;
}

/* Text color improvements for dark theme */
.text-secondary {
    color: var(--text-secondary) !important;
}

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

/* Override text-white behavior specifically in hero sections for dark theme */
.hero-section .text-white {
    color: white !important;
}

/* Global text color fixes for light theme */
[data-theme="light"] .text-white {
    color: #212529 !important;
}

[data-theme="light"] .text-white-50 {
    color: #6c757d !important;
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
    color: #212529 !important;
}

[data-theme="light"] p {
    color: #495057 !important;
}

[data-theme="light"] .lead {
    color: #495057 !important;
}

[data-theme="light"] small {
    color: #6c757d !important;
}

/* Fix specific elements that might still have white text in light theme */
[data-theme="light"] .hero-content h1,
[data-theme="light"] .hero-content h2,
[data-theme="light"] .hero-content h3,
[data-theme="light"] .hero-content h4,
[data-theme="light"] .hero-content h5,
[data-theme="light"] .hero-content h6,
[data-theme="light"] .hero-content p,
[data-theme="light"] .hero-content .lead,
[data-theme="light"] .hero-content .display-3,
[data-theme="light"] .hero-content .display-4,
[data-theme="light"] .hero-content .display-5 {
    color: #212529 !important;
}

/* Fix stat items, badges, and other specific components */
[data-theme="light"] .stat-item h3,
[data-theme="light"] .stat-item small,
[data-theme="light"] .badge,
[data-theme="light"] .metric .label,
[data-theme="light"] .dashboard-header h5 {
    color: #212529 !important;
}

/* Fix navigation and other global elements */
[data-theme="light"] .navbar-brand,
[data-theme="light"] .nav-link {
    color: #212529 !important;
}

/* Ensure dark theme hero sections have white text */
.hero-section h1,
.hero-section .display-4,
.hero-section p.lead,
.hero-section .hero-content h1,
.hero-section .hero-content p {
    color: white !important;
}

/* Dark theme hero sections have white text */
.hero-section .text-white,
.hero-section .text-white-50 {
    color: white !important;
}

/* Light theme floating card text should be dark */
[data-theme="light"] .hero-section .floating-card h5,
[data-theme="light"] .hero-section .floating-card p,
[data-theme="light"] .hero-section .floating-card .small {
    color: #212529 !important;
}
