/* === Base Styles === */
    .help-center-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem 1rem;
    }
    .search-hero {
        background: var(--primary-color);
        color: white;
        padding: 3rem 1rem;
        border-radius: 1rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    .search-content {
        max-width: 800px;
        margin: 0 auto;
    }
    .search-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    .search-box {
        position: relative;
        max-width: 600px;
        margin: 0 auto;
    }
    .search-box input {
        width: 100%;
        padding: 1rem 1rem 1rem 3rem;
        border-radius: 0.5rem;
        border: none;
        font-size: 1.1rem;
    }
    .search-box i {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-color);
    }
    .emergency-banner {
        background: #fff3cd;
        border-left: 4px solid #ffc107;
        padding: 1rem;
        border-radius: 0.5rem;
        margin-bottom: 2rem;
    }
    /*.emergency-content {
        display: flex;
        align-items: center;
        gap: 1rem;
    }*/
    .emergency-content {
        background: white;
        border-radius: 15px;
        padding: 2rem;
        max-width: 400px;
        width: 90%;
        position: relative;
    }
    .emergency-content i {
        font-size: 1.5rem;
        color: #ffc107;
    }
    .quick-links {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
        margin-bottom: 2rem;
    }
    .quick-link {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1.5rem;
        background: white;
        border-radius: 0.5rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        text-decoration: none;
        color: var(--text-color);
    }
    .quick-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .quick-link i {
        font-size: 1.5rem;
        color: var(--primary-color);
    }
    .categories-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .category-nav {
        background-color: var(--primary-color);
    }
    .category-card {
        background: white;
        padding: 1.5rem;
        border-radius: 0.5rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        cursor: pointer;
    }
    .category-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .category-header {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    .category-header i {
        font-size: 1.5rem;
        color: var(--primary-color);
    }
    .category-topics {
        list-style: none;
        padding: 0;
    }
    .category-topics li {
        padding: 0.5rem 0;
        border-bottom: 1px solid #f0f0f0;
    }
    .category-topics li:last-child {
        border-bottom: none;
    }
    .more-topics {
        color: var(--primary-color);
        font-weight: 500;
    }
    @media (max-width: 768px) {
        .search-hero { padding: 2rem 1rem; }
        .search-content h1 { font-size: 2rem; }
        .categories-grid { grid-template-columns: 1fr; }
        .quick-links { grid-template-columns: 1fr; }
    }

    /* === Header Styles === */
    body {
        font-family: 'Roboto', sans-serif;
        color: var(--text-color, #333);
        line-height: 1.6;
        margin: 0;
        padding: 0;
    }

    .site-header {
        background-color: var(--primary-color, #006400);
        color: white;
        border-bottom: 3px solid var(--secondary-color, #FFD700);
        position: relative;
    }

    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .site-header .logo img {
        height: 45px;
        width: auto;
    }

    .main-nav {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .nav-link {
        color: white;
        text-decoration: none;
        font-weight: 500;
        padding: 0.5rem 0.75rem;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--secondary-color, #FFD700);
    }

    .nav-separator {
        color: rgba(255, 255, 255, 0.6);
        font-weight: 300;
    }

    /* === Google Translate Styles === */

    .gtranslate_wrapper * {
      font-size: 0.8rem !important;
    }
    
    .gtranslate_wrapper {
        font-size: 0.8rem;
        opacity: 0.9;
        transition: opacity 0.3s ease;
    }

    .gtranslate_wrapper:hover {
        opacity: 1;
    }

    .gtranslate_wrapper a {
        color: white !important;
        font-size: 0.8rem !important;
        text-decoration: none !important;
        padding: 0.25rem 0.5rem !important;
        border-radius: 3px !important;
        transition: background-color 0.3s ease !important;
    }

    .gtranslate_wrapper a:hover {
        background-color: rgba(255, 255, 255, 0.1) !important;
        color: var(--secondary-color, #FFD700) !important;
    }

    /* Make flags smaller in main navigation */
    .gtranslate_wrapper img {
        width: 16px !important;
        height: 16px !important;
    }

    /* === Maintenance Banner === */
    .maintenance-banner {
        background-color: #fff3cd;
        border: 1px solid #ffeeba;
        color: #856404;
        padding: 1rem;
        position: relative;
        margin-bottom: 1rem;
    }

    .maintenance-banner .close-button {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        background: none;
        border: none;
        color: #856404;
        font-size: 1.2rem;
        transition: color 0.3s ease;
    }

    .maintenance-banner .close-button:hover {
        color: #533f03;
    }

    /* === Responsive Header === */
    @media (max-width: 768px) {
        .header-container {
            flex-direction: column;
            gap: 0.75rem;
            padding: 1rem;
        }

        .main-nav {
            order: 2;
        }

        .gtranslate_wrapper {
            order: 3;
            font-size: 0.75rem;
        }

        .site-header .logo img {
            height: 40px;
        }

        .nav-link {
            font-size: 0.9rem;
            padding: 0.4rem 0.6rem;
        }
    }

    @media (max-width: 480px) {
        .main-nav {
            flex-direction: column;
            gap: 0.5rem;
        }

        .nav-separator {
            display: none;
        }
    }

    /* === Footer Styles === */
    .site-footer {
        background-color: #2c2c2c;
        color: #e0e0e0;
        margin-top: 3rem;
        border-top: 4px solid var(--primary-color, #006400);
    }

    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem 1rem 1rem;
    }

    .footer-content {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-brand {
        padding-right: 1rem;
    }

    .footer-logo {
        height: 40px;
        width: auto;
        margin-bottom: 1rem;
        filter: brightness(1.2);
    }

    .footer-description {
        color: #b0b0b0;
        line-height: 1.6;
        font-size: 0.9rem;
        margin: 0;
    }

    .footer-section h3 {
        color: var(--secondary-color, #FFD700);
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 1rem;
        border-bottom: 2px solid var(--primary-color, #006400);
        padding-bottom: 0.5rem;
    }

    .footer-nav {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-link {
        color: #d0d0d0;
        text-decoration: none;
        font-size: 0.9rem;
        padding: 0.3rem 0;
        border-radius: 4px;
        transition: all 0.3s ease;
        position: relative;
    }

    .footer-link:hover {
        color: var(--secondary-color, #FFD700);
        padding-left: 0.5rem;
        background-color: rgba(0, 100, 0, 0.1);
    }

    .footer-link::before {
        content: '';
        position: absolute;
        left: -0.5rem;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 2px;
        background-color: var(--secondary-color, #FFD700);
        transition: width 0.3s ease;
    }

    .footer-link:hover::before {
        width: 0.25rem;
    }

    .footer-bottom {
        border-top: 1px solid #404040;
        padding-top: 1.5rem;
        text-align: center;
        color: #a0a0a0;
    }

    .copyright {
        font-size: 0.9rem;
        margin: 0 0 0.5rem 0;
        font-weight: 500;
    }

    .footer-note {
        font-size: 0.8rem;
        margin: 0;
        font-style: italic;
        color: #888;
    }

    /* === Footer Responsive Design === */
    @media (max-width: 768px) {
        .footer-content {
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
        }

        .footer-brand {
            grid-column: 1 / -1;
            text-align: center;
            padding-right: 0;
            margin-bottom: 1rem;
        }

        .footer-container {
            padding: 1.5rem 1rem 1rem;
        }
    }

    @media (max-width: 480px) {
        .footer-content {
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        .footer-section {
            text-align: center;
        }

        .footer-nav {
            align-items: center;
        }

        .footer-link {
            padding: 0.5rem 1rem;
            background-color: rgba(0, 100, 0, 0.05);
            border-radius: 8px;
            margin: 0.25rem 0;
        }

        .footer-link:hover {
            padding-left: 1rem;
            background-color: rgba(0, 100, 0, 0.15);
        }

        .footer-container {
            padding: 1rem;
        }

        .footer-logo {
            height: 35px;
        }
    }

    /* === Hero Section === */
.hero-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #f4f4f4;
}
.hero-section h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #006400;
}
.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* === Search Bar === */
.search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}
#searchInput {
    padding: 12px;
    width: -webkit-fill-available;
    font-size: 16px;
    border-radius: 30px;
    border: 1px solid #ccc;
}
#searchButton {
    padding: 12px 20px;
    font-size: 16px;
    background-color: #006400;
    color: white;
    border: 1px solid #006400;
    border-radius: 30px;
    cursor: pointer;
}
.search-results {
    margin: 20px auto;
    max-width: 600px;
    text-align: left;
    border-radius: 30px;
    display: none;
}

.search-results.show {
    display: block;
}

/* === Quick Links === */
.quick-links h2 {
    text-align: center;
    font-size: 2rem;
    color: #006400;
}
.popular-topics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style-type: none;
    padding: 0;
}
.popular-topics li {
    margin: 10px;
    font-size: 1.1rem;
}
.popular-topics li a {
    color: #006400;
    font-weight: 500;
    transition: color 0.3s;
}
.popular-topics li a:hover {
    color: #FFD700;
}

/* === Category Cards === */
.categories-preview h2 {
    text-align: center;
    font-size: 2rem;
    color: #006400;
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 20px auto;
}
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: #006400;
    transition: transform 0.3s, box-shadow 0.3s;
}
.category-card i {
    font-size: 2rem;
    margin-bottom: 10px;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #e8f5e9;
}

/* === Features Section === */
.about-support {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
}
.features-list {
    list-style: none;
    padding: 0;
}
.features-list li {
    display: inline-block;
    font-size: 1.1rem;
    margin: 10px 20px;
    color: #444;
}
.features-list i {
    font-size: 1.5rem;
    color: #FFD700;
    margin-right: 8px;
}
/* === Category Header === */
.category-header {
    text-align: center;
    padding: 40px 20px;
    background-color: #f0f8f0;
    border-bottom: 3px solid #006400;
}

/* === Topic List === */
.topic-list ul {
    padding: 20px;
    list-style-type: none;
}
.topic-list li {
    padding: 10px;
    font-size: 1.1rem;
    border-bottom: 1px solid #ddd;
}
.topic-list li a {
    color: #006400;
    font-weight: 500;
    transition: 0.3s;
}
.topic-list li a:hover {
    color: #FFD700;
}

/* === Breadcrumbs === */
.breadcrumbs ul {
    list-style: none;
    padding: 10px 20px;
    background: #f9f9f9;
}
.breadcrumbs li {
    display: inline;
    font-size: 0.9rem;
    color: #666;
}
.breadcrumbs li::after {
    content: " / ";
    color: #ccc;
}
.breadcrumbs li:last-child::after {
    content: "";
}

/* === Related Topics === */
.related-topics ul {
    list-style-type: none;
    padding-left: 20px;
}
.related-topics li a {
    color: #006400;
    font-weight: 500;
}
.related-topics li a:hover {
    color: #FFD700;
}

/* === Global Page Layout === */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    min-height: calc(100vh - 200px);
}

.topic-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.topic-content .container {
    max-width: 900px;
    margin: 0 auto;
}

.topic-content h1 {
    color: var(--primary-color, #006400);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    border-bottom: 3px solid var(--secondary-color, #FFD700);
    padding-bottom: 0.5rem;
}

.topic-content h2 {
    color: var(--primary-color, #006400);
    font-size: 1.6rem;
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
}

.topic-content h3 {
    color: #444;
    font-size: 1.3rem;
    margin: 1.25rem 0 0.75rem 0;
    font-weight: 600;
}

.topic-content p {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1rem;
}

.topic-content ul, .topic-content ol {
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.topic-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.topic-content a {
    color: var(--primary-color, #006400);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.topic-content a:hover {
    color: var(--secondary-color, #FFD700);
    border-bottom-color: var(--secondary-color, #FFD700);
}

/* === Improved Category Pages === */
.category-header {
    background: linear-gradient(307deg, #006400, #006400, #4db94d, #cbff07);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.category-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.category-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

/* === Topic Cards in Categories === */
.topic-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.topic-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topic-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color, #006400);
}

.topic-card span {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.topic-card a {
    color: var(--primary-color, #006400);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.topic-card:hover a {
    color: var(--secondary-color, #FFD700);
}

/* === Category Introduction Sections === */
.category-intro {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.category-intro h2 {
    color: var(--primary-color, #006400);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    border-bottom: 3px solid var(--secondary-color, #FFD700);
    padding-bottom: 0.5rem;
}

.category-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.5rem;
}

.category-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color, #006400);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: #f0f8f0;
    transform: translateX(5px);
}

.highlight-item i {
    color: var(--primary-color, #006400);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.highlight-item span {
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .category-highlights {
        grid-template-columns: 1fr;
    }
    
    .category-intro {
        padding: 1.5rem;
    }
    
    .category-intro h2 {
        font-size: 1.8rem;
    }
}

/* === Related Categories Section === */
.related-categories {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.related-categories h3 {
    color: var(--primary-color, #006400);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.category-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.category-link:hover {
    background: #f0f8f0;
    border-color: var(--primary-color, #006400);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 100, 0, 0.1);
}

.category-link i {
    color: var(--primary-color, #006400);
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.category-link div {
    flex: 1;
}

.category-link strong {
    display: block;
    color: var(--primary-color, #006400);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.category-link span {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.3;
}

.category-link:hover strong {
    color: #004d00;
}

.category-link:hover span {
    color: #555;
}

@media (max-width: 768px) {
    .category-links {
        grid-template-columns: 1fr;
    }
    
    .related-categories {
        padding: 1.5rem;
    }
    
    .category-link {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .category-link i {
        width: auto;
    }
}

/* ========================================
   🚀 REVOLUTIONARY SUPPORT NAVIGATION 
   ======================================== */

/* === Core Variables === */
:root {
    --nav-primary: #006400;
    --nav-secondary: #FFD700;
    --nav-emergency: #e74c3c;
    --nav-success: #27ae60;
    --nav-warning: #f39c12;
    --nav-info: #3498db;
    --nav-dark: #1e461a;
    /*--nav-dark: #2c3e50;*/
    --nav-light: #ecf0f1;
    --nav-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --nav-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --nav-radius: 12px;
    --nav-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* === Global Navigation Styles === */
* {
    box-sizing: border-box;
}

.exceptional-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--nav-primary), #007d00);
    box-shadow: var(--nav-shadow);
    transition: var(--nav-transition);
}

.exceptional-header.scrolled {
    background: var(--nav-primary);
    box-shadow: var(--nav-shadow-hover);
}

/* === Primary Navigation Bar === */
.primary-nav-bar {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 1rem;
}

/* === Emergency Button === */
.emergency-btn {
    background: var(--nav-emergency);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: var(--nav-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--nav-transition);
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
    animation: emergencyPulse 2s infinite;
}

.emergency-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

@keyframes emergencyPulse {
    0%, 100% { box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3); }
    50% { box-shadow: 0 2px 15px rgba(231, 76, 60, 0.6); }
}

/* === Brand Section === */
.brand-section {
    min-width: 0;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
    transition: var(--nav-transition);
}

.brand-link:hover {
    transform: scale(1.02);
}

.brand-logo {
    height: 40px;
    width: auto;
    filter: brightness(1.1);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.brand-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

/* === Smart Search === */
.smart-search-container {
    position: relative;
    flex: 1;
    max-width: 500px;
    justify-self: center;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    /*padding: 0.5rem;*/
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: var(--nav-transition);
}

.search-wrapper:focus-within {
    background: white;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.search-icon {
    color: var(--nav-primary);
    margin: 0 0.75rem;
    font-size: 1.1rem;
}

.smart-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.75rem 0;
    font-size: 1rem;
    background: transparent;
    color: var(--nav-dark);
}

.smart-search-input::placeholder {
    color: #7f8c8d;
}

.search-voice-btn {
    background: var(--nav-secondary);
    color: var(--nav-dark);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--nav-transition);
}

.search-voice-btn:hover {
    background: #e6c200;
    transform: scale(1.1);
}

/* === Search Suggestions === */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--nav-radius);
    box-shadow: var(--nav-shadow-hover);
    margin-top: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1500;
    display: none;
}

.search-suggestions.show {
    display: block;
    animation: slideDown 0.3s var(--nav-bounce);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Quick Actions === */
.quick-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-action-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: var(--nav-radius);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--nav-transition);
    min-width: 44px;
}

.quick-action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.quick-action-btn span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* === Hamburger Menu === */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hamburger::before,
.hamburger::after,
.hamburger {
    width: 20px;
    height: 2px;
    background: white;
    transition: var(--nav-transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
}

.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* === Category Navigation === */
.category-nav-container {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent);
    padding: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    z-index: 100;
}

.category-nav-container.show {
    padding: 1rem 0;
    max-height: fit-content;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.category-nav-container.hidden {
    max-height: 0;
    padding: 0;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

.category-nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* === Quick Access Pills === */
.quick-access-pills {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    overflow-x: auto;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    z-index: 50;
}

.quick-access-pills::-webkit-scrollbar {
    display: none;
}

.quick-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--nav-transition);
    min-width: fit-content;
    border: 2px solid transparent;
    /*Overwrite*/
    background: white !important;
    color: #222 !important;
    border: 3px solid #ffd700 !important;
}

.quick-pill.urgent {
    background: #d32f2f;
    color: white;
    animation: quickPulse 3s infinite;
}

.quick-pill.status {
    background: #006400;
    color: white;
}

.quick-pill.popular {
    background: #FFD700;
    color: #2c3e50;
}

.quick-pill:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

@keyframes quickPulse {
    0%, 100% { box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3); }
    50% { box-shadow: 0 2px 20px rgba(231, 76, 60, 0.6); }
}

/* === Visual Category Grid === */
.visual-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 50;
}

.category-tile {
    position: relative;
    background: white;
    border-radius: var(--nav-radius);
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: var(--nav-transition);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(0, 100, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 100, 0, 0.08);
}

.category-tile.urgent-category {
    background: #FFD700;
}

.category-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transition: var(--nav-transition);
}

.category-tile.urgent-category::before { background: linear-gradient(90deg, #006400, #228B22); }
.category-tile.tech-category::before { background: linear-gradient(90deg, #FFD700, #FFA000); }
.category-tile.account-category::before { background: linear-gradient(90deg, #FFD700, #FFA000); }
.category-tile.billing-category::before { background: linear-gradient(90deg, #FFD700, #FFA000); }
.category-tile.legal-category::before { background: linear-gradient(90deg, #FFD700, #FFA000); }
.category-tile.business-category::before { background: linear-gradient(90deg, #FFD700, #FFA000); }

.category-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 100, 0, 0.15);
    border-color: rgba(0, 100, 0, 0.2);
}

.category-tile.urgent-category:hover {
    background: #FFA000;
}

.category-tile:hover::before {
    height: 6px;
}

.tile-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: var(--nav-transition);
}

.urgent-category .tile-icon { color: #006400; }
.tech-category .tile-icon { color: #006400; }
.account-category .tile-icon { color: #006400; }
.billing-category .tile-icon { color: #006400; }
.legal-category .tile-icon { color: #006400; }
.business-category .tile-icon { color: #006400; }

.tile-content h3 {
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0;
    color: var(--nav-dark);
    font-weight: 600;
}

.tile-content p {
    color: #7f8c8d;
    margin: 0 0 0.75rem 0;
    line-height: 1.5;
}

.tile-stats {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(0, 100, 0, 0.1), rgba(255, 215, 0, 0.1));
    color: #006400;
    display: inline-block;
    border: 1px solid rgba(0, 100, 0, 0.2);
}

/* === Tile Hover Previews === */
.tile-hover-preview {
    position: absolute;
    bottom: -100px;
    left: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 100, 0, 0.95), rgba(0, 77, 0, 0.95));
    border-radius: var(--nav-radius);
    padding: 1rem;
    transition: var(--nav-transition);
    opacity: 0;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 4px 15px rgba(0, 100, 0, 0.3);
}

.category-tile:hover .tile-hover-preview {
    bottom: 1.5rem;
    opacity: 1;
}

.preview-item {
    color: white;
    font-size: 0.9rem;
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.preview-item:last-child {
    border-bottom: none;
}

.preview-item:hover {
    color: #FFD700;
    transform: translateX(3px);
}

/* === Mobile Menu Overlay === */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--nav-transition);
}

.mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: fit-content;
    height: 100%;
    background: white;
    padding: 2rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: var(--nav-transition);
}

.mobile-menu-overlay.show .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ecf0f1;
}

.mobile-menu-header h2 {
    color: var(--nav-dark);
    margin: 0;
}

.close-mobile-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--nav-dark);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-section {
    margin-bottom: 2rem;
}

.mobile-menu-section h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--nav-dark);
    font-size: 1.1rem;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: var(--nav-dark);
    text-decoration: none;
    border-radius: var(--nav-radius);
    margin-bottom: 0.5rem;
    transition: var(--nav-transition);
}

.mobile-menu-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.mobile-menu-item i {
    width: 20px;
    text-align: center;
    color: var(--nav-primary);
}

/* === Mobile Bottom Navigation === */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e9ecef;
    padding: 0.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.25rem;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-bottom-nav.show {
    transform: translateY(0);
}

/* Desktop: mobile nav is available but hidden by default */
@media (min-width: 901px) {
    .mobile-bottom-nav:not(.show) {
        display: none;
    }
    
    .mobile-bottom-nav.show {
        display: grid;
        transform: translateY(0);
    }
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 0.5rem;
    border: none;
    background: none;
    color: #7f8c8d;
    cursor: pointer;
    border-radius: var(--nav-radius);
    transition: var(--nav-transition);
    min-height: 60px;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
    color: var(--nav-primary);
    background: rgba(0, 100, 0, 0.05);
}

.bottom-nav-item.emergency {
    color: var(--nav-emergency);
}

.bottom-nav-item.emergency:hover {
    background: rgba(231, 76, 60, 0.05);
}

.bottom-nav-item i {
    font-size: 1.2rem;
}

.bottom-nav-item span {
    font-size: 0.7rem;
    font-weight: 500;
}

/* === Floating Actions === */
.floating-actions {
    position: fixed;
    bottom: 100px;
    right: 1rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* === Help Bubble === */
.help-bubble {
    background: white;
    border-radius: var(--nav-radius);
    box-shadow: var(--nav-shadow-hover);
    max-width: 280px;
    animation: bubbleFloat 3s ease-in-out infinite;
    transform: translateX(300px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.help-bubble.show {
    transform: translateX(0);
}

.help-bubble.minimized {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    max-width: 45px;
    background: var(--nav-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.help-bubble.minimized .bubble-content,
.help-bubble.minimized .bubble-actions {
    display: none;
}

.help-bubble.minimized::after {
    content: '💬';
    font-size: 1.2rem;
    color: white;
}

@keyframes bubbleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.bubble-content {
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bubble-avatar {
    width: 40px;
    height: 40px;
    background: var(--nav-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.bubble-text strong {
    display: block;
    color: var(--nav-dark);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.bubble-text span {
    color: #7f8c8d;
    font-size: 0.8rem;
}

.bubble-actions {
    display: flex;
    border-top: 1px solid #ecf0f1;
}

.bubble-action {
    flex: 1;
    padding: 0.75rem;
    text-align: center;
    text-decoration: none;
    color: var(--nav-primary);
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--nav-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.bubble-action:hover {
    background: #f8f9fa;
}

.bubble-action.call {
    border-right: 1px solid #ecf0f1;
    color: var(--nav-emergency);
}

/* === Smart Back to Top === */
.smart-back-to-top {
    position: relative;
    width: 50px;
    height: 50px;
    background: var(--nav-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--nav-transition);
    box-shadow: var(--nav-shadow);
    opacity: 0;
    visibility: hidden;
    transform: scale(0);
}

.smart-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.smart-back-to-top:hover {
    background: #004d00;
    transform: scale(1.1);
}

.back-to-top-suggestions {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: white;
    border-radius: var(--nav-radius);
    box-shadow: var(--nav-shadow);
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--nav-transition);
    white-space: nowrap;
}

.smart-back-to-top:hover .back-to-top-suggestions {
    opacity: 1;
    visibility: visible;
}

.back-to-top-suggestions span {
    display: block;
    font-size: 0.8rem;
    color: var(--nav-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.quick-suggestions {
    display: flex;
    gap: 0.5rem;
}

.quick-suggestions a {
    color: var(--nav-primary);
    text-decoration: none;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: var(--nav-transition);
}

.quick-suggestions a:hover {
    background: var(--nav-primary);
    color: white;
}

/* === Context Actions === */
.context-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.context-action {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--nav-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--nav-transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.context-action:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: var(--nav-shadow);
}

/* === Quick Search Overlay === */
.quick-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transition: var(--nav-transition);
}

.quick-search-overlay.show {
    opacity: 1;
    visibility: visible;
}

.quick-search-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: var(--nav-radius);
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.quick-search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.quick-search-header h2 {
    color: var(--nav-dark);
    margin: 0;
}

.close-quick-search {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--nav-dark);
    cursor: pointer;
    padding: 0.5rem;
}

.quick-search-input-container {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 25px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
}

.quick-search-input-container i {
    color: var(--nav-primary);
    margin-right: 0.75rem;
}

.quick-search-input-container input {
    flex: 1;
    border: none;
    outline: none;
    background: none;
    font-size: 1.1rem;
    color: var(--nav-dark);
}

.voice-search-btn {
    background: var(--nav-secondary);
    color: var(--nav-dark);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--nav-transition);
    margin-left: 0.5rem;
}

.quick-search-suggestions h3 {
    color: var(--nav-dark);
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* === Mobile Categories Modal === */
.mobile-categories-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2002;
    opacity: 0;
    visibility: hidden;
    transition: var(--nav-transition);
}

.mobile-categories-overlay.show {
    opacity: 1;
    visibility: visible;
}

.mobile-categories-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 20px 20px 0 0;
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: var(--nav-transition);
}

.mobile-categories-overlay.show .mobile-categories-content {
    transform: translateY(0);
}

.mobile-categories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.mobile-categories-header h2 {
    color: var(--nav-dark);
    margin: 0;
    font-size: 1.3rem;
}

.close-mobile-categories {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--nav-dark);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--nav-transition);
}

.close-mobile-categories:hover {
    background: #f0f0f0;
}

.mobile-categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.mobile-category-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: var(--nav-dark);
    transition: var(--nav-transition);
    border: 2px solid transparent;
}

.mobile-category-item:hover {
    background: #f0f8f0;
    border-color: var(--nav-primary);
    transform: translateY(-2px);
}

.mobile-category-item i {
    font-size: 1.8rem;
    color: var(--nav-primary);
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.mobile-category-info h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    color: var(--nav-dark);
}

.mobile-category-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.3;
}

.suggestion-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.suggestion-pill {
    background: #f8f9fa;
    color: var(--nav-dark);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--nav-transition);
    font-size: 0.9rem;
}

.suggestion-pill:hover {
    background: var(--nav-primary);
    color: white;
    transform: translateY(-2px);
}

/* === Responsive Design === */
@media (max-width: 1200px) {
    .nav-container {
        grid-template-columns: auto auto 1fr auto;
    }
    
    .brand-text {
        display: none;
    }
}

@media (min-width: 1001px) and (max-width: 1300px) {
    /* Hide the main nav language selector between 1000-1300px as it doesn't fit */
    .gtranslate_wrapper {
        display: none;
    }
    
    .language-btn {
        display: none;
    }
}

@media (max-width: 1000px) {
    /* Tablet and mobile simplified header */
    .primary-nav-bar {
        padding: 0.5rem 0;
    }
    
    .nav-container {
        grid-template-columns: auto 1fr auto auto;
        gap: 0.75rem;
        padding: 0.5rem 1rem;
    }
    
    /* Hide emergency button on tablets/mobile */
    .emergency-btn {
        display: none;
    }
    
    /* Show support center text and adjust brand */
    .brand-text {
        display: flex;
    }
    
    .brand-title {
        font-size: 1rem;
    }
    
    .brand-subtitle {
        font-size: 0.8rem;
    }
    
    /* Hide most quick action buttons except menu toggle */
    .quick-action-btn:not(.menu-toggle) {
        display: none;
    }
    
    /* Make menu toggle into a lightning bolt quick links button */
    .menu-toggle {
        background: var(--nav-secondary);
        color: var(--nav-dark);
        padding: 0.6rem;
        min-width: 44px;
        border-radius: var(--nav-radius);
    }
    
    .menu-toggle:hover {
        background: #e6c200;
        transform: translateY(-2px);
    }
    
    /* Compact search */
    .smart-search-container {
        max-width: none;
        margin: 0;
    }
    
    .search-wrapper {
        padding: 0.3rem;
    }
    
    .smart-search-input {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }
    
    .search-voice-btn {
        width: 32px;
        height: 32px;
    }
    
    /* Hide category navigation on mobile */
    .category-nav-container {
        display: none;
    }
    
    /* Compact floating actions */
    .floating-actions {
        bottom: 90px;
        right: 0.5rem;
        left: auto;
    }
    
    .help-bubble {
        max-width: 200px;
        transform: translateX(250px);
    }
    
    .help-bubble.show {
        transform: translateX(-10px);
    }
    
    .smart-back-to-top {
        width: 40px;
        height: 40px;
    }
    
    .context-actions {
        gap: 0.25rem;
    }
    
    .context-action {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 540px) {
    /* Very small mobile - minimal layout */
    .nav-container {
        grid-template-columns: auto 1fr auto;
        padding: 0.4rem 0.75rem;
        gap: 0.5rem;
    }
    
    .primary-nav-bar {
        padding: 0.3rem 0;
    }
    
    /* Minimal logo */
    .brand-logo {
        height: 32px;
    }
    
    /* Keep support center text but make it smaller */
    .brand-title {
        font-size: 0.9rem;
    }
    
    .brand-subtitle {
        font-size: 0.75rem;
    }
    
    /* Compact search */
    .smart-search-input {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }
    
    .search-icon {
        font-size: 0.9rem;
    }
    
    .search-voice-btn {
        width: 28px;
        height: 28px;
    }
    
    /* Lightning bolt quick links button */
    .menu-toggle {
        padding: 0.5rem;
        min-width: 40px;
        font-size: 1rem;
    }
    
    /* Ultra-compact floating actions */
    .floating-actions {
        bottom: 80px;
        right: 0.27rem;
    }
    
    .help-bubble {
        max-width: -fit-content;
        font-size: 0.85rem;
    }
    
    .smart-back-to-top {
        width: 36px;
        height: 36px;
    }
    
    .context-action {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

@media (max-width: 500px) {
    /* Two-line navigation for very small screens */
    .nav-container {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 0.5rem;
        padding: 0.4rem 0.75rem;
    }
    
    /* First line: Logo and brand only */
    .brand-section {
        grid-column: 1 / 2;
        grid-row: 1;
    }
    
    /* Second line: Search and menu button */
    .smart-search-container {
        grid-column: 1 / 2;
        grid-row: 2;
        max-width: none;
        margin: 0;
    }
    
    .quick-actions {
        grid-column: 2 / 3;
        grid-row: 2;
        justify-self: end;
    }
    
    /* Adjust brand logo and text size */
    .brand-logo {
        height: 30px;
    }
    
    .brand-title {
        font-size: 0.85rem;
    }
    
    .brand-subtitle {
        font-size: 0.7rem;
    }
    
    /* Compact search */
    .search-wrapper {
        padding: 0.25rem;
    }
    
    .smart-search-input {
        font-size: 0.8rem;
        padding: 0.4rem 0;
    }
    
    .search-voice-btn {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
    }
    
    /* Lightning bolt quick links button */
    .menu-toggle {
        padding: 0.4rem;
        min-width: 36px;
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    /* Tiny screen optimizations */
    .nav-container {
        padding: 0.3rem 0.5rem;
        gap: 0.4rem;
    }
    
    .brand-logo {
        height: 28px;
    }
    
    .brand-title {
        font-size: 0.8rem;
    }
    
    .brand-subtitle {
        font-size: 0.65rem;
    }
    
    .smart-search-input {
        font-size: 0.75rem;
        padding: 0.3rem 0;
    }
    
    .search-voice-btn {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
    
    .menu-toggle {
        padding: 0.35rem;
        min-width: 32px;
        font-size: 0.85rem;
    }
    
    .floating-actions {
        left: 0.2rem;
        bottom: 75px;
    }
    
    .help-bubble {
        max-width: -fit-content;
        font-size: 0.8rem;
    }
    
    .smart-back-to-top {
        width: 32px;
        height: 32px;
    }
    
    .context-action {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    /* Stack floating elements vertically with tighter spacing */
    .context-actions {
        gap: 0.1rem;
    }
}

/* === Accessibility === */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* === Focus Styles === */
.emergency-btn:focus,
.quick-action-btn:focus,
.smart-search-input:focus,
.category-tile:focus,
.bottom-nav-item:focus {
    outline: 2px solid var(--nav-secondary);
    outline-offset: 2px;
}

/* === Print Styles === */
@media print {
    .exceptional-header,
    .mobile-bottom-nav,
    .floating-actions {
        display: none !important;
    }
}

/* === Search Bar in Header === */
.header-search {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    backdrop-filter: blur(10px);
}

.search-container {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 0.5rem;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary-color, #FFD700);
    background: white;
}

.search-input::placeholder {
    color: #666;
}

.search-button {
    padding: 0.75rem 1.5rem;
    background: var(--secondary-color, #FFD700);
    color: #333;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.search-button:hover {
    background: #e6c200;
    transform: translateY(-1px);
}

/* === Improved Breadcrumbs === */
.breadcrumbs {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    margin-bottom: 2rem;
    padding: 0;
}

.breadcrumbs ul {
    list-style: none;
    padding: 1rem 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.breadcrumbs li {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
}

.breadcrumbs li::after {
    content: "›";
    margin: 0 0.5rem;
    color: #ccc;
    font-weight: bold;
}

.breadcrumbs li:last-child::after {
    display: none;
}

.breadcrumbs li:last-child {
    color: var(--primary-color, #006400);
    font-weight: 600;
}

.breadcrumbs a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--primary-color, #006400);
}

/* === Responsive Design === */
@media (max-width: 768px) {
    .page-container {
        padding: 1rem 0.5rem;
    }

    .topic-content {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .topic-content h1 {
        font-size: 1.8rem;
    }

    .category-header {
        padding: 2rem 1rem;
    }

    .category-header h1 {
        font-size: 2rem;
    }

    .topic-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .topic-card {
        padding: 1rem;
    }

    .search-container {
        flex-direction: column;
    }

    .search-button {
        padding: 1rem;
    }

    .breadcrumbs ul {
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 480px) {
    .topic-content {
        padding: 1rem;
    }

    .topic-content h1 {
        font-size: 1.6rem;
    }

    .category-header h1 {
        font-size: 1.8rem;
    }

    .breadcrumbs ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .breadcrumbs li::after {
        display: none;
    }
}
/* Search Results Styling */
.search-results {
    background-color: #fff;
    border: 1px solid #ccc;
    /*border-radius: 5px;*/
    padding: 20px;
    /*max-width: 500px;*/
    margin: 20px auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
}
.search-item {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.search-item a {
    color: #006400;
    font-weight: 500;
    transition: color 0.3s;
}
.search-item a:hover {
    color: #FFD700;
}
/* === Tag Filters Section === */
.tag-filters {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.filter-btn {
    padding: 8px 12px;
    margin: 5px;
    background-color: #e8f5e9;
    color: #006400;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s;
}
.filter-btn:hover {
    background-color: #c8e6c9;
}
.filter-btn.active {
    background-color: #006400;
    color: white;
}

/* === Topic List === */
.topic-list ul {
    list-style-type: none;
    padding: 0;
}
.topic-list li {
    padding: 8px;
    font-size: 1rem;
    border-bottom: 1px solid #ddd;
}
.topic-list li a {
    color: #006400;
    font-weight: 500;
    transition: color 0.3s;
}
.topic-list li a:hover {
    color: #FFD700;
}

/* === Mobile Menu Overlay === */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    /*width: 280px;*/
    height: 100%;
    background: white;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu-overlay.show .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    /*background: var(--nav-primary);*/
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--nav-secondary);
}

.mobile-menu-header h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.close-mobile-menu {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.close-mobile-menu:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-items {
    padding: 1rem 0;
    overflow-y: auto;
    height: calc(100% - 80px);
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.mobile-menu-item:hover {
    background: #f8f9fa;
}

.mobile-menu-item.language-switcher a {
    color: var(--nav-dark) !important;
}

.mobile-menu-item.emergency {
    background: #fef2f2;
    border-left: 4px solid #e74c3c;
}

.mobile-menu-item.emergency:hover {
    background: #fee2e2;
}

.mobile-menu-item.emergency i {
    color: #e74c3c;
}

.mobile-menu-item i {
    font-size: 1.2rem;
    color: var(--nav-primary);
    width: 20px;
    text-align: center;
}

.mobile-menu-item .menu-logo-icon {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    object-fit: contain;
}

.menu-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-item-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
}

.menu-item-desc {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.2rem;
}

.mobile-menu-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 0.5rem 1.5rem;
}

.language-switcher {
    padding: 1rem 1.5rem !important;
    background: #f8f9fa !important;
    border: none !important;
}

.language-options {
    margin-top: 0.75rem;
}

.language-options .gtranslate_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start;
}

.language-options .gtranslate_wrapper .glink {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    min-width: 60px;
    justify-content: center;
}

.language-options .gtranslate_wrapper .glink:hover {
    border-color: var(--nav-primary);
    background: #f0f7ff;
}

.language-options .gtranslate_wrapper .gt-current-lang {
    background: var(--nav-secondary);
    color: white;
    border-color: var(--nav-primary);
}

.language-options .gtranslate_wrapper .glink img {
    width: 20px;
    height: 20px;
    border-radius: 2px;
}

.language-options .gtranslate_wrapper .glink span {
    font-weight: 500;
    font-size: 0.7rem;
}

@media (max-width: 540px) {
    .mobile-menu-content {
        /*width: 260px;*/
    }
    
    .mobile-menu-header {
        padding: 1.2rem;
    }
    
    .mobile-menu-item {
        padding: 0.8rem 1.2rem;
    }
    
    .language-options .gtranslate_wrapper {
        gap: 0.3rem;
    }
    
    .language-options .gtranslate_wrapper .glink {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
        min-width: 50px;
    }
    
    .language-options .gtranslate_wrapper .glink img {
        width: 16px;
        height: 16px;
    }
    
    .language-options .gtranslate_wrapper .glink span {
        font-size: 0.65rem;
    }
}
