/* Contact page styles */
.page-contact { color: #333333; max-width: 100%; overflow-x: hidden; }

.page-contact__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 24px;
}

.page-contact__hero-image {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
}

.page-contact__hero-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 17 / 5;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-contact__hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 16px 16px;
}

.page-contact__main-title {
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.5px;
    color: #017439;
    margin-bottom: 12px;
}

.page-contact__hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 0;
}

.page-contact__info-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 16px;
}

.page-contact__info-card {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    flex: 1 1 280px;
}

.page-contact__info-title,
.page-contact__channels-title,
.page-contact__form-title,
.page-contact__system-title,
.page-contact__social-title {
    font-weight: 700;
    color: #017439;
    margin-bottom: 16px;
    line-height: 1.4;
}

.page-contact__info-text,
.page-contact__channel-desc,
.page-contact__form-text,
.page-contact__form-note,
.page-contact__faq-answer {
    line-height: 1.7;
    font-size: 1rem;
    color: #333333;
}

.page-contact__info-cta {
    display: inline-block;
    background: #C30808;
    color: #FFFF00;
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 16px;
    border: none;
    cursor: pointer;
}

.page-contact__info-cta:hover {
    opacity: 0.9;
}

.page-contact__channels {
    flex: 1 1 380px;
}

.page-contact__channel-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-contact__channel-item {
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}

.page-contact__channel-item:last-child {
    border-bottom: none;
}

.page-contact__channel-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: #017439;
    margin-bottom: 4px;
}

.page-contact__form-section {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px;
}

.page-contact__form-column,
.page-contact__system-column {
    flex: 1 1 360px;
}

.page-contact__form-title,
.page-contact__system-title {
    font-weight: 700;
    color: #017439;
    margin-bottom: 12px;
}

.page-contact__form {
    margin-top: 16px;
}

.page-contact__label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #017439;
}

.page-contact__input,
.page-contact__textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.page-contact__submit-button {
    display: inline-block;
    background: #C30808;
    color: #FFFF00;
    padding: 12px 24px;
    border-radius: 24px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.page-contact__submit-button:hover {
    opacity: 0.9;
}

.page-contact__system-column {
    /* Styling for the FAQ column */
}

.page-contact__guide-section {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 12px 16px;
}

.page-contact__faq-item {
    margin-bottom: 12px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}

.page-contact__faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-contact__faq-summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    color: #017439;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-contact__faq-toggle {
    font-weight: 700;
    color: #017439;
    font-size: 1.2rem;
    line-height: 1;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.page-contact__faq-answer {
    padding: 8px 0;
}

.page-contact__social-section {
    text-align: center;
    padding-bottom: 32px;
}

.page-contact__social-title {
    font-weight: 700;
    color: #017439;
    margin-bottom: 16px;
}

.page-contact__social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0 16px;
}

.page-contact__social-link {
    display: inline-block;
    background: #017439;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__social-link:hover {
    background: #015d2b;
}

@media (max-width: 768px) {
    .page-contact { overflow-x: hidden; }
    .page-contact__hero-section {
        padding-top: 0;
        padding-bottom: 16px;
    }
    .page-contact__hero-image {
        margin-bottom: 16px;
    }
    .page-contact__hero-image img {
        aspect-ratio: 2 / 1;
        max-width: 100%;
    }
    .page-contact__hero-description {
        font-size: 1rem;
    }
    .page-contact__info-section {
        flex-direction: column;
        padding: 16px;
    }
    .page-contact__channels {
        flex: 1 1 auto;
    }
    .page-contact__form-section {
        flex-direction: column;
        padding: 16px;
    }
    .page-contact__form-column,
    .page-contact__system-column {
        flex: 1 1 auto;
    }
    .page-contact__form-column {
        margin-bottom: 16px;
    }
    .page-contact__input,
    .page-contact__textarea {
        font-size: 0.95rem;
    }
    .page-contact__social-link,
    .page-contact__info-cta,
    .page-contact__submit-button {
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
        word-wrap: break-word;
        text-align: center;
    }
    .page-contact__social-links {
        flex-direction: column;
        align-items: stretch;
    }
    .page-contact img {
        max-width: 100%;
        height: auto;
    }
}