.page-register {
    background-color: #FFFFFF; /* Background color from requirements */
    color: #333333; /* Default text color for contrast */
    font-family: sans-serif; /* Roboto-like */
    line-height: 1.6;
    padding-bottom: 20px; /* Add some padding at the bottom */
}

.page-register__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Stack image then content */
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding */
    overflow: hidden;
    background-color: #017439; /* Background for the whole section */
    color: #FFFFFF;
}

.page-register__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9;
    max-height: 450px; /* Limit height to prevent overly large image on desktop */
}

.page-register__hero-content {
    background-color: #017439; /* Use main color for content background */
    color: #FFFFFF;
    padding: 30px 15px; /* More padding */
    width: 100%;
    max-width: 900px;
    box-sizing: border-box;
    border-radius: 0 0 8px 8px; /* Rounded bottom corners */
    margin-top: 0; /* No negative margin */
    position: relative;
    z-index: 1;
}

.page-register__hero-title {
    font-weight: bold;
    color: #FFFF00; /* Register/Login font color */
    margin-bottom: 10px;
    font-size: clamp(1.8rem, 4vw, 2.8rem); /* Responsive font size */
    line-height: 1.2;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.page-register__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-register__register-button {
    display: inline-block;
    background-color: #C30808; /* Register button color */
    color: #FFFF00; /* Register/Login font color */
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-size: 1.1rem;
    border: 2px solid #FFFF00;
}

.page-register__register-button:hover {
    background-color: #9e0606;
}

.page-register__section-title {
    color: #017439; /* Main color for titles */
    text-align: center;
    margin: 40px 0 30px;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: bold;
}

.page-register__steps-section,
.page-register__benefits-section,
.page-register__cta-section,
.page-register__faq-section {
    padding: 20px 15px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-register__steps-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.page-register__step-card {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    flex: 1 1 calc(33% - 20px); /* 3 cards per row */
    min-width: 280px; /* Minimum width for cards */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-register__step-image {
    width: 100%;
    max-width: 300px; /* Constrain image width */
    height: auto;
    display: block;
    margin: 0 auto 15px;
    border-radius: 5px;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
    object-fit: cover;
}

.page-register__step-title {
    color: #017439;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.page-register__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
}

.page-register__benefit-item {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-register__benefit-icon {
    width: 100%;
    max-width: 150px; /* Constrain icon width */
    height: auto;
    display: block;
    margin: 0 auto 15px;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
    object-fit: contain; /* Icons might be better with contain */
}

.page-register__benefit-title {
    color: #017439;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.page-register__cta-section {
    background-color: #017439; /* Main color for CTA background */
    color: #FFFFFF;
    text-align: center;
    padding: 40px 20px;
    border-radius: 8px;
    margin-top: 40px;
}

.page-register__cta-title {
    color: #FFFF00; /* Register/Login font color */
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 15px;
}

.page-register__cta-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-register__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-register__register-button--large,
.page-register__login-button--large {
    padding: 15px 30px;
    font-size: 1.2rem;
}

.page-register__login-button {
    display: inline-block;
    background-color: #C30808; /* Login button color */
    color: #FFFF00; /* Register/Login font color */
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-size: 1.1rem;
    border: 2px solid #FFFF00;
}

.page-register__login-button:hover {
    background-color: #9e0606;
}

.page-register__faq-container {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-register__faq-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.page-register__faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-register__faq-question {
    color: #017439;
    font-size: 1.2rem;
    margin-bottom: 10px;
    cursor: pointer; /* Indicate interactivity */
}

.page-register__faq-answer {
    font-size: 1rem;
    color: #555555;
    display: none; /* Hidden by default, toggled by JS */
}

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-register__hero-content {
        padding: 15px 10px;
    }

    .page-register__hero-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }

    .page-register__register-button,
    .page-register__login-button {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .page-register__steps-container {
        flex-direction: column;
        align-items: center;
    }

    .page-register__step-card {
        flex: 1 1 100%;
        max-width: 400px;
    }

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

    .page-register__benefit-icon {
        max-width: 100px; /* Reduced max-width for smaller screens, but min-width is enforced below */
    }

    .page-register__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-register__register-button--large,
    .page-register__login-button--large {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .page-register__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
}

@media (max-width: 768px) {
    /* Ensure images are responsive and don't overflow */
    .page-register img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    .page-register__hero-image {
        aspect-ratio: 4/3; /* More vertical for mobile hero */
        max-height: none; /* Remove max-height for mobile to let aspect-ratio take effect */
    }
}

@media (max-width: 549px) {
    .page-register__hero-title {
        font-size: clamp(1.4rem, 7vw, 2.2rem);
    }
    .page-register__hero-description {
        font-size: 0.95rem;
    }
    .page-register__section-title {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }
    .page-register__cta-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }
}

/* Enforce content area images (not header/footer) respect min-width 200px */
.page-register img:not(.shared-header img, .shared-footer img) {
    min-width: 200px;
    min-height: 200px;
}
/* Override specific smaller images if they exist and are not icons */
.page-register__benefit-icon {
    min-width: 200px; /* Enforce min size even for icons used as content images */
    min-height: 200px;
    max-width: 250px; /* Keep them somewhat contained */
    object-fit: contain;
}