/* style/contact.css */

/* General page styling */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background is #000 from shared.css */
}

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

.page-contact__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for main titles */
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    padding: 100px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    min-height: 600px;
    background-color: #002060; /* Brand dark blue for hero */
}

.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; /* Make image subtle */
    filter: brightness(0.7); /* Darken image, but not change color */
}

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

.page-contact__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for H1 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.page-contact__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
    color: #f0f0f0;
}

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

.page-contact__btn-primary {
    background-color: #FFD700; /* Gold background */
    color: #002060; /* Dark blue text */
    border: 2px solid #FFD700;
    margin: 10px;
}

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

.page-contact__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
    margin: 10px;
}

.page-contact__btn-secondary:hover {
    background-color: #FFD700;
    color: #002060;
}

/* Contact Channels Section */
.page-contact__channels-section {
    padding: 60px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
    color: #ffffff;
}

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

.page-contact__channel-card {
    background-color: rgba(0, 32, 96, 0.7); /* Semi-transparent dark blue from brand color */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #002060;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-contact__channel-icon {
    width: 100%; /* Ensure full width */
    height: auto;
    max-height: 200px; /* Limit height for uniform cards */
    object-fit: contain; /* Contain within bounds */
    margin: 0 auto 20px auto;
    border-radius: 5px;
    display: block; /* Ensure no extra space below image */
}

.page-contact__card-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-contact__card-text {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1; /* Make text take available space */
}

.page-contact__card-contact-info {
    font-size: 1.1em;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-contact__email-link,
.page-contact__social-icon-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-contact__email-link:hover,
.page-contact__social-icon-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.page-contact__social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* Contact Form Section */
.page-contact__form-section {
    padding: 60px 0;
    background-color: #002060; /* Brand dark blue */
    color: #ffffff;
}

.page-contact__contact-form {
    max-width: 600px;
    margin: 40px auto 0 auto;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.5); /* Dark semi-transparent background */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

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

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

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

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #FFD700;
    background-color: rgba(255, 255, 255, 0.2);
    outline: none;
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 60px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background */
    color: #ffffff;
}

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

.page-contact__faq-item {
    background-color: rgba(0, 32, 96, 0.7); /* Semi-transparent dark blue */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #002060;
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #002060; /* Dark blue for question header */
    color: #FFD700;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
    background-color: #001a4d; /* Slightly darker on hover */
}

.page-contact__faq-heading {
    margin: 0;
    color: #FFD700;
    font-size: 1.2em; /* Ensure heading size */
}

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

.page-contact__faq-item.active .page-contact__faq-toggle {
    transform: rotate(45deg);
}

.page-contact__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
    background-color: rgba(0, 0, 0, 0.4); /* Darker background for answer */
}

.page-contact__faq-item.active .page-contact__faq-answer {
    max-height: 1000px !important; /* Sufficient height for content */
    padding: 20px 25px;
}

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

.page-contact__faq-link {
    color: #FFD700;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-contact__faq-link:hover {
    color: #ffffff;
}

/* CTA Section */
.page-contact__cta-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #002060; /* Brand dark blue */
    color: #ffffff;
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-contact__hero-section {
        padding: 80px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        min-height: 450px;
    }

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

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

    .page-contact__section-title {
        font-size: 2em;
        padding: 0 15px; /* Add padding for mobile */
    }

    .page-contact__section-description {
        font-size: 0.9em;
        padding: 0 15px; /* Add padding for mobile */
        margin-bottom: 30px;
    }

    .page-contact__channels-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .page-contact__channel-card {
        padding: 25px;
    }

    .page-contact__card-title {
        font-size: 1.5em;
    }

    .page-contact__card-text {
        font-size: 0.95em;
    }

    .page-contact__contact-form {
        padding: 20px;
        margin: 30px auto 0 auto;
        max-width: calc(100% - 30px); /* Adjust max-width for padding */
    }

    .page-contact__form-label {
        font-size: 1em;
    }

    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 10px 12px;
        font-size: 0.95em;
    }

    .page-contact__faq-list {
        max-width: calc(100% - 30px); /* Adjust max-width for padding */
        padding: 0 15px;
    }

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

    .page-contact__faq-heading {
        font-size: 1.1em;
    }

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

    .page-contact__cta-section {
        padding: 60px 15px;
    }

    .page-contact__btn-primary,
    .page-contact__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        margin: 5px 0;
    }

    .page-contact__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding: 0 15px; /* Add padding to container */
    }

    /* Images responsiveness for content area */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    
    /* All containers that might hold images or cause overflow */
    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    .page-contact__hero-content,
    .page-contact__channels-section,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__cta-section,
    .page-contact__channels-grid,
    .page-contact__contact-form,
    .page-contact__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal overflow */
    }

    /* Specific padding for sections that might need it */
    .page-contact__channels-section .page-contact__container,
    .page-contact__form-section .page-contact__container,
    .page-contact__faq-section .page-contact__container,
    .page-contact__cta-section .page-contact__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

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