/* style/contact.css */

/* General styles for the contact page */
.page-contact {
    font-family: 'Arial', sans-serif;
    color: #1F2D3D; /* Text Main */
    background-color: #F4F7FB; /* Background */
    line-height: 1.6;
    padding-bottom: 40px;
}

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

/* Section titles */
.page-contact__section-title {
    font-size: 2.5em;
    color: #2F6BFF; /* Main color */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

/* Section descriptions */
.page-contact__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: #1F2D3D;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-contact__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    max-width: 100%; /* For responsive buttons */
    box-sizing: border-box; /* For responsive buttons */
    white-space: normal; /* For responsive buttons */
    word-wrap: break-word; /* For responsive buttons */
    text-align: center;
}

.page-contact__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-contact__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.6);
}

.page-contact__btn-secondary {
    background: #ffffff; /* Card BG */
    color: #2F6BFF; /* Main color */
    border: 2px solid #2F6BFF; /* Main color border */
    box-shadow: 0 2px 10px rgba(47, 107, 255, 0.1);
}

.page-contact__btn-secondary:hover {
    background: #2F6BFF; /* Main color */
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-contact__btn-link {
    background: none;
    color: #2F6BFF;
    border: 1px solid #D6E2FF; /* Border */
    padding: 8px 15px;
    font-size: 0.9em;
    font-weight: normal;
    text-align: center;
}

.page-contact__btn-link:hover {
    background: #2F6BFF;
    color: #ffffff;
    border-color: #2F6BFF;
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 60px;
    background-color: #F4F7FB;
    overflow: hidden;
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    order: 1;
    margin-bottom: 40px;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-contact__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
    padding: 0 20px;
    order: 2;
}

.page-contact__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Use clamp for H1 */
    color: #2F6BFF;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.page-contact__description {
    font-size: 1.2em;
    color: #1F2D3D;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Form Section */
.page-contact__contact-form-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background */
}

.page-contact__form {
    background: #ffffff; /* Card BG */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
}

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

.page-contact__form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1F2D3D; /* Text Main */
    font-size: 1.1em;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #D6E2FF; /* Border */
    border-radius: 8px;
    font-size: 1em;
    color: #1F2D3D;
    background-color: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: #6FA3FF; /* Auxiliary color */
    opacity: 0.7;
}

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

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

.page-contact__btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    margin-top: 20px;
}

.page-contact__form-note {
    text-align: center;
    margin-top: 30px;
    font-size: 0.95em;
    color: #1F2D3D;
    opacity: 0.8;
}

/* Alternative Contact Section */
.page-contact__alternative-contact-section {
    padding: 60px 0;
    background-color: #F4F7FB;
}

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

.page-contact__method-card {
    background: #ffffff; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-contact__method-icon {
    width: 100%; /* Ensure image fills card width */
    max-width: 250px; /* Max width for icons */
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-contact__method-title {
    font-size: 1.5em;
    color: #2F6BFF; /* Main color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__method-text {
    font-size: 1em;
    color: #1F2D3D;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-contact__phone-number {
    font-size: 1.1em;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__phone-strong {
    color: #2F6BFF; /* Main color */
}

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

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

.page-contact__faq-item {
    background: #ffffff; /* Card BG */
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15em;
    font-weight: bold;
    color: #1F2D3D; /* Text Main */
    background-color: #ffffff;
    border-bottom: 1px solid #D6E2FF; /* Border */
    list-style: none;
    transition: background-color 0.3s ease;
}

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

.page-contact__faq-item[open] .page-contact__faq-question {
    background-color: #F4F7FB; /* Light background on open */
    color: #2F6BFF; /* Main color */
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #6FA3FF; /* Auxiliary color */
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
    transform: rotate(45deg);
    color: #2F6BFF; /* Main color */
}

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

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

.page-contact__faq-answer p:last-child {
    margin-bottom: 0;
}

.page-contact__faq-link {
    color: #2F6BFF;
    text-decoration: underline;
}

.page-contact__faq-link:hover {
    color: #6FA3FF;
}

/* CTA Section */
.page-contact__cta-section {
    padding: 80px 0;
    background-color: #2F6BFF; /* Main color */
    color: #ffffff;
    text-align: center;
}

.page-contact__cta-card {
    background: linear-gradient(135deg, #2F6BFF 0%, #6FA3FF 100%);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.page-contact__cta-content {
    flex: 2;
    text-align: left;
}

.page-contact__cta-title {
    font-size: 2.5em;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

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

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

.page-contact__cta-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-contact__cta-image {
    width: 100%;
    height: auto;
    max-width: 350px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-contact__hero-section {
        padding-bottom: 40px;
    }

    .page-contact__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }

    .page-contact__section-title {
        font-size: 2em;
    }

    .page-contact__contact-methods {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .page-contact__cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }

    .page-contact__cta-content {
        text-align: center;
        margin-bottom: 30px;
    }

    .page-contact__cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Top section (hero) */
    .page-contact__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 30px;
    }
    .page-contact__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-contact__hero-content {
        padding: 0 15px;
    }
    .page-contact__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 10px;
    }
    .page-contact__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-contact__hero-cta {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }
    .page-contact__btn {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Single column long text container (contact form section, alternative contact, FAQ, CTA) */
    .page-contact__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-contact__section {
        padding: 40px 0;
    }
    .page-contact__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-contact__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    /* Universal images and figure */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-contact__hero-image-wrapper,
    .page-contact__method-icon,
    .page-contact__cta-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }
    .page-contact__method-icon {
        max-width: 200px !important;
        margin: 0 auto 20px auto;
    }
    .page-contact__cta-image {
        max-width: 250px !important;
    }

    /* Buttons and button containers */
    .page-contact__btn-submit {
        font-size: 1.1em;
        padding: 12px;
    }
    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-contact__btn-link {
        width: 100%;
    }

    /* Contact form */
    .page-contact__form {
        padding: 25px;
    }
    .page-contact__form-label {
        font-size: 1em;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 12px;
        font-size: 0.95em;
    }

    /* Alternative contact methods */
    .page-contact__contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-contact__method-card {
        padding: 25px;
    }
    .page-contact__method-title {
        font-size: 1.3em;
    }
    .page-contact__method-text {
        font-size: 0.95em;
    }
    .page-contact__phone-number {
        font-size: 1em;
    }

    /* FAQ block */
    .page-contact__faq-list {
        margin-top: 30px;
    }
    .page-contact__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-contact__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95em;
    }

    /* CTA Section */
    .page-contact__cta-card {
        padding: 30px;
        gap: 20px;
    }
    .page-contact__cta-title {
        font-size: 2em;
    }
    .page-contact__cta-description {
        font-size: 1em;
    }
    .page-contact__cta-image-wrapper {
        margin-top: 20px;
    }
}