/* style/help-center.css */

/* Base styles for the help center page content */
.page-help-center {
    font-family: Arial, sans-serif;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
    line-height: 1.6;
}

.page-help-center__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    text-align: center;
    background-color: #0A0A0A; /* Background */
    overflow: hidden;
}

.page-help-center__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

.page-help-center__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-help-center__hero-content {
    max-width: 900px;
    width: 100%;
    z-index: 1;
    position: relative;
}

.page-help-center__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Use clamp for H1 */
    color: #F2C14E; /* Primary color for title */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-help-center__hero-description,
.page-help-center__section-description {
    font-size: 1.1rem;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 30px;
}

.page-help-center__search-box {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.page-help-center__search-input {
    flex-grow: 1;
    padding: 15px 20px;
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
    background-color: #111111; /* Card BG */
    color: #FFF6D6; /* Text Main */
    font-size: 1rem;
    outline: none;
}

.page-help-center__search-input::placeholder {
    color: rgba(255, 246, 214, 0.7);
}

.page-help-center__search-button {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #ffffff; /* White text for contrast */
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.page-help-center__search-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* General Section Styling */
.page-help-center__categories-section,
.page-help-center__faq-section,
.page-help-center__cta-section,
.page-help-center__quick-links-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 20px;
    background-color: #0A0A0A; /* Background */
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-help-center__section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: #FFD36B; /* Auxiliary color for section titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-help-center__section-description {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Category Grid */
.page-help-center__category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-help-center__category-card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    color: #FFF6D6; /* Text Main */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-help-center__category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(242, 193, 78, 0.2);
}

.page-help-center__category-icon {
    width: 250px;
    height: 250px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(242, 193, 78, 0.5)); /* Subtle glow */
}

.page-help-center__category-title {
    font-size: 1.5rem;
    color: #F2C14E; /* Primary color */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-help-center__category-text {
    font-size: 0.95rem;
    color: rgba(255, 246, 214, 0.8); /* Slightly muted text */
}

/* FAQ Section */
.page-help-center__faq-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
}

.page-help-center__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    background-color: #1a1a1a;
    transition: background-color 0.3s ease;
}

.page-help-center__faq-question:hover {
    background-color: #222222;
}

.page-help-center__faq-question h3 {
    font-size: 1.25rem;
    color: #F2C14E; /* Primary color */
    margin: 0;
    font-weight: 600;
}

.page-help-center__faq-toggle {
    font-size: 2rem;
    font-weight: 300;
    color: #FFD36B; /* Auxiliary color */
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-help-center__faq-item.active .page-help-center__faq-toggle {
    transform: rotate(45deg); /* Rotate for minus sign effect */
}

.page-help-center__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #FFF6D6; /* Text Main */
}

.page-help-center__faq-item.active .page-help-center__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value for expansion */
    padding: 20px 30px;
}

.page-help-center__faq-answer p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.page-help-center__faq-answer .page-help-center__contact-button {
    margin-top: 15px;
    display: inline-block;
    padding: 12px 25px;
}

/* CTA Section */
.page-help-center__cta-section {
    text-align: center;
}

.page-help-center__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-help-center__btn-primary,
.page-help-center__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-help-center__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #ffffff; /* White text for contrast */
    border: 2px solid transparent;
}

.page-help-center__btn-primary:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.page-help-center__btn-secondary {
    background-color: transparent;
    color: #F2C14E; /* Primary color */
    border: 2px solid #F2C14E; /* Primary color border */
}

.page-help-center__btn-secondary:hover {
    transform: translateY(-3px);
    background-color: rgba(242, 193, 78, 0.1);
}

/* Quick Links Section */
.page-help-center__quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.page-help-center__quick-link-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
    padding: 15px 20px;
    text-align: center;
    text-decoration: none;
    color: #FFD36B; /* Auxiliary color */
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-help-center__quick-link-item:hover {
    background-color: #F2C14E; /* Primary color */
    color: #111111; /* Dark text for contrast */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-help-center__hero-content {
        max-width: 700px;
    }
    .page-help-center__category-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-help-center__hero-section {
        padding: 10px 15px 40px;
    }
    .page-help-center__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    .page-help-center__hero-description,
    .page-help-center__section-description {
        font-size: 1rem;
    }
    .page-help-center__search-box {
        flex-direction: column;
    }
    .page-help-center__search-button {
        width: 100%;
    }
    .page-help-center__categories-section,
    .page-help-center__faq-section,
    .page-help-center__cta-section,
    .page-help-center__quick-links-section {
        margin: 40px auto;
        padding: 30px 15px;
    }
    .page-help-center__section-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
    }
    .page-help-center__category-grid {
        grid-template-columns: 1fr;
    }
    .page-help-center__category-icon {
        width: 150px; /* Adjusting icon size for mobile to be more prominent but not too large */
        height: 150px;
    }
    .page-help-center__category-title {
        font-size: 1.3rem;
    }
    .page-help-center__faq-question {
        padding: 15px 20px;
    }
    .page-help-center__faq-question h3 {
        font-size: 1.1rem;
    }
    .page-help-center__faq-answer {
        padding: 0 20px;
    }
    .page-help-center__faq-item.active .page-help-center__faq-answer {
        padding: 15px 20px;
    }
    .page-help-center__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-help-center__btn-primary,
    .page-help-center__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        font-size: 1rem;
    }
    .page-help-center__quick-links-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile specific image adaptation */
    .page-help-center img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-help-center__section,
    .page-help-center__card,
    .page-help-center__container,
    .page-help-center__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-help-center__hero-image-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
    /* For buttons, ensure container padding is applied too */
    .page-help-center__cta-buttons {
        padding-left: 15px;
        padding-right: 15px;
    }
}