.page-contact {
    font-family: Arial, sans-serif;
    color: #1F2D3D; /* Text Main */
    background-color: #F4F7FB; /* Background */
    line-height: 1.6;
    padding-bottom: 40px; /* General padding for the bottom of the page */
}

.page-contact__container {
    max-width: 1200px; /* Matches the suggested max-width for content area */
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding as per rules */
    margin-bottom: 40px;
    display: flex;
    flex-direction: column; /* Enforce column direction for image then text */
    align-items: center;
    text-align: center;
}

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

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

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

.page-contact__main-title {
    font-size: 2.8em; /* Adjusted for contact page, not too large */
    font-weight: bold;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-contact__description {
    font-size: 1.1em;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 30px;
}

.page-contact__cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-contact__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    opacity: 0.9;
}

/* Section Titles and Descriptions */
.page-contact__section-title {
    font-size: 2.2em;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__section-description {
    font-size: 1.05em;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Info Section */
.page-contact__contact-info-section {
    padding: 60px 0;
    margin-bottom: 40px;
}

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

.page-contact__info-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.2s ease;
}

.page-contact__info-card:hover {
    transform: translateY(-5px);
}

.page-contact__card-title {
    font-size: 1.5em;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__card-text {
    color: #1F2D3D; /* Text Main */
    margin-bottom: 25px;
}

.page-contact__card-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: opacity 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

/* Form Section */
.page-contact__form-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background */
    margin-bottom: 40px;
}

.page-contact__form-wrapper {
    display: flex;
    flex-wrap: wrap; /* Allows image and form to wrap on smaller screens */
    gap: 40px;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    align-items: center;
}

.page-contact__form {
    flex: 1;
    min-width: 300px; /* Ensure form doesn't get too small */
}

.page-contact__form-image-wrapper {
    flex: 1;
    min-width: 250px; /* Ensure image doesn't get too small */
    text-align: center;
}

.page-contact__form-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

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

.page-contact__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #000000; /* Custom Color_1776249996415 */
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid; /* Uses border-color from inline style */
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: #6FA3FF; /* Auxiliary color for placeholders */
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #2F6BFF; /* Main color on focus */
    outline: none;
    box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.2); /* Glow */
}

.page-contact__submit-button {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-contact__submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    opacity: 0.9;
}

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

.page-contact__faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); /* Larger min width for FAQ items */
    gap: 25px;
    margin-bottom: 40px;
}

.page-contact__faq-item {
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s ease;
}

.page-contact__faq-item:hover {
    transform: translateY(-3px);
}

.page-contact__faq-question {
    font-size: 1.25em;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-contact__faq-answer {
    color: #1F2D3D; /* Text Main */
}

.page-contact__faq-answer a {
    color: #2F6BFF; /* Main color for links in FAQ */
    text-decoration: none;
}

.page-contact__faq-answer a:hover {
    text-decoration: underline;
}

.page-contact__faq-image-wrapper {
    text-align: center;
    margin-top: 40px;
}

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

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .page-contact__main-title {
        font-size: 2.5em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__faq-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding-top: 8px; /* Slightly less padding on mobile */
    }
    .page-contact__main-title {
        font-size: 2em;
    }
    .page-contact__description {
        font-size: 1em;
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__section-description {
        font-size: 0.95em;
    }
    .page-contact__info-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__form-wrapper {
        flex-direction: column;
        padding: 30px;
    }
    .page-contact__form-image-wrapper {
        order: -1; /* Image appears above form on mobile */
        margin-bottom: 20px;
    }
    .page-contact__form-input,
    .page-contact__form-textarea,
    .page-contact__submit-button {
        font-size: 0.95em;
    }
    .page-contact__faq-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__hero-image,
    .page-contact__form-image,
    .page-contact__faq-image {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure min size */
        min-height: 200px; /* Ensure min size */
    }
}

@media (max-width: 480px) {
    .page-contact__main-title {
        font-size: 1.8em;
    }
    .page-contact__section-title {
        font-size: 1.6em;
    }
    .page-contact__hero-section,
    .page-contact__contact-info-section,
    .page-contact__form-section,
    .page-contact__faq-section {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-contact__container {
        padding: 0 15px;
    }
    .page-contact__info-card,
    .page-contact__faq-item {
        padding: 20px;
    }
}

/* Ensure all content images meet the minimum size requirements */
.page-contact img:not(.page-contact__hero-image) { /* Exclude hero image from this general rule if hero has its own specific rules */
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}
.page-contact__form-image,
.page-contact__faq-image {
    min-width: 200px;
    min-height: 200px;
}
/* Mobile image overflow prevention */
@media (max-width: 768px) {
    .page-contact img {
        max-width: 100%;
        height: auto;
    }
}