/* Matrix Cybersecurity Theme */
:root {
    --bg-primary: #0b0b0b;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --accent-green: #00ff66;
    --accent-green-dim: #00cc52;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #b0b0b0;
    --danger: #ff4444;
    --warning: #ffaa00;
    --success: #00ff66;
    --info: #00aaff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Matrix Canvas Background */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

/* Navigation */
.navbar {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--accent-green);
    z-index: 1000;
}

.navbar-brand {
    color: var(--accent-green) !important;
    font-weight: bold;
    text-shadow: 0 0 10px var(--accent-green);
}

.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-green) !important;
    text-shadow: 0 0 8px var(--accent-green);
}

.navbar-nav .nav-link.active {
    color: var(--accent-green) !important;
    background: rgba(0, 255, 102, 0.2);
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 255, 102, 0.3);
    font-weight: 600;
}

.dropdown-menu {
    background: var(--bg-secondary);
    border: 1px solid var(--accent-green);
}

.dropdown-item {
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--accent-green);
    color: var(--bg-primary);
}

/* Profile Images */
.profile-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-green);
}

.profile-img-sm {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    flex: 1 0 auto;
    padding-bottom: 8rem;
}

/* Educational Section Spacing */
.educational-section {
    margin-bottom: 4rem !important;
}

/* Service Pages Extra Protection */
.service-page .main-content {
    padding-bottom: 10rem !important;
}

/* Cards */
.card {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid var(--bg-tertiary);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--accent-green);
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.2);
    transform: translateY(-2px);
}

.module-card {
    height: 100%;
    border: 1px solid var(--bg-tertiary);
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(42, 42, 42, 0.95));
}

.module-card:hover {
    border-color: var(--accent-green);
    box-shadow: 0 0 25px rgba(0, 255, 102, 0.3);
}

.module-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.module-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--accent-green), var(--accent-green-dim));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 0 15px rgba(0, 255, 102, 0.4);
}

.module-icon.custom-logo {
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    position: relative;
}

.module-icon i {
    font-size: 20px;
    color: #1a1a1a;
}

/* Large Module Icons for Overview */
.module-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--accent-green), var(--accent-green-dim));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.4);
}

/* Custom logo container - no default background */
.module-icon-large.custom-logo {
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    position: relative;
}

