/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-contact__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand primary color */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__section-description,
.page-contact__section-sub-description {
    font-size: 1.1em;
    color: #f0f0f0;
    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;
    text-align: center;
    overflow: hidden;
    background-color: #017439; /* Fallback */
    padding-top: var(--header-offset, 120px); /* Apply header offset here if shared doesn't do it for body */
}

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

.page-contact__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background for text readability */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__hero-title {
    font-size: 3.2em;
    color: #FFFFFF;
    margin-bottom: 20px;
    font-weight: bold;
}

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

.page-contact__hero-cta-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Video Section */
.page-contact__video-section {
    position: relative;
    padding: 60px 0;
    background-color: #0a0a0a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-contact__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px; /* Max width for the video container */
    margin: 0 auto;
    background-color: #000;
    aspect-ratio: 16 / 9; /* Maintain 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-contact__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-contact__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 10; /* Ensure overlay is above video */
}

.page-contact__video-overlay:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.page-contact__video-play-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background-color: #C30808; /* Red for play button */
    color: #FFFF00; /* Yellow text for play button */
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__video-play-button:hover {
    background-color: #a00606;
    transform: scale(1.05);
}

.page-contact__play-icon {
    width: 30px;
    height: 30px;
    fill: #FFFF00;
}

.page-contact__video-description {
    max-width: 800px;
    margin: 30px auto 0;
    text-align: center;
    font-size: 1.1em;
    color: #f0f0f0;
}

/* Contact Methods Section */
.page-contact__methods-section {
    padding: 80px 0;
}

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

.page-contact__method-card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for cards */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff; /* Light text for card content */
}

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

.page-contact__method-icon {
    width: 200px; /* Min size 200x200 */
    height: 150px; /* Keeping aspect ratio for 400x300 */
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3)); /* Allowed shadow, not color filter */
}

.page-contact__method-title {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__method-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes button to bottom */
}

.page-contact__method-contact-info {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 15px;
}

.page-contact__email-link,
.page-contact__phone-link {
    color: #FFFF00; /* Yellow for contact info links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-contact__email-link:hover,
.page-contact__phone-link:hover {
    color: #017439; /* Green on hover */
    text-decoration: underline;
}

.page-contact__method-button {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    margin-top: auto; /* Push button to bottom */
}

.page-contact__support-team-image {
    display: block;
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 0 auto 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}


/* Contact Form Section */
.page-contact__form-section {
    padding: 80px 0;
    background-color: #0a0a0a;
}

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

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

.page-contact__form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1em;
    font-weight: bold;
    color: #017439; /* Brand primary color */
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #017439;
    box-shadow: 0 0 8px rgba(1, 116, 57, 0.5);
    outline: none;
}

.page-contact__form-textarea {
    resize: vertical;
    min-height: 120px;
}

.page-contact__form-submit-button {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__form-note {
    text-align: center;
    margin-top: 30px;
    font-size: 0.95em;
    color: #ccc;
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
    position: relative;
    overflow: hidden;
}

.page-contact__faq-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.1;
}

.page-contact__faq-section .page-contact__container {
    position: relative;
    z-index: 2;
}

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

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

.page-contact__faq-item summary {
    list-style: none; /* Hide default marker */
}

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

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.08);
    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.12);
}

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

.page-contact__faq-item[open] .page-contact__faq-question {
    border-bottom: none;
}

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

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


/* Call to Action Section */
.page-contact__cta-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-contact__cta-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.2;
}

.page-contact__cta-section .page-contact__container {
    position: relative;
    z-index: 2;
}

.page-contact__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-contact__cta-button {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1.15em;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

/* Button Colors */
.page-contact__btn-primary {
    background-color: #C30808; /* Red for primary actions */
    color: #FFFF00; /* Yellow text */
    border: 2px solid #C30808;
}

.page-contact__btn-primary:hover {
    background-color: #a00606;
    transform: translateY(-3px);
}

.page-contact__btn-secondary {
    background-color: transparent;
    color: #017439; /* Brand primary for secondary text */
    border: 2px solid #017439;
}

.page-contact__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
    transform: translateY(-3px);
}

/* Dark background sections */
.page-contact__dark-section {
    background-color: #0a0a0a;
    color: #ffffff;
}

/* Light background sections (for contrast demonstration, though main body is dark) */
.page-contact__light-bg {
    background-color: #1a1a1a; /* Using a slightly lighter dark for contrast */
    color: #ffffff;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 2.8em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__methods-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-contact__hero-content {
        padding: 30px;
    }
    .page-contact__hero-title {
        font-size: 2.2em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__hero-cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__section-description,
    .page-contact__section-sub-description,
    .page-contact__video-description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    /* Images responsiveness */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    /* Video responsiveness */
    .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;
    }
    /* Ensure video section padding-top is correct for mobile */
    .page-contact__video-section {
        padding-top: 40px; /* Adjust if needed, but ensure it's not double counted with hero */
    }
    .page-contact__video-play-button {
        font-size: 1em;
        padding: 10px 20px;
    }
    .page-contact__play-icon {
        width: 25px;
        height: 25px;
    }


    /* Buttons responsiveness */
    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-contact__cta-button,
    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact a[class*="button"],
    .page-contact a[class*="btn"],
    .page-contact__form-submit-button,
    .page-contact__method-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px; /* Add padding to prevent text touching edges */
        padding-right: 15px;
    }

    /* General container padding for mobile */
    .page-contact__container,
    .page-contact__form-section .page-contact__contact-form,
    .page-contact__hero-section .page-contact__hero-content,
    .page-contact__methods-section .page-contact__methods-grid,
    .page-contact__faq-section .page-contact__faq-list,
    .page-contact__cta-section .page-contact__cta-buttons {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 10px 12px;
    }
    .page-contact__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-contact__faq-answer {
        font-size: 0.95em;
        padding: 0 20px 15px;
    }
}

@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__method-title {
        font-size: 1.5em;
    }
}

/* Ensure no filter on images */
.page-contact img {
    filter: none;
}