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

.page-contact__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: #ffffff; /* Light text on dark overlay */
    text-align: center;
    padding: 0; /* Padding handled by hero-overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px; /* Ensure visibility even without image */
}

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

.page-contact__hero-overlay {
    position: relative;
    z-index: 2;
    background: rgba(0, 51, 102, 0.7); /* Main color with transparency */
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 8px;
}

.page-contact__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFD700; /* Auxiliary color for title */
}

.page-contact__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-contact__hero-button {
    display: inline-block;
    background-color: #FFD700; /* Auxiliary color for button */
    color: #003366; /* Main color for button text */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-contact__hero-button:hover {
    background-color: #e6c200; /* Slightly darker auxiliary color on hover */
    color: #001a33; /* Slightly darker main color on hover */
}

.page-contact__info-section {
    padding: 60px 20px;
    background-color: #f8f8f8; /* Light background for contrast */
}

.page-contact__info-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-contact__info-title {
    font-size: 2.2em;
    color: #003366; /* Main color for title */
    margin-bottom: 15px;
}

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

.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-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-contact__method-icon {
    width: 200px; /* Min size 200px */
    height: auto;
    max-width: 100%;
    margin-bottom: 20px;
    border-radius: 4px; /* Ensure image is not filter-affected */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__method-heading {
    font-size: 1.5em;
    color: #003366;
    margin-bottom: 15px;
}

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

.page-contact__method-button {
    display: inline-block;
    background-color: #003366;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-contact__method-button:hover {
    background-color: #001a33;
}

.page-contact__form-section {
    padding: 60px 20px;
    background-color: #ffffff;
}

.page-contact__form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #f8f8f8;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-contact__form-title {
    font-size: 2.2em;
    color: #003366;
    margin-bottom: 15px;
    text-align: center;
}

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

.page-contact__contact-form {
    display: grid;
    gap: 20px;
}

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

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

.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; /* Include padding in width */
}

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

.page-contact__form-submit-button {
    display: block;
    width: 100%;
    background-color: #FFD700;
    color: #003366;
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-contact__form-submit-button:hover {
    background-color: #e6c200;
    color: #001a33;
}

.page-contact__cta-section {
    padding: 60px 20px;
    background-color: #003366; /* Main color as background */
    color: #ffffff; /* Light text on dark background */
    text-align: center;
}

.page-contact__cta-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-contact__cta-image {
    width: 400px; /* Min size 200px, but this is a CTA visual */
    height: auto;
    max-width: 100%;
    margin-bottom: 30px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-contact__cta-description {
    font-size: 1.1em;
    margin-bottom: 40px;
}

.page-contact__cta-button {
    display: inline-block;
    background-color: #FFD700;
    color: #003366;
    padding: 18px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-contact__cta-button:hover {
    background-color: #e6c200;
    color: #001a33;
}

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

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

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

    .page-contact__info-description,
    .page-contact__form-description,
    .page-contact__cta-description {
        font-size: 0.95em;
    }

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

    .page-contact__hero-overlay {
        padding: 40px 15px;
    }

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

    .page-contact__cta-image {
        width: 100%;
        max-width: 300px;
    }
}