.module-icon-large.custom-logo .service-logo-hash,
.module-icon-large.custom-logo .service-logo-lock,
.module-icon-large.custom-logo .service-logo-search,
.module-icon-large.custom-logo .service-logo-hammer,
.module-icon-large.custom-logo .service-logo-scale,
.module-icon-large.custom-logo .service-logo-globe,
.module-icon-large.custom-logo .service-logo-key,
.module-icon-large.custom-logo .service-logo-network {
    margin: 0 !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.module-icon.custom-logo .service-logo-hash,
.module-icon.custom-logo .service-logo-lock,
.module-icon.custom-logo .service-logo-search,
.module-icon.custom-logo .service-logo-hammer,
.module-icon.custom-logo .service-logo-scale,
.module-icon.custom-logo .service-logo-globe,
.module-icon.custom-logo .service-logo-key,
.module-icon.custom-logo .service-logo-network {
    margin: 0 !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.module-icon-large i {
    font-size: 30px;
    color: #1a1a1a;
}

/* Overview Cards */
.overview-card {
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.overview-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
}

.overview-card .card-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.overview-card .card-text {
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-title {
    color: var(--accent-green) !important;
    margin: 0;
    font-weight: 600;
}

/* Service card title visibility fixes */
.module-card .card-title,
.overview-card .card-title {
    color: var(--text-primary) !important;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Ensure card titles are always visible */
h1.card-title, h2.card-title, h3.card-title, h4.card-title, h5.card-title, h6.card-title {
    color: var(--text-primary) !important;
}

.education-info {
    background: rgba(0, 255, 102, 0.1);
    border: 1px solid rgba(0, 255, 102, 0.3);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-glow {
    box-shadow: 0 0 15px rgba(0, 255, 102, 0.3);
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(0, 255, 102, 0.6);
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-green), var(--accent-green-dim));
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--accent-green-dim), var(--accent-green));
    color: var(--bg-primary);
}

.btn-success {
    background: linear-gradient(45deg, #28a745, #20c997);
}

.btn-warning {
    background: linear-gradient(45deg, #ffc107, #fd7e14);
    color: var(--bg-primary);
}

.btn-danger {
    background: linear-gradient(45deg, #dc3545, #e74c3c);
}

.btn-info {
    background: linear-gradient(45deg, #17a2b8, #6f42c1);
}

.btn-dark {
    background: linear-gradient(45deg, #343a40, #495057);
}

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

.btn-outline-primary:hover {
    background: var(--accent-green);
    color: var(--bg-primary);
}

/* Forms */
.form-control, .form-select {
    background: rgba(42, 42, 42, 0.8);
    border: 1px solid var(--bg-tertiary);
    color: var(--text-primary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    background: rgba(42, 42, 42, 0.9);
    border-color: var(--accent-green);
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.2);
    color: var(--text-primary);
}

.form-label {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 5px;
}

.form-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Text Overrides for Better Readability */
.text-muted {
    color: var(--text-muted) !important;
}

small {
    color: var(--text-secondary) !important;
}

.d-block.text-muted,
.form-text {
    color: var(--text-secondary) !important;
}

/* Additional text color fixes */
.card-text {
    color: var(--text-secondary) !important;
}

.text-center.text-muted {
    color: var(--text-secondary) !important;
}

.badge {
    font-weight: 500;
}

/* Footer text */
footer small {
    color: var(--text-secondary) !important;
}

/* Activity details */
.activity-details small {
    color: var(--text-secondary) !important;
}

/* Comprehensive text visibility fixes */
p, span, div, small, li, td, th, label, h1, h2, h3, h4, h5, h6 {
    color: inherit;
}

/* Ensure all text elements have proper contrast */
.text-muted, .text-secondary {
    color: var(--text-muted) !important;
}

.form-text, small.form-text {
    color: var(--text-secondary) !important;
}

/* Fix any potential Bootstrap overrides */
.text-dark {
    color: var(--text-primary) !important;
}

/* Ensure tab content text is visible */
.tab-content, .tab-pane {
    color: var(--text-primary);
}

.tab-content p, .tab-content div, .tab-content span, .tab-content label {
    color: var(--text-secondary);
}

/* Modal text visibility */
.modal-body, .modal-header, .modal-footer {
    color: var(--text-primary);
}

.modal-body p, .modal-body div, .modal-body span, .modal-body small,
.modal-body label, .modal-body li {
    color: var(--text-secondary) !important;
}

/* Service page text visibility */
.service-description, .info-card p, .info-card li {
    color: var(--text-secondary) !important;
}

/* Form element text visibility fixes */
.form-label {
    color: var(--text-primary) !important;
}

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

.form-check-input + .form-check-label {
    color: var(--text-primary) !important;
}

/* Info card comprehensive text fixes */
.info-card {
    color: var(--text-primary) !important;
}

.info-card h5, .info-card h6 {
    color: var(--accent-green) !important;
}

.info-card p, .info-card li, .info-card ul, .info-card ol {
    color: var(--text-secondary) !important;
}

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

/* Radio button and checkbox labels */
input[type="radio"] + label,
input[type="checkbox"] + label,
.form-check label {
    color: var(--text-primary) !important;
}

/* Ensure all form elements have proper text color */
.form-control, .form-select, .form-control:focus, .form-select:focus {
    color: var(--text-primary) !important;
}

/* Placeholder text */
.form-control::placeholder, .form-control::-webkit-input-placeholder {
    color: var(--text-muted) !important;
}

/* Additional button text fixes */
.btn {
    color: inherit;
}

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

.btn-outline-primary {
    color: var(--accent-green) !important;
}

/* Comprehensive text inheritance fixes */
* {
    color: inherit;
}

/* Override any problematic Bootstrap defaults */
.card *, .card-body *, .module-card * {
    color: inherit;
}

/* File input styling and text visibility */
input[type="file"] {
    color: var(--text-primary) !important;
    background: rgba(42, 42, 42, 0.8) !important;
    border: 1px solid var(--bg-tertiary) !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
}

input[type="file"]::file-selector-button {
    background: var(--accent-green) !important;
    color: var(--bg-primary) !important;
    border: none !important;
    border-radius: 5px !important;
    padding: 6px 12px !important;
    margin-right: 10px !important;
}

input[type="file"]::-webkit-file-upload-button {
    background: var(--accent-green) !important;
    color: var(--bg-primary) !important;
    border: none !important;
    border-radius: 5px !important;
    padding: 6px 12px !important;
    margin-right: 10px !important;
}

/* Password strength text visibility */
.password-strength,
.strength-indicator,
.strength-text {
    color: var(--text-secondary) !important;
}

/* Alert text visibility */
.alert strong,
.alert p,
.alert span,
.alert div {
    color: inherit !important;
}

/* Card header text */
.card-header,
.card-header h5,
.card-header h6 {
    color: var(--text-primary) !important;
}

/* Security notice and warning text */
.alert-warning {
    color: var(--warning) !important;
}

.alert-warning strong {
    color: var(--warning) !important;
}

/* List items in info cards */
.module-card ul li,
.module-card ol li {
    color: var(--text-secondary) !important;
}

/* Form group labels and help text */
.form-group label,
.mb-3 label,
.form-label {
    color: var(--text-primary) !important;
    font-weight: 500;
}

/* File input "No file chosen" text fix */
input[type="file"]:not(:valid) {
    color: var(--text-muted) !important;
}

/* Ensure all interactive elements have proper contrast */
.btn-success {
    color: var(--bg-primary) !important;
}

.btn-warning {
    color: var(--bg-primary) !important;
}

/* URL Scanner and scanning features text visibility */
.scanning-features,
.security-tips,
.feature-list {
    color: var(--text-secondary) !important;
}

.scanning-features ul li,
.security-tips ul li,
.feature-list li {
    color: var(--text-secondary) !important;
    margin-bottom: 8px;
}

.scanning-features h6,
.security-tips h6,
.feature-section h6 {
    color: var(--text-primary) !important;
}

/* Scanner result text */
.scan-result,
.scan-status,
.scan-details {
    color: var(--text-primary) !important;
}

/* URL input and form help text */
.form-text.text-muted,
small.text-muted {
    color: var(--text-muted) !important;
}

/* Warning and info boxes */
.info-box,
.warning-box,
.tips-box {
    color: var(--text-secondary) !important;
}

.info-box h6,
.warning-box h6,
.tips-box h6 {
    color: var(--text-primary) !important;
}

/* Scanner icons and text combinations */
.scanner-icon + span,
.feature-icon + span {
    color: var(--text-secondary) !important;
}

/* File size limits and restrictions text */
.file-restrictions,
.size-limit,
.format-info {
    color: var(--text-muted) !important;
}

/* Security recommendation text */
.security-recommendations li,
.safety-tips li,
.best-practices li {
    color: var(--text-secondary) !important;
}

/* URL placeholder and input text */
.form-control::-webkit-input-placeholder {
    color: var(--text-muted) !important;
    opacity: 0.7;
}

.form-control::-moz-placeholder {
    color: var(--text-muted) !important;
    opacity: 0.7;
}

.form-control:-ms-input-placeholder {
    color: var(--text-muted) !important;
    opacity: 0.7;
}

/* Ensure bullet points and list indicators are visible */
ul li::marker {
    color: var(--accent-green) !important;
}

ol li::marker {
    color: var(--accent-green) !important;
}

/* Specific fixes for URL scanner lists and small text */
.list-unstyled li,
.small,
.text-start li {
    color: var(--text-secondary) !important;
}

/* Small text in card bodies */
.card-body .small,
.card-body small,
.p-3 .small {
    color: var(--text-secondary) !important;
}

/* Text-start lists */
.text-start ul li,
.text-start ol li {
    color: var(--text-secondary) !important;
}

/* Any remaining invisible text fixes */
span, div, p {
    color: inherit;
}

/* Specific list item visibility fixes */
.card-body li,
.module-card li {
    color: var(--text-secondary) !important;
}

/* Security tips and recommendations - force visibility */
.card-body ul li,
.card-body ol li,
.module-card ul li,
.module-card ol li {
    color: var(--text-secondary) !important;
}

/* All unstyled lists */
.list-unstyled li {
    color: var(--text-secondary) !important;
}

/* Force all small text to be visible */
.small {
    color: var(--text-secondary) !important;
}

/* Text in paragraphs within cards */
.card p,
.module-card p {
    color: var(--text-secondary) !important;
}

/* Specific scanner check lists */
.mt-3 ul li,
.security-tips ul li,
.best-practices ul li {
    color: var(--text-secondary) !important;
}

/* Override any Bootstrap text utilities that might hide text */
.text-muted,
.text-secondary,
.text-dark {
    color: var(--text-secondary) !important;
}

/* Targeted text visibility fixes without breaking existing styles */

/* Fix invisible list items in scanner sections */
.card-body .list-unstyled li,
.card-body .mt-3 ul li,
.card-body .small,
.card-body small.text-start li {
    color: var(--text-secondary) !important;
}

/* Fix invisible text in security tips sections */
.text-center.p-3 ul li,
.text-center.p-3 .small,
.p-3.text-start ul li {
    color: var(--text-secondary) !important;
}

/* Fix any remaining invisible help text */
.form-text.text-muted,
small.text-muted,
.text-muted.small {
    color: var(--text-muted) !important;
}

/* Fix invisible text in scanner feature lists */
.mt-3 h6 + ul li,
.card-body h6 + ul li {
    color: var(--text-secondary) !important;
}

/* Comprehensive text visibility fix for all remaining elements */
.card-body ul li,
.card-body ol li,
.module-card ul li,
.module-card ol li,
.list-unstyled li,
.small,
small {
    color: var(--text-secondary) !important;
}

/* Security best practices text */
.text-center.p-3 li,
.text-start li,
.p-3 li {
    color: var(--text-secondary) !important;
}

/* Any text within cards that might be invisible */
.card p,
.card span,
.card div:not(.alert):not(.btn):not(.badge) {
    color: var(--text-secondary) !important;
}

/* Form elements and help text */
.form-text,
.help-text {
    color: var(--text-muted) !important;
}

/* Alerts */
.alert {
    border-radius: 10px;
    border: none;
    backdrop-filter: blur(10px);
}

.alert-sm {
    padding: 8px 12px;
    font-size: 0.875rem;
}

.alert-success {
    background: rgba(0, 255, 102, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(0, 255, 102, 0.3);
}

.alert-warning {
    background: rgba(255, 170, 0, 0.1);
    color: #ffaa00;
    border: 1px solid rgba(255, 170, 0, 0.3);
}

.alert-danger {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.alert-info {
    background: rgba(0, 170, 255, 0.1);
    color: #00aaff;
    border: 1px solid rgba(0, 170, 255, 0.3);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent-green);
    text-shadow: 0 0 20px rgba(0, 255, 102, 0.5);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-features {
    margin: 1rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.feature-item i {
    color: var(--accent-green);
    margin-right: 12px;
    width: 18px;
    font-size: 0.9rem;
}

.hero-cta {
    margin-top: 2rem;
}

.hero-visual {
    text-align: center;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.security-item {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--bg-tertiary);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.security-item:hover {
    border-color: var(--accent-green);
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.2);
    transform: translateY(-5px);
}

.security-item i {
    font-size: 2rem;
    color: var(--accent-green);
    margin-bottom: 15px;
    display: block;
}

.security-item h6 {
    color: var(--text-primary);
    margin: 0;
}

/* Welcome Card */
.welcome-card {
    background: linear-gradient(135deg, rgba(0, 255, 102, 0.1), rgba(0, 204, 82, 0.1));
    border: 1px solid rgba(0, 255, 102, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.welcome-card h2 {
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.welcome-card p {
    color: var(--text-secondary);
    margin: 0;
}

/* Activity Cards */
.activity-card .card-header {
    background: rgba(0, 255, 102, 0.1);
    border-bottom: 1px solid rgba(0, 255, 102, 0.3);
    border-radius: 15px 15px 0 0;
}

.activity-list {
    max-height: 300px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--bg-tertiary);
}

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

.activity-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--accent-green);
}

.activity-details {
    flex: 1;
}

.activity-details strong {
    color: #ffffff !important;
    display: block;
    font-weight: 600;
}

.activity-details small {
    color: #e0e0e0 !important;
}

/* Additional contrast improvements for activity sections */
.activity-item .activity-details .text-muted,
.activity-item .text-muted {
    color: #d0d0d0 !important;
}

.activity-item .badge {
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Statistics Cards */
.stat-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(42, 42, 42, 0.95));
    border: 1px solid var(--bg-tertiary);
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--accent-green);
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.2);
}

.stat-card .card-body {
    display: flex;
    align-items: center;
    padding: 1.5rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--accent-green), var(--accent-green-dim));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.stat-icon i {
    font-size: 24px;
    color: var(--bg-primary);
}

.stat-details h4 {
    color: var(--accent-green);
    margin: 0;
    font-weight: 700;
    font-size: 2rem;
}

.stat-details span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Tables */
.table-dark {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--bg-tertiary);
}

.table-dark th {
    border-color: var(--bg-tertiary);
    color: var(--accent-green);
    font-weight: 600;
}

.table-dark td {
    border-color: var(--bg-tertiary);
    color: var(--text-secondary);
}

.table-striped > tbody > tr:nth-of-type(odd) > td {
    background: rgba(42, 42, 42, 0.3);
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 5px 10px;
}

.bg-success {
    background: var(--success) !important;
    color: var(--bg-primary) !important;
}

.bg-warning {
    background: var(--warning) !important;
    color: var(--bg-primary) !important;
}

.bg-danger {
    background: var(--danger) !important;
}

.bg-info {
    background: var(--info) !important;
}

.bg-primary {
    background: var(--accent-green) !important;
    color: var(--bg-primary) !important;
}

/* Education Section */
.education-section {
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(10px);
}

.section-title {
    color: var(--accent-green);
    font-weight: 700;
    text-shadow: 0 0 15px rgba(0, 255, 102, 0.3);
}

/* Disclaimer Section */
.disclaimer-section {
    background: rgba(255, 170, 0, 0.05);
    border-top: 1px solid rgba(255, 170, 0, 0.2);
}

/* Error Pages */
.error-card, .login-card {
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid var(--accent-green);
    box-shadow: 0 0 30px rgba(0, 255, 102, 0.2);
}

.error-icon, .login-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--accent-green), var(--accent-green-dim));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.error-icon i, .login-icon i {
    font-size: 2rem;
    color: var(--bg-primary);
}

.error-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: rgba(26, 26, 26, 0.95);
    border-top: 1px solid var(--accent-green);
    padding: 2rem 0 1.5rem;
    backdrop-filter: blur(10px);
    margin-top: auto;
    position: static;
    bottom: auto;
    left: auto;
    right: auto;
    z-index: 0;
}

/* About Page Professional Styling */
.stats-row .stat-item {
    text-align: center;
    padding: 15px;
}

.stats-row .stat-number {
    color: var(--accent-green);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stats-row .stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.company-overview-card {
    background: var(--bg-secondary);
    border: 1px solid var(--accent-green);
}

.company-highlights .highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    background: rgba(0, 255, 102, 0.1);
}

.company-highlights .highlight-item i {
    font-size: 2rem;
    color: var(--accent-green);
    margin-right: 15px;
    min-width: 40px;
}

.company-highlights .highlight-item h5 {
    color: var(--text-primary);
    margin-bottom: 5px;
}

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

.mission-vision-card {
    background: var(--bg-secondary);
    border: 1px solid var(--accent-green);
    transition: all 0.3s ease;
}

.mission-vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 102, 0.2);
}

