/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: #ffffff; /* Default body background */
}

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

/* Color contrast classes for sections */
.page-contact__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-contact__dark-bg {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff; /* White text for contrast */
}

/* Buttons */
.page-contact__btn-primary {
    display: inline-block;
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    max-width: 100%; /* Ensure responsive */
    box-sizing: border-box; /* Ensure padding is included in width */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

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

.page-contact__btn-secondary {
    display: inline-block;
    background-color: #ffffff;
    color: #26A9E0; /* Brand primary color */
    padding: 12px 25px;
    border: 2px solid #26A9E0;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    max-width: 100%; /* Ensure responsive */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-contact__large-btn {
    padding: 15px 30px;
    font-size: 1.1em;
}

/* Images */
.page-contact img {
    max-width: 100%;
    height: auto;
    display: block; /* Remove extra space below images */
    object-fit: cover; /* Ensure images fill their space nicely */
}

/* Hero Section */
.page-contact__hero-section {
    padding-top: 10px; /* Small top padding, assuming body has header offset */
    text-align: center;
    padding-bottom: 40px;
    background-color: #f0f8ff; /* Light background for hero */
}

.page-contact__hero-content {
    max-width: 900px;
    margin: 0 auto 30px;
    padding: 0 20px;
}

.page-contact__hero-title {
    font-size: clamp(2.8em, 5vw, 3.5em);
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    max-width: 90%; /* Limit width to prevent overflow */
    margin-left: auto;
    margin-right: auto;
}

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

.page-contact__hero-image-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.page-contact__hero-image {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-contact__methods-title {
    font-size: 2.2em;
    color: #26A9E0;
    margin-bottom: 20px;
}

.page-contact__methods-intro {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__methods-overview-image {
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.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: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.page-contact__method-name {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-contact__method-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 25px;
}

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

.page-contact__form-title {
    font-size: 2.2em;
    color: #ffffff;
    margin-bottom: 20px;
}

.page-contact__form-description {
    font-size: 1.1em;
    color: #f0f8ff;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__form-image {
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
}

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

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

.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 */
}

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

.page-contact__form-submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
}

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

.page-contact__faq-title {
    font-size: 2.2em;
    color: #26A9E0;
    margin-bottom: 20px;
}

.page-contact__faq-intro {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__faq-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.page-contact__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #ffffff;
    cursor: pointer;
    font-weight: bold;
    color: #333333;
    font-size: 1.1em;
    list-style: none; /* For details/summary */
    position: relative;
}

.page-contact__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker */
}

.page-contact__faq-question::marker {
    display: none; /* Hide default marker */
}

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

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

.page-contact__faq-answer {
    padding: 0 25px 20px;
    color: #555555;
    font-size: 1em;
}

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

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

.page-contact__commitment-title {
    font-size: 2.2em;
    color: #ffffff;
    margin-bottom: 20px;
}

.page-contact__commitment-description {
    font-size: 1.1em;
    color: #f0f8ff;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__commitment-overview-image {
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-contact__commitment-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-contact__commitment-heading {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-contact__commitment-item p {
    font-size: 1em;
    color: #f0f8ff;
}

.page-contact__cta-wrapper {
    margin-top: 50px;
}

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

.page-contact__social-media-title {
    font-size: 2.2em;
    color: #26A9E0;
    margin-bottom: 20px;
}

.page-contact__social-media-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__social-media-image {
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-contact__address {
    font-size: 1em;
    color: #555555;
    margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: clamp(2.5em, 4.5vw, 3em);
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__methods-grid,
    .page-contact__commitment-points {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Generic container/section padding */
    .page-contact__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    /* Buttons */
    .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;
        padding-right: 15px;
    }
    .page-contact__social-links {
        flex-direction: column;
        gap: 10px;
    }
    .page-contact__cta-wrapper {
        padding: 0 15px; /* Add padding to wrapper for full width button */
    }

    /* Hero Section */
    .page-contact__hero-section {
        padding-top: 10px !important; /* Fixed header offset handled by body */
        padding-bottom: 30px;
    }
    .page-contact__hero-title {
        font-size: clamp(2em, 7vw, 2.5em); /* Clamp for responsive H1 */
        margin-bottom: 10px;
    }
    .page-contact__hero-description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
    .page-contact__hero-content {
        margin-bottom: 20px;
    }

    /* Methods Section */
    .page-contact__methods-section {
        padding: 40px 0;
    }
    .page-contact__methods-title {
        font-size: 1.8em;
    }
    .page-contact__methods-intro {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-contact__methods-overview-image {
        margin-bottom: 30px;
    }
    .page-contact__methods-grid {
        grid-template-columns: 1fr; /* Single column for cards */
        gap: 20px;
    }
    .page-contact__method-card {
        padding: 20px;
    }
    .page-contact__method-name {
        font-size: 1.3em;
    }

    /* Form Section */
    .page-contact__form-section {
        padding: 40px 0;
    }
    .page-contact__form-title {
        font-size: 1.8em;
    }
    .page-contact__form-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-contact__form-image {
        margin-bottom: 30px;
    }
    .page-contact__contact-form {
        padding: 30px;
    }
    .page-contact__form-label {
        font-size: 0.95em;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 10px;
    }

    /* FAQ Section */
    .page-contact__faq-section {
        padding: 40px 0;
    }
    .page-contact__faq-title {
        font-size: 1.8em;
    }
    .page-contact__faq-intro {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-contact__faq-list {
        padding: 0;
    }
    .page-contact__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-contact__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95em;
    }

    /* Commitment Section */
    .page-contact__commitment-section {
        padding: 40px 0;
    }
    .page-contact__commitment-title {
        font-size: 1.8em;
    }
    .page-contact__commitment-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-contact__commitment-overview-image {
        margin-bottom: 30px;
    }
    .page-contact__commitment-points {
        grid-template-columns: 1fr; /* Single column for points */
        gap: 20px;
    }
}