/* style/contact.css */

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

.page-contact__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px; /* Minimum height for hero section */
    padding: 60px 20px;
    text-align: center;
    overflow: hidden;
    background-color: #1E90FF; /* Auxiliary blue as background for hero text area */
    color: #ffffff; /* White text for blue background */
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3; /* Make image subtle behind text */
}

.page-contact__hero-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent dark background for text readability */
    border-radius: 10px;
}

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

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

.page-contact__hero-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #1E90FF; /* Blue text for gold button */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-contact__contact-methods {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 8px;
}

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

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

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

.page-contact__method-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    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(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-contact__method-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-contact__method-heading {
    font-size: 1.5em;
    color: #FFD700; /* Gold heading */
    margin-bottom: 10px;
}

.page-contact__method-text {
    color: #666666;
    margin-bottom: 20px;
}

.page-contact__method-button {
    display: inline-block;
    background-color: #1E90FF; /* Blue button */
    color: #ffffff; /* White text */
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-contact__method-button:hover {
    background-color: #1a7ad9;
}

.page-contact__contact-form-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    background-color: #eef7ff; /* Light blue background */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-contact__form-container {
    flex: 1;
    min-width: 300px;
}

.page-contact__form-image {
    flex: 1;
    min-width: 300px;
    width: 500px;
    height: 375px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-contact__form-title {
    font-size: 2.2em;
    color: #1E90FF;
    margin-bottom: 15px;
}

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

.page-contact__form-group {
    margin-bottom: 20px;
    text-align: left;
}

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

.page-contact__form-textarea {
    resize: vertical;
}

.page-contact__form-submit-button {
    background-color: #FFD700; /* Gold submit button */
    color: #1E90FF; /* Blue text */
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-contact__cta-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 50px 20px;
    text-align: center;
    background: linear-gradient(135deg, #1E90FF, #0028ff); /* Blue gradient background */
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__cta-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold title */
    margin-bottom: 20px;
}

.page-contact__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-contact__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.page-contact__cta-button--register {
    background-color: #FFD700; /* Gold button */
    color: #1E90FF; /* Blue text */
}

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

.page-contact__cta-button--login {
    background-color: #ffffff; /* White button */
    color: #1E90FF; /* Blue text */
    border: 2px solid #ffffff;
}

.page-contact__cta-button--login:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.page-contact__cta-button--download {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700; /* Gold border */
}

.page-contact__cta-button--download:hover {
    background-color: #FFD700;
    color: #1E90FF; /* Blue text on hover */
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 2.2em;
    }
    .page-contact__methods-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-contact {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }
    .page-contact__hero-title {
        font-size: 1.8em;
    }
    .page-contact__hero-description,
    .page-contact__methods-description,
    .page-contact__form-description,
    .page-contact__cta-description {
        font-size: 1em;
    }
    .page-contact__methods-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__contact-form-section {
        flex-direction: column;
    }
    .page-contact__form-image {
        width: 100%;
        height: auto;
        max-width: 100%; /* Ensure images don't overflow */
    }
    .page-contact__method-card img,
    .page-contact__contact-form-section img {
        max-width: 100%;
        height: auto;
    }
    .page-contact__cta-buttons {
        flex-direction: column;
    }
    .page-contact__cta-button {
        width: 100%;
    }
    .page-contact__method-icon,
    .page-contact__form-image {
        max-width: 100%; /* Ensure all images within content area are responsive */
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
    .page-contact__method-card img,
    .page-contact__contact-form-section img {
        width: 100%;
        height: auto;
    }
    .page-contact__hero-image {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 1.5em;
    }
    .page-contact__hero-button,
    .page-contact__method-button,
    .page-contact__form-submit-button,
    .page-contact__cta-button {
        padding: 12px 20px;
        font-size: 1em;
    }
}