.mv-icon {
    font-size: 3rem;
    color: var(--accent-green);
    margin-bottom: 20px;
}

.mv-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.client-card {
    background: var(--bg-secondary);
    border: 1px solid var(--accent-green);
    transition: all 0.3s ease;
}

.client-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 102, 0.15);
}

.client-icon {
    font-size: 2.5rem;
    color: var(--accent-green);
    margin-bottom: 15px;
}

.client-stats {
    margin-top: 15px;
}

.client-stats .badge {
    font-size: 0.8rem;
    padding: 8px 12px;
}

.partnership-card, .contact-card {
    background: var(--bg-secondary);
    border: 1px solid var(--accent-green);
}

.partnership-list {
    list-style: none;
    padding: 0;
}

.partnership-list li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.partnership-list li i {
    margin-right: 10px;
}

.contact-info .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    background: rgba(0, 255, 102, 0.05);
}

.contact-info .contact-item i {
    color: var(--accent-green);
    margin-right: 15px;
    min-width: 20px;
}

.cta-trust-indicators {
    border-top: 1px solid rgba(0, 255, 102, 0.2);
    padding-top: 20px;
}

.cta-trust-indicators small {
    display: block;
    margin-bottom: 5px;
}

.cta-trust-indicators i {
    color: var(--accent-green);
    margin-right: 5px;
}

