.page-contact {
    font-family: Arial, sans-serif;
    color: var(--text-main, #1F2D3D);
    background-color: var(--background, #F4F7FB);
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for the first section, body handles main offset */
}

.page-contact__hero-section {
    position: relative;
    padding-bottom: 40px; /* Space below content */
    background-color: var(--card-bg, #FFFFFF); /* Consistent with color scheme */
    border-bottom: 1px solid var(--border, #D6E2FF);
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    text-align: center;
    overflow: hidden; /* Ensure no image overflow */
}

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

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-width: 1200px; /* Example max width for the image itself */
    margin: 0 auto; /* Center the image */
}

.page-contact__hero-content {
    max-width: 900px;
    padding: 20px;
    margin-top: 20px; /* Space between image and content */
}

.page-contact__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 15px;
}

.page-contact__description {
    font-size: 1.1em;
    color: var(--text-main, #1F2D3D);
    margin-bottom: 30px;
}

.page-contact__contact-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--button, linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%));
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.page-contact__contact-button:hover {
    opacity: 0.9; /* Subtle hover effect */
}

.page-contact__methods-section,
.page-contact__faq-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: var(--card-bg, #FFFFFF);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-contact__section-title {
    font-size: 2.2em;
    color: var(--custom-color-1776249996415, #000000);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

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

.page-contact__method-card {
    background-color: var(--background, #F4F7FB); /* Lighter background for cards within section */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border, #D6E2FF);
}

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

.page-contact__method-icon {
    width: 100%; /* Ensure image takes full width of card */
    max-width: 250px; /* Example max-width for internal images */
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-contact__card-title {
    font-size: 1.5em;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 10px;
}

.page-contact__card-description {
    font-size: 0.95em;
    color: var(--text-main, #1F2D3D);
    margin-bottom: 20px;
}

.page-contact__card-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--button, linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%));
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9em;
}

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

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

.page-contact__faq-item {
    background-color: var(--background, #F4F7FB); /* Lighter background for FAQ items */
    border: 1px solid var(--border, #D6E2FF);
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px 25px;
}

.page-contact__faq-question {
    font-size: 1.2em;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 10px;
    font-weight: bold;
    cursor: pointer; /* Indicate interactivity */
}

.page-contact__faq-question--active + .page-contact__faq-answer {
    display: block; /* Show answer when active */
}

.page-contact__faq-answer {
    font-size: 1em;
    color: var(--text-main, #1F2D3D);
    display: none; /* Hidden by default */
}

.page-contact__faq-answer a {
    color: var(--main-color, #2F6BFF); /* Use main color for links within text */
    text-decoration: none;
    font-weight: bold;
}

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

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

    .page-contact__main-title {
        font-size: 1.8em;
    }

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

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

    .page-contact__methods-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }

    .page-contact__methods-section,
    .page-contact__faq-section {
        margin: 20px auto;
        padding: 15px;
    }

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

    .page-contact__faq-question {
        font-size: 1.1em;
    }

    /* Mobile image overflow prevention */
    .page-contact img {
        max-width: 100%;
        height: auto;
    }
}