/* style/support.css */
/* body đã padding-top: var(--header-offset) từ shared.css, không lặp lại ở đây */

.page-support {
    font-family: 'Arial', sans-serif;
    background-color: #08160F; /* Nền chung của trang */
    color: #F2FFF6; /* Màu chữ chính */
    line-height: 1.6;
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Mặc định trên desktop là column */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Chỉ một khoảng cách nhỏ từ header */
    text-align: center;
    overflow: hidden;
}

.page-support__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Kích thước tối đa cho ảnh hero */
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-support__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}

.page-support__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #F2C14E; /* Màu vàng Gold cho tiêu đề chính */
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Hiệu ứng glow nhẹ */
}

.page-support__description {
    font-size: 1.1rem;
    color: #A7D9B8; /* Màu chữ phụ */
    margin-bottom: 40px;
}

.page-support__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Cho phép các nút xuống dòng trên mobile */
    justify-content: center;
    gap: 20px;
}

.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Đảm bảo nút không tràn ra ngoài trên mobile */
    white-space: normal; /* Cho phép chữ xuống dòng */
    word-wrap: break-word; /* Ngắt từ khi cần */
}

.page-support__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6; /* Màu chữ chính */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-support__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-support__btn-secondary {
    background-color: transparent;
    color: #57E38D; /* Màu Glow */
    border: 2px solid #2E7A4E; /* Màu Border */
    box-shadow: 0 2px 10px rgba(34, 199, 104, 0.2);
}

.page-support__btn-secondary:hover {
    background-color: rgba(34, 199, 104, 0.1);
    transform: translateY(-3px);
    color: #F2FFF6; /* Màu chữ chính */
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-support__btn-small {
    padding: 10px 20px;
    font-size: 0.95rem;
}

/* General Section Styling */
.page-support__section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 20px;
    background-color: #11271B; /* Màu nền Card BG */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Màu Border */
}

.page-support__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #F2C14E; /* Màu vàng Gold */
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.4);
}

.page-support__section-description {
    font-size: 1.05rem;
    color: #A7D9B8; /* Màu chữ phụ */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-support__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

/* Contact Methods Section */
.page-support__contact-methods {
    text-align: center;
}

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

.page-support__method-card {
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__method-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%;
    background-color: rgba(34, 199, 104, 0.1);
    padding: 10px;
}

.page-support__method-title {
    font-size: 1.5rem;
    color: #F2FFF6; /* Màu chữ chính */
    margin-bottom: 15px;
}

.page-support__method-text {
    color: #A7D9B8; /* Màu chữ phụ */
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-support__hotline-number {
    color: #F2C14E; /* Màu vàng Gold */
    font-weight: 700;
}

/* FAQ Section */
.page-support__faq-list {
    margin-top: 40px;
}

.page-support__faq-item {
    background-color: #0A4B2C; /* Màu Deep Green */
    border: 1px solid #2E7A4E; /* Màu Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-support__faq-item[open] {
    background-color: #11271B; /* Màu nền Card BG khi mở */
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #F2FFF6; /* Màu chữ chính */
    cursor: pointer;
    background-color: #0A4B2C; /* Màu Deep Green */
    transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
    background-color: #13994A; /* Màu xanh đậm hơn khi hover */
}

.page-support__faq-question::-webkit-details-marker,
.page-support__faq-question::marker {
    display: none; /* Ẩn dấu mũi tên mặc định của details/summary */
}

.page-support__faq-qtext {
    flex-grow: 1;
}

.page-support__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #F2C14E; /* Màu vàng Gold */
    margin-left: 20px;
    width: 20px;
    text-align: center;
}

.page-support__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: #A7D9B8; /* Màu chữ phụ */
    line-height: 1.7;
}

.page-support__faq-answer p {
    margin-bottom: 15px;
}

