.page-contact {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-contact__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    min-height: 500px; /* Minimum height for hero */
}

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

.page-contact__hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background for text readability */
    border-radius: 10px;
    color: #FFFFFF;
}

.page-contact__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login button color for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-contact__hero-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Dark text for contrast */
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.page-contact__form-section, .page-contact__methods-section, .page-contact__cta-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-contact__form-title, .page-contact__methods-title, .page-contact__cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #000000; /* Main color */
}

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

.page-contact__contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__form-group {
    margin-bottom: 15px;
}

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

.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;
    background-color: #f9f9f9;
    color: #333333;
}

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

.page-contact__form-submit-button {
    background-color: #000000; /* Main color */
    color: #FFFFFF; /* White text */
    padding: 15px 25px;
    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: #333333;
    transform: translateY(-2px);
}

.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;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-contact__method-card:hover {
    transform: translateY(-5px);
}

.page-contact__method-icon {
    width: 200px; /* Minimum size requirement */
    height: auto;
    max-height: 200px;
    margin-bottom: 20px;
    border-radius: 5px;
    object-fit: cover;
}

.page-contact__method-heading {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 10px;
}

.page-contact__method-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-contact__method-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Dark text */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.page-contact__cta-section {
    background-color: #000000; /* Main color as background */
    color: #FFFFFF;
    padding: 80px 20px;
    border-radius: 10px;
    margin-bottom: 60px; /* Space before footer */
}

.page-contact__cta-title {
    color: #FFFFFF;
    font-size: 2.8em;
    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-button {
    display: inline-block;
    padding: 18px 35px;
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Dark text */
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.3em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-contact__cta-button:hover {
    background-color: #e0a53b;
    transform: translateY(-3px);
}

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

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

    .page-contact__form-title, .page-contact__methods-title, .page-contact__cta-title {
        font-size: 2em;
    }

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

    .page-contact__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 80px);
    }

    .page-contact__hero-image {
        max-width: 100%;
        height: auto;
    }

    .page-contact__method-icon {
        max-width: 100%;
        height: auto;
    }

    .page-contact__contact-form, .page-contact__method-card {
        padding: 20px;
    }

    .page-contact__cta-title {
        font-size: 2.2em;
    }

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

    /* Ensure content images are responsive and not too small */
    .page-contact img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 1.8em;
    }

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

    .page-contact__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-contact__form-title, .page-contact__methods-title, .page-contact__cta-title {
        font-size: 1.8em;
    }

    .page-contact__form-submit-button, .page-contact__method-button, .page-contact__cta-button {
        font-size: 1em;
        padding: 12px 20px;
    }
}