/* style/contact.css */

/* Base styling for the contact page content */
.page-contact {
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF; /* Ensure page background is white */
    padding-top: var(--header-offset, 120px); /* Space for fixed header */
}

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px; /* Minimum height for hero */
    padding: 80px 20px;
    background-color: #000000; /* Dark background for text visibility over image */
    color: #FFFFFF;
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.6; /* Slightly dim the background image for text readability */
}

.page-contact__hero-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-contact__hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FCBC45; /* Highlight title with login button color */
}

.page-contact__hero-description {
    font-size: 1.25rem;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #F0F0F0;
}

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

/* General Button Styles */
.page-contact__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-contact__button--register {
    background-color: #FFFFFF; /* White background */
    color: #000000; /* Black text */
}

.page-contact__button--register:hover {
    background-color: #E0E0E0;
}

.page-contact__button--login,
.page-contact__button--chat,
.page-contact__button--get-started {
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Black text */
}

.page-contact__button--login:hover,
.page-contact__button--chat:hover,
.page-contact__button--get-started:hover {
    background-color: #e0a53b;
}

.page-contact__button--email {
    background-color: #000000; /* Black background */
    color: #FFFFFF; /* White text */
}

.page-contact__button--email:hover {
    background-color: #333333;
}

.page-contact__button--faq {
    background-color: #000000; /* Black background */
    color: #FCBC45; /* Highlight with login button color */
}

.page-contact__button--faq:hover {
    background-color: #333333;
}

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

.page-contact__methods-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #000000;
}

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

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

.page-contact__card {
    background-color: #F8F8F8;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-contact__card-image {
    width: 100%; /* Ensure images fill card width */
    height: auto;
    max-width: 400px; /* Constrain max width to ensure it's not too large for its display purpose */
    min-width: 200px; /* Minimum size for content images */
    min-height: 200px; /* Minimum size for content images */
    border-radius: 8px;
    margin-bottom: 25px;
    object-fit: cover;
}

.page-contact__card-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #000000;
}

.page-contact__card-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; /* Allow description to take available space */
}

.page-contact__social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.page-contact__social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #000000;
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.page-contact__social-icon-link:hover {
    background-color: #FCBC45;
    color: #000000;
}


/* FAQ Section */
.page-contact__faq-section {
    background-color: #F0F0F0;
    padding: 80px 0;
    text-align: center;
}

.page-contact__faq-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #000000;
}

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

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

.page-contact__commitment-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #000000;
}

.page-contact__commitment-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 3rem;
    }
    .page-contact__hero-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        min-height: 400px;
        padding: 60px 15px;
    }
    .page-contact__hero-title {
        font-size: 2.5rem;
    }
    .page-contact__hero-description {
        font-size: 1rem;
    }
    .page-contact__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-contact__button {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .page-contact__methods-section,
    .page-contact__faq-section,
    .page-contact__commitment-section {
        padding: 40px 0;
    }

    .page-contact__methods-title,
    .page-contact__faq-title,
    .page-contact__commitment-title {
        font-size: 2rem;
    }

    .page-contact__method-cards {
        grid-template-columns: 1fr;
    }

    .page-contact__card-image {
        max-width: 100%; /* Ensure images do not overflow */
        height: auto;
        min-width: 200px; /* Enforce min width */
        min-height: 200px; /* Enforce min height */
    }

    /* Ensure all images within .page-contact are responsive and don't overflow */
    .page-contact img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 2rem;
    }
    .page-contact__button {
        padding: 12px 20px;
        font-size: 1rem;
    }
    .page-contact__social-icon-link {
        width: 40px;
        height: 40px;
    }
}