/* style/contact.css */

/* Base styles for the page content, assuming a dark body background from shared.css */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark background */
    background-color: transparent; /* Rely on body background from shared.css */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-contact__section-title {
    font-size: 2.5em;
    color: #ffffff; /* Light text for dark background */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__section-description {
    font-size: 1.1em;
    color: #f0f0f0; /* Slightly lighter for description */
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 80px 20px;
    overflow: hidden;
    background-color: #017439; /* Brand color as hero background */
}

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

.page-contact__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image for blending */
}

.page-contact__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    color: #ffffff;
}

.page-contact__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-contact__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
}

.page-contact__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__submit-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.page-contact__btn-primary:hover,
.page-contact__submit-button:hover {
    background-color: #a00606;
}

.page-contact__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    background-color: transparent;
    color: #ffffff;
    text-decoration: none;
    border: 2px solid #ffffff;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 1em;
}

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

.page-contact__btn-link {
    display: inline-block;
    color: #FFFF00; /* Link color for better visibility */
    text-decoration: underline;
    margin-top: 10px;
    transition: color 0.3s ease;
}

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

/* Contact Form Section */
.page-contact__form-section {
    background-color: #0a0a0a; /* Slightly lighter dark background for contrast */
    padding: 60px 0;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent white on dark background */
    border-radius: 10px;
    box-shadow: 0 5px 15px 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 15px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #222;
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
}

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

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

/* Contact Info Section */
.page-contact__info-section {
    background-color: #017439; /* Brand primary color */
    padding: 60px 0;
}

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

.page-contact__info-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__info-card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__info-card-text {
    font-size: 1em;
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-contact__info-card-link {
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFFF00; /* Link color */
    text-decoration: none;
    margin-bottom: 10px;
}

.page-contact__info-card-link:hover {
    text-decoration: underline;
}

.page-contact__info-card-note {
    font-size: 0.9em;
    color: #ccc;
}

/* Support Channels Section */
.page-contact__support-channels-section {
    background-color: #0a0a0a;
    padding: 60px 0;
}

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

.page-contact__channel-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    color: #ffffff;
    text-align: center;
}

.page-contact__channel-icon {
    width: 400px; /* Display width */
    height: 300px; /* Display height */
    object-fit: contain;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-contact__channel-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__channel-text {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
}

/* Location Section */
.page-contact__location-section {
    background-color: #017439;
    padding: 60px 0;
    text-align: center;
}

.page-contact__map-placeholder {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 40px;
    margin-top: 40px;
    color: #ffffff;
}

.page-contact__map-text {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.page-contact__address {
    font-style: normal;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-contact__map-note {
    font-size: 0.9em;
    color: #ccc;
}

/* FAQ Section */
.page-contact__faq-section {
    background-color: #0a0a0a;
    padding: 60px 0;
}

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

.page-contact__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease;
}

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

.page-contact__faq-qtext {
    flex-grow: 1;
    color: #ffffff;
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #FFFF00;
}

/* Details element specific styling */
.page-contact__faq-item[open] > .page-contact__faq-question .page-contact__faq-toggle {
    content: "−";
}

.page-contact__faq-item > summary {
    list-style: none; /* Remove default marker */
}
.page-contact__faq-item > summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-contact__faq-answer {
    padding: 20px 25px;
    background-color: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #f0f0f0;
    font-size: 1em;
}

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

.page-contact__faq-answer .page-contact__btn-link {
    margin-top: 0;
    display: inline;
}

/* Commitment Section */
.page-contact__commitment-section {
    background-color: #017439;
    padding: 60px 0;
    text-align: center;
}

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

.page-contact__commitment-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    color: #ffffff;
}

.page-contact__commitment-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-contact__cta-final {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 50px;
    border-radius: 10px;
    margin-top: 60px;
    color: #ffffff;
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 3em;
    }
    .page-contact__hero-description {
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
    }

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

    .page-contact__hero-section {
        min-height: 400px;
        padding: 40px 15px;
    }

    .page-contact__hero-title {
        font-size: 2.2em;
    }

    .page-contact__hero-description {
        font-size: 1em;
    }

    .page-contact__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact__submit-button,
    .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;
    }

    .page-contact__cta-buttons {
        display: flex;
        flex-direction: column;
    }

    .page-contact__section-title {
        font-size: 1.8em;
    }

    .page-contact__section-description {
        font-size: 1em;
    }

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

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

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

    .page-contact__channel-icon {
        width: 100% !important; /* Ensure full width */
        height: auto !important;
        max-width: 100% !important;
        min-width: 200px !important;
        min-height: 200px !important;
        display: block !important;
        margin-left: auto;
        margin-right: auto;
    }

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

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

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

    /* Image responsiveness */
    .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;
    }

    /* Ensure image within card/channel item maintains responsiveness */
    .page-contact__channel-item img {
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important;
    }

    /* Video specific CSS - no video on this page, but if there was, would follow these rules */
    .page-contact video,
    .page-contact__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-contact__video-section,
    .page-contact__video-container,
    .page-contact__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    
    .page-contact__video-section {
      padding-top: var(--header-offset, 120px) !important;
    }
    
    .page-contact__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }
}

/* General image styling to prevent small icons and ensure no filters */
.page-contact img {
    max-width: 100%;
    height: auto;
    display: block;
    /* No filter properties here to change image colors */
}