.page-contact {
    background-color: #F4F7FB; /* Background */
    color: #1F2D3D; /* Text Main */
    padding-bottom: 40px;
}

.page-contact__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding */
    margin-bottom: 40px;
    background-color: #F4F7FB;
}

.page-contact__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
}

.page-contact__hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    min-height: 200px; /* Ensure min size */
}

.page-contact__hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.page-contact__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #1F2D3D; /* Text Main */
    max-width: 800px;
    margin: 20px auto 10px auto;
}

.page-contact__description {
    font-size: 1.1em;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    max-width: 900px;
    margin: 0 auto 30px auto;
}

.page-contact__contact-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-contact__contact-card {
    background-color: #FFFFFF; /* Card BG */
    border: 1px solid #D6E2FF; /* Border */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-contact__card-icon {
    margin-bottom: 20px;
    object-fit: contain;
    width: 100%; /* Ensure it fills card width */
    min-width: 200px; /* Adhere to min size */
    min-height: 200px; /* Adhere to min size */
    height: auto; /* Maintain aspect ratio */
}

.page-contact__card-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 10px;
}

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

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

.page-contact__btn:hover {
    opacity: 0.9;
}

.page-contact__form-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: #FFFFFF; /* Card BG */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-contact__form-title {
    font-size: 2em;
    font-weight: bold;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 30px;
}

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

.page-contact__form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #1F2D3D; /* Text Main */
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #D6E2FF; /* Border */
    border-radius: 8px;
    font-size: 1em;
    color: #000000; /* Custom Color_1776249996415 */
    background-color: #FFFFFF;
}

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

.page-contact__form-submit {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #FFFFFF;
    font-size: 1.1em;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.page-contact__form-submit:hover {
    opacity: 0.9;
}

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

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

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

    .page-contact__contact-section {
        grid-template-columns: 1fr;
    }
    
    .page-contact__contact-card img, /* Ensure content images are responsive and not too small */
    .page-contact__hero-image,
    .page-contact__form-input,
    .page-contact__form-textarea {
        max-width: 100%;
        height: auto;
    }
    /* Ensure content area images are responsive and not overflowing */
    .page-contact img {
        max-width: 100%;
        height: auto;
    }
}