/* style/contact.css */

:root {
    --primary-color: #CC0000;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --bg-light: #F8F8F8;
    --bg-dark: #222222;
    --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: 0 20px;
}

.page-contact section {
    padding: 60px 0;
    text-align: center;
}

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

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

.page-contact h2 {
    font-size: 2.2em;
    margin-top: 40px;
    color: var(--primary-color);
}

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

.page-contact p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

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

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

/* Hero Section */
.page-contact .hero-section {
    background: linear-gradient(135deg, var(--primary-color), #8B0000);
    padding: 80px 0;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.page-contact .hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.page-contact .hero-image {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-contact .hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-contact .hero-content {
    text-align: center;
    padding: 0 20px;
}

.page-contact .hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

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

.page-contact .cta-button:hover {
    background-color: #FFC107;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Contact Channels Section */
.page-contact .contact-channels-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

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

.page-contact .channel-card {
    background-color: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-contact .channel-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 20px;
    display: block;
}

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

.page-contact .channel-card p {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-contact .btn-channel {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 10px 25px;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-contact .btn-channel:hover {
    background-color: #A00000;
}

.page-contact .email-link {
    font-weight: bold;
    color: var(--primary-color);
}

/* Why Contact Section */
.page-contact .why-contact-section {
    background-color: #F0F0F0;
    padding: 80px 0;
}

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

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

.page-contact .feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-contact .feature-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 20px;
    display: block;
}

.page-contact .feature-item h3 {
    color: var(--primary-color);
    font-size: 1.3em;
    margin-bottom: 15px;
}

.page-contact .feature-item p {
    color: #555555;
    font-size: 1em;
}

/* Effective Contact Section */
.page-contact .effective-contact-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

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

.page-contact .tip-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-contact .tip-icon {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin: 0 auto 20px;
    display: block;
}

.page-contact .tip-item h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-contact .tip-item p {
    color: #555555;
    font-size: 1em;
}

/* FAQ Section */
.page-contact .faq-section {
    background-color: #F0F0F0;
    padding: 80px 0;
}

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

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

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

.page-contact .faq-item.active .faq-question {
    border-bottom-color: var(--border-color);
    background-color: #F9F9F9;
}

.page-contact .faq-question:hover {
    background: #F5F5F5;
}

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

.page-contact .faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    line-height: 1;
    margin-left: 15px;
}

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

.page-contact .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 25px;
    text-align: left;
    color: #555555;
}

.page-contact .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 15px 25px 25px;
    background: #F9F9F9;
}

.page-contact .faq-answer p {
    margin-bottom: 15px;
    font-size: 1em;
}

.page-contact .btn-faq-register, .page-contact .btn-faq-download {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.page-contact .btn-faq-register:hover, .page-contact .btn-faq-download:hover {
    background-color: #A00000;
}

/* Register CTA Section */
.page-contact .register-cta-section {
    background: linear-gradient(45deg, var(--primary-color), #8B0000);
    color: var(--text-light);
    padding: 80px 0;
}

.page-contact .register-cta-section h2 {
    color: var(--secondary-color);
    font-size: 2.5em;
}

.page-contact .register-cta-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* 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 .cta-button {
        padding: 12px 30px;
        font-size: 1.1em;
    }
    .page-contact .hero-image {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .page-contact section {
        padding: 40px 0;
    }
    .page-contact h1 {
        font-size: 2em;
    }
    .page-contact h2 {
        font-size: 1.6em;
    }
    .page-contact h3 {
        font-size: 1.2em;
    }
    .page-contact .hero-image {
        max-width: 90%;
    }
    .page-contact .channels-grid, .page-contact .feature-list, .page-contact .contact-tips {
        grid-template-columns: 1fr;
    }
    .page-contact .channel-card, .page-contact .feature-item, .page-contact .tip-item {
        padding: 20px;
    }
    .page-contact .faq-question h3 {
        font-size: 1.1em;
    }
    .page-contact .faq-question {
        padding: 15px 20px;
    }
    .page-contact .faq-answer {
        padding: 0 20px;
    }
    .page-contact .faq-item.active .faq-answer {
        padding: 15px 20px 20px;
    }
    .page-contact .register-cta-section h2 {
        font-size: 2em;
    }
    .page-contact .register-cta-section p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-contact .container {
        padding: 0 15px;
    }
    .page-contact h1 {
        font-size: 1.8em;
    }
    .page-contact h2 {
        font-size: 1.4em;
    }
    .page-contact h3 {
        font-size: 1.1em;
    }
    .page-contact .cta-button {
        padding: 10px 25px;
        font-size: 1em;
    }
    .page-contact .hero-image {
        max-width: 100%;
    }
    .page-contact .channel-icon, .page-contact .feature-icon, .page-contact .tip-icon {
        width: 70px;
        height: 70px;
    }
    .page-contact .faq-question h3 {
        font-size: 1em;
    }
    .page-contact .faq-toggle {
        font-size: 24px;
    }
    .page-contact .register-cta-section h2 {
        font-size: 1.8em;
    }
}