/* ========================================
   VISARJ Website - Light & Dark Theme System
   Theme Toggle with CSS Variables
   ======================================== */

/* Default Theme: Dark Blue Professional */
:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary-color: #0ea5e9;
    --accent-color: #06b6d4;
    
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-light: #ffffff;
    --text-dark: #0f172a;
    
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-dark: #020617;
    --bg-overlay: rgba(0, 0, 0, 0.8);
    --bg-card: #1e293b;
    
    --border-color: #334155;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.6);
    
    --transition: all 0.3s ease;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Light Theme */
body.light-theme {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary-color: #0ea5e9;
    --accent-color: #06b6d4;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #ffffff;
    --text-dark: #0f172a;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f1f5f9;
    --bg-dark: #e2e8f0;
    --bg-overlay: rgba(255, 255, 255, 0.95);
    --bg-card: #ffffff;
    
    --border-color: #cbd5e1;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* ========================================
   MODERN THEME TOGGLE SWITCH DESIGN
   Sleek, organized, professional appearance
   ======================================== */

.theme-toggle-item {
    list-style: none;
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

/* Toggle Container - Modern Switch Design */
.theme-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 70px;
    height: 32px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-dark));
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 3px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1), var(--shadow-md);
    transform: scale(1.05);
}

.theme-toggle:active {
    transform: scale(0.98);
}

/* Icons Container */
.theme-toggle .theme-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.theme-toggle i {
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sliding Circle Indicator */
.theme-toggle::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    left: 3px;
}

/* Sun Icon Position (Light Mode) */
.theme-toggle .sun-icon {
    left: 6px;
    color: #f59e0b;
}

/* Moon Icon Position (Dark Mode) */
.theme-toggle .moon-icon {
    right: 6px;
    color: #fbbf24;
}

/* Hide theme label on this modern design */
.theme-toggle .theme-label {
    display: none;
}

/* ========================================
   THEME-BASED ANIMATIONS & STATES
   ======================================== */

/* Light Theme State (Default) */
body.light-theme .theme-toggle {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-color: #3b82f6;
}

body.light-theme .theme-toggle::before {
    transform: translateX(38px);
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    box-shadow: 0 2px 12px rgba(30, 64, 175, 0.5);
}

body.light-theme .theme-toggle .sun-icon {
    opacity: 0.3;
    transform: scale(0.8) rotate(-180deg);
}

body.light-theme .theme-toggle .moon-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    color: #ffffff;
}

/* Dark Theme State */
body:not(.light-theme) .theme-toggle {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-color: #475569;
}

body:not(.light-theme) .theme-toggle::before {
    transform: translateX(0);
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 2px 12px rgba(251, 191, 36, 0.5);
}

body:not(.light-theme) .theme-toggle .sun-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    color: #ffffff;
}

body:not(.light-theme) .theme-toggle .moon-icon {
    opacity: 0.3;
    transform: scale(0.8) rotate(180deg);
}

/* Hover Effects by Theme */
body.light-theme .theme-toggle:hover {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2), var(--shadow-md);
}

body:not(.light-theme) .theme-toggle:hover {
    border-color: #64748b;
    box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.2), var(--shadow-md);
}

