/* style/contact.css */

/* Base Styles for the Contact Page */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark background */
    background-color: var(--dark-bg-1); /* Inherited from shared.css */
}

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

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

.page-contact__hero-section {
    position: relative;
    padding: 80px 0;
    padding-top: var(--header-offset, 120px); /* Ensure header offset */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.page-contact__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-contact__intro-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

/* Button Styles */
.page-contact__cta-button,
.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;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Ensure long words break */
}

.page-contact__btn-primary {
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

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

.page-contact__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0; /* Main brand color */
    border: 2px solid #26A9E0;
}

.page-contact__btn-secondary:hover {
    background-color: #e0e0e0;
    color: #1a8cc2;
    border-color: #1a8cc2;
}

/* Section specific colors */
.page-contact__dark-bg {
    background-color: var(--dark-bg-1); /* From shared.css, assuming dark */
    color: #ffffff;
}
.page-contact__dark-bg .page-contact__section-title,
.page-contact__dark-bg .page-contact__card-title,
.page-contact__dark-bg .page-contact__faq-heading,
.page-contact__dark-bg .page-contact__commitment-heading {
    color: #ffffff;
}
.page-contact__dark-bg p,
.page-contact__dark-bg li,
.page-contact__dark-bg label {
    color: #f0f0f0;
}

.page-contact__light-bg {
    background-color: #ffffff;
    color: #333333;
}
.page-contact__light-bg .page-contact__section-title,
.page-contact__light-bg .page-contact__card-title,
.page-contact__light-bg .page-contact__faq-heading,
.page-contact__light-bg .page-contact__commitment-heading {
    color: #333333;
}
.page-contact__light-bg p,
.page-contact__light-bg li,
.page-contact__light-bg label {
    color: #555555;
}

/* Contact Methods Section */
.page-contact__contact-methods {
    padding: 60px 0;
}

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

.page-contact__method-card {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    color: #333333; /* Ensure text is dark on light card background */
}

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

.page-contact__method-icon {
    width: 100%; /* Occupy card width */
    max-width: 400px; /* Max width for image */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-contact__card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand color for titles */
}

.page-contact__card-description {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes button to bottom */
    color: #555555;
}

.page-contact__card-description a {
    color: #26A9E0;
    text-decoration: underline;
}
.page-contact__card-description a:hover {
    color: #1a8cc2;
}

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

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

.page-contact__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark bg */
    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;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly darker for question */
    transition: background-color 0.3s ease;
}

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

.page-contact__faq-heading {
    font-size: 1.3em;
    margin: 0;
    color: #ffffff;
}

.page-contact__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
    transform: rotate(45deg); /* Plus sign becomes a cross */
}

.page-contact__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-contact__faq-item.active .page-contact__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to reveal content */
    padding: 15px 25px 25px;
}

.page-contact__faq-answer p {
    margin-bottom: 0;
    color: #f0f0f0;
}

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

.page-contact__form-description {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em;
    color: #555555;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #f8f8f8;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box;
    color: #333333;
    background-color: #ffffff;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #26A9E0;
    outline: none;
    box-shadow: 0 0 0 3px rgba(38, 169, 224, 0.2);
}

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

.page-contact__form-submit-btn {
    width: auto;
    padding: 15px 40px;
    font-size: 1.2em;
    border: none;
    cursor: pointer;
}

/* Social Media Section */
.page-contact__social-media {
    padding: 60px 0;
}

.page-contact__social-description {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-contact__social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-contact__social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
    min-width: 100px; /* Ensure some minimum width for layout */
    text-align: center;
}

.page-contact__social-link:hover {
    color: #26A9E0;
    transform: translateY(-5px);
}

.page-contact__social-icon {
    width: 64px; /* Fixed size for social icons */
    height: 64px;
    margin-bottom: 10px;
    border-radius: 50%; /* Make them circular if desired */
    object-fit: contain;
    min-width: 64px; /* Ensure not smaller than this */
    min-height: 64px; /* Ensure not smaller than this */
}

.page-contact__social-text {
    font-size: 1.1em;
}

/* Commitment Section */
.page-contact__commitment-section {
    padding: 60px 0;
}

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

.page-contact__commitment-item {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    color: #333333; /* Ensure text is dark on light card background */
}

.page-contact__commitment-icon {
    width: 100%; /* Occupy item width */
    max-width: 200px; /* Max width for icon */
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-contact__commitment-heading {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #26A9E0; /* Brand color for titles */
}

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

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

.page-contact__cta-bottom .page-contact__section-title {
    margin-bottom: 30px;
}

/* General Link Styling for content */
.page-contact a {
    color: #26A9E0;
    text-decoration: none;
}
.page-contact a:hover {
    text-decoration: underline;
}

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

@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-contact__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important;
        min-height: 300px;
    }
    .page-contact__main-title {
        font-size: 2.2em;
    }
    .page-contact__intro-description {
        font-size: 1em;
    }
    .page-contact__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-contact__container {
        padding: 0 15px;
    }

    /* Image responsive */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-contact__method-card,
    .page-contact__commitment-item,
    .page-contact__contact-form,
    .page-contact__social-links {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-contact__method-card,
    .page-contact__commitment-item {
        padding: 20px;
    }

    /* Button responsive */
    .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-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 prevent text touching edges */
        padding-right: 15px;
    }
    .page-contact__social-links {
        flex-direction: column; /* Stack social links vertically */
        gap: 20px;
    }
    .page-contact__social-link {
        width: 100%; /* Full width for stacked links */
    }
    .page-contact__social-icon {
        width: 64px; /* Maintain display size */
        height: 64px;
        min-width: 64px;
        min-height: 64px;
    }
    .page-contact__faq-question {
        padding: 15px 20px;
    }
    .page-contact__faq-heading {
        font-size: 1.1em;
    }
    .page-contact__faq-answer {
        padding: 0 20px;
    }
    .page-contact__faq-item.active .page-contact__faq-answer {
        padding: 10px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-contact__main-title {
        font-size: 1.8em;
    }
    .page-contact__section-title {
        font-size: 1.5em;
    }
    .page-contact__methods-grid,
    .page-contact__commitment-grid {
        grid-template-columns: 1fr; /* Single column layout */
    }
    .page-contact__method-card,
    .page-contact__commitment-item {
        padding: 15px;
    }
    .page-contact__contact-form {
        padding: 20px;
    }
}

/* Ensure content area images are not smaller than 200px (requested size) */
.page-contact__method-icon,
.page-contact__commitment-icon {
    min-width: 200px;
    min-height: 200px;
}