.page-contact {
    background-color: #F4F7FB;
    color: #1F2D3D;
    line-height: 1.6;
    padding-bottom: 20px;
}

.page-contact__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    background-color: #2F6BFF; /* Fallback for hero section */
    overflow: hidden;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    max-height: 675px; /* Limit height for aesthetic */
    object-fit: cover;
    object-position: center;
    display: block;
    margin-bottom: 20px;
}

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

.page-contact__main-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-contact__description {
    font-size: clamp(1rem, 2vw, 1.15rem);
    margin-bottom: 30px;
    color: #E0E0E0;
}

.page-contact__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: #1F2D3D;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

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

.page-contact__info-section {
    background-color: #FFFFFF;
    padding: 60px 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin: -40px auto 60px auto;
    position: relative;
    z-index: 1;
    max-width: 1200px;
}

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

.page-contact__detail-item {
    background-color: #F4F7FB;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #D6E2FF;
}

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

.page-contact__detail-text {
    font-size: 1rem;
    color: #000000;
}

.page-contact__form-section {
    padding: 60px 0;
    background-color: #F4F7FB;
}

.page-contact__contact-form {
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid #D6E2FF;
}

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

.page-contact__form-label {
    display: block;
    font-size: 1rem;
    color: #1F2D3D;
    margin-bottom: 8px;
    font-weight: 500;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #D6E2FF;
    border-radius: 5px;
    font-size: 1rem;
    color: #1F2D3D;
    background-color: #FFFFFF;
    box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: #A5C4FF;
}

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

.page-contact__submit-button {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 30px auto 0 auto;
    padding: 15px 25px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-height: 44px;
    box-sizing: border-box;
}

.page-contact__submit-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

.page-contact__faq-section {
    padding: 60px 0;
    background-color: #F4F7FB;
}

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

.page-contact__faq-item {
    background-color: #FFFFFF;
    padding: 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #D6E2FF;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.page-contact__faq-item:hover {
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.1);
}

.page-contact__faq-question {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2F6BFF;
    margin-bottom: 10px;
    position: relative;
    padding-right: 30px;
}

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

.page-contact__faq-item.is-active .page-contact__faq-question::after {
    content: '-';
    transform: translateY(-50%) rotate(0deg);
}

.page-contact__faq-answer {
    font-size: 1rem;
    color: #1F2D3D;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding-top 0.3s ease-out;
    padding-top: 0;
}

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

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-contact__contact-details {
        grid-template-columns: 1fr;
    }
    .page-contact__hero-image {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding-bottom: 30px;
    }
    .page-contact__main-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }
    .page-contact__description {
        font-size: clamp(0.9rem, 3vw, 1rem);
    }
    .page-contact__info-section,
    .page-contact__form-section,
    .page-contact__faq-section {
        padding: 40px 0;
    }
    .page-contact__contact-form {
        padding: 30px;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 10px 12px;
    }
    .page-contact__submit-button {
        font-size: 1rem;
        padding: 12px 20px;
    }

    /* Ensure content area images are responsive and not smaller than 200px */
    .page-contact img {
        max-width: 100%;
        height: auto;
    }
    /* Specific override for any image that might be constrained too small */
    .page-contact__detail-item img, /* If any detail item had an image, ensure it's not tiny */
    .page-contact__faq-item img { /* If any FAQ item had an image */
        min-width: 200px;
        min-height: 200px;
    }
    .page-contact__hero-image {
        min-width: 200px; /* Hero image should always be large */
        min-height: 200px;
    }
}

@media (max-width: 549px) {
    .page-contact__hero-section {
        padding-bottom: 20px;
    }
    .page-contact__main-title {
        font-size: clamp(1.3rem, 7vw, 1.8rem);
    }
    .page-contact__section-title {
        font-size: clamp(1.5rem, 5vw, 1.8rem);
    }
    .page-contact__contact-details {
        gap: 20px;
    }
    .page-contact__form-section .page-contact__contact-form {
        padding: 20px;
    }
}