/* Analytics Dashboard Styles */
.analytics-card {
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid var(--accent-green);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.analytics-card:hover {
    border-color: var(--accent-green);
    box-shadow: 0 5px 15px rgba(0, 255, 102, 0.3);
    transform: translateY(-2px);
}

.analytics-card .card-header {
    background: rgba(0, 255, 102, 0.1);
    border-bottom: 1px solid var(--accent-green);
    color: var(--accent-green);
    font-weight: 600;
}

/* Service Ranking Styles */
.service-rank-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 255, 102, 0.2);
}

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

.rank-number {
    background: var(--accent-green);
    color: var(--bg-primary);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    margin-right: 10px;
}

.rank-icon {
    color: var(--accent-green);
    margin-right: 10px;
    width: 20px;
}

.rank-name {
    flex: 1;
    color: var(--text-light);
    font-weight: 500;
}

.rank-count {
    color: var(--text-muted);
    font-size: 0.9em;
}

/* Statistics Items */
.stat-item {
    text-align: center;
    padding: 10px 0;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    background: linear-gradient(45deg, var(--accent-green), #00cc66);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Chart container styling */
canvas {
    max-width: 100% !important;
    height: auto !important;
}

.footer h5, .footer h6 {
    color: var(--accent-green);
}

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-green);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 102, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card .card-body {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .error-actions {
        flex-direction: column;
    }
    
    .error-actions .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .module-header {
        flex-direction: column;
        text-align: center;
    }
    
    .module-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-green-dim);
}

