/* Interactive Map Styles */
.interactive-map-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 4rem;
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.map-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.map-controls {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.map-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.map-control:hover {
    border-color: #dc2626;
    color: #dc2626;
    transform: translateY(-1px);
}

.map-control.active {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    min-height: 600px;
}

.google-map-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.google-map {
    width: 100%;
    height: 600px;
    border-radius: 16px;
}

.map-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.map-loading-overlay p {
    margin-top: 1rem;
    color: #6b7280;
    font-weight: 500;
}

.map-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.route-info-panel,
.live-updates-panel,
.map-stats-panel {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
}

.route-info-panel h5,
.live-updates-panel h5,
.map-stats-panel h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.route-info-panel h5 i,
.live-updates-panel h5 i,
.map-stats-panel h5 i {
    color: #dc2626;
}

.route-info-panel p {
    color: #6b7280;
    margin: 0;
    font-size: 0.875rem;
}

.route-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.route-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.vehicle-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vehicle-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.updates-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 200px;
    overflow-y: auto;
}

.update-item {
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border-left: 3px solid #dc2626;
}

.update-time {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.update-text {
    font-size: 0.875rem;
    color: #1f2937;
    line-height: 1.4;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #dc2626;
    display: block;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    font-weight: 500;
}

/* Payment Demo Styles */
.payment-demo-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 4rem;
}

.payment-demo-container h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1f2937;
}

.payment-demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.payment-methods h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    text-align: center;
}

.payment-option:hover {
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.payment-option.active {
    border-color: #dc2626;
    background: #fef2f2;
    color: #dc2626;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.payment-option i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.payment-option span {
    font-size: 0.875rem;
    font-weight: 500;
}

.payment-features {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.payment-features h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.feature-item i {
    color: #10b981;
    flex-shrink: 0;
}

.payment-simulator {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 500px;
    background: linear-gradient(145deg, #1f2937, #111827);
    border-radius: 30px;
    padding: 20px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #374151;
    border-radius: 3px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.payment-interface {
    padding: 2rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.wallet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.wallet-header h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.wallet-header i {
    color: #3b82f6;
    font-size: 1.25rem;
}

.balance-display {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.balance-label {
    display: block;
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.balance-amount {
    font-size: 1.5rem;
    font-weight: 700;
}

.trip-details {
    flex: 1;
    margin-bottom: 2rem;
}

.trip-details h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.trip-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.875rem;
}

.trip-item:last-child {
    border-bottom: none;
}

.fare-amount {
    font-weight: 700;
    color: #dc2626;
}

.pay-button {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.pay-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.pay-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.transaction-flow {
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
}

.transaction-flow h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1f2937;
    text-align: center;
}

.flow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 150px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fee2e2, #fef3c7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #dc2626;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.flow-step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.flow-step h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.flow-step p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.4;
    margin: 0;
}

.flow-arrow {
    color: #dc2626;
    font-size: 1.25rem;
    margin: 0 0.5rem;
}

/* Technology Architecture Styles */
.architecture-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 4rem;
}

.architecture-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
    overflow-x: auto;
}

.arch-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    color: #6b7280;
    white-space: nowrap;
}

.arch-tab:hover {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.05);
}

.arch-tab.active {
    color: #dc2626;
    border-bottom-color: #dc2626;
    background: rgba(220, 38, 38, 0.05);
}

.arch-tab i {
    font-size: 1.125rem;
}

.architecture-content {
    min-height: 400px;
}

.arch-layer {
    display: none;
}

.arch-layer.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.arch-layer h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1f2937;
}

.components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.component-card {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.component-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #dc2626;
}

