/* Help Center Page Styles */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

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

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.search-box input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 1rem;
    outline: none;
}

.search-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: var(--accent-color-dark);
}

/* Help Categories */
.help-categories {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.help-categories h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color-dark);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: var(--text-color-dark);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.category-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.category-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.category-card p {
    color: var(--text-color-light);
    font-size: 0.9rem;
}

/* Help Content Sections */
.help-content {
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

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

.help-section {
    max-width: 900px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.section-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.section-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.section-header h2 {
    color: var(--text-color-dark);
    margin: 0;
    font-size: 1.8rem;
}

.help-articles {
    margin-bottom: 40px;
}

.help-article {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.help-article:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.help-article h3 {
    margin-bottom: 10px;
    color: var(--text-color-dark);
    font-size: 1.2rem;
}

.help-article p {
    color: var(--text-color);
    margin-bottom: 15px;
}

.article-steps {
    margin: 20px 0;
}

.step {
    display: flex;
    margin-bottom: 20px;
}

.step-number {
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    margin-bottom: 5px;
    color: var(--text-color-dark);
    font-size: 1.1rem;
}

.step-content p {
    color: var(--text-color);
    margin-bottom: 0;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.read-more:hover {
    color: var(--primary-color-dark);
}

.read-more:hover i {
    transform: translateX(3px);
}

.view-all {
    text-align: center;
}

.btn-outline {
    display: inline-block;
    padding: 12px 25px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

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

/* Video Tutorials Section */
.video-tutorials {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.video-tutorials h2 {
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-color-dark);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-color);
}

.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.tutorial-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.tutorial-thumbnail {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.tutorial-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.tutorial-card:hover .tutorial-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s, background-color 0.3s;
}

.play-button i {
    color: white;
    font-size: 1.2rem;
}

.tutorial-card:hover .play-button {
    opacity: 1;
}

.play-button:hover {
    background-color: var(--primary-color);
    cursor: pointer;
}

.tutorial-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
}

.tutorial-content {
    padding: 20px;
}

.tutorial-content h3 {
    margin-bottom: 10px;
    color: var(--text-color-dark);
    font-size: 1.1rem;
}

.tutorial-content p {
    color: var(--text-color);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color-dark);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto 30px;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question h3 {
    margin: 0;
    color: var(--text-color-dark);
    font-size: 1.1rem;
    font-weight: 500;
}

.faq-toggle {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

.faq-answer p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

.faq-more {
    text-align: center;
}

.faq-more p {
    color: var(--text-color);
}

.faq-more a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.faq-more a:hover {
    text-decoration: underline;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.contact-content h2 {
    margin-bottom: 15px;
    color: var(--text-color-dark);
}

.contact-content p {
    margin-bottom: 40px;
    color: var(--text-color);
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-option {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.option-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.option-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-option h3 {
    margin-bottom: 10px;
    color: var(--text-color-dark);
}

.contact-option p {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 0.9rem;
}

.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
    cursor: pointer;
}

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

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .section-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .tutorials-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .contact-options {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-option {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .search-box {
        flex-direction: column;
        border-radius: 10px;
    }
    
    .search-box input {
        width: 100%;
        border-radius: 10px 10px 0 0;
    }
    
    .search-btn {
        width: 100%;
        border-radius: 0 0 10px 10px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .tutorials-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}
