/* =============================================
   support.css - Styles for Hỗ trợ page
   ============================================= */

.support-main {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f0f9f4 0%, #e8f5e9 100%);
}

.support-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.support-header {
    text-align: center;
    margin-bottom: 48px;
}

.support-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.support-header p {
    font-size: 1.125rem;
    color: #6b7280;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.support-card {
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.support-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 91, 170, 0.15);
}

.support-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.support-icon.phone {
    background: rgba(0, 91, 170, 0.1);
    color: #005BAA;
}

.support-icon.email {
    background: rgba(245, 166, 35, 0.1);
    color: #f5a623;
}

.support-icon.chat {
    background: var(--success-light);
    color: var(--success-color);
}

.support-icon img,
.support-icon svg {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.support-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.support-card p {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 16px;
}

.support-card .btn {
    padding: 10px 24px;
    font-size: 0.875rem;
}

.faq-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 24px;
    text-align: center;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 12px 0;
}

.faq-question h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    flex: 1;
}

.faq-toggle {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.faq-toggle:hover {
    background-color: rgba(0, 91, 170, 0.1);
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 91, 170, 0.2);
}

.faq-toggle:focus {
    outline: 3px solid rgba(0, 91, 170, 0.3);
    outline-offset: 2px;
}

.faq-toggle::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 91, 170, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.faq-toggle:hover::before {
    width: 100%;
    height: 100%;
}

.faq-item.active .faq-toggle {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.faq-item.active .faq-toggle svg {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 12px 0;
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
}

.contact-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 24px;
    text-align: center;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: #f9fafb;
    border-radius: 12px;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-icon.phone {
    background: rgba(0, 91, 170, 0.1);
    color: #005BAA;
}

.contact-method-icon.email {
    background: rgba(245, 166, 35, 0.1);
    color: #f5a623;
}

.contact-method-icon.zalo {
    background: rgba(0, 122, 255, 0.1);
    color: #007AFF;
}

.contact-method-icon.facebook {
    background: rgba(24, 119, 242, 0.1);
    color: #1877F2;
}

.contact-method-icon img,
.contact-method-icon svg {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.contact-method-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.contact-method-info p {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 8px;
}

.contact-method-info a {
    color: #005BAA;
    font-weight: 500;
    text-decoration: none;
}

.contact-method-info a:hover {
    text-decoration: underline;
}

.support-video-section {
    margin-top: 32px;
}

.support-video-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
    text-align: center;
}

.support-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.support-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.working-hours {
    margin-top: 32px;
    padding: 24px;
    background: linear-gradient(135deg, #005BAA 0%, #004a8f 100%);
    border-radius: 12px;
    color: white;
    text-align: center;
}

.working-hours h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.working-hours p {
    opacity: 0.9;
    font-size: 0.9375rem;
}

@media (max-width: 768px) {
    .support-main {
        padding: 80px 0 48px;
    }

    .support-container {
        padding: 0 16px;
    }

    .support-header {
        margin-bottom: 32px;
    }

    .support-header h1 {
        font-size: 1.75rem;
    }

    .support-header p {
        font-size: 1rem;
    }

    .support-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .faq-section,
    .contact-section {
        padding: 20px 16px;
    }

    .support-card {
        min-height: 48px;
    }
}

@media (max-width: 480px) {
    .support-main {
        padding: 72px 0 40px;
    }

    .support-container {
        padding: 0 14px;
    }

    .support-header h1 {
        font-size: 1.5rem;
    }

    .faq-section,
    .contact-section {
        padding: 16px 14px;
    }
}