.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); /* Ensure space for fixed header */
}

.page-register__hero-section {
    background-color: #000000; /* Main color as background for hero */
    color: #FFFFFF; /* White text for dark background */
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-register__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3; /* Subtle background */
}

.page-register__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-register__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-register__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FCBC45; /* Highlight with a vibrant color */
}

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

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

.page-register__cta-button:hover {
    background-color: #FFD700; /* Lighter yellow on hover */
    transform: translateY(-2px);
}

.page-register__cta-button--bottom,
.page-register__cta-button--final {
    margin-top: 40px;
}

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

.page-register__value-section {
    background-color: #FFFFFF; /* Light background */
    padding: 60px 20px;
}

.page-register__value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-register__value-item {
    background-color: #F8F8F8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

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

.page-register__value-text {
    font-size: 1em;
    color: #555555;
}

.page-register__steps-section {
    background-color: #F0F0F0;
    padding: 60px 20px;
}

.page-register__steps-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-register__steps-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-register__step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 600px;
}

.page-register__step-item {
    background-color: #FFFFFF;
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    counter-increment: step-counter;
    position: relative;
    padding-left: 60px;
}

.page-register__step-item::before {
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #FCBC45;
    color: #000000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
}

.page-register__step-heading {
    font-size: 1.3em;
    color: #000000;
    margin-top: 0;
    margin-bottom: 10px;
}

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

.page-register__conditions-section {
    padding: 60px 20px;
    background-color: #FFFFFF;
}

.page-register__conditions-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.page-register__conditions-text {
    font-size: 1.1em;
    color: #333333;
    margin-bottom: 30px;
}

.page-register__conditions-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
}

.page-register__conditions-item {
    font-size: 1em;
    color: #555555;
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.page-register__conditions-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FCBC45;
    font-weight: bold;
}

.page-register__learn-more-link {
    display: inline-block;
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
    margin: 10px 15px;
    transition: color 0.3s ease;
}

.page-register__learn-more-link:hover {
    color: #000000;
}

.page-register__faq-section {
    background-color: #F8F8F8;
    padding: 60px 20px;
}

.page-register__faq-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
    justify-content: center;
}

.page-register__faq-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-register__faq-list {
    flex: 1;
    min-width: 300px;
    max-width: 700px;
}

.page-register__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1em;
    font-weight: bold;
    color: #000000;
    cursor: pointer;
    background-color: #FFFFFF;
    transition: background-color 0.3s ease;
}

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

.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); /* Changes + to X or rotates it */
}

.page-register__faq-answer {
    padding: 0 25px 20px;
    font-size: 0.95em;
    color: #555555;
    line-height: 1.8;
}

.page-register__faq-answer p {
    margin: 0;
}

.page-register__final-cta-section {
    background-color: #000000; /* Dark background for final CTA */
    color: #FFFFFF;
    padding: 80px 20px;
    text-align: center;
}

.page-register__final-cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive design */
@media (max-width: 1024px) {
    .page-register__main-title {
        font-size: 2.8em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-register {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }
    .page-register__hero-section {
        padding: 60px 20px;
    }
    .page-register__main-title {
        font-size: 2.2em;
    }
    .page-register__hero-description {
        font-size: 1.1em;
    }
    .page-register__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-register__section-title {
        font-size: 1.8em;
        margin-top: 40px;
        margin-bottom: 30px;
    }
    .page-register__value-grid {
        grid-template-columns: 1fr;
    }
    .page-register__steps-container,
    .page-register__faq-container {
        flex-direction: column;
        gap: 30px;
    }
    .page-register__steps-image,
    .page-register__faq-image {
        max-width: 100%;
        width: 100%;
        height: auto;
        min-width: 200px; /* Ensure min size on mobile too */
        min-height: 200px; /* Ensure min size on mobile too */
        max-width: 100% !important; /* Mobile content area image anti-overflow */
        height: auto !important; /* Mobile content area image anti-overflow */
    }
    .page-register__faq-list,
    .page-register__step-list {
        max-width: 100%;
    }
    .page-register__final-cta-section {
        padding: 60px 20px;
    }
    .page-register__final-cta-description {
        font-size: 1.1em;
    }

    /* Enforce min image size for all images within .page-register */
    .page-register img {
        min-width: 200px;
        min-height: 200px;
        max-width: 100%; /* Prevent overflow */
        height: auto; /* Maintain aspect ratio */
    }
}

/* Ensure no content area image is smaller than 200px */
.page-register img {
    min-width: 200px;
    min-height: 200px;
    /* max-width and height auto for responsive behavior, but not forcing smaller */
}

/* Specific rule for mobile content area images to prevent overflow */
@media (max-width: 768px) {
    .page-register img {
        max-width: 100% !important;
        height: auto !important;
    }
}