:root {
    --primary-color: #0066cc;
    --secondary-color: #004999;
    --accent-color: #00aaff;
    --text-color: #333333;
    --light-text: #666666;
    --background-color: #ffffff;
    --light-background: #f5f5f5;
    --border-color: #e0e0e0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header and Navigation */
header {
    background-color: var(--background-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
    background: transparent;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    margin-right: 0.75rem;
}

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.4), rgba(0, 73, 153, 0.4)), url('../images/home_page_back.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 8rem 5% 4rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.main-quote {
    font-size: 1.6rem;
    font-style: italic;
    color: #fff;
    margin: 2rem 0 2.5rem 0;
    text-align: center;
    line-height: 1.6;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn.primary {
    background-color: white;
    color: var(--primary-color);
}

.btn.secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

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

/* Features Section */
.features {
    padding: 4rem 5%;
    background-color: var(--light-background);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Out of Box Features Category Styling */
.feature-category {
    margin-bottom: 3rem;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.category-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.category-title {
    font-size: 1.5rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 600;
    text-align: center;
}

/* Responsive adjustments for category headers */
@media (max-width: 768px) {
    .category-header {
        margin-bottom: 1rem;
    }
    
    .category-header i {
        font-size: 1.25rem;
    }
    
    .category-title {
        font-size: 1.25rem;
    }
}

/* Core Concepts Section */
.core-concepts {
    padding: 4rem 5%;
}

.core-concepts h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.concepts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.concept-card {
    background: var(--light-background);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.concept-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 5% 2rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .feature-grid,
    .concepts-grid {
        grid-template-columns: 1fr;
    }
}

/* Getting Started Page */
.getting-started {
    padding: 8rem 5% 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.getting-started h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-align: center;
}

.getting-started section {
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.getting-started section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.getting-started section h3 {
    color: var(--text-color);
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
}

.getting-started section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.getting-started section ul {
    list-style-position: inside;
    margin-bottom: 1rem;
}

.getting-started section ul li {
    margin-bottom: 0.5rem;
}

.getting-started pre {
    background: var(--light-background);
    padding: 1.5rem;
    border-radius: 6px;
    overflow-x: auto;
    margin: 1rem 0;
}

.getting-started code {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
}

.getting-started a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.getting-started a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .getting-started {
        padding: 6rem 5% 2rem;
    }
    
    .getting-started h1 {
        font-size: 2rem;
    }
    
    .getting-started section {
        padding: 1.5rem;
    }
    
    .getting-started section h2 {
        font-size: 1.5rem;
    }
    
    .getting-started section h3 {
        font-size: 1.2rem;
    }
}

/* Documentation Page */
.documentation {
    padding-top: 80px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 80px);
    overflow: hidden;
}

.docs-container {
    display: flex;
    flex: 1;
    min-height: calc(100vh - 200px); /* Account for header and footer */
    overflow: hidden;
    background-color: var(--background-color);
    gap: 0;
}

.docs-sidebar {
    width: 280px;
    min-width: 280px;
    height: calc(100vh - 200px); /* Account for header and footer */
    overflow-y: auto;
    overflow-x: hidden;
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    position: sticky;
    top: 80px; /* Account for header height */
    z-index: 100;
}

.docs-sidebar::-webkit-scrollbar {
    width: 6px;
}

.docs-sidebar::-webkit-scrollbar-track {
    background: rgba(241, 241, 241, 0.3);
    border-radius: 3px;
}

.docs-sidebar::-webkit-scrollbar-thumb {
    background: rgba(193, 193, 193, 0.5);
    border-radius: 3px;
}

.docs-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 168, 168, 0.7);
}

.docs-sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.docs-sidebar nav ul li {
    margin-bottom: 0.5rem;
}

.docs-sidebar nav ul li .sub-menu {
    list-style: none;
    margin-left: 1.5rem;
    margin-top: 0.5rem;
    display: none;
}

/* Remove hover-based visibility */
.docs-sidebar nav ul li:hover .sub-menu {
    display: none;
}

/* Add class for showing submenu */
.docs-sidebar nav ul li.show-submenu .sub-menu {
    display: block !important;
}

