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

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding as body handles header offset */
    padding-bottom: 40px;
    background-color: #F5F7FA; /* Background */
}

.page-contact__hero-image-wrapper {
    margin-bottom: 20px;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

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

.page-contact__main-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #E53935; /* Main color */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-contact__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #333333; /* Text Main */
}

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

.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%; /* Button responsiveness */
    box-sizing: border-box; /* Button responsiveness */
    white-space: normal; /* Button responsiveness */
    word-wrap: break-word; /* Button responsiveness */
}

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

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

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

.page-contact__btn-secondary:hover {
    background: #E53935; /* Main color */
    color: #ffffff;
}

/* Section Titles and Descriptions */
.page-contact__section-title {
    font-size: 2em;
    font-weight: bold;
    color: #E53935; /* Main color */
    text-align: center;
    margin-bottom: 15px;
    padding-top: 40px;
}

.page-contact__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #333333; /* Text Main */
}

/* Contact Form Section */
.page-contact__form-section {
    padding: 60px 0;
    background-color: #F5F7FA; /* Background */
}

.page-contact__form-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.page-contact__form-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

.page-contact__contact-form {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: #ffffff; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #E0E0E0; /* Border */
    border-radius: 5px;
    font-size: 1em;
    color: #333333; /* Text Main */
    box-sizing: border-box;
}

.page-contact__form-textarea {
    resize: vertical;
}

.page-contact__form-submit-btn {
    width: 100%;
    margin-top: 10px;
}

.page-contact__note-text {
    text-align: center;
    margin-top: 30px;
    font-size: 0.95em;
    color: #555555;
}

/* Channels Section */
.page-contact__channels-section {
    padding: 60px 0;
    background-color: #E53935; /* Main color - Dark background */
    color: #ffffff; /* White text for dark background */
}

.page-contact__channels-section .page-contact__section-title,
.page-contact__channels-section .page-contact__section-description {
    color: #ffffff;
}

.page-contact__channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-contact__channel-card {
    background-color: #ffffff; /* Card BG */
    color: #333333; /* Text Main */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%; /* Ensure cards are same height */
}

.page-contact__channel-icon {
    width: 100%; /* Ensure image fills card width */
    max-width: 250px; /* Limit max width of icon */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-contact__channel-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #E53935; /* Main color */
    margin-bottom: 15px;
}

.page-contact__channel-text {
    font-size: 1em;
    margin-bottom: 25px;
    flex-grow: 1; /* Push button to bottom */
}

.page-contact__social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap; /* Allow wrapping */
    justify-content: center;
    width: 100%;
}

.page-contact__social-btn {
    flex-grow: 1;
    min-width: 120px;
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 60px 0;
    background-color: #F5F7FA; /* Background */
}

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

.page-contact__faq-item {
    background-color: #ffffff; /* Card BG */
    border: 1px solid #E0E0E0; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333; /* Text Main */
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    background-color: #ffffff; /* Card BG */
    color: #E53935; /* Main color */
    user-select: none;
    list-style: none; /* Hide default marker */
    position: relative;
}

.page-contact__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}

.page-contact__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #555555;
    line-height: 1.7;
}

.page-contact__faq-answer p {
    margin-bottom: 10px;
}

.page-contact__faq-answer p:last-child {
    margin-bottom: 0;
}

/* Commitment Section */
.page-contact__commitment-section {
    padding: 60px 0;
    background-color: #FF5A4F; /* Auxiliary color - Medium background */
    color: #ffffff; /* White text for contrast */
}

.page-contact__commitment-section .page-contact__section-title,
.page-contact__commitment-section .page-contact__section-description {
    color: #ffffff;
}

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

.page-contact__commitment-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark bg */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-contact__commitment-title {
    font-size: 1.4em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-contact__commitment-text {
    font-size: 0.95em;
    color: #f0f0f0;
    flex-grow: 1;
}

.page-contact__commitment-cta {
    margin-top: 40px;
}

/* General Link Styling */
.page-contact a {
    color: #E53935; /* Main color */
    text-decoration: none;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-contact__main-title {
        font-size: 2em;
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__channels-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Hero Section */
    .page-contact__hero-section {
        padding-top: 10px; /* Consistent small top padding */
        padding-bottom: 30px;
    }
    .page-contact__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-contact__main-title {
        font-size: 1.8em;
    }
    .page-contact__description {
        font-size: 1em;
    }
    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to container */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-contact__btn-primary,
    .page-contact__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Section Titles and Descriptions */
    .page-contact__section-title {
        font-size: 1.6em;
        padding-top: 30px;
    }
    .page-contact__section-description {
        font-size: 0.95em;
        padding: 0 15px;
    }
    .page-contact__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Contact Form Section */
    .page-contact__form-section {
        padding: 40px 0;
    }
    .page-contact__form-wrapper {
        flex-direction: column;
        gap: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-contact__form-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-contact__contact-form {
        max-width: 100% !important;
        width: 100% !important;
        padding: 20px;
        box-sizing: border-box !important;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        width: 100%; /* Ensure inputs take full width */
    }

    /* Channels Section */
    .page-contact__channels-section {
        padding: 40px 0;
    }
    .page-contact__channels-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
    }
    .page-contact__channel-card {
        padding: 20px;
    }
    .page-contact__channel-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-contact__social-links {
        flex-direction: column;
        gap: 10px;
    }
    .page-contact__social-btn {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* FAQ Section */
    .page-contact__faq-section {
        padding: 40px 0;
    }
    .page-contact__faq-list {
        margin-top: 30px;
    }
    .page-contact__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-contact__faq-answer {
        padding: 0 20px 15px;
    }

    /* Commitment Section */
    .page-contact__commitment-section {
        padding: 40px 0;
    }
    .page-contact__commitment-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
    }
    .page-contact__commitment-item {
        padding: 20px;
    }
    .page-contact__commitment-cta {
        margin-top: 30px;
    }

    /* General image and container responsiveness */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    .page-contact__form-wrapper,
    .page-contact__contact-form,
    .page-contact__channels-grid,
    .page-contact__commitment-grid,
    .page-contact__social-links {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
    /* Ensure buttons also get the padding from their containers */
    .page-contact__cta-buttons,
    .page-contact__social-links {
        padding-left: 0;
        padding-right: 0;
    }
}