.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--bg-color, #FFFFFF); /* Inherit from shared or default to white */
}

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

/* --- Hero Section --- */
.page-contact__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px; /* Ensure sufficient height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
    overflow: hidden;
    color: #FFFFFF; /* Light text for dark background */
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-contact__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-contact__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-contact__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #F0F0F0;
}

/* --- General Section Styles --- */
.page-contact__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for titles */
}

.page-contact__section-title--white {
    color: #FFFFFF;
}

.page-contact__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

.page-contact__section-intro--white {
    color: #F0F0F0;
}

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

.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__social-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    max-width: 100%; /* Ensure buttons fit container */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-contact__btn-primary {
    background-color: #26A9E0; /* Main brand color */
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-contact__btn-primary:hover {
    background-color: #1a7fb3;
    border-color: #1a7fb3;
}

.page-contact__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0; /* Main brand color */
    border: 2px solid #26A9E0;
}

.page-contact__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #1a7fb3;
    border-color: #1a7fb3;
}

.page-contact__social-btn {
    background-color: #26A9E0; /* Main brand color */
    color: #FFFFFF;
    border: 2px solid #26A9E0;
    padding: 10px 20px;
    margin: 5px;
}

.page-contact__social-btn:hover {
    background-color: #1a7fb3;
    border-color: #1a7fb3;
}

/* --- Methods Section --- */
.page-contact__methods-section {
    padding: 80px 0;
    background-color: #F8F8F8; /* Light background */
}

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

.page-contact__method-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    color: #333333;
}

.page-contact__method-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
}

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

.page-contact__method-description {
    margin-bottom: 20px;
    flex-grow: 1; /* Allow description to take available space */
}

.page-contact__email-link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-contact__email-link:hover {
    text-decoration: underline;
}

.page-contact__social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}


/* --- Form Section --- */
.page-contact__form-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Brand color as background */
    color: #FFFFFF;
}

.page-contact__form-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping */
}

.page-contact__form-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.page-contact__contact-form {
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    color: #333333; /* Dark text for light form background */
}

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

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

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #26A9E0;
    outline: none;
}

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

.page-contact__form-submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    cursor: pointer;
    background-color: #EA7C07; /* Custom login/submit color */
    border: 2px solid #EA7C07;
}

.page-contact__form-submit-btn:hover {
    background-color: #c96806;
    border-color: #c96806;
}

/* --- Why Contact Section --- */
.page-contact__why-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.page-contact__why-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-contact__why-item {
    background-color: #F8F8F8;
    border-left: 5px solid #26A9E0;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-contact__why-item-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-contact__why-item-description {
    color: #555555;
}

/* --- FAQ Section --- */
.page-contact__faq-section {
    padding: 80px 0;
    background-color: #F0F7FA; /* Light blue tint */
}

.page-contact__faq-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start; /* Align items at the start */
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-contact__faq-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.page-contact__faq-list {
    flex-grow: 1;
    max-width: 700px; /* Adjust max-width as needed */
}

.page-contact__faq-item {
    background-color: #FFFFFF;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    color: #333333;
}

.page-contact__faq-item details { /* Native details element */
    border: none;
    margin-bottom: 0;
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    background-color: #FFFFFF;
    border-bottom: 1px solid #EEEEEE;
    user-select: none;
}

.page-contact__faq-question:hover {
    background-color: #F5F5F5;
}

.page-contact__faq-item details > summary {
    list-style: none; /* Hide default marker */
}
.page-contact__faq-item details > summary::-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;
}

/* For JS controlled toggle, if used */
.page-contact__faq-item.active .page-contact__faq-toggle {
    transform: rotate(45deg);
}

.page-contact__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #555555;
    background-color: #FBFBFB;
    border-top: 1px solid #EEEEEE;
}

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


/* --- CTA Banner Section --- */
.page-contact__cta-banner {
    padding: 80px 0;
    background-color: #26A9E0; /* Brand color as background */
    text-align: center;
    color: #FFFFFF;
}

.page-contact__cta-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin: 40px auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}


/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 2.8em;
    }
    .page-contact__hero-description {
        font-size: 1.2em;
    }
    .page-contact__section-title {
        font-size: 2.2em;
    }
    .page-contact__section-intro {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-contact__hero-title {
        font-size: 2.2em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact__social-btn,
    .page-contact a[class*="button"],
    .page-contact a[class*="btn"] {
        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;
    }
    .page-contact__methods-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__form-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    .page-contact__form-image {
        max-width: 100%;
        order: -1; /* Image above form on mobile */
    }
    .page-contact__contact-form {
        padding: 30px 20px;
    }
    .page-contact__why-list {
        grid-template-columns: 1fr;
    }
    .page-contact__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-contact__faq-answer {
        padding: 15px 20px;
    }
    .page-contact__faq-content-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .page-contact__faq-image {
        order: -1; /* Image above list on mobile */
    }
    .page-contact__faq-list {
        max-width: 100%;
    }

    /* Mobile image 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__social-links,
    .page-contact__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    .page-contact__hero-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-contact__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 1.8em;
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__method-title {
        font-size: 1.5em;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        font-size: 0.9em;
    }
    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact__social-btn {
        padding: 12px 20px;
        font-size: 0.95em;
    }
}