.docs-sidebar nav ul li .sub-menu li {
    margin-bottom: 0.3rem;
}

.docs-sidebar nav ul li .sub-menu a {
    font-size: 0.9rem;
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 5px 10px;
    display: block;
}

.docs-sidebar nav ul li .sub-menu a:hover {
    color: var(--primary-color);
    background-color: var(--hover-color);
}

/* Style for sections with submenus */
.docs-sidebar nav ul li:has(.sub-menu) > a {
    cursor: pointer;
    position: relative;
}

/* Add a visual indicator for sections with submenus */
.docs-sidebar nav ul li:has(.sub-menu) > a::after {
    content: '▶';
    font-size: 0.8em;
    margin-left: 5px;
    transition: transform 0.3s ease;
    color: var(--light-text);
}

.docs-sidebar nav ul li.show-submenu:has(.sub-menu) > a::after {
    content: '▼';
    transform: none;
    color: var(--primary-color);
}

.docs-sidebar nav ul li a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.docs-sidebar nav ul li a:hover {
    background-color: var(--primary-color-light);
    color: var(--primary-color);
}

.docs-sidebar nav ul li a.active {
    color: var(--primary-color);
    font-weight: 600;
    background-color: rgba(0, 102, 204, 0.1);
    border-left: 3px solid var(--primary-color);
    padding-left: calc(1rem - 3px);
}

/* Active submenu item styling */
.docs-sidebar nav ul li .sub-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
    background-color: rgba(0, 102, 204, 0.1);
    border-left: 3px solid var(--primary-color);
    padding-left: calc(1rem - 3px);
}

/* Ensure parent menu item is also highlighted when submenu item is active */
.docs-sidebar nav ul li .sub-menu a.active ~ *,
.docs-sidebar nav ul li .sub-menu a.active {
    color: var(--primary-color);
}

/* Highlight parent menu when submenu item is active */
.docs-sidebar nav ul li:has(.sub-menu a.active) > a {
    color: var(--primary-color);
    font-weight: 600;
    background-color: rgba(0, 102, 204, 0.05);
    border-left: 2px solid var(--primary-color);
    padding-left: calc(1rem - 2px);
}

/* Ensure parent section is highlighted when it's directly active */
.docs-sidebar nav ul li > a.active {
    color: var(--primary-color);
    font-weight: 600;
    background-color: rgba(0, 102, 204, 0.1);
    border-left: 3px solid var(--primary-color);
    padding-left: calc(1rem - 3px);
}

/* Active submenu item styling */
.docs-sidebar nav ul li .sub-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
    background-color: rgba(0, 102, 204, 0.1);
    border-left: 3px solid var(--primary-color);
    padding-left: calc(1rem - 3px);
}

/* Smooth transition for menu state changes */
.docs-sidebar nav ul li a,
.docs-sidebar nav ul li .sub-menu a {
    transition: all 0.3s ease;
}

/* URL parameter indicator */
.docs-sidebar nav ul li a[data-url-param]::after {
    content: "🔗";
    font-size: 0.8em;
    margin-left: 0.5rem;
    opacity: 0.7;
}

.docs-sidebar nav ul li a[data-url-param]:hover::after {
    opacity: 1;
}

.docs-content {
    flex: 1;
    padding: 2rem;
    padding-bottom: 6rem; /* Increased bottom padding to prevent footer overlap */
    overflow-y: auto;
    overflow-x: hidden;
    background-color: var(--background-color);
    min-width: 0;
    max-width: 1800px;
    width: 100%;
    margin: 0 auto;
    min-height: calc(100vh - 200px); /* Account for header and footer */
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.docs-content::-webkit-scrollbar {
    width: 8px;
}

.docs-content::-webkit-scrollbar-track {
    background: rgba(241, 241, 241, 0.3);
    border-radius: 4px;
}

.docs-content::-webkit-scrollbar-thumb {
    background: rgba(193, 193, 193, 0.5);
    border-radius: 4px;
}

.docs-content::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 168, 168, 0.7);
}

