/* style/contact.css */

/* Base styles for the page-contact scope */
.page-contact {
    font-family: 'Arial', sans-serif; /* Example font */
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
    line-height: 1.6;
    padding-bottom: 60px; /* Add some padding at the bottom */
}

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

/* Hero Section */
.page-contact__hero-section {
    display: flex;
    flex-direction: column; /* Stack image and content vertically */
    align-items: center;
    text-align: center;
    padding-bottom: 40px; /* Space below content */
    overflow: hidden;
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Example max height for hero image */
    overflow: hidden;
    margin-bottom: 20px; /* Space between image and text content */
}

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

.page-contact__hero-content {
    position: relative;
    z-index: 1;
    padding-top: 10px; /* Small top padding for content within its own container */
}

.page-contact__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    line-height: 1.2;
    max-width: 800px;
}

.page-contact__description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Methods Overview */
.page-contact__contact-methods-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.page-contact__method-card {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    flex: 1 1 calc(33% - 40px); /* Three cards per row */
    min-width: 280px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-contact__method-visual {
    width: 100%;
    max-width: 250px; /* Constrain visual size within card */
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-contact__method-title {
    font-size: 1.75rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
}

.page-contact__method-text {
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-contact__btn-contact {
    display: inline-block;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    max-width: 100%; /* Responsive button */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__btn-contact:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* Section Titles and Descriptions */
.page-contact__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 20px;
    margin-top: 60px;
}

.page-contact__section-description {
    font-size: 1.1rem;
    color: #A7D9B8; /* Text Secondary */
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Form Section */
.page-contact__form-section {
    padding: 60px 0;
}

.page-contact__contact-form {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-contact__form-label {
    display: block;
    font-size: 1.1rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 8px;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 5px;
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
    font-size: 1rem;
    box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: #A7D9B8; /* Text Secondary */
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    outline: none;
    border-color: #2AD16F; /* Highlight on focus */
    box-shadow: 0 0 0 3px rgba(42, 209, 111, 0.3);
}

.page-contact__submit-btn {
    display: block;
    width: 100%;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #ffffff;
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    max-width: 100%; /* Responsive button */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__submit-btn:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* Direct Contact Info Section */
.page-contact__info-section {
    padding: 60px 0;
}

.page-contact__contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 50px;
}

.page-contact__detail-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    flex: 1 1 calc(33% - 60px); /* Three items per row */
    min-width: 280px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-contact__detail-visual {
    width: 100%;
    max-width: 100px; /* Constrain visual size within card */
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-contact__detail-heading {
    font-size: 1.5rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
}

.page-contact__detail-text {
    color: #A7D9B8; /* Text Secondary */
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.page-contact__detail-link {
    color: #2AD16F; /* Green accent for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-contact__detail-link:hover {
    color: #57E38D; /* Glow */
    text-decoration: underline;
}

.page-contact__social-media {
    text-align: center;
}

.page-contact__social-heading {
    font-size: 1.8rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 25px;
}

.page-contact__social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.page-contact__social-link img {
    width: 100%;
     /* Constrain social icon size */
    height: auto;
    transition: transform 0.3s ease;
}

.page-contact__social-link img:hover {
    transform: translateY(-5px);
}

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

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

.page-contact__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.25rem;
    color: #F2FFF6; /* Text Main */
    font-weight: 600;
    background-color: #11271B; /* Card BG */
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-contact__faq-question::-webkit-details-marker {
    display: none;
}

.page-contact__faq-question:hover {
    background-color: #0A4B2C; /* Deep Green */
}

.page-contact__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: #2AD16F; /* Green accent */
    margin-left: 15px;
}

.page-contact__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.05rem;
    color: #A7D9B8; /* Text Secondary */
    border-top: 1px solid #1E3A2A; /* Divider */
}

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

.page-contact__faq-answer a {
    color: #2AD16F;
    text-decoration: underline;
}

/* CTA Section */
.page-contact__cta-section {
    padding: 60px 0;
    text-align: center;
}

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

.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    max-width: 100%; /* Responsive button */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #ffffff;
    border: none;
}

.page-contact__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 15px #57E38D; /* Glow */
}

.page-contact__btn-secondary {
    background-color: transparent;
    color: #2AD16F; /* Green accent */
    border: 2px solid #2AD16F; /* Green accent */
}

.page-contact__btn-secondary:hover {
    background-color: #2AD16F;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(42, 209, 111, 0.5);
}

/* Divider */
.page-contact__divider {
    width: 80%;
    max-width: 600px;
    height: 1px;
    background-color: #1E3A2A; /* Divider */
    margin: 60px auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-contact__method-card,
    .page-contact__detail-item {
        flex: 1 1 calc(50% - 30px); /* Two cards per row */
    }
}

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

    .page-contact__hero-image-wrapper {
        max-height: 300px; /* Adjust max height for mobile hero image */
    }

    .page-contact__main-title {
        font-size: 2rem;
    }

    .page-contact__description {
        font-size: 0.95rem;
    }

    .page-contact__method-card,
    .page-contact__detail-item {
        flex: 1 1 100%; /* One card per row */
        max-width: 100%;
    }

    .page-contact__method-visual,
    .page-contact__detail-visual,
    .page-contact__social-link img {
        /* These images must be >= 200px. max-width: 100% will scale them down */
        max-width: 100%;
        height: auto;
    }

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

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

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

    .page-contact__submit-btn {
        font-size: 1.1rem;
    }

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

    .page-contact__faq-answer {
        font-size: 0.95rem;
        padding: 0 20px 15px;
    }

    .page-contact__cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-contact__btn-primary,
    .page-contact__btn-secondary {
        width: 100%;
        font-size: 1.1rem;
        padding: 12px 20px;
    }

    /* Forced responsive styles for images, buttons, containers on mobile */
    .page-contact img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    .page-contact__contact-form,
    .page-contact__contact-details,
    .page-contact__social-media,
    .page-contact__faq-list,
    .page-contact__cta-section,
    .page-contact__method-card,
    .page-contact__detail-item {
        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; /* body already handled --header-offset */
    }

    .page-contact__cta-button,
    .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; /* Add padding to buttons themselves */
        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 {
        flex-direction: column !important; /* Ensure buttons stack vertically on mobile */
    }
}