.component-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #dc2626, #f59e0b);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.component-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.component-card p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: #e5e7eb;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Financial Dashboard Styles */
.financial-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.kpi-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.kpi-card.revenue::before {
    background: linear-gradient(135deg, #10b981, #059669);
}

.kpi-card.passengers::before {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.kpi-card.vehicles::before {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.kpi-card.income::before {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.kpi-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: white;
}

.kpi-card.revenue .kpi-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.kpi-card.passengers .kpi-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.kpi-card.vehicles .kpi-icon {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.kpi-card.income .kpi-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.kpi-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.kpi-values {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.current-value,
.projected-value {
    text-align: center;
}

.current-value .label,
.projected-value .label {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    font-weight: 600;
}

.current-value .value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #6b7280;
}

.projected-value .value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.growth-indicator {
    background: #d1fae5;
    color: #059669;
    padding: 0.5rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Chart Container Styles */
.chart-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 4rem;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.chart-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.chart-controls {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.chart-control {
    padding: 0.5rem 1rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.chart-control:hover {
    border-color: #dc2626;
    color: #dc2626;
}

.chart-control.active {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
}

.chart-canvas {
    height: 400px;
    margin-bottom: 1rem;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.legend-color {
    width: 16px;
    height: 4px;
    border-radius: 2px;
}

.legend-color.current {
    background: #dc2626;
}

.legend-color.projected {
    background: #10b981;
}

/* Tusimbudde Fund Styles */
.tusimbudde-hero {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.tusimbudde-hero::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="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.tusimbudde-hero h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.tusimbudde-hero .lead {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.fund-stats {
    position: relative;
    z-index: 1;
}

.benefits-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
    overflow-x: auto;
}

.benefits-nav .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    border: none;
    background: transparent;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6b7280;
    text-decoration: none;
    white-space: nowrap;
}

.benefits-nav .nav-link:hover {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.05);
}

.benefits-nav .nav-link.active {
    color: #dc2626;
    border-bottom-color: #dc2626;
    background: rgba(220, 38, 38, 0.05);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    color: white;
}

.benefits-nav .nav-link h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.benefits-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.benefit-content {
    display: none;
}

.benefit-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.benefit-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.benefit-content p {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.coverage-details,
.pension-calculator,
.emergency-services,
.education-programs {
    margin-bottom: 2rem;
}

.coverage-details h5,
.pension-calculator h5,
.emergency-services h5,
.education-programs h5 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.pension-calculator {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.pension-calculator label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    display: block;
}

.pension-calculator input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.pension-results {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.result-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.result-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    font-weight: 500;
}

.contribution-breakdown {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.contribution-breakdown h5 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.contribution-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.875rem;
}

.contribution-item:last-child {
    border-bottom: none;
}

.contribution-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 2px solid #dc2626;
    font-weight: 700;
    color: #dc2626;
    margin-top: 1rem;
}

.service-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: all 0.2s ease;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 2rem;
    color: #dc2626;
    margin-bottom: 1rem;
}

.service-card h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.service-card p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.benefit-stats,
.emergency-stats,
.education-stats {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.benefit-stats h5,
.emergency-stats h5,
.education-stats h5 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

/* Training Portal Styles */
.training-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 4rem;
}

.training-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
    overflow-x: auto;
}

.training-nav .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    border: none;
    background: transparent;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6b7280;
    text-decoration: none;
    white-space: nowrap;
}

.training-nav .nav-link:hover {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.05);
}

.training-nav .nav-link.active {
    color: #dc2626;
    border-bottom-color: #dc2626;
    background: rgba(220, 38, 38, 0.05);
}

.tab-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    color: white;
}

.training-nav .nav-link h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.training-content {
    min-height: 500px;
}

.training-section {
    display: none;
}

.training-section.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.training-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1f2937;
}

.training-modules {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.module-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.module-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #dc2626;
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.module-header h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.module-card p {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.module-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.module-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.module-stats i {
    color: #dc2626;
}

.certification-levels {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.certification-levels h5 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.level-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.level-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.level-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.level-badge.bronze {
    background: #cd7f32;
    color: white;
}

.level-badge.silver {
    background: #c0c0c0;
    color: #1f2937;
}

.level-badge.gold {
    background: #ffd700;
    color: #1f2937;
}

.level-card h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.level-card p {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.requirements {
    font-size: 0.75rem;
    color: #6b7280;
    font-style: italic;
}

/* Loading Animations */
.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f4f6;
    border-top: 2px solid #dc2626;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .map-container {
        grid-template-columns: 1fr;
    }
    
    .payment-demo-grid {
        grid-template-columns: 1fr;
    }
    
    .google-map {
        height: 400px;
    }
    
    .map-sidebar {
        grid-row: 1;
    }
}

@media (max-width: 768px) {
    .map-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .map-controls {
        justify-content: center;
    }
    
    .architecture-nav,
    .benefits-nav,
    .training-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .arch-tab,
    .benefits-nav .nav-link,
    .training-nav .nav-link {
        justify-content: center;
        padding: 1rem;
    }
    
    .payment-interface {
        padding: 1.5rem 1rem;
    }
    
    .balance-display {
        padding: 1rem;
    }
    
    .flow-steps {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .kpi-values {
        flex-direction: column;
        gap: 1rem;
    }
    
    .chart-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .chart-controls {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .phone-mockup {
        width: 240px;
        height: 420px;
        padding: 15px;
    }
    
    .payment-interface {
        padding: 1rem 0.75rem;
    }
    
    .balance-amount {
        font-size: 1.25rem;
    }
    
    .map-controls {
        grid-template-columns: 1fr 1fr;
    }
    
    .components-grid {
        grid-template-columns: 1fr;
    }
    
    .financial-kpis {
        grid-template-columns: 1fr;
    }
}