/* Smooth transition for theme changes */
body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar,
.page-header,
.hero,
.value-card,
.sector-card,
.feature-item,
.resource-card,
.solution-card,
.deployment-card,
.pod-card,
.contact-form-container,
.contact-info-container,
.content-panel,
.dcbx-pinned-container {
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Light Theme Specific Adjustments */
body.light-theme {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

body.light-theme .navbar {
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

body.light-theme .page-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: var(--text-light);
}

body.light-theme .page-header h1,
body.light-theme .page-header h2,
body.light-theme .page-header h3,
body.light-theme .page-header p,
body.light-theme .page-header span {
    color: #ffffff !important;
}

body.light-theme .hero {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
}

body.light-theme .hero h1,
body.light-theme .hero h2,
body.light-theme .hero h3,
body.light-theme .hero p,
body.light-theme .hero span,
body.light-theme .hero .hero-content * {
    color: #ffffff !important;
}

body.light-theme .hero .btn {
    color: #ffffff;
}

body.light-theme .hero .btn-outline {
    color: #ffffff;
    border-color: #ffffff;
}

body.light-theme .hero .btn-outline:hover {
    background: #ffffff;
    color: #1e40af;
}

body.light-theme .video-placeholder {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

body.light-theme .value-card,
body.light-theme .sector-card,
body.light-theme .feature-item,
body.light-theme .resource-card,
body.light-theme .solution-card,
body.light-theme .deployment-card,
body.light-theme .pod-card,
body.light-theme .stats-container,
body.light-theme .stat-card,
body.light-theme .feature-grid .feature-item,
body.light-theme .comparison-table,
body.light-theme .policy-card,
body.light-theme .case-study-card,
body.light-theme .timeline-item,
body.light-theme .leadership-card,
body.light-theme .partnership-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    color: var(--text-primary);
}

body.light-theme .value-card:hover,
body.light-theme .sector-card:hover,
body.light-theme .feature-item:hover,
body.light-theme .resource-card:hover,
body.light-theme .solution-card:hover,
body.light-theme .pod-card:hover,
body.light-theme .stat-card:hover,
body.light-theme .policy-card:hover,
body.light-theme .case-study-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

body.light-theme input,
body.light-theme select,
body.light-theme textarea {
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

body.light-theme input:focus,
body.light-theme select:focus,
body.light-theme textarea:focus {
    border-color: var(--primary-color);
    background-color: var(--bg-secondary);
}

body.light-theme .contact-form-container,
body.light-theme .contact-info-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
}

/* DCBx Animation Light Theme */
body.light-theme .dcbx-scroll-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

body.light-theme .dcbx-pinned-container {
    background: transparent;
}

body.light-theme .dcbx-title,
body.light-theme .dcbx-subtitle {
    color: var(--text-primary);
}

body.light-theme .content-panel {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
    color: var(--text-primary);
}

body.light-theme .content-panel h3,
body.light-theme .content-panel p,
body.light-theme .content-panel li {
    color: var(--text-primary);
}

body.light-theme .panel-number {
    color: var(--primary-color);
}

body.light-theme .pod-static-image img {
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

body.light-theme .component-label {
    color: var(--primary-color);
    background: rgba(30, 64, 175, 0.1);
}

body.light-theme .dcbx-progress-text {
    color: var(--text-primary);
}

/* Table adjustments for light theme */
body.light-theme table {
    background-color: var(--bg-card);
}

body.light-theme thead {
    background-color: var(--bg-secondary);
}

body.light-theme tbody tr {
    border-bottom: 1px solid var(--border-color);
}

body.light-theme tbody tr:hover {
    background-color: var(--bg-secondary);
}

/* Footer light theme */
body.light-theme .footer {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    color: var(--text-primary);
}

body.light-theme .footer h3,
body.light-theme .footer h4,
body.light-theme .footer p,
body.light-theme .footer li,
body.light-theme .footer span {
    color: var(--text-primary);
}

body.light-theme .footer-bottom {
    border-top: 1px solid var(--border-color);
}

body.light-theme .footer-bottom p {
    color: var(--text-secondary);
}

/* Button adjustments */
body.light-theme .btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    box-shadow: var(--shadow-sm);
}

body.light-theme .btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

body.light-theme .btn-secondary {
    background: var(--secondary-color);
    color: var(--text-light);
}

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

body.light-theme .btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .theme-toggle-item {
        margin-top: 1rem;
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
    
    .theme-toggle {
        width: 64px;
        height: 30px;
    }
    
    .theme-toggle::before {
        width: 22px;
        height: 22px;
        left: 3px;
    }
    
    body.light-theme .theme-toggle::before {
        transform: translateX(34px);
    }
    
    .theme-toggle i {
        font-size: 0.85rem;
    }
    
    .theme-toggle .theme-icon {
        width: 22px;
        height: 22px;
    }
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .theme-toggle {
        width: 68px;
        height: 31px;
    }
}

/* ========================================
   COMPREHENSIVE LIGHT THEME FIXES
   Ensuring all elements are visible
   ======================================== */

/* Sections and containers */
body.light-theme .value-snapshot,
body.light-theme .sectors-container,
body.light-theme .features-section,
body.light-theme .telemetry-section,
body.light-theme .trust-section,
body.light-theme .calculator-section,
body.light-theme .deployment-options,
body.light-theme .case-studies {
    background-color: var(--bg-secondary);
}

/* Headings and text */
body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme h4,
body.light-theme h5,
body.light-theme h6 {
    color: var(--text-primary);
}

body.light-theme p,
body.light-theme li,
body.light-theme span {
    color: var(--text-secondary);
}

/* Hero section - WHITE TEXT ON BLUE */
body.light-theme .hero-content h1,
body.light-theme .hero-content h2,
body.light-theme .hero-content h3,
body.light-theme .hero-content p,
body.light-theme .hero-content span,
body.light-theme .hero-content li {
    color: #ffffff !important;
}

/* Page headers - WHITE TEXT ON BLUE */
body.light-theme .page-header h1,
body.light-theme .page-header h2,
body.light-theme .page-header h3,
body.light-theme .page-header p,
body.light-theme .page-header span {
    color: #ffffff !important;
}

/* Any section with dark/blue background needs white text */
body.light-theme .bg-primary,
body.light-theme .bg-blue,
body.light-theme .bg-dark,
body.light-theme [style*="background: linear-gradient"][style*="#1e40af"],
body.light-theme [style*="background: linear-gradient"][style*="#1e3a8a"] {
    color: #ffffff !important;
}

body.light-theme .bg-primary *,
body.light-theme .bg-blue *,
body.light-theme .bg-dark * {
    color: #ffffff !important;
}

/* Icons */
body.light-theme .value-icon,
body.light-theme .feature-icon {
    color: var(--primary-color);
    background-color: rgba(30, 64, 175, 0.1);
}

/* Stats and counters */
body.light-theme .stat-number {
    color: var(--primary-color);
}

body.light-theme .stat-label {
    color: var(--text-secondary);
}

/* Stats on hero/header - WHITE TEXT */
body.light-theme .hero .stat-number,
body.light-theme .page-header .stat-number {
    color: #ffffff !important;
}

body.light-theme .hero .stat-label,
body.light-theme .page-header .stat-label {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Quick stats section / Stats container - WHITE CARDS */
/* Quick Stats Section - Light Theme */
body.light-theme .quick-stats {
    background: #f8fafc !important;
    background-image: none !important;
}

body.light-theme .quick-stats .stat-item {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

body.light-theme .quick-stats .stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

body.light-theme .quick-stats .stat-number {
    color: var(--primary-color) !important;
    font-weight: 800;
}

body.light-theme .quick-stats .stat-suffix {
    color: var(--primary-color) !important;
    font-weight: 700;
}

body.light-theme .quick-stats .stat-label {
    color: var(--text-primary) !important;
    font-weight: 600;
}

/* Story Stats (About Page) */
body.light-theme .story-stats {
    background-color: var(--bg-card) !important;
}

body.light-theme .story-stats .stat-box {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

body.light-theme .story-stats .stat-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

body.light-theme .story-stats .stat-box .stat-number {
    color: var(--primary-color) !important;
    font-weight: 800;
}

body.light-theme .story-stats .stat-box .stat-label {
    color: var(--text-primary) !important;
    font-weight: 600;
}

/* Legacy stat-card support */
body.light-theme .stats-container,
body.light-theme .stats-section {
    background-color: transparent;
}

body.light-theme .stats-container .stat-card,
body.light-theme .stats-section .stat-card {
    background-color: #ffffff !important;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

body.light-theme .stats-container .stat-card .stat-number,
body.light-theme .stats-section .stat-card .stat-number {
    color: var(--primary-color) !important;
}

body.light-theme .stats-container .stat-card .stat-label,
body.light-theme .stats-section .stat-card .stat-label {
    color: var(--text-secondary) !important;
}

body.light-theme .stats-container .stat-card:hover,
body.light-theme .stats-section .stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

/* Telemetry dashboard */
body.light-theme .telemetry-grid {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
}

body.light-theme .telemetry-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

body.light-theme .telemetry-value {
    color: var(--primary-color);
}

/* Trust signals */
body.light-theme .trust-logo {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    opacity: 0.8;
}

body.light-theme .trust-logo:hover {
    opacity: 1;
    border-color: var(--primary-color);
}

/* Progress bars */
body.light-theme .progress-bar {
    background-color: var(--bg-dark);
}

body.light-theme .progress-fill {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* Tabs */
body.light-theme .tab-buttons button {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

body.light-theme .tab-buttons button.active {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

body.light-theme .tab-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
}

/* Calculator */
body.light-theme .calculator-container,
body.light-theme .results-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

body.light-theme .metric-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

/* Charts */
body.light-theme .chart-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
}

/* Comparison tables */
body.light-theme .comparison-table th {
    background-color: var(--primary-color);
    color: var(--text-light);
}

body.light-theme .comparison-table td {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

body.light-theme .comparison-table tr:nth-child(even) td {
    background-color: var(--bg-secondary);
}

/* Pod specs */
body.light-theme .pod-specs {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

body.light-theme .spec-item {
    border-bottom: 1px solid var(--border-color);
}

body.light-theme .spec-label {
    color: var(--text-secondary);
}

body.light-theme .spec-value {
    color: var(--text-primary);
    font-weight: 600;
}

/* Labels and badges */
body.light-theme .badge,
body.light-theme .label,
body.light-theme .tag {
    background-color: var(--primary-light);
    color: var(--text-light);
    border: 1px solid var(--primary-color);
}

/* Alerts and notifications */
body.light-theme .alert {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

/* Lists */
body.light-theme ul li::marker {
    color: var(--primary-color);
}

body.light-theme .feature-list li i {
    color: var(--secondary-color);
}

/* Links */
body.light-theme a {
    color: var(--primary-color);
}

body.light-theme a:hover {
    color: var(--primary-dark);
}

/* Navbar links */
body.light-theme .navbar a {
    color: var(--text-primary);
}

body.light-theme .navbar a:hover {
    color: var(--primary-color);
}

/* Footer links */
body.light-theme .footer a {
    color: var(--text-secondary);
}

body.light-theme .footer a:hover {
    color: var(--primary-color);
}

/* Scroll indicator */
body.light-theme .scroll-indicator {
    color: var(--text-light);
}

/* Video placeholder */
body.light-theme .video-placeholder::before {
    background: rgba(255, 255, 255, 0.2);
}

/* Sector carousel */
body.light-theme .sectors-carousel {
    background-color: transparent;
}

/* Section titles */
body.light-theme .section-title {
    color: var(--text-primary);
}

body.light-theme .section-subtitle {
    color: var(--text-secondary);
}

/* Deployment cards */
body.light-theme .deployment-card h3 {
    color: var(--primary-color);
}

body.light-theme .deployment-card .highlight {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Resource items */
body.light-theme .resource-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
}

body.light-theme .resource-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

/* Contact info */
body.light-theme .contact-info-item i {
    color: var(--primary-color);
}

/* Form labels */
body.light-theme label {
    color: var(--text-primary);
    font-weight: 500;
}

/* Highlight text */
body.light-theme .highlight,
body.light-theme .emphasis {
    color: var(--primary-color);
    font-weight: 600;
}

/* Success/error messages */
body.light-theme .success-message {
    background-color: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
}

body.light-theme .error-message {
    background-color: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* Logo visibility */
/* Logo visibility and sizing enhancements */
body.light-theme .logo-image {
    filter: brightness(1.05) contrast(1.15) saturate(1.1);
    height: 60px;
}

body.light-theme .logo a:hover .logo-image {
    filter: brightness(1.1) contrast(1.2) saturate(1.15);
    transform: scale(1.08);
}

body.dark-theme .logo-image {
    filter: brightness(1.2) contrast(1.1) saturate(1.05);
    height: 60px;
}

body.dark-theme .logo a:hover .logo-image {
    filter: brightness(1.3) contrast(1.15) saturate(1.1);
    transform: scale(1.08);
}

/* Mobile logo sizing */
@media (max-width: 768px) {
    body.light-theme .logo-image,
    body.dark-theme .logo-image {
        height: 48px;
    }
}

/* Footer logo visibility */
body.light-theme .footer .logo-image {
    filter: brightness(1.05) contrast(1.15);
    height: 50px;
}

body.dark-theme .footer .logo-image {
    filter: brightness(1.2) contrast(1.1);
    height: 50px;
}

/* Ensure all text is readable */
body.light-theme * {
    color: inherit;
}

/* Override any remaining dark text issues */
body.light-theme .text-light {
    color: var(--text-primary) !important;
}

/* ========================================
   CRITICAL: Dark Background Text Fixes
   White text on any dark/blue backgrounds
   ======================================== */

/* Animated pods and hero elements */
body.light-theme .animated-pod,
body.light-theme .hero-title,
body.light-theme .hero-subtitle {
    color: #ffffff !important;
}

body.light-theme .animated-pod .stat-number,
body.light-theme .animated-pod .stat-label {
    color: #ffffff !important;
}

/* Animated pods container */
body.light-theme .animated-pods-container {
    background-color: transparent;
}

body.light-theme .pod-item {
    background-color: #ffffff;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

body.light-theme .pod-item .pod-label,
body.light-theme .pod-item .pod-value {
    color: var(--text-primary) !important;
}

/* Video overlay text */
body.light-theme .video-background h1,
body.light-theme .video-background h2,
body.light-theme .video-background h3,
body.light-theme .video-background p {
    color: #ffffff !important;
}

/* Any gradient background sections */
body.light-theme section[style*="linear-gradient"] h1,
body.light-theme section[style*="linear-gradient"] h2,
body.light-theme section[style*="linear-gradient"] h3,
body.light-theme section[style*="linear-gradient"] p {
    color: #ffffff !important;
}

/* Scroll indicator on hero */
body.light-theme .scroll-indicator {
    color: #ffffff !important;
}

body.light-theme .scroll-indicator i {
    color: #ffffff !important;
}

/* CTA sections with blue backgrounds */
/* CTA Section - removed conflicting styles, handled in alternating-sections.css */

/* Testimonials or quotes on dark backgrounds */
body.light-theme .testimonial,
body.light-theme .quote {
    color: var(--text-primary);
}

body.light-theme .testimonial.dark-bg,
body.light-theme .quote.dark-bg {
    color: #ffffff !important;
}

/* Ensure buttons on blue backgrounds are visible */
body.light-theme .hero .btn,
body.light-theme .page-header .btn {
    border: 2px solid #ffffff;
    font-weight: 600;
}

body.light-theme .hero .btn-primary,
body.light-theme .page-header .btn-primary {
    background: #ffffff !important;
    color: #1e40af !important;
    border-color: #ffffff !important;
}

body.light-theme .hero .btn-primary:hover,
body.light-theme .page-header .btn-primary:hover {
    background: #f1f5f9 !important;
    color: #1e40af !important;
}

body.light-theme .hero .btn-secondary,
body.light-theme .page-header .btn-secondary {
    background: #0ea5e9 !important;
    color: #ffffff !important;
    border-color: #0ea5e9 !important;
}

body.light-theme .hero .btn-secondary:hover,
body.light-theme .page-header .btn-secondary:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
}

body.light-theme .hero .btn-outline,
body.light-theme .page-header .btn-outline {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
}

body.light-theme .hero .btn-outline:hover,
body.light-theme .page-header .btn-outline:hover {
    background: #ffffff !important;
    color: #1e40af !important;
}

/* Stats on hero/header */
body.light-theme .hero .stat-number,
body.light-theme .page-header .stat-number {
    color: #ffffff !important;
}

body.light-theme .hero .stat-label,
body.light-theme .page-header .stat-label {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Breadcrumbs on page header */
body.light-theme .page-header .breadcrumb,
body.light-theme .page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Value proposition on hero */
body.light-theme .hero .value-prop,
body.light-theme .hero .subtitle,
body.light-theme .hero .description {
    color: rgba(255, 255, 255, 0.95) !important;
}
