/* style/contact.css */

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

.page-contact__hero-section {
    position: relative;
    overflow: hidden;
    color: #ffffff; /* White text for hero section */
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px; /* Ensure hero section has a minimum height */
    background: linear-gradient(135deg, #1E90FF, #0f4a80); /* Blue gradient background for hero text area */
}

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

.page-contact__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Make image subtle behind text */
    /* No filter for color change */
}

.page-contact__hero-container {
    max-width: 900px;
    z-index: 1;
}

.page-contact__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

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

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

.page-contact__hero-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.page-contact__hero-button--primary {
    background-color: #FFD700; /* Gold button */
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

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

.page-contact__hero-button--secondary {
    background-color: #1E90FF; /* Blue button */
    color: #ffffff;
    border: 2px solid #1E90FF;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.4);
}

.page-contact__hero-button--secondary:hover {
    background-color: #1565b3;
    border-color: #1565b3;
    transform: translateY(-2px);
}

/* Methods Section */
.page-contact__methods-section {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
}

.page-contact__methods-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-contact__methods-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #1E90FF; /* Blue title */
}

.page-contact__methods-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #555555;
}

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

.page-contact__method-card {
    background-color: #f0f8ff; /* Light blue background */
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.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%; /* Image fills card width */
    height: auto;
    max-width: 250px; /* Max width for icon, still larger than 200px */
    margin-bottom: 20px;
    border-radius: 10px;
    /* No filter for color change */
}

.page-contact__method-card-title {
    font-size: 1.8em;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__method-card-text {
    color: #666666;
    margin-bottom: 25px;
    flex-grow: 1; /* Allow text to take available space */
}

.page-contact__method-card-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #FFD700; /* Gold button */
    color: #1a1a1a;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

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

/* Form Section */
.page-contact__form-section {
    padding: 60px 20px;
    background-color: #f0f0f0;
}

.page-contact__form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-contact__form-title {
    font-size: 2.5em;
    color: #1E90FF;
    margin-bottom: 20px;
    text-align: center;
}

.page-contact__form-description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 30px;
    text-align: center;
}

.page-contact__contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-contact__form-group {
    display: flex;
    flex-direction: column;
}

.page-contact__form-label {
    font-weight: bold;
    margin-bottom: 8px;
    color: #333333;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #1E90FF;
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.2);
    outline: none;
}

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

.page-contact__form-submit-button {
    padding: 15px 30px;
    background-color: #1E90FF; /* Blue button */
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    align-self: center; /* Center the button */
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.4);
}

.page-contact__form-submit-button:hover {
    background-color: #1565b3;
    transform: translateY(-2px);
}

/* FAQ CTA Section */
.page-contact__faq-cta-section {
    padding: 60px 20px;
    background-color: #e6f0ff; /* Lighter blue background */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-contact__faq-cta-container {
    max-width: 900px;
}

.page-contact__faq-cta-title {
    font-size: 2.5em;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.page-contact__faq-cta-description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 40px;
}

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

.page-contact__faq-cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.page-contact__faq-cta-button--primary {
    background-color: #FFD700; /* Gold button */
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

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

.page-contact__faq-cta-button--secondary {
    background-color: transparent;
    color: #1E90FF;
    border: 2px solid #1E90FF;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.2);
}

.page-contact__faq-cta-button--secondary:hover {
    background-color: #1E90FF;
    color: #ffffff;
    transform: translateY(-2px);
}

.page-contact__faq-cta-image-wrapper {
    max-width: 600px; /* Constrain image width */
    width: 100%;
}

.page-contact__faq-cta-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    /* No filter for color change */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 2.8em;
    }
    .page-contact__methods-title,
    .page-contact__form-title,
    .page-contact__faq-cta-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding: 60px 15px;
        min-height: 400px;
    }
    .page-contact__hero-title {
        font-size: 2.2em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-contact__hero-button {
        width: 80%;
        max-width: 300px;
    }

    .page-contact__methods-section,
    .page-contact__form-section,
    .page-contact__faq-cta-section {
        padding: 40px 15px;
    }
    .page-contact__methods-title,
    .page-contact__form-title,
    .page-contact__faq-cta-title {
        font-size: 1.8em;
    }

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

    .page-contact__form-container {
        padding: 30px;
    }

    /* Ensure images are responsive and don't overflow */
    .page-contact img {
        max-width: 100%;
        height: auto;
    }
    /* Enforce min-size rule for content images */
    .page-contact__hero-image,
    .page-contact__method-icon,
    .page-contact__faq-cta-image {
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 1.8em;
    }
    .page-contact__hero-description {
        font-size: 0.9em;
    }
    .page-contact__hero-button {
        width: 100%;
    }
    .page-contact__methods-title,
    .page-contact__form-title,
    .page-contact__faq-cta-title {
        font-size: 1.5em;
    }
    .page-contact__form-container {
        padding: 20px;
    }
    .page-contact__faq-cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-contact__faq-cta-button {
        width: 100%;
    }
}