/* Help Center Styles */
:root {
    --primary: #05A243;
    --secondary: #FBAE00;
    --white: #FFFFFF;
    --black: #000000;
    --light-gray: #F5F5F5;
    --dark-gray: #333333;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Help Hero Section */
.help-hero {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.help-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 30px;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    width: 90%;
}

.search-container input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 30px;
    border: none;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.search-container button {
    position: absolute;
    right: 5px;
    top: 5px;
    background-color: var(--secondary);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-container button:hover {
    background-color: #e09d00;
}

/* Main Help Content */
.help-main {
    padding: 60px 0;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.help-category {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: transform 0.3s ease;
    width: 100%;
}

.help-category:hover {
    transform: translateY(-5px);
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
}

.category-header i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 15px;
}

.category-header h2 {
    font-size: 1.5rem;
    color: var(--black);
}

.article-list {
    list-style: none;
}

.article-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-color);
}

.article-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.article-list a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.article-list a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Popular Articles */
.popular-articles {
    margin-bottom: 60px;
}

.popular-articles h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--black);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.article-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.article-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.article-card h3 a {
    color: var(--black);
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-card h3 a:hover {
    color: var(--primary);
}

.article-card p {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

/* Contact Support */
.contact-support {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 50px;
    text-align: center;
    width: 100%;
    overflow: hidden;
}

.contact-support h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--black);
}

.contact-support p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.support-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.support-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.support-btn i {
    margin-right: 10px;
}

.email-btn {
    background-color: var(--primary);
    color: var(--white);
}

.email-btn:hover {
    background-color: #048a38;
    transform: translateY(-3px);
}

.chat-btn {
    background-color: var(--secondary);
    color: var(--white);
}

.chat-btn:hover {
    background-color: #e09d00;
    transform: translateY(-3px);
}

/* Cookie Consent Popup */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.cookie-content {
    padding: 20px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    background-color: #e09d00;
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .help-hero h1 {
        font-size: 2.4rem;
    }
    
    .help-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .help-hero {
        padding: 60px 0;
    }
    
    .help-hero h1 {
        font-size: 2rem;
    }
    
    .help-main {
        padding: 40px 0;
    }
    
    .contact-support {
        padding: 40px 20px;
    }
    
    .help-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
        padding: 0 10px;
    }
    
    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .help-hero {
        padding: 50px 0;
    }
    
    .help-hero h1 {
        font-size: 1.8rem;
        padding: 0 10px;
    }
    
    .search-container {
        width: 95%;
    }
    
    .search-container input {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .search-container button {
        width: 35px;
        height: 35px;
    }
    
    .cookie-consent {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }
    
    .help-category {
        padding: 20px;
    }
    
    .category-header h2 {
        font-size: 1.3rem;
    }
    
    .article-card {
        padding: 20px;
    }
    
    .support-btn {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .support-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-support {
        padding: 30px 15px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        right: 15px;
        bottom: 15px;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Fix for horizontal overflow */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}