.page-contact {
    background-color: #F4F7FB; /* Background */
    color: #1F2D3D; /* Text Main */
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

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

.page-contact__hero-section {
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
    background-color: #FFFFFF; /* Card BG, or keep it consistent with hero image background */
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden; /* Ensure image corners are handled if rounded */
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure it takes full width */
    margin-bottom: 20px;
}

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

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

.page-contact__hero-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* H1 font size with clamp */
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 15px;
}

.page-contact__hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
}

.page-contact__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 600;
    color: #000000; /* Custom Color_1776249996415 */
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
}

.page-contact__section-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-contact__details-section,
.page-contact__form-section,
.page-contact__faq-section,
.page-contact__social-section {
    padding: 40px 0;
    margin-bottom: 20px;
    background-color: #FFFFFF; /* Card BG */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-contact__details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.page-contact__detail-card {
    background-color: #F4F7FB; /* Background */
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #D6E2FF; /* Border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__detail-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2F6BFF; /* Primary */
    margin-bottom: 10px;
}

.page-contact__detail-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #1F2D3D; /* Text Main */
}

.page-contact__details-image-wrapper {
    text-align: center;
    margin-top: 20px;
}

.page-contact__details-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-contact__form-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-contact__contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-contact__form-group {
    display: flex;
    flex-direction: column;
}

.page-contact__form-label {
    font-size: 1rem;
    font-weight: 500;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 8px;
}

.page-contact__form-input,
.page-contact__form-textarea {
    padding: 12px 15px;
    border: 1px solid #D6E2FF; /* Border */
    border-radius: 6px;
    font-size: 1rem;
    color: #1F2D3D; /* Text Main */
    background-color: #FFFFFF; /* Card BG */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__form-textarea {
    resize: vertical;
    min-height: 120px;
}

.page-contact__submit-button {
    padding: 14px 25px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    align-self: flex-start; /* Align button to start */
}

.page-contact__submit-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-contact__form-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-contact__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-contact__faq-item {
    background-color: #F4F7FB; /* Background */
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #D6E2FF; /* Border */
}

.page-contact__faq-question {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2F6BFF; /* Primary */
    margin-bottom: 10px;
    cursor: pointer; /* Indicate it's interactive */
    position: relative;
    padding-right: 30px; /* Space for arrow */
}

.page-contact__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    line-height: 1;
    color: #2F6BFF;
    transition: transform 0.3s ease;
}

.page-contact__faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(0deg); /* No rotation for minus */
}

.page-contact__faq-answer {
    font-size: 1rem;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    max-height: 0; /* Hidden by default */
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.page-contact__faq-question.active + .page-contact__faq-answer {
    max-height: 500px; /* Sufficient height for most answers */
}

.page-contact__faq-answer a {
    color: #2F6BFF; /* Primary */
    text-decoration: none;
    font-weight: 500;
}

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

.page-contact__social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-contact__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    min-width: 150px; /* Ensure a decent size for text-based social links */
}

.page-contact__social-link:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

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

    .page-contact__hero-description {
        font-size: 0.95rem;
    }

    .page-contact__section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

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

    .page-contact__form-content {
        flex-direction: column;
    }

    .page-contact__form-image-wrapper {
        order: -1; /* Image appears above form on mobile */
        margin-bottom: 30px;
    }

    .page-contact__submit-button {
        width: 100%;
        align-self: stretch;
    }

    .page-contact__social-links {
        flex-direction: column;
        align-items: center;
    }

    /* Important: Content area images must not cause horizontal scroll */
    .page-contact img {
        max-width: 100%;
        height: auto;
    }
}