.page-contact-us {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #f8f8f8; /* Light background to ensure contrast */
}

/* Hero Section */
.page-contact-us__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #26A9E0; /* Brand primary color for hero background */
    color: #ffffff; /* White text for brand color background */
}

.page-contact-us__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for the image */
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-contact-us__hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-contact-us__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-contact-us__description {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin-bottom: 30px;
    color: #ffffff;
}

/* General Section Styling */
.page-contact-us__info-section,
.page-contact-us__form-section,
.page-contact-us__faq-section,
.page-contact-us__cta-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #ffffff; /* Light background for content sections */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    margin-bottom: 40px;
}

.page-contact-us__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    color: #26A9E0; /* Primary color for titles */
    text-align: center;
    margin-bottom: 20px;
}

.page-contact-us__section-description {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

/* Contact Channels */
.page-contact-us__contact-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-contact-us__channel-card {
    background-color: #f0f8ff; /* Light blue background for cards */
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    color: #333333;
}

.page-contact-us__channel-card:hover {
    transform: translateY(-5px);
}

.page-contact-us__channel-icon {
    width: 100%; /* Ensure image fills card width */
    height: auto;
    max-width: 400px; /* Max width for consistency */
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 4px;
    object-fit: cover;
}

.page-contact-us__channel-title {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 600;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-contact-us__channel-text {
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    margin-bottom: 20px;
    color: #555555;
}

.page-contact-us__channel-text a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: 500;
}

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

/* Contact Form */
.page-contact-us__contact-form {
    max-width: 700px;
    margin: 40px auto 0 auto;
    padding: 30px;
    background-color: #f0f8ff; /* Light blue background for form */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

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

.page-contact-us__form-label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #333333;
    margin-bottom: 8px;
}

.page-contact-us__form-input,
.page-contact-us__form-textarea {
    width: calc(100% - 20px); /* Adjust for padding */
    padding: 12px 10px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 1rem;
    color: #333333;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
}

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

.page-contact-us__form-textarea {
    resize: vertical;
}

/* FAQ Section */
.page-contact-us__faq-list {
    margin-top: 30px;
}

.page-contact-us__faq-item {
    background-color: #f0f8ff; /* Light blue background for FAQ items */
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    overflow: hidden; /* For details tag transition */
}

.page-contact-us__faq-item[open] {
    background-color: #e6f7ff; /* Slightly darker on open */
}

.page-contact-us__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    font-weight: 600;
    color: #26A9E0;
    cursor: pointer;
    background-color: transparent;
    border-bottom: 1px solid #e0e0e0;
    user-select: none;
    list-style: none; /* Remove default marker for details summary */
}

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

.page-contact-us__faq-qtext {
    flex-grow: 1;
    text-align: left;
}

.page-contact-us__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-contact-us__faq-item[open] .page-contact-us__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to form an X or minus */
}

.page-contact-us__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 0.95rem;
    color: #555555;
}

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

.page-contact-us__faq-link {
    display: inline-block;
    margin-top: 10px;
    color: #26A9E0;
    text-decoration: none;
    font-weight: 500;
}

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

/* CTA Section */
.page-contact-us__cta-section {
    text-align: center;
    background-color: #26A9E0; /* Primary color for CTA background */
    color: #ffffff; /* White text for CTA */
}

.page-contact-us__cta-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-contact-us__cta-description {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #ffffff;
}

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

/* Buttons */
.page-contact-us__btn-primary,
.page-contact-us__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 5px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    text-align: center;
}

.page-contact-us__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-contact-us__btn-primary:hover {
    background-color: #d16b06;
    border-color: #d16b06;
}

.page-contact-us__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-contact-us__btn-secondary:hover {
    background-color: #e6f7ff;
    color: #1a7ebf;
    border-color: #1a7ebf;
}

/* Ensure all links within content areas have good contrast */
.page-contact-us a {
    color: #26A9E0;
    text-decoration: none;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-contact-us__hero-section,
    .page-contact-us__info-section,
    .page-contact-us__form-section,
    .page-contact-us__faq-section,
    .page-contact-us__cta-section {
        padding: 40px 15px;
    }

    .page-contact-us__contact-channels {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-contact-us__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important; /* body already handles header offset */
    }

    .page-contact-us__main-title {
        font-size: 2.2rem;
    }

    .page-contact-us__description {
        font-size: 1rem;
    }

    .page-contact-us__section-title {
        font-size: 2rem;
    }

    .page-contact-us__section-description {
        font-size: 0.9rem;
    }

    .page-contact-us__btn-primary,
    .page-contact-us__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        margin-bottom: 10px;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-contact-us__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    /* Mobile image responsive adaptation */
    .page-contact-us img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-contact-us__section,
    .page-contact-us__card,
    .page-contact-us__container,
    .page-contact-us__hero-section,
    .page-contact-us__info-section,
    .page-contact-us__form-section,
    .page-contact-us__faq-section,
    .page-contact-us__cta-section,
    .page-contact-us__contact-channels,
    .page-contact-us__channel-card,
    .page-contact-us__contact-form,
    .page-contact-us__faq-list,
    .page-contact-us__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }

    /* Adjust padding for specific elements if they have a different default padding */
    .page-contact-us__hero-section,
    .page-contact-us__info-section,
    .page-contact-us__form-section,
    .page-contact-us__faq-section,
    .page-contact-us__cta-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-contact-us__hero-section {
        padding-top: 10px !important;
    }
}

/* Color Contrast Enforcement */
.page-contact-us {
  color: #333333; /* Default text for light backgrounds */
}

.page-contact-us__hero-section {
  background: #26A9E0;
  color: #ffffff; /* White text on primary brand color */
}

.page-contact-us__info-section,
.page-contact-us__form-section,
.page-contact-us__faq-section {
  background: #ffffff;
  color: #333333; /* Dark text on white background */
}

.page-contact-us__channel-card,
.page-contact-us__contact-form,
.page-contact-us__faq-item {
  background-color: #f0f8ff; /* Light blue background */
  color: #333333; /* Dark text on light blue */
}

.page-contact-us__channel-card a,
.page-contact-us__faq-answer a,
.page-contact-us__channel-text a {
    color: #26A9E0; /* Brand blue for links */
}

.page-contact-us__btn-primary {
  background: #EA7C07; /* Login button color */
  color: #ffffff; /* White text on login button color */
}

.page-contact-us__btn-secondary {
  background: #ffffff;
  color: #26A9E0; /* Brand blue text on white button */
  border-color: #26A9E0;
}

/* Override details default styling for WebKit */
summary::-webkit-details-marker {
  display: none;
}