/* style/contact.css */

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

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.page-contact__hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-contact__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 28, 113, 0.8) 0%, rgba(215, 38, 56, 0.7) 100%);
    z-index: 2;
}

.page-contact__hero-content-wrapper {
    position: relative;
    z-index: 3;
    color: #ffffff;
    max-width: 900px;
    margin: 0 auto;
}

.page-contact__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #f0f0f0;
}

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

.page-contact__hero-button {
    display: inline-block;
    background-color: #D72638;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    min-width: 200px;
    min-height: 50px;
}

.page-contact__hero-button:hover {
    background-color: #b31f2f;
}

/* Methods Section */
.page-contact__methods-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.page-contact__methods-title {
    font-size: 2.5em;
    color: #3A1C71;
    text-align: center;
    margin-bottom: 20px;
}

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

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

.page-contact__method-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-contact__method-icon {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    margin-bottom: 25px;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
}

.page-contact__card-title {
    font-size: 1.8em;
    color: #3A1C71;
    margin-bottom: 15px;
}

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

.page-contact__card-button {
    display: inline-block;
    background-color: #3A1C71;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
    min-width: 150px;
    min-height: 40px;
}

.page-contact__card-button:hover {
    background-color: #2b1451;
}

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

.page-contact__faq-title {
    font-size: 2.5em;
    color: #3A1C71;
    margin-bottom: 20px;
}

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

.page-contact__faq-button {
    display: inline-block;
    background-color: #D72638;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    min-width: 200px;
    min-height: 50px;
}

.page-contact__faq-button:hover {
    background-color: #b31f2f;
}

/* Download Section */
.page-contact__download-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-contact__download-container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center; /* Center items when wrapped */
}

.page-contact__download-image {
    flex: 1;
    min-width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    min-height: 200px;
}

.page-contact__download-content {
    flex: 1;
    min-width: 300px;
}

.page-contact__download-title {
    font-size: 2.5em;
    color: #3A1C71;
    margin-bottom: 20px;
}

.page-contact__download-text {
    font-size: 1.1em;
    color: #666666;
    margin-bottom: 30px;
}

.page-contact__download-button {
    display: inline-block;
    background-color: #D72638;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    min-width: 220px;
    min-height: 50px;
}

.page-contact__download-button:hover {
    background-color: #b31f2f;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-contact__hero-title {
        font-size: 2.8em;
    }
    .page-contact__methods-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-contact__download-container {
        flex-direction: column;
        text-align: center;
    }
    .page-contact__download-image {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        min-height: 400px;
    }
    .page-contact__hero-title {
        font-size: 2.2em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__methods-title,
    .page-contact__faq-title,
    .page-contact__download-title {
        font-size: 2em;
    }
    .page-contact__methods-intro,
    .page-contact__faq-description,
    .page-contact__download-text {
        font-size: 0.95em;
    }
    .page-contact__hero-button,
    .page-contact__faq-button,
    .page-contact__download-button {
        padding: 12px 25px;
        font-size: 1em;
        min-width: 180px;
        min-height: 45px;
    }
    .page-contact__method-card {
        padding: 25px;
    }
    .page-contact__method-icon {
        max-height: 200px;
    }
    .page-contact__card-title {
        font-size: 1.6em;
    }
    .page-contact__card-button {
        padding: 10px 20px;
        font-size: 0.9em;
        min-width: 120px;
        min-height: 35px;
    }

    /* Mobile image overflow prevention */
    .page-contact img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 1.8em;
    }
    .page-contact__hero-section {
        padding: 60px 15px;
    }
    .page-contact__methods-section,
    .page-contact__faq-section,
    .page-contact__download-section {
        padding: 40px 0;
    }
    .page-contact__methods-title,
    .page-contact__faq-title,
    .page-contact__download-title {
        font-size: 1.8em;
    }
}

/* Ensure content area images are not too small by default */
.page-contact img {
    min-width: 200px;
    min-height: 200px;
}