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

/* Fixed Header Offset */
.page-contact__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply offset to the first section */
}

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

.page-contact__hero-section {
    text-align: center;
    padding-bottom: 60px;
    background-color: #000000; /* Dark background for hero */
    color: #FFFFFF; /* Light text for dark background */
    position: relative;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-contact__hero-container {
    position: relative;
    z-index: 1;
    padding: 40px 0;
}

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

.page-contact__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #f0f0f0;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0.3; /* Overlay effect */
}

.page-contact__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__section-description {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
}

.page-contact__support-channels,
.page-contact__additional-inquiries,
.page-contact__contact-form-section,
.page-contact__why-choose-us,
.page-contact__responsible-gambling,
.page-contact__location-info {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-contact__support-channels {
    background-color: #f8f8f8;
}

.page-contact__channels-grid,
.page-contact__inquiry-grid,
.page-contact__features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-contact__channel-card,
.page-contact__inquiry-card,
.page-contact__feature-item,
.page-contact__address-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-contact__channel-card:hover,
.page-contact__inquiry-card:hover,
.page-contact__feature-item:hover,
.page-contact__address-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-contact__channel-icon,
.page-contact__inquiry-icon,
.page-contact__feature-icon,
.page-contact__location-icon {
    width: 200px; /* Min size 200px */
    height: 200px; /* Min size 200px */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px; /* Slight roundness for aesthetics */
}

.page-contact__card-title,
.page-contact__feature-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__card-text,
.page-contact__feature-text {
    font-size: 1em;
    color: #666666;
    margin-bottom: 25px;
    flex-grow: 1; /* Allow text to take available space */
}

.page-contact__button {
    display: inline-block;
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Dark text for light button */
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: auto; /* Push button to bottom */
}

.page-contact__button:hover {
    background-color: #e0a030; /* Slightly darker yellow on hover */
    color: #FFFFFF; /* Light text on hover */
}

.page-contact__button--register {
    background-color: #FFFFFF; /* Register button color */
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-contact__button--register:hover {
    background-color: #FCBC45;
    color: #FFFFFF;
}

.page-contact__button--login {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-contact__button--login:hover {
    background-color: #e0a030;
    color: #FFFFFF;
}

.page-contact__contact-form {
    max-width: 800px;
    margin: 40px auto;
    background-color: #f8f8f8;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #cccccc;
    border-radius: 5_0px;
    font-size: 1em;
    color: #333333;
    background-color: #FFFFFF;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #FCBC45;
    box-shadow: 0 0 8px rgba(252, 188, 69, 0.3);
    outline: none;
}

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

.page-contact__submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #000000; /* Primary color for submit */
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-contact__submit-button:hover {
    background-color: #333333;
}

.page-contact__why-choose-us {
    background-color: #000000; /* Dark section */
    color: #FFFFFF;
}

.page-contact__why-choose-us .page-contact__section-title {
    color: #FCBC45; /* Yellow title on dark background */
}

.page-contact__why-choose-us .page-contact__section-description {
    color: #e0e0e0;
}

.page-contact__features-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-contact__feature-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-contact__feature-item .page-contact__feature-title {
    color: #FCBC45;
}

.page-contact__feature-item .page-contact__feature-text {
    color: #e0e0e0;
}

.page-contact__cta-buttons {
    text-align: center;
    margin-top: 50px;
}

.page-contact__cta-buttons .page-contact__button {
    margin: 0 15px;
    min-width: 180px;
}

.page-contact__responsible-gambling {
    background-color: #f0f0f0;
}

.page-contact__location-info {
    background-color: #e8e8e8;
}

.page-contact__address-card {
    max-width: 600px;
    margin: 40px auto;
    background-color: #FFFFFF;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-contact__hero-title {
        font-size: 2.2em;
    }

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

    .page-contact__section-title {
        font-size: 1.8em;
    }

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

    .page-contact__channels-grid,
    .page-contact__inquiry-grid,
    .page-contact__features-list {
        grid-template-columns: 1fr;
    }

    .page-contact__channel-card,
    .page-contact__inquiry-card,
    .page-contact__feature-item,
    .page-contact__address-card {
        padding: 20px;
    }

    /* Ensure images are responsive and not too small */
    .page-contact__channel-icon,
    .page-contact__inquiry-icon,
    .page-contact__feature-icon,
    .page-contact__location-icon,
    .page-contact__hero-image {
        max-width: 100%; /* Important for mobile responsiveness */
        height: auto;
        width: auto; /* Override fixed width for mobile */
        min-width: 200px; /* Still enforce minimum size */
        min-height: 200px;
    }

    .page-contact__cta-buttons .page-contact__button {
        margin: 10px 0;
        width: 100%;
    }
}