/* style/contact.css */

/* Biến CSS cho màu sắc */
:root {
    --primary-color: #FFD700; /* Vàng */
    --secondary-color: #8B0000; /* Đỏ sẫm */
    --text-dark: #1a1a1a; /* Gần đen */
    --text-light: #ffffff; /* Trắng */
    --bg-light: #f4f4f4; /* Nền nhạt */
    --bg-dark: #222222; /* Nền tối */
    --border-color: #e0e0e0;
}

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

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

.page-contact h1, .page-contact h2, .page-contact h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

.page-contact h1 {
    font-size: 2.8em;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-contact h2 {
    font-size: 2.2em;
    margin-top: 40px;
}

.page-contact h3 {
    font-size: 1.6em;
    color: var(--text-dark);
}

.page-contact p {
    margin-bottom: 15px;
    text-align: justify;
}

.page-contact a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-contact a:hover {
    color: var(--primary-color);
}

/* Hero Banner Section */
.page-contact .hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.page-contact .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-contact .hero-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 30px;
}

.page-contact .hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    margin-top: -80px; /* Overlap with image */
}

.page-contact .hero-content h1 {
    color: var(--primary-color);
    font-size: 2.8em;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-contact .hero-content p {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: var(--text-light);
}

.page-contact .hero-content a.page-contact-link {
    color: var(--primary-color);
}

.page-contact .hero-content a.page-contact-link:hover {
    color: var(--text-light);
}

.page-contact .page-contact-cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-contact .page-contact-cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Contact Methods Section */
.page-contact .contact-methods {
    padding: 60px 0;
    background-color: var(--bg-light);
}

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

.page-contact .method-card {
    background-color: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact .method-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-contact .method-card h3 {
    color: var(--secondary-color);
    font-size: 1.4em;
    margin-bottom: 15px;
}

.page-contact .method-card p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 20px;
}

.page-contact .page-contact-button, .page-contact .page-contact-social-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 5px;
}

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

.page-contact .social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

/* Contact Form Section */
.page-contact .contact-form-section {
    padding: 60px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-contact .contact-form-section h2 {
    color: var(--primary-color);
}

.page-contact .contact-form-section p {
    color: #ccc;
    text-align: center;
}

.page-contact .contact-form {
    max-width: 700px;
    margin: 40px auto 0;
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

.page-contact .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-dark);
}

.page-contact .form-group input[type="text"],
.page-contact .form-group input[type="email"],
.page-contact .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    background-color: #fff;
    color: var(--text-dark);
}

.page-contact .form-group input::placeholder,
.page-contact .form-group textarea::placeholder {
    color: #888;
}

.page-contact .form-group textarea {
    resize: vertical;
}

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

.page-contact .page-contact-submit-button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Office Address Section */
.page-contact .office-address {
    padding: 60px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.page-contact .office-address address {
    font-style: normal;
    margin-top: 20px;
    font-size: 1.1em;
    color: #555;
}

.page-contact .office-address a {
    color: var(--secondary-color);
    font-weight: bold;
}

/* FAQ Section */
.page-contact .faq-section {
    padding: 60px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-contact .faq-section h2 {
    color: var(--primary-color);
}

.page-contact .faq-section p {
    color: #ccc;
    text-align: center;
}

.page-contact .faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.faq-question h3 {
    margin: 0;
    font-size: 1.15em;
    color: var(--text-dark);
    text-align: left;
    flex-grow: 1;
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-left: 15px;
    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;
    padding: 0 25px;
    background-color: #fcfcfc;
}

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

.faq-answer p {
    margin: 0;
    color: #444;
    text-align: left;
}

.faq-answer a {
    color: var(--secondary-color);
    font-weight: bold;
}

/* Commitment Section */
.page-contact .commitment-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.page-contact .commitment-section h2 {
    color: var(--secondary-color);
}

.page-contact .commitment-section p {
    text-align: center;
    margin-bottom: 25px;
}

.page-contact .commitment-section ul {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-contact .commitment-section li {
    background-color: var(--text-light);
    border-left: 5px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: var(--text-dark);
    font-size: 1.05em;
}

.page-contact .commitment-section li strong {
    color: var(--secondary-color);
}

/* Register CTA Section */
.page-contact .register-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--bg-dark) 100%);
    color: var(--text-light);
    text-align: center;
}

.page-contact .register-cta-section h2 {
    color: var(--primary-color);
    font-size: 2.5em;
    margin-bottom: 20px;
}

.page-contact .register-cta-section p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #eee;
}

.page-contact .register-cta-section a.page-contact-link {
    color: var(--primary-color);
}

.page-contact .register-cta-section a.page-contact-link:hover {
    color: var(--text-light);
}

.page-contact .primary-cta {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 18px 40px;
    border-radius: 10px;
    font-size: 1.3em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-contact .primary-cta:hover {
    background-color: var(--text-light);
    color: var(--secondary-color);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-contact h1 {
        font-size: 2.4em;
    }
    .page-contact h2 {
        font-size: 1.8em;
    }
    .page-contact h3 {
        font-size: 1.4em;
    }
    .page-contact .hero-content h1 {
        font-size: 2.4em;
    }
    .page-contact .hero-content p {
        font-size: 1em;
    }
    .page-contact .method-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-contact .commitment-section li {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-contact .container {
        padding: 15px;
    }
    .page-contact h1 {
        font-size: 2em;
    }
    .page-contact h2 {
        font-size: 1.6em;
    }
    .page-contact .hero-banner {
        min-height: 300px;
        padding: 20px 0;
    }
    .page-contact .hero-image {
        max-height: 300px;
    }
    .page-contact .hero-content {
        margin-top: -50px;
        padding: 15px;
    }
    .page-contact .hero-content h1 {
        font-size: 2em;
    }
    .page-contact .page-contact-cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }
    .page-contact .method-grid {
        grid-template-columns: 1fr;
    }
    .page-contact .method-card {
        padding: 25px;
    }
    .page-contact .contact-form {
        padding: 25px;
    }
    .page-contact .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1em;
    }
    .faq-toggle {
        font-size: 20px;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 20px;
    }
    .page-contact .commitment-section ul {
        grid-template-columns: 1fr;
    }
    .page-contact .register-cta-section h2 {
        font-size: 2em;
    }
    .page-contact .primary-cta {
        padding: 15px 30px;
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .page-contact h1 {
        font-size: 1.8em;
    }
    .page-contact h2 {
        font-size: 1.4em;
    }
    .page-contact .hero-content h1 {
        font-size: 1.8em;
    }
    .page-contact .page-contact-cta-button {
        font-size: 1em;
        padding: 10px 20px;
    }
    .page-contact .method-icon {
        width: 80px;
        height: 80px;
    }
    .page-contact .register-cta-section h2 {
        font-size: 1.8em;
    }
    .page-contact .primary-cta {
        font-size: 1.1em;
        padding: 12px 25px;
    }
}