/* style/support.css */

/* Biến CSS */
:root {
    --page-support-primary-color: #003366;
    --page-support-secondary-color: #FFCC00;
    --page-support-text-light: #ffffff;
    --page-support-text-dark: #333333;
    --page-support-background-light: #f9f9f9;
    --page-support-border-color: #e0e0e0;
}

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

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

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

.page-support__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,geometric,pattern]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-support__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-support-text-light);
    position: relative;
    z-index: 1;
}

.page-support__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.page-support__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    position: relative;
    z-index: 1;
    border: none;
    cursor: pointer;
}

.page-support__btn--primary {
    background-color: var(--page-support-secondary-color);
    color: var(--page-support-primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__btn--primary:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
}

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

.page-support__btn--secondary:hover {
    background-color: #002244;
    border-color: #e6b800;
    transform: translateY(-3px);
}

.page-support__section-title {
    font-size: 2.8em;
    color: var(--page-support-primary-color);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-support__section-description {
    font-size: 1.2em;
    text-align: center;
    color: #666;
    margin-bottom: 60px;
}

.page-support__faq-section, .page-support__contact-methods, .page-support__feedback-section {
    padding: 80px 0;
    background-color: var(--page-support-background-light);
}

.page-support__faq-section {
    background-color: #ffffff;
}

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

.page-support__faq-item {
    background-color: #fff;
    border: 1px solid var(--page-support-border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-support__faq-question {
    font-size: 1.5em;
    color: var(--page-support-primary-color);
    margin-bottom: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-support__faq-question::after {
    content: '+';
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

.page-support__faq-answer {
    font-size: 1.1em;
    color: #555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding-top: 10px;
}

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

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

.page-support__link-text:hover {
    color: var(--page-support-secondary-color);
    text-decoration: underline;
}

.page-support__faq-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
}

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

.page-support__method-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-support__method-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    color: var(--page-support-secondary-color);
}

.page-support__method-title {
    font-size: 1.8em;
    color: var(--page-support-primary-color);
    margin-bottom: 15px;
}

.page-support__method-text {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 25px;
}

.page-support__feedback-section {
    background-color: #f0f4f8;
}

.page-support__feedback-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-support__form-group {
    margin-bottom: 20px;
}

.page-support__form-group label {
    display: block;
    font-size: 1.1em;
    color: var(--page-support-primary-color);
    margin-bottom: 8px;
    font-weight: bold;
}

.page-support__form-group input[type="text"],
.page-support__form-group input[type="email"],
.page-support__form-group textarea {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid var(--page-support-border-color);
    border-radius: 5px;
    font-size: 1em;
    color: var(--page-support-text-dark);
    transition: border-color 0.3s ease;
}

.page-support__form-group input:focus,
.page-support__form-group textarea:focus {
    border-color: var(--page-support-secondary-color);
    outline: none;
}

.page-support__form-group textarea {
    resize: vertical;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-support__hero-title {
        font-size: 2.5em;
    }

    .page-support__hero-subtitle {
        font-size: 1.2em;
    }

    .page-support__section-title {
        font-size: 2em;
    }

    .page-support__section-description {
        font-size: 1em;
    }

    .page-support__faq-list, .page-support__method-grid {
        grid-template-columns: 1fr;
    }

    .page-support__hero-section, .page-support__faq-section, .page-support__contact-methods, .page-support__feedback-section {
        padding: 60px 0;
    }

    .page-support__feedback-form {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 2em;
    }

    .page-support__hero-subtitle {
        font-size: 1em;
    }

    .page-support__btn {
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-support__section-title {
        font-size: 1.8em;
    }

    .page-support__faq-item, .page-support__method-item {
        padding: 20px;
    }
}