/* style/contact.css */

/* General page styling */
.page-contact {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-contact__hero-section {
    position: relative;
    overflow: hidden;
    color: #ffffff; /* White text on hero for better contrast */
    text-align: center;
    padding: 80px 20px; /* Adjusted padding to prevent double padding with header offset */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

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

.page-contact__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    padding: 30px;
    border-radius: 10px;
}

.page-contact__hero-title {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: #FFD700; /* Gold for prominence */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

/* Section general styling */
.page-contact__section-title {
    font-size: 2.2em;
    color: #008000; /* Dark green for section titles */
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

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

/* CTA Button Styling */
.page-contact__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #333333; /* Dark text on gold */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-contact__cta-button:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-2px);
}

.page-contact__cta-button--secondary {
    background-color: #008000; /* Dark green secondary button */
    color: #ffffff; /* White text on dark green */
    margin-left: 20px;
}

.page-contact__cta-button--secondary:hover {
    background-color: #006600; /* Darker green on hover */
}


/* Contact Methods Section */
.page-contact__methods-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.page-contact__methods-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.page-contact__card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-contact__card:hover {
    transform: translateY(-5px);
}

.page-contact__card-icon {
    width: 250px; /* Minimum 200px */
    height: 187px; /* Maintain aspect ratio for 800x600 */
    margin-bottom: 20px;
    object-fit: cover;
    border-radius: 5px;
}

.page-contact__card-title {
    font-size: 1.8em;
    color: #FFD700; /* Gold for card titles */
    margin-bottom: 15px;
}

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

.page-contact__card-button {
    display: inline-block;
    background-color: #008000; /* Dark green button */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-contact__card-button:hover {
    background-color: #006600;
}

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

.page-contact__social-icon {
    display: inline-block;
    background-color: #FFD700;
    color: #333333;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.page-contact__social-icon:hover {
    background-color: #e6c200;
}


/* Contact Form Section */
.page-contact__form-section {
    padding: 60px 20px;
    background-color: #f0f0f0;
}

.page-contact__form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* Include padding in width */
    transition: border-color 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #FFD700; /* Gold focus */
    outline: none;
}

.page-contact__form-textarea {
    resize: vertical; /* Allow vertical resizing */
}

.page-contact__form-submit-button {
    width: auto; /* Allow button to size naturally */
    margin-top: 20px;
}

.page-contact__form-status {
    margin-top: 20px;
    font-weight: bold;
    text-align: center;
    font-size: 1.1em;
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 60px 20px;
}

.page-contact__faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

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

.page-contact__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-question {
    font-size: 1.4em;
    color: #008000; /* Dark green for questions */
    margin-bottom: 10px;
}

.page-contact__faq-answer {
    font-size: 1em;
    color: #555555;
}

.page-contact__faq-answer a {
    color: #DC143C; /* Dark red for links in FAQ answers */
    text-decoration: none;
    font-weight: bold;
}

.page-contact__faq-answer a:hover {
    text-decoration: underline;
}

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

/* Final CTA Section */
.page-contact__cta-section {
    background-color: #008000; /* Dark green background */
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.page-contact__cta-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-contact__cta-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold title */
    margin-bottom: 20px;
}

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

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


/* Responsive Design */
@media (max-width: 768px) {
    .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.9em;
    }

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

    .page-contact__card-icon {
        width: 200px; /* Minimum 200px */
        height: 150px; /* Maintain aspect ratio */
    }

    .page-contact__faq-question {
        font-size: 1.2em;
    }

    .page-contact__cta-title {
        font-size: 2em;
    }

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

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

    .page-contact__cta-button--secondary {
        margin-left: 0; /* Remove margin for stacked buttons */
    }

    /* Important: Content area images must not be smaller than 200px */
    .page-contact img {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min- /* Adjust min-height to maintain aspect ratio for 400x300 */
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-section {
        padding: 40px 15px;
    }

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

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

    .page-contact__cta-button {
        padding: 12px 20px;
        font-size: 1em;
    }
}