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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background-color: #f8f9fa;
            color: #333;
        }

        /* Atriva Header */
        .header {
            background-color: white;
            padding: 15px 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .header-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
        }

        .logo {
            font-size: 32px;
            font-weight: bold;
            color: #e31e24;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 40px;
        }

        .nav-menu li {
            position: relative;
        }

        .nav-menu a {
            text-decoration: none;
            color: #666;
            font-size: 16px;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .nav-menu a:hover,
        .nav-menu a.active {
            color: #333;
        }

        .nav-menu .products::after {
            content: '▼';
            margin-left: 8px;
            font-size: 12px;
        }

        /* Main Content Layout */
        .main-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            min-height: calc(100vh - 80px);
        }

        /* Sidebar */
        .sidebar {
            width: 300px;
            background-color: white;
            border-right: 1px solid #e5e5e5;
            padding: 20px;
        }

        .back-button {
            display: flex;
            align-items: center;
            color: #666;
            text-decoration: none;
            margin-bottom: 20px;
            font-size: 14px;
        }

        .back-button::before {
            content: '←';
            margin-right: 8px;
        }

        .sidebar-title {
            font-size: 24px;
            font-weight: 600;
            color: #333;
            margin-bottom: 30px;
        }

        .nav-section {
            margin-bottom: 30px;
        }

        .nav-section-title {
            font-size: 16px;
            font-weight: 600;
            color: #333;
            margin-bottom: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav-section-title::after {
            content: '▼';
            font-size: 12px;
            color: #666;
        }

        .nav-list {
            list-style: none;
        }

        .nav-list li {
            margin-bottom: 2px;
        }

        .nav-list a {
            text-decoration: none;
            color: #666;
            font-size: 14px;
            padding: 1px 1px;
            display: block;
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        .nav-list a:hover {
            background-color: #f0f0f0;
            color: #333;
        }

        .nav-list a.active {
            background-color: #e8f4f8;
            color: #2c9fb3;
            border-left: 3px solid #2c9fb3;
        }

        /* Main Content Area */
        .content {
            flex: 1;
            padding: 40px;
            background-color: white;
        }

        .breadcrumb {
            color: #666;
            font-size: 14px;
            margin-bottom: 20px;
        }

        .breadcrumb a {
            color: #666;
            text-decoration: none;
        }

        .breadcrumb a:hover {
            color: #2c9fb3;
        }

        .content-title {
            font-size: 36px;
            font-weight: 600;
            color: #333;
            margin-bottom: 15px;
        }

        .content-subtitle {
            font-size: 18px;
            font-weight: 600;
            color: #333;
            margin-bottom: 30px;
        }

        .content-meta {
            color: #999;
            font-size: 14px;
            margin-bottom: 30px;
        }

        .content-body {
            font-size: 16px;
            line-height: 1.6;
            color: #333;
        }

        .content-body p {
            margin-bottom: 20px;
        }

        .highlight {
            font-weight: 600;
            color: #2c9fb3;
        }

        /* Search Bar */
        .search-container {
            position: relative;
            margin-bottom: 20px;
        }

        .search-input {
            width: 100%;
            padding: 12px 40px 12px 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 14px;
            background-color: #f8f9fa;
        }

        .search-input::placeholder {
            color: #999;
        }

        .search-icon {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #999;
        }

        /* Help Button */
        .help-button {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background-color: #4a5568;
            color: white;
            border: none;
            border-radius: 50px;
            padding: 15px 25px;
            font-size: 14px;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            transition: all 0.3s ease;
        }

        .help-button:hover {
            background-color: #2d3748;
            transform: translateY(-2px);
        }

        .help-button::before {
            content: '?';
            margin-right: 8px;
            font-weight: bold;
        }
        

/* Picuno Code Block Styling - Begins */
        .code-block {
            background-color: #f8f9fa;
            border: 1px solid #e1e8ed;
            border-radius: 6px;
            padding: 12px 16px;
            margin: 16px 0;
            font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
            font-size: 14px;
            line-height: 1.4;
            overflow-x: auto;
            position: relative;
        }

        /* Inline code styling */
        .code-inline {
            background-color: #f1f3f4;
            border: 1px solid #dadce0;
            border-radius: 4px;
            padding: 2px 6px;
            font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
            font-size: 13px;
            color: #1967d2;
            font-weight: 500;
        }

        /* Picuno syntax highlighting */
        .picuno-function {
            color: #1967d2;
            font-weight: 600;
        }

        .picuno-keyword {
            color: #d73a49;
            font-weight: 600;
        }

        .picuno-variable {
            color: #6f42c1;
        }

        .picuno-number {
            color: #005cc5;
        }

        .picuno-string {
            color: #032f62;
        }

        .picuno-comment {
            color: #6a737d;
            font-style: italic;
        }

        .picuno-operator {
            color: #d73a49;
        }

        /* Text content with code integration */
        .content-text {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            font-size: 16px;
            line-height: 1.6;
            color: #333;
            margin-bottom: 20px;
        }

        /* Highlighted terms in text */
        .highlight-term {
            color: #1967d2;
            font-weight: 600;
            background-color: #e8f0fe;
            padding: 1px 4px;
            border-radius: 3px;
        }

        /* Copy button for code blocks */
        .code-copy-btn {
            position: absolute;
            top: 8px;
            right: 8px;
            background-color: #fff;
            border: 1px solid #dadce0;
            border-radius: 4px;
            padding: 4px 8px;
            font-size: 12px;
            color: #5f6368;
            cursor: pointer;
            opacity: 0;
            transition: opacity 0.2s ease;
        }

        .code-block:hover .code-copy-btn {
            opacity: 1;
        }

        .code-copy-btn:hover {
            background-color: #f8f9fa;
            color: #1967d2;
        }

        /* Language label */
        .code-language {
            position: absolute;
            top: -12px;
            left: 12px;
            background-color: #fff;
            border: 1px solid #e1e8ed;
            border-bottom: none;
            border-radius: 4px 4px 0 0;
            padding: 2px 8px;
            font-size: 11px;
            color: #5f6368;
            font-weight: 500;
        }
        
        
         .color-examples {
            background-color: #f1f8e9;
            border-left: 4px solid #4caf50;
            padding: 15px;
            margin: 20px 0;
            border-radius: 0 6px 6px 0;
        }
        
         .circuit-note {
            background-color: #e8f4f8;
            border-left: 4px solid #2c9fb3;
            padding: 15px;
            margin: 20px 0;
            border-radius: 0 6px 6px 0;
        }

        .hardware-list {
            background-color: #f8f9fa;
            border: 1px solid #e1e8ed;
            border-radius: 6px;
            padding: 20px;
            margin: 20px 0;
        }
/*Picuno code block css ends*/

/*Mobile Menu additional styles starts*/
/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 90px;
    left: 15px;
    z-index: 1000;
    background: #2c9fb3;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: #1e7a8a;
    transform: translateY(-1px);
}

/* Image styling additions */
.main-image {
    position: relative;
    display: inline-block;
}

.zoom-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
}