/* Custom scrollbar for activity lists */
.activity-list::-webkit-scrollbar {
    width: 6px;
}

.activity-list::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 3px;
}

.activity-list::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 3px;
}

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

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Animations */
@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(0, 255, 102, 0.2); }
    50% { box-shadow: 0 0 20px rgba(0, 255, 102, 0.6); }
    100% { box-shadow: 0 0 5px rgba(0, 255, 102, 0.2); }
}

.pulse-glow {
    animation: glow 2s infinite;
}

/* Print styles */
@media print {
    #matrix-canvas,
    .navbar,
    .footer,
    .btn {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .card {
        border: 1px solid #ccc;
        box-shadow: none;
    }
}

/* Services and About Page Styles */
.page-header {
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.page-header h1 {
    color: var(--accent-green);
    text-shadow: 0 0 20px rgba(0, 255, 102, 0.5);
}

.service-category-card, .feature-highlight-card, .guarantee-card,
.mission-card, .feature-card, .value-card, .tech-stack-card,
.audience-card, .cta-card {
    background: rgba(0, 255, 102, 0.1);
    border: 1px solid var(--accent-green);
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
}

.service-category-card:hover, .feature-card:hover, .value-card:hover,
.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 102, 0.3);
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-green);
    margin-right: 1rem;
    text-shadow: 0 0 10px rgba(0, 255, 102, 0.8);
}

