/* style/contact.css */

/* General Page Styles */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main, #1F2D3D); /* Default text color for assumed light body-bg */
    background-color: var(--background, #F4F7FB); /* General page background */
}

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

.page-contact__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--text-main, #1F2D3D);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-contact__section-description {
    font-size: 1.1em;
    color: var(--text-main, #1F2D3D);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    margin-bottom: 50px;
    background-color: var(--background, #F4F7FB);
    overflow: hidden; /* Ensure image doesn't overflow if larger than container */
}

.page-contact__hero-image {
    width: 100%;
    max-height: 500px; /* Limit height of the hero image container */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-contact__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Minimum size for content images */
}

.page-contact__hero-content {
    text-align: center;
    padding: 40px 15px;
    background-color: var(--background, #F4F7FB);
}

.page-contact__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Use clamp for H1 font size */
    font-weight: 800;
    color: var(--main-color, #2F6BFF);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-contact__hero-description {
    font-size: 1.2em;
    color: var(--text-main, #1F2D3D);
    max-width: 900px;
    margin: 0 auto;
}

/* Channels Section */
.page-contact__channels-section {
    padding: 60px 0;
    margin-bottom: 50px;
    background-color: var(--background, #F4F7FB); /* Light background for this section */
}

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

.page-contact__channel-card {
    background-color: var(--card-bg, #FFFFFF);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color, #D6E2FF);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-contact__channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-contact__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-contact__card-title {
    font-size: 1.8em;
    color: var(--text-main, #1F2D3D);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-contact__card-text {
    font-size: 1em;
    color: var(--text-main, #1F2D3D);
    margin-bottom: 25px;
    flex-grow: 1; /* Allows text to take available space */
}

.page-contact__social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
    flex-wrap: wrap; /* Allow wrapping for social links */
}

.page-contact__social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: var(--aux-color, #6FA3FF);
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    min-width: 100px; /* Ensure social icons are not too small */
}

.page-contact__social-icon:hover {
    background-color: #4a8bff; /* Slightly darker hover for aux color */
}

/* Form Section */
.page-contact__form-section {
    padding: 60px 0;
    margin-bottom: 50px;
    background-color: var(--background, #F4F7FB);
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--card-bg, #FFFFFF);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color, #D6E2FF);
}

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

.page-contact__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-main, #1F2D3D);
    font-size: 1.1em;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color, #D6E2FF);
    border-radius: 5px;
    font-size: 1em;
    color: var(--text-main, #1F2D3D);
    background-color: #f9f9f9;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: var(--main-color, #2F6BFF);
    outline: none;
    box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.2);
}

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

.page-contact__form-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff; /* Button text always white */
}

.page-contact__form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(47, 107, 255, 0.4);
}

/* Why Choose Section */
.page-contact__why-choose-section {
    padding: 60px 0;
    margin-bottom: 50px;
    background-color: var(--background, #F4F7FB);
}

.page-contact__why-choose-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-contact__why-choose-item {
    background-color: var(--card-bg, #FFFFFF);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    border: 1px solid var(--border-color, #D6E2FF);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__why-choose-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-contact__why-choose-heading {
    font-size: 1.5em;
    color: var(--main-color, #2F6BFF);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-contact__why-choose-text {
    font-size: 1em;
    color: var(--text-main, #1F2D3D);
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 60px 0;
    margin-bottom: 50px;
    background-color: var(--background, #F4F7FB);
}

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

.page-contact__faq-item {
    background-color: var(--card-bg, #FFFFFF);
    border: 1px solid var(--border-color, #D6E2FF);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--text-main, #1F2D3D);
    cursor: pointer;
    background-color: #fcfcfc;
    border-bottom: 1px solid var(--border-color, #D6E2FF);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-contact__faq-item[open] > .page-contact__faq-question {
    background-color: #eef4ff; /* Light blue when open */
    color: var(--main-color, #2F6BFF);
}

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

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

.page-contact__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--main-color, #2F6BFF);
}

.page-contact__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--text-main, #1F2D3D);
    background-color: #ffffff;
    line-height: 1.7;
}