.doc-section {
    display: block;
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: var(--background-color);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.doc-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.markdown-content {
    display: block;
    padding: 2rem;
    background-color: var(--background-color);
    border-radius: 8px;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 0.95rem;
    height: 100%;
    overflow-y: auto;
    max-width: 100%;
    box-sizing: border-box;
}

.markdown-content:empty::before {
    content: "Select a section from the sidebar to view content";
    display: block;
    text-align: center;
    color: var(--light-text);
    font-style: italic;
    padding: 3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    font-size: 1rem;
}

.markdown-content h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    margin-top: 1rem;
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color-light);
    padding-bottom: 0.8rem;
    font-weight: 700;
}

.markdown-content h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1.2rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color-light);
    padding-bottom: 0.6rem;
    font-weight: 600;
}

.markdown-content h3 {
    font-size: 1.5rem;
    margin: 1.8rem 0 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.markdown-content h4 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
}

.markdown-content p {
    margin-bottom: 1.2rem;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 0.95rem;
}

.markdown-content ul, 
.markdown-content ol {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
}

.markdown-content li {
    margin-bottom: 0.6rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.markdown-content pre {
    background-color: #f5f5f5;
    border-radius: 4px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
}

.markdown-content code {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    background-color: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
}

.markdown-content pre code {
    background-color: transparent;
    padding: 0;
}

.markdown-content blockquote {
    border-left: 4px solid var(--primary-color);
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color-light);
    border-radius: 0 4px 4px 0;
}

.markdown-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.markdown-content th, 
.markdown-content td {
    padding: 0.75rem;
    border: 1px solid #ddd;
}

.markdown-content th {
    background-color: var(--primary-color-light);
    font-weight: bold;
}

.markdown-content tr:nth-child(even) {
    background-color: #f9f9f9;
}

.markdown-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1rem 0;
}

.markdown-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.markdown-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.markdown-content .loading {
    text-align: center;
    padding: 2rem;
    color: var(--light-text);
}

