.page-contact {
    font-family: Arial, sans-serif;
    color: #FFFFFF; /* Auxiliary color for text on dark background */
    background-color: #017439; /* Main background color */
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for first section */
}

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    text-align: center;
    padding-bottom: 40px; /* Space between image and text */
    background-color: #017439; /* Main color */
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 20px; /* Space between image and content below */
}

.page-contact__hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-contact__main-title {
    font-size: clamp(2em, 4vw, 3em); /* Responsive font size */
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__description {
    font-size: 1.1em;
    color: #E0E0E0;
    margin-bottom: 30px;
}

/* Section Titles */
.page-contact__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 30px;
    padding-top: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-contact__intro-text {
    text-align: center;
    font-size: 1.1em;
    color: #E0E0E0;
    margin-bottom: 40px;
}

/* Info Section */
.page-contact__info-section {
    background-color: #017439; /* Main color */
    padding: 40px 0;
}

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

.page-contact__info-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-contact__card-title {
    font-size: 1.5em;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.page-contact__info-card p {
    color: #E0E0E0;
    margin-bottom: 15px;
}

.page-contact__info-card strong {
    color: #FFFF00; /* Yellow for emphasis on contact details */
}

.page-contact__card-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 20px;
    min-width: 200px; /* Minimum size */
    min-height: 200px; /* Minimum size */
}

/* Buttons */
.page-contact__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: auto; /* Push button to bottom of flex card */
    white-space: nowrap;
}

.page-contact__button--live-chat,
.page-contact__button--email,
.page-contact__button--phone {
    background-color: #C30808; /* Red for action buttons */
    color: #FFFF00; /* Yellow text for action buttons */
}

.page-contact__button--live-chat:hover,
.page-contact__button--email:hover,
.page-contact__button--phone:hover {
    background-color: #a00606;
    transform: translateY(-2px);
}

.page-contact__button--submit {
    background-color: #C30808; /* Red for submit button */
    color: #FFFF00; /* Yellow text for submit button */
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    width: 100%;
    max-width: 300px;
    margin-top: 20px;
}

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

/* Form Section */
.page-contact__form-section {
    background-color: #FFFFFF; /* White background for form section */
    padding: 40px 0;
    color: #333333; /* Dark text on white background */
}

.page-contact__form-section .page-contact__section-title,
.page-contact__form-section .page-contact__intro-text {
    color: #333333;
}

.page-contact__form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #F8F8F8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px; /* Space before form image */
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    font-size: 1em;
    color: #333333;
    background-color: #FFFFFF;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #017439; /* Main color on focus */
    outline: none;
    box-shadow: 0 0 0 2px rgba(1, 116, 57, 0.2);
}

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

.page-contact__form-image {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    min-width: 200px; /* Minimum size */
    min-height: 200px; /* Minimum size */
}


/* FAQ Section */
.page-contact__faq-section {
    background-color: #017439; /* Main color */
    padding: 40px 0;
}

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

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

.page-contact__faq-question {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    padding: 18px 25px;
    text-align: left;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-contact__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-contact__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-contact__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-contact__faq-answer {
    padding: 0 25px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #E0E0E0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-contact__faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    padding: 15px 25px;
}

.page-contact__faq-answer p {
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-contact__hero-content {
        padding: 0 15px;
    }

    .page-contact__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }

    .page-contact__description {
        font-size: 1em;
    }

    .page-contact__section-title {
        font-size: 2em;
    }

    .page-contact__info-grid {
        grid-template-columns: 1fr;
    }

    .page-contact__info-card {
        padding: 25px;
    }

    .page-contact__card-title {
        font-size: 1.3em;
    }

    .page-contact__form {
        padding: 20px;
    }

    .page-contact__form-input,
    .page-contact__form-textarea {
        width: calc(100% - 20px);
    }

    .page-contact__button--submit {
        max-width: 100%;
    }

    /* General image rule for mobile */
    .page-contact img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure min size */
        min-height: 200px; /* Ensure min size */
    }
}

/* Ensure all images within .page-contact are at least 200px, and responsive */
.page-contact img {
    min-width: 200px;
    min-height: 200px;
    max-width: 100%; /* Ensure responsiveness by default */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Cover the area, crop if needed */
}

/* Specific rule for content images to ensure min size if not already */
.page-contact__info-card img,
.page-contact__form-section img {
    width: 100%; /* Occupy full width of their container */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px;
    min-height: 200px;
}

/* Color contrast check */
/* All text on #017439 background is #FFFFFF or #E0E0E0, which has good contrast. */
/* All text on #FFFFFF background is #333333, which has good contrast. */
/* Buttons: #C30808 background with #FFFF00 text. Contrast for WCAG AA: (195,8,8) (255,255,0) -> 6.1:1. Good. */