/* style/contact.css */
/* Body background is #0a0a0a (dark), so text colors must be light for contrast */

.page-contact {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Default text color for dark body background */
    line-height: 1.6;
    background-color: transparent; /* Inherit from body or shared, ensuring content sections manage their own backgrounds */
}

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #26A9E0; /* Brand color as background */
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.page-contact__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-bottom: 30px;
}

.page-contact__main-title {
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    /* No fixed font-size for H1, relying on responsive scaling */
}

.page-contact__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__hero-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    margin-top: 20px;
    border-radius: 8px;
    object-fit: cover;
}

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

.page-contact__section-intro {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Text Blocks */
.page-contact__text-block {
    margin-bottom: 20px;
    color: #f0f0f0; /* Light text for dark body background */
}

/* Highlight color */
.page-contact__highlight {
    color: #26A9E0; /* Brand color for highlights */
    font-weight: bold;
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
    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;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-contact__btn-primary {
    background-color: #EA7C07; /* Login/CTA button color */
    color: #ffffff;
    border: 2px solid transparent;
}

.page-contact__btn-primary:hover {
    background-color: #d16b00;
}

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

.page-contact__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Section Backgrounds */
.page-contact__dark-bg {
    background-color: #0a0a0a; /* Body background color */
    color: #ffffff;
    padding: 60px 0;
}

.page-contact__light-bg {
    background-color: #1a1a1a; /* Slightly lighter for contrast within dark theme */
    color: #f0f0f0;
    padding: 60px 0;
}

/* Intro Support Section */
.page-contact__intro-support-section .page-contact__section-title {
    color: #26A9E0;
}

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

.page-contact__method-card {
    background: rgba(255, 255, 255, 0.05); /* Semi-transparent white for dark background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
}

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

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

.page-contact__email-address,
.page-contact__phone-number,
.page-contact__working-hours {
    font-size: 1em;
    margin-bottom: 10px;
    color: #f0f0f0;
}

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

.page-contact__social-link {
    color: #ffffff;
    font-size: 1.1em;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-contact__social-link:hover {
    color: #26A9E0;
}

.page-contact__section-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 40px;
    border-radius: 8px;
    object-fit: cover;
}

/* Common Issues Section */
.page-contact__common-issues-section .page-contact__section-title {
    color: #26A9E0;
}

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

.page-contact__issue-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-contact__issue-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-contact__issue-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* Before Contact Section */
.page-contact__before-contact-section .page-contact__section-title {
    color: #ffffff;
}

.page-contact__before-contact-section .page-contact__section-intro {
    color: #f0f0f0;
}

.page-contact__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-contact__tips-list li {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    font-size: 1.05em;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-contact__tips-list li a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-contact__tips-list li a:hover {
    color: #EA7C07;
}

/* Contact Form Section */
.page-contact__contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.3); /* Darker input background */
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #26A9E0;
    outline: none;
    box-shadow: 0 0 0 2px rgba(38, 169, 224, 0.5);
}

/* FAQ Section */
.page-contact__faq-section .page-contact__section-title {
    color: #ffffff;
}

.page-contact__faq-section .page-contact__section-intro {
    color: #f0f0f0;
}

.page-contact__faq-list {
    margin-top: 40px;
}

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

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-contact__faq-item[open] .page-contact__faq-question {
    background-color: rgba(255, 255, 255, 0.15);
    border-bottom: none;
}

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

.page-contact__faq-item[open] .page-contact__faq-toggle {
    color: #EA7C07; /* Change color when open */
}

.page-contact__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    color: #f0f0f0;
}

.page-contact__faq-answer p {
    margin-top: 15px;
}

.page-contact__faq-answer a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-contact__faq-answer a:hover {
    color: #EA7C07;
}

/* Hide default details marker */
details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}

/* Commitment Section */
.page-contact__commitment-section .page-contact__section-title {
    color: #26A9E0;
}

.page-contact__commitment-section .page-contact__section-intro {
    color: #f0f0f0;
}

.page-contact__commitment-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-contact__commitment-list li {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

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

.page-contact__commitment-list li p {
    font-size: 1em;
    color: #f0f0f0;
}

.page-contact__final-cta {
    text-align: center;
    font-size: 1.2em;
    margin-top: 40px;
    margin-bottom: 30px;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-contact__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-contact__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-contact__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 15px;
    }

    .page-contact__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-contact__section-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-contact__section-intro {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-contact__contact-methods,
    .page-contact__issue-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-contact__method-card,
    .page-contact__issue-card,
    .page-contact__tips-list li,
    .page-contact__commitment-list li {
        padding: 20px;
    }

    .page-contact__method-title,
    .page-contact__issue-title {
        font-size: 1.3em;
    }

    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 10px;
    }

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

    .page-contact__faq-question {
        font-size: 1em;
        padding: 15px;
    }

    .page-contact__faq-answer {
        padding: 0 15px 15px;
    }

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

    .page-contact__cta-buttons,
    .page-contact__button-group,
    .page-contact__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    /* Images and Videos Responsive */
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-contact__hero-section {
        padding-top: 10px !important;
    }
    /* Ensure no image filter is used */
    .page-contact img { filter: none !important; }
}