.markdown-content .error {
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

/* Add some spacing between sections */
.doc-section + .doc-section {
    margin-top: 2rem;
}

/* Add a subtle hover effect to code blocks */
.markdown-content pre:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Style inline code differently from block code */
.markdown-content p code,
.markdown-content li code {
    background-color: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9rem;
}

/* Responsive styles */
@media (max-width: 768px) {
    .documentation {
        padding: 1rem;
        min-height: calc(100vh - 80px);
    }

    .docs-container {
        flex-direction: column;
        min-height: calc(100vh - 200px);
    }

    .docs-sidebar {
        width: 100%;
        max-width: 100%;
        position: fixed;
        top: 60px;
        left: -100%;
        height: calc(100vh - 120px); /* Account for header and some footer space */
        z-index: 999;
        transition: left 0.3s ease;
        background: white;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
        overflow-y: auto;
        overflow-x: hidden;
        padding: 1rem;
    }

    .docs-content {
        margin-left: 0;
        padding: 1rem;
        width: 100%;
        height: auto;
        overflow: visible;
    }

    .markdown-content {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .markdown-content:empty::before {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

/* News Page */
.news {
    padding-top: 80px;
}

.news-header {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.4), rgba(0, 73, 153, 0.4)), url('../images/news_page_back.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 8rem 5% 4rem;
    text-align: center;
}

.news-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.news-header p {
    font-size: 1.5rem;
    opacity: 0.9;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 5%;
}

.news-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.news-item h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.news-item .date {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.news-item p {
    margin-bottom: 1rem;
}

.news-item .read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.news-item .read-more:hover {
    text-decoration: underline;
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-color);
    background: white;
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mobile-menu-toggle:hover {
    background: #f5f5f5;
}

.mobile-menu-toggle.active {
    background: var(--primary-color);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Header */
    .mobile-menu-toggle {
        display: block;
    }

    nav .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 1000;
        border-top: 1px solid #eee;
    }

    nav .nav-links.active {
        display: flex;
        flex-direction: column;
    }

    nav .nav-links li {
        margin: 0.5rem 0;
    }

    nav .nav-links a {
        color: var(--text-color);
        padding: 0.5rem 1rem;
        display: block;
        border-radius: 4px;
    }

    nav .nav-links a:hover {
        background: #f5f5f5;
    }

    nav .nav-links a.active {
        background: var(--primary-color);
        color: white;
    }

    /* Documentation Layout */
    .docs-container {
        flex-direction: column;
    }

    .docs-sidebar {
        width: 100%;
        max-width: 100%;
        position: fixed;
        top: 60px;
        left: -100%;
        height: calc(100vh - 120px); /* Account for header and some footer space */
        z-index: 999;
        transition: left 0.3s ease;
        background: white;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
        overflow-y: auto;
        overflow-x: hidden;
        padding: 1rem;
    }

    .docs-sidebar.active {
        left: 0;
    }

    .docs-content {
        margin-left: 0 !important;
        padding: 1rem;
        width: 100% !important;
        height: auto;
        overflow: visible;
        display: block !important;
    }

    /* Mobile Sidebar Toggle */
    .sidebar-toggle {
        display: block;
        position: fixed;
        bottom: 20px;
        right: 20px;
        background: white;
        color: var(--primary-color);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        z-index: 1000;
        border: none;
        transition: all 0.3s ease;
    }

    /* Desktop Toggle Button - Hidden on mobile */
    .desktop-toggle {
        display: none;
    }

    .sidebar-toggle:hover {
        background: white;
    }

    .sidebar-toggle.active {
        background: white;
        color: var(--primary-color);
    }

    /* Content Adjustments */
    .doc-section {
        padding: 1rem;
    }

    .markdown-content {
        font-size: 0.95rem;
    }

    .markdown-content h1 {
        font-size: 1.8rem;
    }

    .markdown-content h2 {
        font-size: 1.5rem;
    }

    .markdown-content h3 {
        font-size: 1.3rem;
    }

    .markdown-content pre {
        margin: 1rem -1rem;
        border-radius: 0;
    }

    .markdown-content code {
        font-size: 0.9rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        margin: 1rem 0;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .markdown-content h1 {
        font-size: 1.6rem;
    }

    .markdown-content h2 {
        font-size: 1.4rem;
    }

    .markdown-content h3 {
        font-size: 1.2rem;
    }

    .markdown-content p {
        font-size: 0.9rem;
    }

    .sidebar-toggle {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
}

/* Desktop Sidebar Behavior */
@media (min-width: 769px) {
    .docs-sidebar {
        position: sticky;
        top: 80px;
        left: 0;
        width: 300px;
        height: calc(100vh - 120px);
        transform: none;
        transition: transform 0.3s ease;
        z-index: 100;
    }

    .docs-sidebar.collapsed {
        transform: translateX(-100%);
    }

    .docs-content {
        margin-left: 120px;
        width: calc(100% - 120px);
        transition: margin-left 0.3s ease, width 0.3s ease;
        padding-left: 3rem;
        padding-right: 3rem;
        display: flex;
        justify-content: center;
    }

    .docs-content .markdown-content {
        max-width: 800px;
        width: 100%;
    }

    .docs-content .markdown-content,
    .docs-content .section-overview,
    .docs-content .section-toc {
        max-width: 1200px;
        width: 100%;
    }

    .docs-content.expanded {
        margin-left: auto;
        margin-right: auto;
        width: calc(100% - 40px);
        max-width: 1400px;
        padding-left: 3rem;
        padding-right: 3rem;
    }

    /* Desktop Toggle Button - Fixed position outside sidebar */
    .desktop-toggle {
        display: flex;
        position: fixed;
        top: 90px;
        left: 20px;
        width: 40px;
        height: 40px;
        background: var(--primary-color);
        color: white;
        border-radius: 4px;
        border: none;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 101;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    .desktop-toggle:hover {
        background: var(--primary-color);
    }

    .desktop-toggle.active {
        background: var(--primary-color);
    }

    /* Mobile Toggle Button - Hidden on desktop */
    .mobile-toggle {
        display: none;
    }
}

.video-showcase {
    padding: 4rem 5%;
    background-color: var(--light-background);
}

.video-showcase h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-color);
}

.video-card {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-container {
    width: 60%;
    position: relative;
    padding-bottom: 33.75%; /* 16:9 Aspect Ratio for 60% width */
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--light-background);
    flex-shrink: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    flex: 1;
    text-align: left;
    padding: 1rem 0;
}

.video-description {
    color: var(--text-color);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.video-info .btn {
    display: inline-block;
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
}

@media (max-width: 900px) {
    .video-card {
        flex-direction: column;
        margin: 0 1rem;
    }

    .video-container {
        width: 100%;
        padding-bottom: 56.25%; /* Reset to full width 16:9 */
    }

    .video-info {
        text-align: center;
    }
}

.docs-nav .sub-menu {
    display: none;
    padding-left: 20px;
    margin-top: 5px;
}

.docs-nav .sub-menu a {
    display: block;
    padding: 8px 15px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.docs-nav .sub-menu a:hover {
    color: var(--primary-color);
    background-color: var(--hover-color);
}

/* Remove hover-based submenu visibility */
.docs-nav li:hover .sub-menu {
    display: none;
}

/* Add active state for submenu items */
.docs-nav .sub-menu a.active {
    color: var(--primary-color);
    background-color: var(--hover-color);
}

/* Add active state for parent menu items */
.docs-nav li.active > a {
    color: var(--primary-color);
    font-weight: 600;
}

.docs-nav li.active .sub-menu {
    display: block;
}

/* Under Construction Styles */
.under-construction {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.construction-icon {
    margin-bottom: 1.5rem;
    animation: rotate 4s linear infinite;
}

.construction-icon svg {
    filter: drop-shadow(0 4px 8px rgba(255, 165, 0, 0.3));
}

.under-construction h2 {
    font-size: 2.5rem;
    color: #FFA500;
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(255, 165, 0, 0.2);
}

.under-construction p {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.under-construction p:last-child {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.8;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Mobile responsive for under construction */
@media (max-width: 768px) {
    .under-construction {
        min-height: 300px;
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .under-construction h2 {
        font-size: 2rem;
    }
    
    .under-construction p {
        font-size: 1.1rem;
    }
    
    .construction-icon svg {
        width: 48px;
        height: 48px;
    }
}

/* Section Overview and TOC Styles */
.section-overview {
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem 0;
    width: 100%;
}

.section-overview h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: bold;
}

.section-description {
    font-size: 1rem;
    color: var(--light-text);
    text-align: center;
    margin-bottom: 2.5rem;
    line-height: 1.5;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.section-toc {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.section-toc h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: bold;
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.toc-item {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    min-height: 70px;
}

.toc-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.toc-number {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.toc-content {
    flex: 1;
    min-width: 0;
}

.toc-content h3 {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.toc-content p {
    font-size: 0.85rem;
    color: var(--light-text);
    line-height: 1.4;
    margin: 0;
}

.toc-arrow {
    color: var(--primary-color);
    font-size: 1.2rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.toc-item:hover .toc-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* Mobile responsive for section overview */
@media (max-width: 768px) {
    .section-overview {
        padding: 1rem;
        max-width: 100%;
    }
    
    .section-overview h1 {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }
    
    .section-toc {
        padding: 1.5rem;
        width: 100%;
    }
    
    .section-toc h2 {
        font-size: 1.3rem;
    }
    
    .toc-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
    }
    
    .toc-item {
        padding: 1.2rem;
        min-height: 60px;
    }
    
    .toc-number {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .toc-content h3 {
        font-size: 0.95rem;
    }
    
    .toc-content p {
        font-size: 0.8rem;
    }
}

/* Ensure sidebar stays clean - hide any TOC content in sidebar */
.docs-sidebar .section-toc,
.docs-sidebar .section-overview,
.docs-sidebar .toc-grid,
.docs-sidebar .toc-item {
    display: none !important;
}

/* URL parameter indicator */
.docs-sidebar nav ul li a[data-url-param]::after {
    content: "🔗";
    font-size: 0.8em;
    margin-left: 0.5rem;
    opacity: 0.7;
}

.docs-sidebar nav ul li a[data-url-param]:hover::after {
    opacity: 1;
} 