/* Help Page Styles */
.help-page {
    background-color: #ffffff;
    min-height: calc(100vh - 80px - 300px); /* Adjust based on header/footer height */
}

.help-container {
    display: flex;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    gap: 40px;
}

/* Sidebar */
.sidebar {
    width: 300px;
    flex-shrink: 0;
}

.sidebar-menu {
    background: #fff;
}

.menu-item {
    margin-bottom: 10px;
}

.menu-title {
    padding: 12px 16px;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.menu-title:hover {
    background-color: #f5f7fa;
}

.menu-title i {
    margin-right: 10px;

    width: 20px; 
    text-align: center;
    color: #666;
}

.menu-title .badge {
    background-color: #eee;
    color: #666;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
}

/* Mock icons */
.icon-info::before { content: "ⓘ"; }
.icon-global::before { content: "🌐"; }
.icon-money::before { content: "💲"; }
.icon-doc::before { content: "📄"; }

.menu-title .arrow {
    margin-left: auto;
    font-size: 12px;
    color: #999;
}

.menu-item.expanded .menu-title {
    background-color: #e6f0ff;
    color: #0066ff;
}

.menu-item.expanded .menu-title i {
    color: #0066ff;
}

.menu-item.expanded .arrow::before {
    content: "▼";
}
.menu-item:not(.expanded) .arrow::before {
    content: "▶";
}

.submenu {
    display: none;
    padding-left: 46px;
    margin-top: 5px;
}

.menu-item.expanded .submenu {
    display: block;
}

.submenu-item {
    display: block;
    padding: 8px 0;
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.submenu-item:hover, .submenu-item.active {
    color: #0066ff;
}

/* Main Content */
.help-content {
    flex: 1;
    background: #fff;
    padding: 20px 40px;
    border-radius: 16px;
    /* box-shadow: 0 4px 20px rgba(0,0,0,0.03); */ /* Optional: if we want the main content area to pop */
}

.page-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 5px;
    background: linear-gradient(90deg, #0066ff, #00c6ff);
    border-radius: 3px;
}

.section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 24px;
    background: #0066ff;
    margin-right: 12px;
    border-radius: 4px;
}

.quote-block {
    background: linear-gradient(135deg, #f8faff 0%, #f2f6ff 100%);
    border: 1px solid #e1e8f5;
    /* border-left: none; */
    padding: 30px;
    border-radius: 16px;
    color: #4a5568;
    line-height: 1.8;
    font-size: 16px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quote-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 102, 255, 0.08);
}

.quote-block::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 30px;
    font-size: 120px;
    color: rgba(0, 102, 255, 0.05);
    font-family: serif;
    line-height: 1;
    pointer-events: none;
}

.quote-block.highlight {
    background: linear-gradient(135deg, #fff 0%, #f0f7ff 100%);
    border-color: #dbeafe;
}

.quote-block p {
    margin-bottom: 15px;
}

.quote-block p:last-child {
    margin-bottom: 0;
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.contact-card {
    border: none;
    border-radius: 20px;
    padding: 30px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #0066ff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.1);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #8898aa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.contact-card p {
    color: #2d3748;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 5px;
}

.contact-card .highlight-text {
    color: #0066ff;
    font-weight: 700;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid #eee;
}

.help-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    font-size: 15px;
    color: #4a5568;
}

.help-table th {
    background-color: #f8f9fa;
    color: #2d3748;
    font-weight: 600;
    padding: 16px 20px;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
}

.help-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #edf2f7;
    line-height: 1.6;
    vertical-align: middle;
}

.help-table tr:last-child td {
    border-bottom: none;
}

.help-table tr:hover td {
    background-color: #fcfdfe;
}

.icon-text {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    color: #2d3748;
}

.section-intro {
    font-size: 16px;
    color: #4a5568;
    margin-bottom: 20px;
}

.tip-box {
    background-color: #f0f7ff;
    border-left: 4px solid #0066ff;
    padding: 20px;
    border-radius: 8px;
    color: #4a5568;
    margin-top: 30px;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
}

.tip-box .icon {
    margin-right: 12px;
    font-size: 18px;
    color: #ed8936; /* Orange color for the lightbulb */
    flex-shrink: 0;
    margin-top: 2px;
}

.tip-box .content {
    flex: 1;
}

.tip-box strong {
    color: #2d3748;
    font-weight: 600;
}

.help-footer-text {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.8;
    margin-top: 20px;
}

.help-link {
    color: #0066ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.help-link:hover {
    color: #0052cc;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .help-container {
        flex-direction: column;
        margin: 20px auto;
    }
    
    .sidebar {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

/* FAQ Styles */
.faq-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #edf2f7;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
    line-height: 1.5;
}

.faq-answer {
    color: #4a5568;
    line-height: 1.7;
    font-size: 16px;
}

.faq-answer p {
    margin-bottom: 10px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}