/* Guides Section */
.page-support__guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-support__guide-card {
    text-align: center;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__guide-image {
    width: 100%;
    height: 200px; /* Chiều cao cố định cho ảnh */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-support__guide-title {
    font-size: 1.35rem;
    color: #F2FFF6; /* Màu chữ chính */
    margin-bottom: 10px;
    min-height: 50px; /* Đảm bảo chiều cao tối thiểu cho tiêu đề */
}

.page-support__guide-title a {
    color: #F2FFF6; /* Màu chữ chính */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-support__guide-title a:hover {
    color: #57E38D; /* Màu Glow khi hover */
}

.page-support__guide-text {
    color: #A7D9B8; /* Màu chữ phụ */
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Policies Section */
.page-support__policies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-support__policy-card {
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__policy-title {
    font-size: 1.3rem;
    color: #F2FFF6; /* Màu chữ chính */
    margin-bottom: 10px;
    min-height: 40px;
}

.page-support__policy-title a {
    color: #F2FFF6; /* Màu chữ chính */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-support__policy-title a:hover {
    color: #57E38D; /* Màu Glow khi hover */
}

.page-support__policy-text {
    color: #A7D9B8; /* Màu chữ phụ */
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Feedback Section - Darker background */
.page-support__feedback-section {
    background-color: #0A4B2C; /* Màu Deep Green */
    border-color: #1E3A2A; /* Màu Divider */
    color: #F2FFF6; /* Chữ chính màu sáng */
    text-align: center;
}

.page-support__feedback-section .page-support__section-title {
    color: #F2C14E; /* Màu vàng Gold */
}

.page-support__feedback-section .page-support__section-description {
    color: #A7D9B8; /* Màu chữ phụ */
}

/* Final CTA Section */
.page-support__final-cta {
    text-align: center;
    margin-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-support__hero-section {
        padding: 40px 15px;
    }

    .page-support__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .page-support__description {
        font-size: 1rem;
    }

    .page-support__cta-buttons {
        gap: 15px;
    }

    .page-support__btn-primary,
    .page-support__btn-secondary {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .page-support__section {
        margin: 40px auto;
        padding: 30px 15px;
    }

    .page-support__section-title {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
    }

    .page-support__section-description {
        font-size: 0.95rem;
    }

    .page-support__method-card,
    .page-support__guide-card,
    .page-support__policy-card {
        padding: 20px;
    }

    .page-support__method-title,
    .page-support__guide-title,
    .page-support__policy-title {
        font-size: 1.2rem;
    }

    .page-support__faq-question {
        font-size: 1.05rem;
        padding: 15px 20px;
    }

    .page-support__faq-answer {
        font-size: 0.95rem;
        padding: 0 20px 15px 20px;
    }
}

@media (max-width: 768px) {
    .page-support__hero-section {
        padding: 30px 15px;
    }

    .page-support__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-support__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-support__description {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    .page-support__cta-buttons {
        flex-direction: column; /* Nút xếp chồng trên mobile */
        gap: 10px;
    }

    .page-support__btn-primary,
    .page-support__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-support__section {
        margin: 30px auto;
        padding: 25px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-support__section-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
        margin-bottom: 20px;
    }

    .page-support__section-description {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    /* Images responsive */
    .page-support img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-support__hero-image-wrapper,
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__video-section,
    .page-support__video-container,
    .page-support__video-wrapper,
    .page-support__cta-buttons,
    .page-support__button-group,
    .page-support__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-support__video-section {
        padding-top: 10px !important;
    }

    /* Grid layouts for mobile */
    .page-support__methods-grid,
    .page-support__guides-grid,
    .page-support__policies-grid {
        grid-template-columns: 1fr; /* Một cột trên mobile */
        gap: 20px;
    }

    .page-support__method-card,
    .page-support__guide-card,
    .page-support__policy-card {
        padding: 15px;
    }

    .page-support__method-icon {
        width: 80px;
        height: 80px;
    }

    .page-support__method-title,
    .page-support__guide-title,
    .page-support__policy-title {
        font-size: 1.1rem;
    }

    .page-support__faq-question {
        font-size: 1rem;
        padding: 12px 15px;
    }

    .page-support__faq-answer {
        font-size: 0.9rem;
        padding: 0 15px 12px 15px;
    }
}