/* style/contact.css */

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

/* Hero Section */
.page-contact__hero-section {
    padding-top: 10px; /* Small top padding, relies on body padding-top from shared.css */
    padding-bottom: 60px;
    background-color: #ffffff; /* White background for hero */
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-contact__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-contact__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    color: #1e1765; /* Darker text for contrast on white background */
}

.page-contact__hero-title {
    font-size: 2.8em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand primary color for title */
}

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

.page-contact__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__channel-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Ensure padding and border are included in width */
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

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

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

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

.page-contact__btn-secondary:hover {
    background-color: #f0f8ff;
    color: #1e87b7;
    border-color: #1e87b7;
}

.page-contact__hero-image {
    flex: 1 1 40%;
    min-width: 300px;
    text-align: center;
}

.page-contact__hero-side-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Info Section (Dark Background) */
.page-contact__info-section {
    background-color: #26A9E0; /* Brand primary color as background */
    color: #ffffff; /* White text for dark background */
    padding: 60px 20px;
    text-align: center;
}

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

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

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

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

.page-contact__channel-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on blue background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-contact__channel-card:hover {
    transform: translateY(-8px);
}

.page-contact__channel-icon {
    width: 120px; /* Display size */
    height: 90px; /* Display size */
    object-fit: contain;
    margin-bottom: 20px;
}

.page-contact__channel-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-contact__channel-text {
    font-size: 1em;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-contact__channel-btn {
    background-color: #EA7C07; /* Login/CTA focus color */
    border-color: #EA7C07;
    color: #ffffff;
    width: 100%;
}

.page-contact__channel-btn:hover {
    background-color: #c96806;
    border-color: #c96806;
}

/* Form Section */
.page-contact__form-section {
    padding: 60px 20px;
    background-color: #f8f8f8; /* Light gray background */
    display: flex;
    justify-content: center;
}

.page-contact__form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-contact__form-title {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 15px;
    color: #26A9E0;
    text-align: center;
}

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

.page-contact__contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-contact__form-group {
    display: flex;
    flex-direction: column;
}

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

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #26A9E0;
    outline: none;
}

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

.page-contact__form-submit {
    background-color: #26A9E0;
    color: #ffffff;
    border: none;
    cursor: pointer;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    transition: background-color 0.3s ease;
    align-self: center;
    max-width: 300px;
    width: 100%;
}

.page-contact__form-submit:hover {
    background-color: #1e87b7;
}

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

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

.page-contact__faq-main-title {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 15px;
    color: #26A9E0;
    text-align: center;
}

.page-contact__faq-intro-text {
    font-size: 1.1em;
    margin-bottom: 40px;
    text-align: center;
    color: #555555;
}

.page-contact__faq-list {
    margin-bottom: 40px;
}

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

.page-contact__faq-item summary {
    display: block; /* For custom arrow control */
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    font-size: 1.1em;
    font-weight: 600;
    color: #333333;
    position: relative;
    background-color: #f0f0f0;
    transition: background-color 0.3s ease;
}

.page-contact__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-contact__faq-item summary:hover {
    background-color: #e6e6e6;
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-contact__faq-qtext {
    flex-grow: 1;
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    line-height: 1;
}

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

.page-contact__faq-cta {
    text-align: center;
}

.page-contact__faq-more-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #555555;
}

/* Universal image styling for content sections */
.page-contact img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .page-contact {
        font-size: 15px;
        line-height: 1.5;
    }

    /* HERO Section */
    .page-contact__hero-section {
        padding-top: 10px !important; /* Small top padding, relies on body padding-top from shared.css */
        padding-bottom: 40px;
    }

    .page-contact__hero-container {
        flex-direction: column;
        padding: 20px 15px;
        gap: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }

    .page-contact__hero-content,
    .page-contact__hero-image {
        flex: 1 1 100%;
        min-width: unset;
        width: 100% !important;
    }

    .page-contact__hero-title {
        font-size: 2em;
        text-align: center;
    }

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

    /* Buttons */
    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }

    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact__channel-btn,
    .page-contact__form-submit {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    /* Info Section (Channels Grid) */
    .page-contact__info-section {
        padding: 40px 15px;
    }

    .page-contact__info-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }

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

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

    .page-contact__channels-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }

    .page-contact__channel-card {
        padding: 25px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }

    .page-contact__channel-icon {
        width: 100px !important;
        height: auto !important;
    }

    .page-contact__channel-title {
        font-size: 1.3em;
    }

    /* Form Section */
    .page-contact__form-section {
        padding: 40px 15px;
    }

    .page-contact__form-container {
        padding: 30px 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }

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

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

    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 10px 12px;
        font-size: 0.95em;
    }
    .page-contact__contact-form {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }

    /* FAQ Section */
    .page-contact__faq-section {
        padding: 40px 15px;
    }

    .page-contact__faq-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }

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

    .page-contact__faq-intro-text {
        font-size: 1em;
    }

    .page-contact__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }

    .page-contact__faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }

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

    /* Universal image styling for content sections on mobile */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-contact__hero-side-image {
      width: 100%;
      height: auto;
    }
}