.service-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-left: 3px solid var(--accent-green);
}

.service-item-icon {
    font-size: 1.5rem;
    color: var(--accent-green);
    margin-right: 1rem;
    margin-top: 0.25rem;
    min-width: 2rem;
}

.service-item-content h5 {
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--text-secondary);
}

.feature-list li:before {
    content: "▶";
    color: var(--accent-green);
    position: absolute;
    left: 0;
    top: 0;
}

.feature-highlight, .tech-item {
    text-align: center;
    padding: 1rem;
}

.feature-highlight i, .tech-item i {
    font-size: 2rem;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 102, 0.8);
}

.feature-highlight h5, .tech-item h5 {
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.feature-highlight p, .tech-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.guarantee-item {
    padding: 1rem;
}

.guarantee-item i {
    font-size: 2rem;
    color: #ffc107;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.8);
}

.guarantee-item h5 {
    color: #ffc107;
    margin-bottom: 0.5rem;
}

.guarantee-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.mission-icon, .feature-icon, .value-icon, .audience-icon {
    font-size: 3rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(0, 255, 102, 0.8);
}

.mission-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.cta-buttons {
    margin-top: 1.5rem;
}

.text-gradient {
    background: linear-gradient(45deg, var(--accent-green), #00cc55);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive adjustments for services/about pages */
@media (max-width: 768px) {
    .service-item {
        flex-direction: column;
        text-align: center;
    }
    
    .service-item-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
}
