/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
    color: #333333; /* Dark text for default light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden; /* Ensure image doesn't cause overflow */
    background-color: #f8f8f8; /* Light background for hero section */
}

.page-contact__hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Enforce min-width */
    min-height: 200px; /* Enforce min-height */
}

.page-contact__hero-title {
    font-size: 2.8em;
    color: #8B0000; /* Deep red for prominent title */
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.page-contact__hero-description {
    font-size: 1.2em;
    color: #555555;
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-contact__hero-button {
    display: inline-block;
    background-color: #FFD700; /* Gold primary button */
    color: #8B0000; /* Deep red text for contrast */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-contact__hero-button:hover {
    background-color: #e6c200; /* Darker gold on hover */
    transform: translateY(-2px);
}

/* Contact Methods Section */
.page-contact__methods-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-contact__methods-title {
    font-size: 2.2em;
    color: #8B0000;
    text-align: center;
    margin-bottom: 20px;
}

.page-contact__methods-intro {
    font-size: 1.1em;
    color: #666666;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
}

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

.page-contact__card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.page-contact__card-icon {
    width: 200px; /* Enforce min-width */
    height: 200px; /* Enforce min-height */
    margin-bottom: 20px;
    object-fit: contain;
}

.page-contact__card-title {
    font-size: 1.5em;
    color: #FFD700; /* Gold for card titles */
    margin-bottom: 15px;
}

.page-contact__card-description {
    color: #666666;
    margin-bottom: 25px;
    font-size: 0.95em;
}

.page-contact__card-button,
.page-contact__social-button {
    display: inline-block;
    background-color: #8B0000; /* Deep red for secondary buttons */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
    margin: 5px;
}

.page-contact__card-button:hover,
.page-contact__social-button:hover {
    background-color: #6a0000; /* Darker red on hover */
}

.page-contact__email-address {
    font-weight: bold;
    color: #FFD700; /* Gold for email address */
    font-size: 1.1em;
    margin-top: 10px;
}

.page-contact__social-links {
    margin-top: 20px;
}

/* FAQ Section */
.page-contact__faq-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
    text-align: center;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-title {
    font-size: 2em;
    color: #8B0000;
    margin-bottom: 20px;
}

.page-contact__faq-description {
    font-size: 1.1em;
    color: #666666;
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-contact__faq-button {
    display: inline-block;
    background-color: #FFD700;
    color: #8B0000;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.page-contact__faq-button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

/* Commitment Section */
.page-contact__commitment-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

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

.page-contact__commitment-text {
    font-size: 1.1em;
    color: #666666;
    max-width: 900px;
    margin: 0 auto 25px;
    text-align: left; /* Align text left for readability */
}

.page-contact__commitment-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 800px;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Enforce min-width */
    min-height: 200px; /* Enforce min-height */
    object-fit: cover;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-contact__hero-title {
        font-size: 2em;
    }

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

    .page-contact__methods-title,
    .page-contact__faq-title,
    .page-contact__commitment-title {
        font-size: 1.8em;
    }

    .page-contact__methods-intro,
    .page-contact__faq-description,
    .page-contact__commitment-text {
        font-size: 1em;
    }

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

    /* Ensure images are responsive and do not overflow */
    .page-contact__hero-image,
    .page-contact__card-icon,
    .page-contact__commitment-image {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure no image filter properties are used */
.page-contact img {
    filter: none; /* Explicitly ensure no filters are applied */
}