/* style/contact.css */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
}

.page-contact__hero-section {
    position: relative;
    width: 100%;
    height: 60vh; /* Adjust height for visual impact */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    overflow: hidden;
    padding: 0; /* Assume shared handles body padding-top */
}

.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: 800px;
    padding: 20px;
}

.page-contact__hero-title {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: #FFFFFF;
    line-height: 1.2;
}

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

.page-contact__section-title {
    font-size: 2.2em;
    color: #000000; /* Darker for titles on light background */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

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

.page-contact__info-section {
    background-color: #FFFFFF; /* Light background */
    padding: 60px 0;
}

.page-contact__dark-bg {
    background-color: #26A9E0; /* Brand primary color */
    color: #FFFFFF;
}

.page-contact__dark-bg .page-contact__section-title,
.page-contact__dark-bg .page-contact__section-description {
    color: #FFFFFF;
}

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

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

.page-contact__method-icon {
    width: 100%;
    height: auto;
    max-width: 150px; /* Ensure icon is not too large */
    margin-bottom: 20px;
    object-fit: contain;
}

.page-contact__method-title {
    font-size: 1.5em;
    color: #26A9E0; /* Brand color for titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__method-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-contact__email-address,
.page-contact__phone-number {
    font-size: 1.1em;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
}

.page-contact__form-section {
    padding: 60px 0;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 40px auto 0 auto;
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333333;
}

.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;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    color: #333333;
    background-color: #f9f9f9;
}

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

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

.page-contact__form-submit-btn {
    width: auto;
    display: block;
    margin-top: 30px;
    text-align: center;
    text-decoration: none;
}

.page-contact__faq-section {
    padding: 60px 0;
    background-color: #FFFFFF; /* Light background */
}

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

.page-contact__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: bold;
    color: #26A9E0; /* Brand color for questions */
    cursor: pointer;
    background-color: #eaf7ff; /* Lighter shade of brand color */
    transition: background-color 0.3s ease;
}

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

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

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

.page-contact__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #333333;
}

.page-contact__faq-item.active .page-contact__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 15px 25px;
}

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

.page-contact__commitment-section {
    padding: 60px 0;
    text-align: center;
}

.page-contact__btn-primary {
    display: inline-block;
    background-color: #26A9E0;
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 2px solid #26A9E0;
}

.page-contact__btn-primary:hover {
    background-color: #1e87c0;
    transform: translateY(-2px);
}

.page-contact__btn-secondary {
    display: inline-block;
    background-color: #FFFFFF;
    color: #26A9E0;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    border: 2px solid #26A9E0;
}

.page-contact__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1e87c0;
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 2.2em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__section-description {
        font-size: 0.95em;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        height: 50vh;
    }
    .page-contact__hero-title {
        font-size: 1.8em;
    }
    .page-contact__hero-description {
        font-size: 0.9em;
    }
    .page-contact__section-title {
        font-size: 1.6em;
    }
    .page-contact__section-description {
        font-size: 0.9em;
    }
    .page-contact__contact-methods {
        grid-template-columns: 1fr;
    }
    .page-contact__method-card {
        padding: 20px;
    }
    .page-contact__contact-form {
        padding: 25px;
    }
    .page-contact__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-contact__faq-answer {
        padding: 0 20px;
    }
    .page-contact__faq-item.active .page-contact__faq-answer {
        padding: 10px 20px;
    }

    /* Mobile specific image/video/button rules */
    .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__contact-form,
    .page-contact__faq-list,
    .page-contact__hero-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Buttons */
    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .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;
        text-align: center;
    }

    .page-contact__contact-methods {
        flex-wrap: wrap !important;
        gap: 20px;
    }
    .page-contact__method-card {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Ensure content area images are not too small */
    .page-contact__method-icon {
        min-width: 200px !important;
        min-height: 200px !important;
        max-width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 1.5em;
    }
    .page-contact__hero-description {
        font-size: 0.85em;
    }
    .page-contact__section-title {
        font-size: 1.4em;
    }
    .page-contact__section-description {
        font-size: 0.85em;
    }
    .page-contact__btn-primary,
    .page-contact__btn-secondary {
        padding: 10px 15px;
    }
}