/* ============================================
   ACCESSIBILITY - SKIP TO CONTENT LINK
   ============================================ */

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #3b82f6;
    color: white !important;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100000;
    border-radius: 0 0 4px 0;
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

        /* ============================================
           LEFT MENU IMPROVEMENTS
           ============================================ */
        
        /* Original side header width */
        body.side-header #header {
            width: 260px !important;
        }
        
        body.side-header #wrapper {
            margin-left: 260px !important;
        }
        
        /* Original comfortable menu styling */
        .menu-link {
            padding: 0.65rem 1.1rem !important;
            font-size: 0.8rem !important;
            transition: all 0.3s ease;
            display: flex !important;
            align-items: center;
            color: #1f2937 !important;
        }
        
        /* Dark mode menu text color */
        body.dark .menu-link,
        .dark-mode .menu-link,
        [data-bs-theme="dark"] .menu-link {
            color: #e5e7eb !important;
        }
        
        .menu-link div {
            display: flex;
            align-items: center;
            width: 100%;
        }
        
        .menu-link span {
            flex: 1;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .menu-link i {
            font-size: 0.95rem !important;
            margin-right: 0.7rem !important;
            width: 20px;
            text-align: center;
            flex-shrink: 0;
        }
        
        .menu-item {
            margin-bottom: 0 !important;
            border-bottom: 1px solid rgba(0,0,0,0.05);
        }
        
        .menu-item:last-child {
            border-bottom: none;
        }
        
        /* Original header logo section */
        #header-wrap .header-row > div:first-child {
            padding: 1.5rem 1rem !important;
            padding-top: 2rem !important;
        }
        
        #header-wrap img.rounded-circle {
            width: 100px !important;
            height: 100px !important;
        }
        
        #header-wrap h3 {
            font-size: 1.35rem !important;
            margin-top: 0.75rem !important;
            margin-bottom: 0.5rem !important;
        }
        
        /* Social icons in header - single line, colorful */
        #header-wrap .social-icons-inline {
            display: flex !important;
            justify-content: center;
            gap: 8px;
            margin-top: 0.5rem;
        }
        
        #header-wrap .social-icons-inline a {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.3s ease;
            text-decoration: none;
            font-size: 1rem;
        }
        
        #header-wrap .social-icons-inline a:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        }
        
        /* Colorful social icon styles */
        .social-linkedin {
            background: linear-gradient(135deg, #0077B5, #005885);
            color: white !important;
        }
        
        .social-researchgate {
            background: linear-gradient(135deg, #00D0B5, #00A896);
            color: white !important;
        }
        
        .social-orcid {
            background: linear-gradient(135deg, #A6CE39, #8BB92D);
            color: white !important;
        }
        
        .social-scholar {
            background: linear-gradient(135deg, #4285F4, #1967D2);
            color: white !important;
        }
        
        /* Make menu container more compact */
        .menu-container {
            padding: 0 !important;
        }
        
        /* Hide bottom social icons section */
        .header-misc {
            display: none !important;
        }
        
        /* Align menu to top left under picture */
        body.side-header #header-wrap {
            display: flex !important;
            flex-direction: column !important;
            justify-content: flex-start !important;
            align-items: stretch !important;
            height: 100vh !important;
            padding-top: 0 !important;
        }
        
        body.side-header #header-wrap .container {
            display: flex !important;
            flex-direction: column !important;
            height: 100% !important;
        }
        
        body.side-header #header-wrap .header-row {
            display: flex !important;
            flex-direction: column !important;
            flex: 0 0 auto !important;
        }
        
        body.side-header .primary-menu {
            flex: 1 1 auto !important;
            overflow-y: auto !important;
        }
        
        /* Simplified menu hover effects */
        .menu-link:hover {
            background-color: rgba(59, 130, 246, 0.08) !important;
        }
        
        .menu-link:hover i {
            color: #2563eb;
        }
        
        .menu-link.active {
            background-color: rgba(59, 130, 246, 0.12) !important;
            font-weight: 600;
        }
        
        .menu-link.active i {
            color: #2563eb !important;
        }
        
        /* Better visibility for active menu item */
        .menu-link.active,
        .menu-link:hover {
            background-color: rgba(59, 130, 246, 0.08) !important;
            color: #2563eb !important;
        }
        
        .menu-link.active i,
        .menu-link:hover i {
            color: #2563eb !important;
        }
        
        .menu-link.active {
            font-weight: 600;
        }
        
        /* Mobile responsive adjustments */
        @media (max-width: 991.98px) {
            body.side-header #header {
                width: 100% !important;
            }
            
            body.side-header #wrapper {
                margin-left: 0 !important;
            }
            
            /* Make CTA bar full width on mobile/tablet */
            .cta-sticky-bar {
                left: 0 !important;
            }
        }
        
        @media (max-width: 575.98px) {
            /* Keep mobile specific styles if any */
        }

        /* ============================================
           STICKY CTA BAR STYLES
           ============================================ */
        
        .cta-sticky-bar {
            position: fixed;
            bottom: 0;
            left: 260px; /* Start after sidebar */
            right: 0;
            background: linear-gradient(135deg, rgba(30, 58, 138, 0.92) 0%, rgba(30, 64, 175, 0.92) 100%);
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
            z-index: 9999;
            padding: 12px 0;
            backdrop-filter: blur(10px);
            border-top: 2px solid rgba(255, 255, 255, 0.1);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .cta-sticky-bar.minimized {
            padding: 0;
            bottom: 20px;
            left: auto;
            right: 20px;
            width: auto;
            background: transparent;
            box-shadow: none;
            border: none;
        }
        
        .cta-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 12px;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
            flex-wrap: wrap;
            transition: opacity 0.3s ease;
        }
        
        .cta-sticky-bar.minimized .cta-container {
            display: none;
        }
        
        /* Minimized floating button */
        .cta-minimize-btn {
            display: none;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.95) 0%, rgba(37, 99, 235, 0.95) 100%);
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            cursor: pointer;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: white;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(10px);
            animation: pulse 2s infinite;
        }
        
        .cta-sticky-bar.minimized .cta-minimize-btn {
            display: flex;
        }
        
        .cta-minimize-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.98) 0%, rgba(29, 78, 216, 0.98) 100%);
        }
        
        .cta-minimize-btn:active {
            transform: scale(0.95);
        }
        
        @keyframes pulse {
            0%, 100% {
                box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            }
            50% {
                box-shadow: 0 4px 25px rgba(59, 130, 246, 0.6);
            }
        }
        
        .cta-button {
            flex: 1;
            min-width: 200px;
            max-width: 300px;
            padding: 14px 24px;
            background: rgba(255, 255, 255, 0.95);
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 8px;
            text-decoration: none;
            text-align: center;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(8px);
        }
        
        .cta-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            transition: left 0.5s;
        }
        
        .cta-button:hover::before {
            left: 100%;
        }
        
        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
            border-color: rgba(255, 255, 255, 0.5);
            background: rgba(255, 255, 255, 1);
        }
        
        .cta-button:active {
            transform: translateY(-1px);
        }
        
        /* Individual button colors and styling */
        .cta-investments {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.92) 0%, rgba(5, 150, 105, 0.92) 100%);
            color: white;
        }
        
        .cta-investments:hover {
            background: linear-gradient(135deg, rgba(5, 150, 105, 0.98) 0%, rgba(4, 120, 87, 0.98) 100%);
            border-color: rgba(52, 211, 153, 0.8);
        }
        
        .cta-shop {
            background: linear-gradient(135deg, rgba(245, 158, 11, 0.92) 0%, rgba(217, 119, 6, 0.92) 100%);
            color: white;
        }
        
        .cta-shop:hover {
            background: linear-gradient(135deg, rgba(217, 119, 6, 0.98) 0%, rgba(180, 83, 9, 0.98) 100%);
            border-color: rgba(251, 191, 36, 0.8);
        }
        
        .cta-institute {
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.92) 0%, rgba(124, 58, 237, 0.92) 100%);
            color: white;
        }
        
        .cta-institute:hover {
            background: linear-gradient(135deg, rgba(124, 58, 237, 0.98) 0%, rgba(109, 40, 217, 0.98) 100%);
            border-color: rgba(167, 139, 250, 0.8);
        }
        
        .cta-ai {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.92) 0%, rgba(37, 99, 235, 0.92) 100%);
            color: white;
        }
        
        .cta-ai:hover {
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.98) 0%, rgba(29, 78, 216, 0.98) 100%);
            border-color: rgba(96, 165, 250, 0.8);
        }
        
        .cta-icon {
            font-size: 1.25rem;
            font-weight: bold;
        }
        
        .cta-content {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            text-align: left;
        }
        
        .cta-title {
            font-weight: 700;
            font-size: 0.95rem;
            letter-spacing: 0.3px;
            margin-bottom: 2px;
        }
        
        .cta-subtitle {
            font-size: 0.75rem;
            opacity: 0.9;
            font-weight: 400;
        }
        
        /* Close/Minimize button */
        .cta-close {
            position: absolute;
            top: -8px;
            right: 10px;
            background: rgba(255, 255, 255, 0.25);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: white;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 20px;
            line-height: 1;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(8px);
            font-weight: 300;
        }
        
        .cta-close:hover {
            background: rgba(255, 255, 255, 0.35);
            transform: scale(1.1);
            border-color: rgba(255, 255, 255, 0.5);
        }
        
        .cta-close:active {
            transform: scale(0.95);
        }
        
        .cta-sticky-bar.minimized .cta-close {
            display: none;
        }
        
        /* Responsive Design */
        @media (max-width: 1200px) {
            .cta-container {
                gap: 10px;
            }
            
            .cta-button {
                min-width: 180px;
                padding: 12px 18px;
            }
            
            .cta-title {
                font-size: 0.9rem;
            }
            
            .cta-subtitle {
                font-size: 0.7rem;
            }
        }
        
        @media (max-width: 992px) {
            .cta-container {
                gap: 8px;
            }
            
            .cta-button {
                min-width: 150px;
                max-width: 250px;
                padding: 10px 14px;
            }
            
            .cta-icon {
                font-size: 1.1rem;
            }
        }
        
        @media (max-width: 768px) {
            .cta-sticky-bar {
                padding: 10px 0;
            }
            
            .cta-container {
                gap: 8px;
                padding: 0 12px;
            }
            
            .cta-button {
                min-width: calc(50% - 8px);
                max-width: calc(50% - 8px);
                padding: 12px 12px;
            }
            
            .cta-content {
                align-items: center;
                text-align: center;
            }
            
            .cta-title {
                font-size: 0.85rem;
            }
            
            .cta-subtitle {
                font-size: 0.65rem;
            }
        }
        
        @media (max-width: 480px) {
            .cta-button {
                min-width: 100%;
                max-width: 100%;
                padding: 12px 16px;
            }
            
            .cta-container {
                gap: 6px;
            }
            
            .cta-subtitle {
                display: none;
            }
            
            .cta-minimize-btn {
                width: 56px;
                height: 56px;
                font-size: 1.4rem;
            }
            
            .cta-sticky-bar.minimized {
                right: 16px;
                bottom: 16px;
            }
        }
        
        /* Animate on load */
        @keyframes slideUp {
            from {
                transform: translateY(100%);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }
        
        .cta-sticky-bar {
            animation: slideUp 0.5s ease-out;
        }

        /* ============================================
           CONSOLIDATED CARD STYLES WITH RESPONSIVE ENHANCEMENTS
           ============================================ */
        
        /* Base Card Styles */
        .innovation-card {
            background-color: #ffffff;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            margin: 20px 0;
            position: relative;
            padding: 24px;
            min-height: auto;
            transition: box-shadow 0.3s ease;
        }

        .innovation-card:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .innovation-card .product-title {
            font-size: clamp(1rem, 3vw, 1.25rem);
            font-weight: 500;
            color: #1a1a1a;
            margin-bottom: 12px;
            line-height: 1.4;
        }

        .innovation-card .trl-level,
        .innovation-card .tech-category {
            font-size: 0.875rem;
            color: #666666;
            margin-bottom: 12px;
            opacity: 0.6;
        }

        .innovation-card .badge {
            display: inline-block;
            background-color: #22c55e;
            color: white;
            padding: 4px 12px;
            border-radius: 4px;
            font-size: 0.875rem;
            margin-right: 12px;
            font-weight: normal;
        }

        .innovation-card .specifications,
        .innovation-card .applications {
            display: inline-block;
            font-size: 0.875rem;
            color: #333333;
        }

        .innovation-card .action-buttons {
            position: absolute;
            bottom: 24px;
            right: 24px;
            display: flex;
            gap: 12px;
        }

        .innovation-card .action-buttons a {
            color: #4a4a4a;
            text-decoration: none;
            font-size: 1.25rem;
            transition: color 0.2s;
            padding: 4px;
        }

        .innovation-card .action-buttons a:hover {
            color: #2563eb;
        }

        .innovation-card .product-description {
            margin-top: 24px;
            padding-top: 24px;
            border-top: 1px solid #e5e7eb;
            padding-bottom: 50px;
        }

        .innovation-card .description-title {
            font-size: 1.125rem;
            font-weight: 500;
            margin-bottom: 12px;
            color: #1a1a1a;
        }

        .innovation-card .description-text {
            color: #4a4a4a;
            line-height: 1.6;
        }

        /* ============================================
           RESPONSIVE BREAKPOINTS
           ============================================ */

        /* Mobile Small: 320px - 575px */
        @media (max-width: 575.98px) {
            .innovation-card {
                padding: 16px;
                margin: 16px 0;
            }
            
            .innovation-card .action-buttons {
                position: static;
                margin-top: 16px;
                flex-direction: row;
                justify-content: flex-start;
                gap: 16px;
                padding-top: 16px;
                border-top: 1px solid #e5e7eb;
            }
            
            .innovation-card .action-buttons a {
                font-size: 1.5rem;
                padding: 8px;
                min-width: 44px;
                min-height: 44px;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            
            .innovation-card .product-description {
                padding-bottom: 16px;
                margin-top: 16px;
                padding-top: 16px;
            }
            
            .innovation-card .badge {
                font-size: 0.75rem;
                padding: 3px 8px;
                margin-bottom: 8px;
                display: inline-block;
            }
            
            /* Typography adjustments */
            .display-3 {
                font-size: 1.75rem !important;
                line-height: 1.3;
            }
            
            h2.display-3 {
                margin-bottom: 2rem !important;
            }
            
            /* Touch targets for header */
            .header-misc .social-icon {
                width: 48px !important;
                height: 48px !important;
                margin: 0 4px !important;
                line-height: 48px !important;
            }
            
            /* Form improvements */
            .form-control {
                font-size: 16px;
                padding: 12px;
            }
            
            button[type="submit"],
            .button {
                width: 100%;
                padding: 14px;
                font-size: 1rem;
            }
            
            /* Container adjustments */
            .container {
                padding-left: 16px;
                padding-right: 16px;
            }
            
            /* Section padding */
            .page-section {
                padding-top: 2rem !important;
                padding-bottom: 2rem !important;
            }
        }

        /* Mobile Medium: 576px - 767px */
        @media (min-width: 576px) and (max-width: 767.98px) {
            .innovation-card {
                padding: 20px;
            }
            
            .innovation-card .action-buttons {
                bottom: 20px;
                right: 20px;
            }
            
            .display-3 {
                font-size: 2rem !important;
            }
            
            .header-misc .social-icon {
                width: 44px !important;
                height: 44px !important;
            }
        }

        /* Tablet: 768px - 991px */
        @media (min-width: 768px) and (max-width: 991.98px) {
            .innovation-card {
                padding: 22px;
            }
            
            .container {
                max-width: 720px;
            }
            
            .display-3 {
                font-size: 2.5rem !important;
            }
            
            .innovation-card .product-description {
                padding-bottom: 40px;
            }
        }

        /* Desktop: 992px - 1399px */
        @media (min-width: 992px) and (max-width: 1399.98px) {
            .container.mw-md {
                max-width: 960px;
            }
        }

        /* Large Desktop: 1400px - 1919px */
        @media (min-width: 1400px) and (max-width: 1919.98px) {
            .container.mw-md {
                max-width: 1140px;
            }
        }

        /* Full HD: 1920px - 2559px */
        @media (min-width: 1920px) and (max-width: 2559.98px) {
            .container.mw-md {
                max-width: 1320px;
            }
            
            .innovation-card {
                padding: 28px;
            }
        }

        /* Ultra HD / 4K: 2560px and above */
        @media (min-width: 2560px) {
            .container.mw-md {
                max-width: 1600px;
            }
            
            .innovation-card {
                max-width: 1800px;
                margin-left: auto;
                margin-right: auto;
                padding: 32px;
            }
            
            body {
                font-size: 1.125rem;
            }
            
            .innovation-card .product-title {
                font-size: 1.5rem;
            }
            
            .display-3 {
                font-size: 4rem !important;
            }
            
            .innovation-card .action-buttons a {
                font-size: 1.5rem;
            }
            
            .innovation-card .description-text,
            p {
                max-width: 80ch;
                line-height: 1.7;
            }
            
            .header-misc .social-icon {
                width: 52px !important;
                height: 52px !important;
            }
        }

        /* Landscape orientation adjustments for mobile/tablet */
        @media (max-width: 991.98px) and (orientation: landscape) {
            .header-row {
                padding-top: 12px !important;
                padding-bottom: 12px !important;
            }
            
            .innovation-card {
                padding: 16px;
            }
            
            .page-section {
                padding-top: 2rem !important;
                padding-bottom: 2rem !important;
            }
        }

        /* High DPI displays */
        @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
            .innovation-card {
                box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
            }
            
            .innovation-card:hover {
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
            }
        }

        /* Print styles */
        @media print {
            .innovation-card {
                page-break-inside: avoid;
                box-shadow: none;
                border: 1px solid #ddd;
            }
            
            .action-buttons,
            .header-misc,
            .primary-menu-trigger,
            .body-scheme-toggle {
                display: none !important;
            }
        }

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

        /* Dark mode adjustments */
        @media (prefers-color-scheme: dark) {
            .innovation-card {
                background-color: #1a1a1a;
                color: #e5e7eb;
            }
            
            .innovation-card .product-title,
            .innovation-card .description-title {
                color: #ffffff;
            }
            
            .innovation-card .description-text {
                color: #d1d5db;
            }
        }

        /* Enhanced Dark Mode Support for Theme Toggle */
        body.dark .innovation-card,
        .dark-mode .innovation-card,
        [data-bs-theme="dark"] .innovation-card {
            background-color: #1f2937;
            color: #e5e7eb;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        body.dark .innovation-card:hover,
        .dark-mode .innovation-card:hover,
        [data-bs-theme="dark"] .innovation-card:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
        }

        body.dark .innovation-card .product-title,
        body.dark .innovation-card .description-title,
        body.dark .innovation-card h3,
        body.dark .innovation-card h4,
        .dark-mode .innovation-card .product-title,
        .dark-mode .innovation-card .description-title,
        [data-bs-theme="dark"] .innovation-card .product-title,
        [data-bs-theme="dark"] .innovation-card .description-title {
            color: #ffffff;
        }

        body.dark .innovation-card .description-text,
        body.dark .innovation-card .trl-level,
        body.dark .innovation-card p,
        body.dark .innovation-card li,
        .dark-mode .innovation-card .description-text,
        .dark-mode .innovation-card .trl-level,
        [data-bs-theme="dark"] .innovation-card .description-text,
        [data-bs-theme="dark"] .innovation-card .trl-level {
            color: #d1d5db;
        }

        body.dark .innovation-card .badge,
        .dark-mode .innovation-card .badge,
        [data-bs-theme="dark"] .innovation-card .badge {
            background-color: #374151 !important;
            color: #f3f4f6 !important;
            border: 1px solid #4b5563;
        }

        body.dark .bg-light,
        .dark-mode .bg-light,
        [data-bs-theme="dark"] .bg-light {
            background-color: #374151 !important;
        }

        body.dark .innovation-card .bg-light .description-text,
        .dark-mode .innovation-card .bg-light .description-text,
        [data-bs-theme="dark"] .innovation-card .bg-light .description-text {
            color: #e5e7eb;
        }

        body.dark blockquote,
        .dark-mode blockquote,
        [data-bs-theme="dark"] blockquote {
            color: #e5e7eb;
        }

        body.dark .innovation-card .action-buttons a,
        .dark-mode .innovation-card .action-buttons a,
        [data-bs-theme="dark"] .innovation-card .action-buttons a {
            color: #9ca3af;
        }

        body.dark .innovation-card .action-buttons a:hover,
        .dark-mode .innovation-card .action-buttons a:hover,
        [data-bs-theme="dark"] .innovation-card .action-buttons a:hover {
            color: #60a5fa;
        }

        /* Preserve gradient backgrounds in dark mode */
        body.dark .innovation-card[style*="gradient"],
        .dark-mode .innovation-card[style*="gradient"],
        [data-bs-theme="dark"] .innovation-card[style*="gradient"] {
            color: white;
        }

        body.dark .innovation-card[style*="gradient"] .description-text,
        body.dark .innovation-card[style*="gradient"] .product-title,
        .dark-mode .innovation-card[style*="gradient"] .description-text,
        .dark-mode .innovation-card[style*="gradient"] .product-title,
        [data-bs-theme="dark"] .innovation-card[style*="gradient"] .description-text,
        [data-bs-theme="dark"] .innovation-card[style*="gradient"] .product-title {
            color: rgba(255, 255, 255, 0.95);
        }

        /* ============================================
           LANGUAGE SELECTOR STYLES
           ============================================ */
        
        /* Language Selection Modal */
        .language-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 99999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .language-modal.active {
            opacity: 1;
            visibility: visible;
        }
        
        .language-modal-content {
            background: white;
            border-radius: 20px;
            padding: 40px;
            max-width: 700px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            transform: scale(0.9);
            transition: transform 0.3s ease;
        }
        
        .language-modal.active .language-modal-content {
            transform: scale(1);
        }
        
        .language-modal-content h2 {
            text-align: center;
            margin-bottom: 10px;
            color: #1f2937;
            font-size: 2rem;
        }
        
        .language-modal-content p {
            text-align: center;
            color: #6b7280;
            margin-bottom: 30px;
        }
        
        .language-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .language-option {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 20px 10px;
            border: 2px solid #e5e7eb;
            border-radius: 12px;
            text-decoration: none;
            color: #1f2937;
            transition: all 0.3s ease;
            cursor: pointer;
            background: white;
        }
        
        .language-option:hover {
            border-color: #3b82f6;
            background: #eff6ff;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
        }
        
        .language-option .flag {
            font-size: 3rem;
            margin-bottom: 8px;
        }
        
        .language-option .lang-name {
            font-weight: 600;
            font-size: 0.9rem;
        }
        
        /* Fixed Language Bar at Top */
        .language-bar {
            position: fixed;
            top: 0;
            left: 260px; /* Start after the left sidebar */
            right: 0;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            z-index: 10000; /* Higher than language-top-bar */
            padding: 8px 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 5px;
            flex-wrap: wrap;
        }
        
        .language-bar a {
            display: inline-flex;
            align-items: center;
            padding: 6px 12px;
            text-decoration: none;
            color: #1f2937;
            border-radius: 8px;
            transition: all 0.3s ease;
            font-size: 1.2rem;
            background: transparent;
        }
        
        .language-bar a:hover {
            background: rgba(59, 130, 246, 0.1);
            transform: scale(1.1);
        }
        
        .language-bar a.active {
            background: rgba(59, 130, 246, 0.2);
            border: 2px solid #3b82f6;
        }
        
        .language-bar a .flag-icon {
            font-size: 1.5rem;
        }
        
        /* Adjust body padding to account for fixed language bar */
        body {
            padding-top: 50px !important;
        }
        
        /* Dark mode support for language bar */
        body.dark .language-bar,
        .dark-mode .language-bar,
        [data-bs-theme="dark"] .language-bar {
            background: rgba(31, 41, 55, 0.95);
        }
        
        body.dark .language-bar a,
        .dark-mode .language-bar a,
        [data-bs-theme="dark"] .language-bar a {
            color: #e5e7eb;
        }
        
        body.dark .language-modal-content,
        .dark-mode .language-modal-content,
        [data-bs-theme="dark"] .language-modal-content {
            background: #1f2937;
            color: #e5e7eb;
        }
        
        body.dark .language-modal-content h2,
        .dark-mode .language-modal-content h2,
        [data-bs-theme="dark"] .language-modal-content h2 {
            color: #e5e7eb;
        }
        
        body.dark .language-option,
        .dark-mode .language-option,
        [data-bs-theme="dark"] .language-option {
            background: #374151;
            border-color: #4b5563;
            color: #e5e7eb;
        }
        
        body.dark .language-option:hover,
        .dark-mode .language-option:hover,
        [data-bs-theme="dark"] .language-option:hover {
            background: #4b5563;
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .language-modal-content {
                padding: 25px;
            }
            
            .language-grid {
                grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
                gap: 10px;
            }
            
            .language-option {
                padding: 15px 8px;
            }
            
            .language-option .flag {
                font-size: 2rem;
            }
            
            .language-bar {
                left: 0; /* Full width on mobile since sidebar is hidden */
                padding: 5px 10px;
                gap: 3px;
            }
            
            .language-bar a {
                padding: 4px 8px;
            }
            
            .language-bar a .flag-icon {
                font-size: 1.2rem;
            }
        }
        /* ============================================
           LANGUAGE SELECTOR STYLES
           ============================================ */
        
        /* Language Modal Popup */
        .language-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.75);
            backdrop-filter: blur(8px);
            z-index: 999999;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .language-modal.active {
            opacity: 1;
            visibility: visible;
        }
        
        .language-modal-content {
            background: white;
            border-radius: 20px;
            padding: 40px;
            max-width: 900px;
            width: 90%;
            max-height: 85vh;
            overflow-y: auto;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            transform: scale(0.9);
            transition: transform 0.3s ease;
        }
        
        .language-modal.active .language-modal-content {
            transform: scale(1);
        }
        
        .language-modal-header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .language-modal-header h2 {
            font-size: 2rem;
            margin-bottom: 10px;
            color: #1f2937;
        }
        
        .language-modal-header p {
            color: #6b7280;
            font-size: 1rem;
        }
        
        .language-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 15px;
            margin-top: 20px;
        }
        
        .language-option {
            display: flex;
            align-items: center;
            padding: 15px 20px;
            border: 2px solid #e5e7eb;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            color: #1f2937;
            background: white;
        }
        
        .language-option:hover {
            border-color: #3b82f6;
            background: #eff6ff;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
        }
        
        .language-flag {
            font-size: 2rem;
            margin-right: 12px;
        }
        
        .language-name {
            font-size: 1rem;
            font-weight: 600;
            color: #1f2937;
        }
        
        /* Fixed Top Language Bar */
        .language-top-bar {
            position: fixed;
            top: 0;
            left: 260px; /* Starts after the left menu */
            right: 0;
            height: 50px;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
            z-index: 9998; /* Lower than language-bar (10000) to prevent overlap */
            display: flex;
            align-items: center;
            justify-content: center; /* Center content to avoid overlap with right menu */
            padding: 0 30px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }
        
        body.dark .language-top-bar,
        .dark-mode .language-top-bar,
        [data-bs-theme="dark"] .language-top-bar {
            background: rgba(31, 41, 55, 0.95);
            border-bottom-color: rgba(255, 255, 255, 0.1);
        }
        
        .language-top-bar-links {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .language-top-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            text-decoration: none;
            border-radius: 8px;
            font-size: 1.5rem;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.5);
            border: 1px solid rgba(0, 0, 0, 0.1);
        }
        
        .language-top-link:hover {
            transform: translateY(-3px) scale(1.1);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            background: white;
        }
        
        .language-top-link.active {
            background: #3b82f6;
            border-color: #3b82f6;
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
        }
        
        .language-selector-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background: rgba(59, 130, 246, 0.1);
            border: 1px solid rgba(59, 130, 246, 0.3);
            border-radius: 8px;
            color: #3b82f6;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-left: 15px;
        }
        
        .language-selector-btn:hover {
            background: rgba(59, 130, 246, 0.2);
            border-color: #3b82f6;
        }
        
        /* Adjust wrapper to account for top language bar */
        body.side-header #wrapper {
            margin-top: 50px;
        }
        
        /* Mobile Responsive */
        @media (max-width: 991px) {
            .language-top-bar {
                left: 0;
                padding: 0 15px;
            }
            
            body.side-header #wrapper {
                margin-left: 0 !important;
            }
            
            .language-grid {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
                gap: 10px;
            }
            
            .language-option {
                padding: 12px 15px;
            }
            
            .language-top-bar-links {
                gap: 5px;
            }
            
            .language-top-link {
                width: 32px;
                height: 32px;
                font-size: 1.2rem;
            }
            
            .language-selector-btn {
                padding: 6px 12px;
                font-size: 0.8rem;
            }
        }
        
        @media (max-width: 576px) {
            .language-modal-content {
                padding: 25px;
                width: 95%;
            }
            
            .language-modal-header h2 {
                font-size: 1.5rem;
            }
            
            .language-grid {
                grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            }
            
            .language-flag {
                font-size: 1.5rem;
            }
            
            .language-name {
                font-size: 0.9rem;
            }
            
            .language-top-bar {
                height: 45px;
            }
            
            body.side-header #wrapper {
                margin-top: 45px;
            }
        }
        
        /* Dark Mode Adjustments for Language Elements */
        body.dark .language-modal-content,
        .dark-mode .language-modal-content,
        [data-bs-theme="dark"] .language-modal-content {
            background: #1f2937;
        }
        
        body.dark .language-modal-header h2,
        .dark-mode .language-modal-header h2,
        [data-bs-theme="dark"] .language-modal-header h2 {
            color: #f3f4f6;
        }
        
        body.dark .language-modal-header p,
        .dark-mode .language-modal-header p,
        [data-bs-theme="dark"] .language-modal-header p {
            color: #9ca3af;
        }
        
        body.dark .language-option,
        .dark-mode .language-option,
        [data-bs-theme="dark"] .language-option {
            background: #374151;
            border-color: #4b5563;
            color: #f3f4f6;
        }
        
        body.dark .language-option:hover,
        .dark-mode .language-option:hover,
        [data-bs-theme="dark"] .language-option:hover {
            background: #4b5563;
            border-color: #3b82f6;
        }
        
        body.dark .language-name,
        .dark-mode .language-name,
        [data-bs-theme="dark"] .language-name {
            color: #f3f4f6;
        }
