* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f8fafc;
    color: #334155;
    line-height: 1.6;
}

/* Sleek Navigation Styles */
.navbar {
    background: linear-gradient(135deg, #336EF9 0%, #1e40af 100%);
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(51, 110, 249, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    z-index: 101;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(45deg, #FFB302, #ff8c00);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    color: white;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(255, 179, 2, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 90;
}

.nav-menu li {
    position: static;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.6rem 1rem;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    display: block;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.nav-menu a:hover::before {
    left: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-menu a.active {
    background: rgba(255, 179, 2, 0.2);
    color: #FFB302;
    font-weight: 600;
}

.whatsapp-btn {
    background: linear-gradient(45deg, #25D366, #20bf55);
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    white-space: nowrap;
    margin-left: 1rem;
    position: relative;
    z-index: 91;
}

.whatsapp-btn:hover {
    background: linear-gradient(45deg, #20bf55, #25D366);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn i {
    font-size: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 101;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    background: rgba(51, 110, 249, 0.95);
    backdrop-filter: blur(10px);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

.mobile-nav.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    padding: 0.75rem;
    display: block;
    border-radius: 8px;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: rgba(255, 255, 255, 0.2);
}

/* Main Content Styles */
.help-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.help-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 0;
    background: linear-gradient(135deg, #336EF9 0%, #1e40af 100%);
    color: white;
    border-radius: 1rem;
}

.help-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.help-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.search-section {
    margin-bottom: 3rem;
    text-align: center;
}

.search-box {
    max-width: 600px;
    margin: 0 auto 2rem;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1.5rem 4rem 1.5rem 2rem;
    font-size: 1.1rem;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.search-input:focus {
    border-color: #336EF9;
    box-shadow: 0 0 0 3px rgba(51, 110, 249, 0.1);
}

.search-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: #336EF9;
    color: white;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #1e40af;
    transform: translateY(-50%) scale(1.05);
}

.search-loading {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: none;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-top: 2px solid #336EF9;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.view-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.toggle-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.toggle-btn.active {
    background: #336EF9;
    color: white;
    border-color: #336EF9;
}

.toggle-btn:hover {
    border-color: #336EF9;
    color: #336EF9;
}

.toggle-btn.active:hover {
    color: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.categories-list {
    display: none;
    flex-direction: column;
    gap: 1rem;
}

.category-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #336EF9, #FFB302);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(51, 110, 249, 0.3);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #336EF9, #1e40af);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.category-count {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.category-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

.list-item {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.list-item:hover {
    border-color: #336EF9;
    transform: translateX(4px);
}

.list-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #336EF9, #1e40af);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.list-content {
    flex: 1;
}

.list-title {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.list-count {
    color: #64748b;
    font-size: 0.9rem;
}

.search-results {
    display: none;
    margin-top: 2rem;
}

.result-item {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.result-item:hover {
    border-color: #336EF9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(51, 110, 249, 0.15);
}

.result-title {
    font-weight: 600;
    color: #336EF9;
    margin-bottom: 0.5rem;
    text-decoration: none;
    display: block;
}

.result-title:hover {
    color: #1e40af;
}

.result-category {
    font-size: 0.85rem;
    color: #FFB302;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.result-description {
    color: #64748b;
    font-size: 0.95rem;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: #64748b;
}

.search-suggestions {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.suggestion-item {
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.suggestion-item:hover {
    background-color: #f8fafc;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-title {
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.suggestion-category {
    font-size: 0.85rem;
    color: #FFB302;
}

/* Footer Styles */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #FFB302;
    font-weight: 600;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
    color: #64748b;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #336EF9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #FFB302;
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 0.25rem;
    }

    .nav-menu a {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .whatsapp-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        margin-left: 0.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .whatsapp-btn {
        display: none;
    }

    .help-container {
        padding: 1rem;
    }

    .help-header h1 {
        font-size: 2rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .view-toggle {
        flex-direction: column;
        align-items: center;
    }

    .toggle-btn {
        width: 200px;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        margin-right: 0.5rem;
    }
}