.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 40px;
    background-color: #f0f0f0;
}

.page-contact__hero-image-wrapper {
    width: 100%;
    height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-contact__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-contact__hero-content-wrapper {
    max-width: 800px;
    margin: 40px auto 0 auto;
    text-align: center;
    padding: 0 20px;
}

.page-contact__hero-title {
    font-size: 44px;
    font-weight: 700;
    color: #017439;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-contact__hero-description {
    font-size: 18px;
    color: #555555;
    margin-bottom: 30px;
}

.page-contact__hero-cta-button {
    display: inline-block;
    background-color: #C30808;
    color: #FFFF00;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__hero-cta-button:hover {
    background-color: #a00606;
    transform: translateY(-2px);
}

/* Form Section */
.page-contact__form-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-contact__section-title {
    font-size: 36px;
    color: #017439;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-contact__section-description {
    font-size: 18px;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.page-contact__contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-contact__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333333;
    font-size: 16px;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 16px;
    color: #333333;
    box-sizing: border-box;
}

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

.page-contact__submit-button {
    display: block;
    width: 100%;
    background-color: #017439;
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 8px;
    border: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

/* Other Methods Section */
.page-contact__other-methods-section {
    padding: 60px 0;
    background-color: #017439;
    color: #ffffff;
}

.page-contact__other-methods-section .page-contact__section-title {
    color: #ffffff;
}

.page-contact__other-methods-section .page-contact__section-description {
    color: #e0e0e0;
}

.page-contact__methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    padding: 0 20px;
}

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

.page-contact__method-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-contact__method-icon {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 5px;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-contact__method-title {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-contact__method-text {
    font-size: 16px;
    color: #e0e0e0;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-contact__method-button {
    display: inline-block;
    background-color: #C30808;
    color: #FFFF00;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

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

.page-contact__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    padding: 0 20px;
}

details.page-contact__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
details.page-contact__faq-item summary.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    font-size: 18px;
    font-weight: 600;
    color: #333333;
}
details.page-contact__faq-item summary.page-contact__faq-question::-webkit-details-marker {
    display: none;
}
details.page-contact__faq-item summary.page-contact__faq-question:hover {
    background: #f0f0f0;
}
.page-contact__faq-qtext {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #333333;
}
.page-contact__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #017439;
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-contact__faq-item .page-contact__faq-answer {
    padding: 0 20px 20px;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: #555555;
    font-size: 16px;
}
.page-contact__faq-answer p {
    margin: 0;
}
.page-contact__faq-answer a {
    color: #017439;
    text-decoration: underline;
}

/* --- Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
    .page-contact__container {
        padding: 15px !important;
    }

    /* Hero Section */
    .page-contact__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

    .page-contact__hero-image-wrapper {
        height: 300px;
    }

    .page-contact__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-contact__hero-content-wrapper {
        margin-top: 30px;
        padding: 0 15px;
    }

    .page-contact__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-contact__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .page-contact__hero-cta-button {
        padding: 12px 25px;
        font-size: 18px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Form Section */
    .page-contact__form-section {
        padding: 40px 0;
    }

    .page-contact__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .page-contact__section-description {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .page-contact__contact-form {
        padding: 20px;
    }

    .page-contact__form-input,
    .page-contact__form-textarea {
        width: calc(100% - 20px) !important;
        padding: 10px !important;
        font-size: 15px !important;
    }

    .page-contact__submit-button {
        padding: 12px 15px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Other Methods Section */
    .page-contact__other-methods-section {
        padding: 40px 0;
    }

    .page-contact__methods-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        padding: 0 15px;
    }

    .page-contact__method-card {
        padding: 20px;
    }

    .page-contact__method-icon {
        height: 180px;
        min-width: 200px !important;
        min-height: 180px !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-contact__method-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .page-contact__method-text {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .page-contact__method-button {
        padding: 10px 20px;
        font-size: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* FAQ Section */
    .page-contact__faq-section {
        padding: 40px 0;
    }

    .page-contact__faq-list {
        margin-top: 30px;
        padding: 0 15px;
    }

    details.page-contact__faq-item summary.page-contact__faq-question {
        padding: 15px;
        font-size: 16px;
    }

    .page-contact__faq-qtext {
        font-size: 15px;
    }

    .page-contact__faq-toggle {
        font-size: 20px;
        margin-left: 10px;
        width: 24px;
    }

    details.page-contact__faq-item .page-contact__faq-answer {
        padding: 0 15px 15px;
        font-size: 15px;
    }
    
    /* Global image and container responsive styles for mobile */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    
    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    .page-contact__form-section,
    .page-contact__other-methods-section,
    .page-contact__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Button container specific mobile styles */
    .page-contact__cta-buttons,
    .page-contact__button-group,
    .page-contact__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-contact__cta-buttons {
        display: flex;
        flex-direction: column;
    }
}