.page-contact {
    color: #ffffff; /* Light text for dark body background */
}

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

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6); /* Darken image for text readability */
}

.page-contact__hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-contact__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 20px;
    background: rgba(10, 25, 47, 0.7); /* Use main color with transparency */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-title {
    font-size: 3em;
    color: #FFD700; /* Auxiliary color for emphasis */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-contact__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Auxiliary color for CTA */
    color: #0A192F; /* Main color for text on CTA */
    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;
    border: none;
    cursor: pointer;
}

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

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

.page-contact__methods-section,
.page-contact__faq-section,
.page-contact__register-cta {
    padding: 60px 0;
    text-align: center;
    background-color: #0A192F; /* Main color for section backgrounds */
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__section-title {
    font-size: 2.5em;
    color: #FFD700;
    margin-bottom: 30px;
}

.page-contact__section-description {
    font-size: 1.1em;
    color: #cccccc;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.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: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-contact__method-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-contact__method-icon {
    width: 200px; /* Min size for content images */
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-contact__method-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-contact__method-description {
    font-size: 1em;
    color: #cccccc;
    margin-bottom: 25px;
    line-height: 1.5;
}

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

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

.page-contact__faq-button {
    display: inline-block;
    background-color: #0A192F;
    color: #FFD700;
    border: 2px solid #FFD700;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-contact__faq-button:hover {
    background-color: #FFD700;
    color: #0A192F;
}

.page-contact__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
}

.page-contact__cta-description {
    font-size: 1.2em;
    color: #f0f0f0;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.page-contact__cta-button--large {
    padding: 18px 40px;
    font-size: 1.3em;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 2.5em;
    }
    .page-contact__hero-description {
        font-size: 1.1em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        min-height: 400px;
    }
    .page-contact__hero-content {
        padding: 15px;
    }
    .page-contact__hero-title {
        font-size: 2em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-contact__methods-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__container {
        padding: 20px;
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__cta-title {
        font-size: 2em;
    }
    .page-contact__cta-button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-contact__methods-section,
    .page-contact__faq-section,
    .page-contact__register-cta {
        padding: 40px 0;
    }
    /* Ensure content images are responsive and don't overflow */
    .page-contact img {
        max-width: 100%;
        height: auto;
    }
    .page-contact__method-icon {
        width: 150px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 1.8em;
    }
    .page-contact__section-title,
    .page-contact__cta-title {
        font-size: 1.5em;
    }
    .page-contact__hero-description,
    .page-contact__section-description,
    .page-contact__cta-description {
        font-size: 0.9em;
    }
    .page-contact__cta-button,
    .page-contact__method-button,
    .page-contact__faq-button {
        font-size: 0.9em;
        padding: 10px 20px;
    }
}