/* style/support.css */

/* Biến CSS cho màu sắc */
:root {
    --page-support-primary-color: #FFD700; /* Vàng kim */
    --page-support-secondary-color: #000080; /* Xanh đậm */
    --page-support-text-dark: #333333;
    --page-support-text-light: #FFFFFF;
    --page-support-background-light: #F8F8F8;
    --page-support-background-dark: #1A1A2E; /* Một màu nền tối hơn để tạo độ tương phản */
    --page-support-accent-color: #FF4500; /* Màu cam để tạo điểm nhấn */
}

.page-support {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-support-text-dark);
    background-color: var(--page-support-background-light);
}

.page-support-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-support-section {
    padding: 60px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.page-support-section:last-of-type {
    border-bottom: none;
}

.page-support-hero {
    position: relative;
    background: linear-gradient(135deg, var(--page-support-primary-color) 0%, var(--page-support-secondary-color) 100%);
    color: var(--page-support-text-light);
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.page-support-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Làm mờ hình ảnh để chữ nổi bật */
    z-index: 0;
}

.page-support-hero .page-support-container {
    position: relative;
    z-index: 1;
}

.page-support-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--page-support-text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-support-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-support-heading {
    font-size: 2.5em;
    color: var(--page-support-secondary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-support-heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-support-primary-color);
    border-radius: 2px;
}

.page-support-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-support-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-support-list-item {
    background-color: #fff;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-support-list-item::before {
    content: '✅';
    margin-right: 15px;
    font-size: 1.2em;
}

.page-support-list--security .page-support-list-item::before {
    content: '🔒';
}

.page-support-btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    margin: 10px;
    text-align: center;
}

.page-support-btn--primary {
    background-color: var(--page-support-primary-color);
    color: var(--page-support-secondary-color);
    border: 2px solid var(--page-support-primary-color);
}

.page-support-btn--primary:hover {
    background-color: #FFC107;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-support-btn--secondary {
    background-color: var(--page-support-secondary-color);
    color: var(--page-support-text-light);
    border: 2px solid var(--page-support-secondary-color);
}

.page-support-btn--secondary:hover {
    background-color: #000066;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-support-link {
    color: var(--page-support-primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-support-link:hover {
    text-decoration: underline;
    color: #FFC107;
}

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

.page-support-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-support-card-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain; /* Đảm bảo hình ảnh không bị méo */
}

.page-support-card-title {
    font-size: 1.6em;
    color: var(--page-support-secondary-color);
    margin-bottom: 15px;
}

.page-support-card-description {
    font-size: 1em;
    color: var(--page-support-text-dark);
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-support-contact-info {
    font-weight: bold;
    color: var(--page-support-accent-color);
    font-size: 1.1em;
    margin-top: 10px;
}

.page-support-faq-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-support-faq-question {
    font-size: 1.4em;
    color: var(--page-support-secondary-color);
    margin-bottom: 10px;
}

.page-support-faq-answer {
    font-size: 1em;
    color: var(--page-support-text-dark);
}

.page-support-image-full-width {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 12px;
    margin: 40px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-support-cta-banner {
    background: linear-gradient(90deg, var(--page-support-secondary-color) 0%, #000066 100%);
    color: var(--page-support-text-light);
    border-radius: 12px;
    padding: 40px;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-support-cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 0;
}

.page-support-cta-content {
    position: relative;
    z-index: 1;
}

.page-support-cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--page-support-primary-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-support-cta-text {
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.page-support-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-support-title {
        font-size: 2.5em;
    }
    .page-support-heading {
        font-size: 2em;
    }
    .page-support-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-support-cta-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-support-hero {
        padding: 80px 0;
    }
    .page-support-title {
        font-size: 2em;
    }
    .page-support-description {
        font-size: 1em;
    }
    .page-support-heading {
        font-size: 1.8em;
    }
    .page-support-section {
        padding: 40px 0;
    }
    .page-support-grid {
        grid-template-columns: 1fr;
    }
    .page-support-card {
        padding: 25px;
    }
    .page-support-cta-banner {
        padding: 30px;
    }
    .page-support-cta-title {
        font-size: 1.8em;
    }
    .page-support-cta-text {
        font-size: 0.95em;
    }
    .page-support-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-support-title {
        font-size: 1.8em;
    }
    .page-support-heading {
        font-size: 1.5em;
    }
    .page-support-faq-question {
        font-size: 1.2em;
    }
    .page-support-list-item {
        padding: 12px 15px;
    }
    .page-support-cta-title {
        font-size: 1.5em;
    }
    .page-support-cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-support-btn {
        width: 100%;
    }
}