/* Mobile styles */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .sidebar {
        width: 100%;
        position: fixed;
        top: 80px;
        left: -100%;
        height: calc(100vh - 80px);
        z-index: 999;
        background-color: white;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
        overflow-y: auto;
        padding: 20px;
    }

    .sidebar.show {
        left: 0;
    }

    .content {
        width: 100%;
        padding: 20px 15px;
        margin-top: 50px; /* Account for toggle button */
    }

    .content-title {
        font-size: 28px;
    }

    .content-subtitle {
        font-size: 16px;
    }

    /* Backdrop for mobile menu */
    .sidebar-backdrop {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }

    .sidebar-backdrop.show {
        display: block;
    }

    /* Adjust help button for mobile */
    .help-button {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 13px;
    }

    /* Code blocks responsive */
    .code-block {
        font-size: 13px;
        padding: 10px 12px;
    }

    /* Responsive images */
    .section-image,
    .main-image img {
        max-width: 100%;
        height: auto;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .content {
        padding: 15px 10px;
    }

    .sidebar {
        padding: 15px;
    }

    .sidebar-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .nav-list a {
        padding: 6px 10px;
        font-size: 13px;
    }

    .content-title {
        font-size: 24px;
    }

    .mobile-menu-toggle {
        padding: 6px 10px;
        font-size: 13px;
    }
}
/*mobile menu additional styles - ends*/