.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    background-color: #F4F7FB; /* Background */
}

.page-contact__container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Top Section */
.page-contact__hero-section {
    text-align: center;
    padding: 10px 0 60px; /* Small top padding, larger bottom */
    background-color: #F4F7FB; /* Background */
}

.page-contact__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Use clamp for H1 */
    color: #1F2D3D; /* Text Main */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__description {
    font-size: 1.1em;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-contact__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%; /* Ensure button fits container */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-contact__btn--primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #ffffff;
    border: none;
}

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

.page-contact__btn--secondary {
    background: #ffffff; /* Card BG */
    color: #2F6BFF; /* Main color */
    border: 2px solid #2F6BFF; /* Main color */
}

.page-contact__btn--secondary:hover {
    background: #F4F7FB; /* Background */
    transform: translateY(-2px);
}

.page-contact__btn--link {
    background: transparent;
    color: #2F6BFF; /* Main color */
    border: 2px solid #2F6BFF; /* Main color */
    padding: 10px 20px;
    font-size: 0.95em;
}

.page-contact__btn--link:hover {
    background: #2F6BFF;
    color: #ffffff;
}

/* General Section Styling */
.page-contact__section {
    padding: 60px 0;
    margin-bottom: 20px;
}

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

.page-contact__section-title--light {
    color: #ffffff;
}

.page-contact__section-intro {
    font-size: 1.05em;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-contact__method-card {
    background: #FFFFFF; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #D6E2FF; /* Border color */
}

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

.page-contact__method-icon {
    width: 200px; /* Min size requirement 200x200 */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__method-title {
    font-size: 1.5em;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-contact__method-description {
    font-size: 0.95em;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 20px;
}

/* Contact Form Section */
.page-contact__contact-form-section {
    background: #2F6BFF; /* Main color */
    padding: 80px 0;
    color: #ffffff;
    text-align: center;
}

.page-contact__form {
    max-width: 700px;
    margin: 40px auto 0;
    background: #FFFFFF; /* Card BG */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #D6E2FF; /* Border color */
    border-radius: 8px;
    font-size: 1em;
    color: #1F2D3D; /* Text Main */
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #2F6BFF; /* Main color */
    outline: none;
}

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

.page-contact__form-submit {
    width: auto;
    min-width: 180px;
    padding: 15px 30px;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #ffffff;
    font-weight: bold;
    transition: all 0.3s ease;
    display: block; /* Make it block to take full width on mobile */
    margin-top: 30px;
    text-align: center;
}

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

/* Office Info */
.page-contact__office-details {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
}

.page-contact__office-text {
    flex: 1;
    font-size: 1.05em;
    color: #1F2D3D; /* Text Main */
}

.page-contact__office-text p {
    margin-bottom: 15px;
}

.page-contact__office-text strong {
    color: #000000; /* Custom Color_1776249996415 */
}

.page-contact__office-map {
    flex: 1;
    min-width: 400px; /* Ensure map has reasonable size */
}

.page-contact__map-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: block;
    max-width: 100%;
}

/* FAQ Section */
.page-contact__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-contact__faq-item {
    background: #FFFFFF; /* Card BG */
    border: 1px solid #D6E2FF; /* Border color */
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 25px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-contact__faq-question {
    font-size: 1.3em;
    color: #000000; /* Custom Color_1776249996415 */
    font-weight: bold;
    margin-bottom: 10px;
}

.page-contact__faq-answer {
    font-size: 1em;
    color: #1F2D3D; /* Text Main */
}

/* Final CTA Section */
.page-contact__final-cta {
    background-color: #6FA3FF; /* Auxiliary color */
    padding: 80px 0;
    text-align: center;
    color: #ffffff;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-contact__container {
        padding: 0 30px;
    }

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

    .page-contact__section-title {
        font-size: 2em;
    }

    .page-contact__office-details {
        flex-direction: column;
        align-items: center;
    }

    .page-contact__office-map {
        min-width: unset;
        width: 100%;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    /* 1. Top Section Title + CTA */
    .page-contact__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }
    .page-contact__main-title {
        font-size: clamp(1.6em, 7vw, 2.2em) !important;
        margin-bottom: 15px;
    }
    .page-contact__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-contact__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-contact__btn {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    /* 2. Single Column Long Text Container (General sections) */
    .page-contact__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-contact__section {
        padding: 40px 0;
    }
    .page-contact__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-contact__section-intro {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    /* Contact Methods */
    .page-contact__method-grid {
        grid-template-columns: 1fr; /* Stack cards vertically */
    }
    .page-contact__method-card {
        padding: 25px;
    }
    .page-contact__method-icon {
        width: 150px; /* Adjust icon size for mobile */
        height: auto;
    }

    /* Contact Form */
    .page-contact__contact-form-section {
        padding: 50px 0;
    }
    .page-contact__form {
        margin-top: 20px;
        padding: 30px;
    }
    .page-contact__form-label {
        font-size: 1em;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 10px 12px;
        font-size: 0.95em;
    }
    .page-contact__form-submit {
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        margin-top: 20px;
    }

    /* Office Info */
    .page-contact__office-details {
        flex-direction: column;
        gap: 20px;
    }
    .page-contact__office-map {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-contact__map-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* FAQ Section */
    .page-contact__faq-list {
        margin-top: 20px;
    }
    .page-contact__faq-item {
        padding: 20px 25px;
    }
    .page-contact__faq-question {
        font-size: 1.15em;
    }
    .page-contact__faq-answer {
        font-size: 0.95em;
    }

    /* Final CTA */
    .page-contact__final-cta {
        padding: 50px 0;
    }

    /* 3. Generic images and figures */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Ensure all containing elements for images and buttons also respect mobile width */
    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    .page-contact__method-card,
    .page-contact__form,
    .page-contact__office-map,
    .page-contact__faq-item,
    .page-contact__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Override for specific elements where padding is handled differently or not needed */
    .page-contact__hero-section .page-contact__container,
    .page-contact__contact-form-section .page-contact__container,
    .page-contact__final-cta .page-contact__container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-contact__hero-section,
    .page-contact__contact-form-section,
    .page-contact__final-cta {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}