.page-contact {
    font-family: Arial, sans-serif;
    color: #333333; /* Default text color, will be overridden for dark sections */
    background-color: #FFFFFF; /* Main background */
    line-height: 1.6;
}

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #100224; /* Dark background for hero */
    display: flex; /* Use flex for image and content */
    flex-direction: column; /* Stack image then content */
    align-items: center; /* Center content horizontally */
    padding-bottom: 40px; /* Add padding at the bottom */
}

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

.page-contact__hero-content {
    text-align: center;
    color: #FFFFFF;
    padding: 0 20px;
    max-width: 800px; /* Constrain content width */
}

.page-contact__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Use clamp for H1 font size */
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #FFFFFF;
}

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

.page-contact__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    border: none;
}

.page-contact__cta-button:hover {
    background-color: #1e87c2 !important; /* Slightly darker blue on hover */
}

/* Section Titles */
.page-contact__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #000000;
}

/* Info Section */
.page-contact__info-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

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

.page-contact__info-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.page-contact__card-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-contact__card-text {
    font-size: 1em;
    margin-bottom: 20px;
    color: #333333;
}

.page-contact__card-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
    border: none;
}

.page-contact__card-button:hover {
    background-color: #1e87c2 !important;
}

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

.page-contact__form-wrapper {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 40px;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.page-contact__form-image {
    width: 100%;
    max-width: 450px; /* Constrain image width */
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Ensure image is not too small */
}

.page-contact__contact-form {
    flex: 1;
    min-width: 300px; /* Ensure form is not too narrow */
}

.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: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* Include padding in width */
}

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

.page-contact__form-submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-contact__form-submit-button:hover {
    background-color: #1e87c2 !important;
}

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

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

.page-contact__faq-item {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 20px 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-question {
    font-size: 1.3em;
    font-weight: bold;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-contact__faq-answer {
    font-size: 1em;
    color: #555555;
}

.page-contact__faq-answer a {
    color: #26A9E0;
    text-decoration: none;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-contact__hero-image {
        max-height: 300px;
        margin-bottom: 10px;
    }

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

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

    .page-contact__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-contact__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-contact__info-grid {
        grid-template-columns: 1fr; /* Stack cards vertically */
    }

    .page-contact__form-wrapper {
        flex-direction: column; /* Stack image and form vertically */
    }

    .page-contact__form-image {
        max-width: 100%; /* Ensure image fills available width */
        min-width: 200px; /* Enforce min size */
    }

    .page-contact__contact-form {
        width: 100%;
        min-width: unset;
    }

    /* Enforce image max-width and height auto for all images within .page-contact */
    .page-contact img {
        max-width: 100%;
        height: auto;
    }

    /* Ensure content area images are not smaller than 200px (this is a general rule, specific selector needed) */
    /* The rule below is for any image that might exist in content blocks and not explicitly styled otherwise */
    .page-contact__info-card img, 
    .page-contact__faq-item img { /* If any images were here, ensure they adhere */
        min-width: 200px;
        min-height: 200px;
    }
}
/* Smallest screen adjustments */
@media (max-width: 480px) {
    .page-contact__hero-image {
        max-height: 200px;
    }
    .page-contact__main-title {
        font-size: clamp(1.5em, 7vw, 2em);
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-contact__faq-question {
        font-size: 1.1em;
    }
}