/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    overflow: hidden;
}

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

.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: -1;
}

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

.page-contact__hero-title {
    font-size: 3.2em;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

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

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

.page-contact__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0; /* Default light text for dark sections */
}

/* Light background section (for contrast) */
.page-contact__light-bg {
    background-color: #ffffff; /* White background */
    color: #333333; /* Dark text for light background */
}

.page-contact__light-bg .page-contact__section-description {
    color: #555555; /* Darker text for light background */
}

/* Dark background section (for contrast) */
.page-contact__dark-bg {
    background-color: #26A9E0; /* Brand color background */
    color: #ffffff; /* White text for brand color background */
}

/* Contact Methods Section */
.page-contact__method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-contact__method-card {
    background-color: #f8f8f8; /* Light background for cards in light section */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #333333; /* Dark text for light card */
}

.page-contact__method-card:hover {
    transform: translateY(-10px);
}

.page-contact__method-icon {
    width: 200px; /* Display size */
    height: 150px; /* Display size */
    object-fit: contain;
    margin-bottom: 20px;
    filter: none; /* Ensure no filter changes original image color */
    min-width: 200px; /* Enforce min image size */
    min-height: 150px; /* Enforce min image size */
    margin-left: auto;
    margin-right: auto;
    display: block;
}

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

.page-contact__method-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 25px;
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__btn-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-contact__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

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

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

.page-contact__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1e87c0;
    border-color: #1e87c0;
}

.page-contact__btn-link {
    background: none;
    border: none;
    color: #26A9E0;
    padding: 0;
    text-decoration: underline;
    font-size: 1em;
    margin-top: 10px;
}

.page-contact__btn-link:hover {
    color: #1e87c0;
}

.page-contact__form-submit {
    background-color: #EA7C07; /* Login button color */
    border-color: #EA7C07;
    margin-top: 20px;
    width: auto;
}
.page-contact__form-submit:hover {
    background-color: #c96706;
    border-color: #c96706;
}

/* Contact Form Section */
.page-contact__contact-form {
    max-width: 700px;
    margin: 40px auto 0 auto;
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #333;
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
}

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

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

/* FAQ Section */
.page-contact__faq-list {
    margin-top: 40px;
}

.page-contact__faq-item {
    background-color: #f8f8f8; /* Light background for FAQ items */
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333; /* Dark text for light background */
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    list-style: none; /* For details/summary */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

.page-contact__faq-question::-webkit-details-marker {
    display: none;
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #26A9E0;
    margin-left: 15px;
}

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

/* Commitment Section */
.page-contact__commitment-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-contact__commitment-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.page-contact__commitment-item:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

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

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

.page-contact__commitment-cta {
    margin-top: 50px;
    font-size: 1.2em;
    padding: 15px 35px;
    background-color: #EA7C07; /* Login button color for CTA */
    border-color: #EA7C07;
}

.page-contact__commitment-cta:hover {
    background-color: #c96706;
    border-color: #c96706;
}

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

@media (max-width: 768px) {
    .page-contact__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-contact__hero-title {
        font-size: 2em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__section-description {
        font-size: 0.95em;
    }

    .page-contact__method-grid {
        grid-template-columns: 1fr;
    }

    .page-contact__container {
        padding: 20px 15px; /* Add padding for mobile content */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Images responsiveness */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-contact__method-icon {
        width: 200px !important; /* Keep min size */
        height: auto !important;
        margin-left: auto;
        margin-right: auto;
    }
    .page-contact__hero-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* Buttons responsiveness */
    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact__btn-link,
    .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__commitment-cta {
        padding: 15px 20px !important;
    }

    .page-contact__contact-form {
        padding: 20px 15px;
    }

    .page-contact__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-contact__faq-answer {
        padding: 0 20px 15px 20px;
    }

    .page-contact__commitment-points {
        grid-template-columns: 1fr;
    }
}

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