:root {
    --primary-color: #E53935;
    --secondary-color: #FF5A4F;
    --text-main-color: #333333;
    --card-bg-color: #FFFFFF;
    --background-color: #F5F7FA;
    --border-color: #E0E0E0;
}

.page-help-center {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

/* HERO Section */
.page-help-center__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, main offset from body */
    background-color: var(--background-color);
}

.page-help-center__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure full width for flex item */
}

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

.page-help-center__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-help-center__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 0 15px;
}

.page-help-center__hero-content h1 {
    font-size: clamp(28px, 4vw, 48px); /* Responsive H1 size */
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-help-center__hero-description {
    font-size: 18px;
    color: var(--text-main-color);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-help-center__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
    max-width: 100%; /* Mobile button adaptation */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-help-center__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.6);
}

/* General Sections */
.page-help-center__content-section {
    padding: 50px 20px;
    background-color: var(--card-bg-color); /* Default to white for content sections */
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-help-center__content-section:nth-of-type(even) {
    background-color: var(--background-color); /* Alternate background for readability */
}

.page-help-center__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-help-center__section-title {
    font-size: 32px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-help-center__paragraph {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: justify;
}

.page-help-center__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 30px auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-help-center__faq-section {
    background-color: var(--background-color);
}

.page-help-center__faq-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-help-center__faq-category {
    margin-bottom: 40px;
}

.page-help-center__category-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.page-help-center__category-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

details.page-help-center__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

details.page-help-center__faq-item[open] {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.15);
}

details.page-help-center__faq-item summary.page-help-center__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}
details.page-help-center__faq-item summary.page-help-center__faq-question::-webkit-details-marker {
    display: none;
}
details.page-help-center__faq-item summary.page-help-center__faq-question:hover {
    background: #f5f5f5;
}
.page-help-center__faq-qtext {
    flex: 1;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main-color);
}
.page-help-center__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
    transition: transform 0.3s ease;
}

details.page-help-center__faq-item[open] .page-help-center__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}

details.page-help-center__faq-item .page-help-center__faq-answer {
    padding: 0 20px 20px;
    background: #fcfcfc;
    border-radius: 0 0 8px 8px;
    font-size: 15px;
    color: #555555;
    text-align: justify;
}
.page-help-center__faq-answer p {
    margin-bottom: 10px;
}
.page-help-center__faq-answer .page-help-center__btn-primary {
    margin-top: 15px;
    padding: 10px 25px;
    font-size: 16px;
    border-radius: 30px;
}

/* Contact Info Section */
.page-help-center__contact-info {
    background-color: var(--card-bg-color);
}

.page-help-center__contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-help-center__contact-card {
    background: var(--background-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-help-center__contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-help-center__contact-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-help-center__contact-card p {
    font-size: 15px;
    color: #555555;
    margin-bottom: 25px;
}

.page-help-center__btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(229, 57, 53, 0.3);
    max-width: 100%; /* Mobile button adaptation */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-help-center__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(229, 57, 53, 0.5);
}

.page-help-center__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--card-bg-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 100%; /* Mobile button adaptation */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-help-center__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(229, 57, 53, 0.3);
}

/* Latest News/Blog Section */
.page-help-center__latest-news {
    background-color: var(--background-color);
}

.page-help-center__news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-help-center__news-card {
    background: var(--card-bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-help-center__news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-help-center__news-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-help-center__news-content {
    padding: 20px;
}

.page-help-center__news-title {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 600;
}

.page-help-center__news-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-help-center__news-title a:hover {
    color: var(--secondary-color);
}

.page-help-center__news-date {
    font-size: 13px;
    color: #888888;
    margin-bottom: 15px;
}

.page-help-center__news-excerpt {
    font-size: 15px;
    color: #555555;
    margin-bottom: 20px;
    text-align: justify;
}

.page-help-center__read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-help-center__read-more:hover {
    color: var(--secondary-color);
}

.page-help-center__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap; /* Allow wrapping on mobile */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-help-center__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-help-center__hero-content h1 {
        font-size: clamp(24px, 5vw, 38px);
    }

    .page-help-center__hero-description {
        font-size: 16px;
    }

    .page-help-center__section-title {
        font-size: 28px;
    }

    .page-help-center__category-title {
        font-size: 22px;
    }

    .page-help-center__faq-qtext {
        font-size: 16px;
    }

    .page-help-center__contact-methods {
        grid-template-columns: 1fr;
    }

    .page-help-center__news-grid {
        grid-template-columns: 1fr;
    }

    .page-help-center__news-card img {
        
    }
}

@media (max-width: 768px) {
    .page-help-center__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important;
    }

    .page-help-center__hero-image img {
        border-radius: 4px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-help-center__hero-content h1 {
        font-size: clamp(22px, 6vw, 32px);
        margin-bottom: 15px;
    }

    .page-help-center__hero-description {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .page-help-center__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: auto;
        margin-right: auto;
    }

    .page-help-center__content-section {
        padding: 30px 15px;
    }

    .page-help-center__container {
        padding: 0 10px;
    }

    .page-help-center__section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .page-help-center__paragraph {
        font-size: 15px;
    }

    .page-help-center__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px auto;
    }

    details.page-help-center__faq-item summary.page-help-center__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-help-center__faq-qtext {
        font-size: 15px;
        width: calc(100% - 40px); /* Adjust for toggle icon */
    }
    .page-help-center__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 24px;
    }
    details.page-help-center__faq-item .page-help-center__faq-answer {
        padding: 0 15px 15px;
        font-size: 14px;
    }

    .page-help-center__contact-card {
        padding: 25px;
    }

    .page-help-center__contact-title {
        font-size: 20px;
    }

    .page-help-center__contact-card p {
        font-size: 14px;
    }

    .page-help-center__btn-primary,
    .page-help-center__btn-secondary {
        padding: 10px 20px;
        font-size: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: auto;
        margin-right: auto;
    }

    .page-help-center__button-group {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-help-center__news-card img {
        
    }
    .page-help-center__news-content {
        padding: 15px;
    }
    .page-help-center__news-title {
        font-size: 18px;
    }
    .page-help-center__news-excerpt {
        font-size: 14px;
    }
}

/* Ensure no filter on images */
.page-help-center img {
    filter: none;
}