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

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

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

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

/* Hero Section */
.page-register__hero-section {
    background-color: #000000; /* Dark background for hero */
    color: #FFFFFF; /* Light text on dark background */
    padding: 80px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-register__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    color: #FCBC45; /* Accent color for title */
}

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

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

.page-register__register-button,
.page-register__login-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;
}

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

.page-register__register-button:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

.page-register__login-button {
    background-color: #000000;
    color: #FCBC45; /* Login color for Login button */
    border: 2px solid #FCBC45;
}

.page-register__login-button:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.page-register__hero-image {
    margin-top: 40px;
    max-width: 100%; /* Ensure image doesn't overflow */
    display: flex;
    justify-content: center;
}

.page-register__hero-image img {
    width: 1200px; /* HTML width attribute */
    height: 675px; /* HTML height attribute */
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Value Section */
.page-register__value-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

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

.page-register__value-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-register__value-item:hover {
    transform: translateY(-5px);
}

.page-register__value-item img {
    width: 400px; /* HTML width attribute */
    height: 300px; /* HTML height attribute */
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure block for proper centering/sizing */
    margin-left: auto;
    margin-right: auto;
    min-width: 200px; /* Enforce min-width */
    min-height: 200px; /* Enforce min-height */
}

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

.page-register__value-text {
    color: #666666;
}

/* Steps Section */
.page-register__steps-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.page-register__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 60px;
    counter-reset: step-counter;
}

.page-register__step-item {
    background-color: #f0f0f0;
    border-left: 5px solid #FCBC45;
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    position: relative;
    padding-left: 80px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

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

.page-register__step-text {
    color: #555555;
}

.page-register__steps-cta {
    text-align: center;
    margin-top: 60px;
}

.page-register__register-button--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Conditions Section */
.page-register__conditions-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

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

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

.page-register__conditions-list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 30px;
    color: #333333;
}

.page-register__conditions-list li {
    margin-bottom: 10px;
}

.page-register__conditions-list strong {
    color: #000000;
}

.page-register__read-more-link {
    display: inline-block;
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid #FCBC45;
    padding-bottom: 3px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-register__read-more-link:hover {
    color: #e0a53b;
    border-color: #e0a53b;
}

/* FAQ Section */
.page-register__faq-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.page-register__faq-list {
    max-width: 900px;
    margin: 60px auto 0;
}

.page-register__faq-item {
    background-color: #f0f0f0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-register__faq-question {
    display: block; /* Make summary fill width for click area */
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #000000;
    cursor: pointer;
    position: relative;
    user-select: none;
    transition: background-color 0.3s ease;
}

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

.page-register__faq-toggle {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-toggle {
    transform: translateY(-50%) rotate(45deg); /* Rotate to form an 'x' or '-' */
}

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

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

.page-register__cta-title {
    font-size: 2.8em;
    color: #FCBC45;
    margin-bottom: 20px;
    font-weight: bold;
}

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

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

@media (max-width: 768px) {
    .page-register {
        padding-top: var(--header-offset, 80px); /* Adjust header offset for mobile if needed */
    }
    .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__register-button,
    .page-register__login-button,
    .page-register__register-button--large {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-register__value-grid {
        grid-template-columns: 1fr;
    }
    .page-register__value-item img {
        min-width: 200px;
        min-height: 200px;
        max-width: 100%;
        height: auto;
    }
    .page-register__step-item {
        padding-left: 60px;
    }
    .page-register__step-item::before {
        width: 35px;
        height: 35px;
        font-size: 1.3em;
        left: 15px;
    }
    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__section-description {
        font-size: 1em;
    }
    .page-register__cta-title {
        font-size: 2em;
    }
    /* Ensure content area images don't overflow */
    .page-register__container img,
    .page-register__value-item img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure images are not too small */
        min-height: 200px;
    }
    .page-register__conditions-list {
        margin-left: 15px;
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 2em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__section-title {
        font-size: 1.5em;
    }
    .page-register__cta-title {
        font-size: 1.8em;
    }
    .page-register__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-register__faq-toggle {
        right: 20px;
    }
}