.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Default body background */
    padding-top: var(--header-offset, 120px);
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: #f0f8ff; /* Light background for contrast */
    color: #333333;
}

.page-contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

.page-contact__hero-title {
    font-size: 3em;
    color: #26A9E0; /* Primary color for title */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-contact__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

.page-contact__hero-image {
    width: 100%;
    max-width: 900px; /* Limit hero image width */
    margin-top: 30px;
}

.page-contact__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* General Section Styles */
.page-contact__section {
    padding: 80px 0;
    text-align: center;
}

.page-contact__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__section-description {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #555555;
}

/* Contact Info Section */
.page-contact__contact-info-section {
    background-color: #FFFFFF;
}

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

.page-contact__info-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-contact__info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-contact__info-card img {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-contact__info-card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-contact__info-card-text {
    font-size: 1em;
    color: #666666;
    flex-grow: 1; /* Ensures text takes available space */
    margin-bottom: 20px;
}

.page-contact__text-link {
    color: #26A9E0;
    text-decoration: underline;
}

.page-contact__text-link:hover {
    color: #1a7bb7;
}

/* Contact Form Section */
.page-contact__contact-form-section {
    background-color: #26A9E0; /* Primary color background */
    color: #ffffff; /* White text for contrast */
}

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

.page-contact__form-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
}

.page-contact__form-image {
    flex: 1;
    max-width: 50%;
}

.page-contact__form-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-contact__form {
    flex: 1;
    max-width: 50%;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.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 #e0e0e0;
    border-radius: 5px;
    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;
}

/* Buttons */
.page-contact__cta-button,
.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__form-submit-btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.page-contact__btn-primary,
.page-contact__form-submit-btn {
    background: #26A9E0; /* Primary color */
    color: #ffffff;
}

.page-contact__btn-primary:hover,
.page-contact__form-submit-btn:hover {
    background: #1a7bb7; /* Slightly darker primary */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-contact__btn-secondary {
    background: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    padding: 12px 30px;
    font-size: 16px;
}

.page-contact__btn-secondary:hover {
    background: #f0f8ff;
    color: #1a7bb7;
    border-color: #1a7bb7;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-contact__faq-section {
    background-color: #f9f9f9;
}

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

/* FAQ container style */
.page-contact__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* FAQ default state - answer hidden */
.page-contact__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
}

/* FAQ expanded state - \u26a0\ufe0f Use !important and sufficiently large max-height */
.page-contact__faq-item.active .page-contact__faq-answer {
    max-height: 2000px !important; /* \u26a0\ufe0f Use !important, value large enough */
    padding: 20px 25px !important;
    opacity: 1;
    background: #ffffff;
    border-radius: 0 0 8px 8px;
    text-align: left;
    color: #555555;
}

/* Question style */
.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-contact__faq-item.active .page-contact__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-color: #26A9E0; /* Highlight active question */
}

.page-contact__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-contact__faq-question:active {
    background: #eeeeee;
}

/* Question title style */
.page-contact__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.5;
    color: #333333;
    pointer-events: none; /* Prevents h3 from blocking click event */
}

/* Toggle icon */
.page-contact__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevents icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
    color: #26A9E0; /* Primary color for active toggle */
    transform: rotate(45deg); /* Rotate for 'x' effect */
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 2.5em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__form-wrapper {
        flex-direction: column;
    }
    .page-contact__form-image,
    .page-contact__form {
        max-width: 100%;
    }
    .page-contact__form-image {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-contact__hero-section {
        padding: 40px 15px;
    }
    .page-contact__hero-title {
        font-size: 1.8em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__section {
        padding: 40px 0;
    }
    .page-contact__section-title {
        font-size: 1.5em;
    }
    .page-contact__section-description {
        font-size: 0.9em;
        margin-bottom: 20px;
    }
    .page-contact__info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-contact__info-card {
        padding: 20px;
    }
    .page-contact__info-card img {
        width: 200px !important;
        height: 200px !important;
    }
    .page-contact__info-card-title {
        font-size: 1.2em;
    }
    .page-contact__form {
        padding: 25px;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 10px 12px;
        font-size: 0.9em;
    }
    .page-contact__cta-button,
.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__form-submit-btn {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-contact__faq-question {
        padding: 15px 20px;
        flex-wrap: wrap;
    }
    .page-contact__faq-question h3 {
        font-size: 1em;
        width: calc(100% - 40px);
    }
    .page-contact__faq-toggle {
        font-size: 24px;
        width: 24px;
        height: 24px;
        margin-left: 10px;
    }
    .page-contact__faq-answer {
        padding: 0 20px;
    }
    .page-contact__faq-item.active .page-contact__faq-answer {
        padding: 15px 20px !important;
    }

    /* Mobile image responsiveness */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    .page-contact__form-wrapper,
    .page-contact__info-grid,
    .page-contact__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Color Contrast Enforcement */
.page-contact__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}
.page-contact__dark-bg {
    background-color: #26A9E0; /* Primary color */
    color: #ffffff;
}

/* Ensure all content area images are at least 200px */
.page-contact__section img,
.page-contact__info-card img,
.page-contact__form-image img {
    min-width: 200px;
    min-height: 200px;
    object-fit: contain;
}