/* style/contact.css */

/* Biến CSS */
:root {
    --primary-color: #1A202C; /* Màu chính: Xám đen */
    --secondary-color: #FFD700; /* Màu phụ: Vàng */
    --text-light: #F0F0F0; /* Chữ sáng */
    --text-dark: #333333; /* Chữ tối */
    --background-light: #FFFFFF; /* Nền sáng */
    --background-dark: #2D3748; /* Nền tối */
    --border-color: #E0E0E0;
    --shadow-light: rgba(0, 0, 0, 0.1);
}

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

.page-contact h1, .page-contact h2, .page-contact h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

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

/* Hero Section */
.page-contact__hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a4a60 100%);
    padding: 60px 0;
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-contact__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.page-contact__hero-image {
    width: 100%;
    max-width: 800px; /* Giới hạn kích thước ảnh */
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px var(--shadow-light);
    object-fit: cover;
}

.page-contact__hero-content h1 {
    color: var(--secondary-color);
    font-size: 3em;
    margin-bottom: 20px;
}

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

.page-contact__cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px var(--shadow-light);
}

/* Methods Section */
.page-contact__methods {
    padding: 60px 0;
    text-align: center;
    background-color: #f8f8f8;
}

.page-contact__methods h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.page-contact__methods p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

.page-contact__method-card {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.page-contact__method-icon {
    width: 120px; /* Tăng kích thước icon */
    height: 120px;
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 50%; /* Có thể làm tròn nếu là icon */
    background-color: #f0f0f0; /* Nền nhẹ cho icon */
    padding: 15px;
}

.page-contact__method-card h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-contact__method-card p {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-contact__link-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-contact__link-button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Form Section */
.page-contact__form-section {
    padding: 60px 0;
    background-color: var(--background-light);
}

.page-contact__form-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.page-contact__form-section p {
    text-align: center;
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-contact__form {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-light);
}

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

.page-contact__form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.page-contact__form-group input[type="text"],
.page-contact__form-group input[type="email"],
.page-contact__form-group textarea {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

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

.page-contact__form-group input:focus,
.page-contact__form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.page-contact__submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__submit-button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 60px 0;
    background-color: #f0f0f0;
}

.page-contact__faq-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.page-contact__faq-section p {
    text-align: center;
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-contact__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background-color: var(--background-light);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f5f5f5;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

.faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: #fcfcfc;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Đủ lớn để chứa nội dung */
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.faq-answer p {
    margin: 0;
    color: var(--text-dark);
}

/* Trust CTA Section */
.page-contact__trust-cta {
    background: linear-gradient(45deg, #2D3748 0%, var(--primary-color) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--text-light);
}

.page-contact__trust-cta h2 {
    color: var(--secondary-color);
    font-size: 2.8em;
    margin-bottom: 20px;
}

.page-contact__trust-cta p {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-contact__cta-button--secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-contact__cta-button--secondary:hover {
    background-color: #e6c200;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-contact__hero-content h1 {
        font-size: 2.5em;
    }
    .page-contact__methods h2, .page-contact__form-section h2, .page-contact__faq-section h2, .page-contact__trust-cta h2 {
        font-size: 2em;
    }
    .page-contact__hero-image {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-content h1 {
        font-size: 2em;
    }
    .page-contact__hero-content p {
        font-size: 1em;
    }
    .page-contact__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-contact__method-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__method-card {
        padding: 25px;
    }
    .page-contact__method-icon {
        width: 100px;
        height: 100px;
    }
    .page-contact__form {
        padding: 20px;
    }
    .page-contact__form-group input, .page-contact__form-group textarea {
        width: calc(100% - 20px);
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 1.5em;
    }
    .page-contact__hero-image {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-content h1 {
        font-size: 1.8em;
    }
    .page-contact__methods h2, .page-contact__form-section h2, .page-contact__faq-section h2, .page-contact__trust-cta h2 {
        font-size: 1.8em;
    }
    .page-contact__hero {
        padding: 40px 0;
    }
    .page-contact__method-card {
        padding: 20px;
    }
    .page-contact__method-icon {
        width: 80px;
        height: 80px;
    }
    .page-contact__form-group label {
        font-size: 0.9em;
    }
    .page-contact__form-group input, .page-contact__form-group textarea {
        padding: 10px;
    }
    .page-contact__submit-button {
        font-size: 1em;
        padding: 12px;
    }
    .faq-question {
        padding: 15px;
    }
    .faq-question h3 {
        font-size: 1em;
    }
    .faq-answer {
        padding: 15px;
    }
}