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

.page-register__hero-section {
    background-color: #000000; /* Primary color background */
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-register__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2; /* Ensure content is above image */
}

.page-register__hero-title {
    font-size: 3.2em;
    color: #FFFFFF; /* White text on dark background */
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-register__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

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

.page-register__cta-button {
    background-color: #FCBC45; /* Login color for primary action */
    color: #000000; /* Dark text on light button */
    border: 2px solid #FCBC45;
}

.page-register__cta-button:hover {
    background-color: #e0a53b;
    border-color: #e0a53b;
}

.page-register__cta-button--secondary {
    background-color: transparent;
    color: #FFFFFF; /* White text on dark background */
    border: 2px solid #FFFFFF;
}

.page-register__cta-button--secondary:hover {
    background-color: #FFFFFF;
    color: #000000;
}

.page-register__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtly blend with background */
    z-index: 1;
}

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

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

.page-register__section-title {
    font-size: 2.2em;
    color: #000000; /* Dark text */
    margin-top: 50px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.page-register__section-paragraph {
    font-size: 1.05em;
    color: #333333; /* Dark text */
    margin-bottom: 20px;
    text-align: justify;
}

.page-register__image-responsive {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-register__registration-steps {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-register__step-item {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-left: 5px solid #FCBC45; /* Highlight with accent color */
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-register__step-title {
    font-size: 1.5em;
    color: #000000;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-register__step-description {
    font-size: 1em;
    color: #555555;
}

.page-register__action-center {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.page-register__conditions-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-register__condition-item {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-register__condition-title {
    font-size: 1.4em;
    color: #000000;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-register__condition-description {
    font-size: 1em;
    color: #555555;
}

.page-register__faq-list {
    margin-top: 40px;
}

.page-register__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    color: #000000;
    font-weight: bold;
    cursor: pointer;
    background-color: #FCBC45; /* Accent color for FAQ questions */
    color: #000000; /* Dark text on accent background */
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
    background-color: #e0a53b;
}

.page-register__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to become cross */
}

.page-register__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #555555;
    background-color: #ffffff;
    border-top: 1px solid #eee;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.page-register__faq-answer ul {
    list-style: disc;
    margin-left: 20px;
    margin-top: 10px;
}

.page-register__faq-answer li {
    margin-bottom: 5px;
}

.page-register__final-cta {
    text-align: center;
    background-color: #000000; /* Dark background */
    color: #FFFFFF; /* White text */
    padding: 60px 20px;
    border-radius: 10px;
    margin-top: 60px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-register__final-cta-text {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 30px;
    color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-register__hero-title {
        font-size: 2.2em;
    }

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

    .page-register__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-register__cta-button {
        width: 100%;
        padding: 12px 20px;
        font-size: 1em;
    }

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

    .page-register__step-title,
    .page-register__condition-title,
    .page-register__faq-question {
        font-size: 1.1em;
    }

    .page-register__step-item,
    .page-register__condition-item,
    .page-register__faq-item {
        padding: 15px;
    }

    .page-register__faq-question {
        padding: 15px 20px;
    }

    .page-register__faq-answer {
        padding: 15px 20px;
    }

    .page-register__final-cta-text {
        font-size: 1.4em;
    }

    /* Mobile specific image sizing */
    .page-register img {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure content area does not overflow on mobile */
@media (max-width: 768px) {
    .page-register {
        overflow-x: hidden;
    }
    .page-register__container {
        padding: 0 15px; /* Adjust padding to prevent overflow */
    }
}