.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 {
    position: relative;
    padding: 80px 20px;
    background-color: #0A2463; /* Dark blue background for hero */
    color: #ffffff;
    text-align: center;
    overflow: hidden; /* Ensure image doesn't overflow */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Ensure hero section has a minimum height */
}

.page-register__hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-register__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle overlay to make text readable */
    display: block;
}

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

.page-register__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-register__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

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

.page-register__hero-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, transform 0.3s ease;
    min-width: 200px; /* Ensure buttons are not too small */
    text-align: center;
}

.page-register__hero-button--primary {
    background-color: #FFD700; /* Gold for primary action */
    color: #0A2463; /* Dark blue text */
    border: 2px solid #FFD700;
}

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

.page-register__hero-button--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-register__hero-button--secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
}

.page-register__value-section,
.page-register__steps-section,
.page-register__conditions-section,
.page-register__faq-section,
.page-register__cta-final-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-register__section-title {
    font-size: 2.5em;
    color: #0A2463;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.page-register__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

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

.page-register__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-register__feature-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-register__feature-card:hover {
    transform: translateY(-5px);
}

.page-register__feature-icon {
    width: 200px; /* Min size 200px */
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
    object-fit: cover;
    display: block;
}

.page-register__feature-title {
    font-size: 1.5em;
    color: #0A2463;
    margin-bottom: 15px;
}

.page-register__feature-description {
    font-size: 1em;
    color: #666666;
}

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

.page-register__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.page-register__step-number {
    background-color: #0A2463;
    color: #FFD700;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
    flex-shrink: 0;
    margin-right: 20px;
}

.page-register__step-content {
    flex-grow: 1;
}

.page-register__step-title {
    font-size: 1.4em;
    color: #0A2463;
    margin-top: 0;
    margin-bottom: 10px;
}

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

.page-register__cta-container {
    text-align: center;
    margin-top: 50px;
}

.page-register__cta-button {
    display: inline-block;
    padding: 18px 35px;
    background-color: #FFD700;
    color: #0A2463;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

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

.page-register__cta-button--large {
    padding: 20px 40px;
    font-size: 1.4em;
}

.page-register__conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-register__condition-item {
    background-color: #f9f9f9;
    padding: 25px;
    border-left: 5px solid #0A2463;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.page-register__condition-title {
    font-size: 1.3em;
    color: #0A2463;
    margin-top: 0;
    margin-bottom: 10px;
}

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

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

.page-register__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

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

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

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

.page-register__faq-item[open] .page-register__faq-toggle {
    transform: rotate(45deg); /* Change + to X or rotate it */
}

.page-register__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: #666666;
    border-top: 1px solid #eee;
}

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

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

@media (max-width: 768px) {
    .page-register__hero-title {
        font-size: 2.5em;
    }
    .page-register__hero-description {
        font-size: 1.1em;
    }
    .page-register__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-register__hero-button {
        width: 80%;
        max-width: 300px;
    }
    .page-register__value-section,
    .page-register__steps-section,
    .page-register__conditions-section,
    .page-register__faq-section,
    .page-register__cta-final-section {
        margin: 20px auto;
        padding: 20px 15px;
    }
    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__section-intro {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-register__features-grid,
    .page-register__conditions-grid {
        grid-template-columns: 1fr;
    }
    .page-register__step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .page-register__step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    /* Mobile image constraint */
    .page-register img {
        max-width: 100%;
        height: auto;
    }
    /* Ensure content area images are not too small */
    .page-register__feature-icon {
        width: 250px; /* Example: ensuring it's not less than 200px */
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 2em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__hero-button {
        font-size: 1em;
        padding: 12px 25px;
    }
    .page-register__section-title {
        font-size: 1.5em;
    }
    .page-register__cta-button--large {
        font-size: 1.2em;
        padding: 15px 30px;
    }
}