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

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

.page-register__hero-section {
    position: relative;
    overflow: hidden;
    background-color: #000000;
    color: #FFFFFF;
    text-align: center;
    padding: 0;
}

.page-register__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.6); /* Darken image slightly for text readability */
}

.page-register__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 800px;
    width: 90%;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black background for text */
    padding: 30px;
    border-radius: 10px;
}

.page-register__hero-title {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: #FFFFFF;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-register__register-button,
.page-register__login-button {
    display: inline-block;
    padding: 15px 30px;
    margin: 10px;
    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 button minimum width */
}

.page-register__register-button {
    background-color: #FFFFFF; /* Custom color for Register */
    color: #000000;
    border: 2px solid #FFFFFF;
}

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

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

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

.page-register__section-title {
    font-size: 2.2em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

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

.page-register__value-section,
.page-register__steps-section,
.page-register__conditions-section,
.page-register__faq-section,
.page-register__call-to-action-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-register__value-section {
    background-color: #f9f9f9;
}

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

.page-register__value-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-register__value-image {
    width: 100%;
    max-width: 400px; /* Ensure images are not too wide */
    height: auto;
    min-width: 200px;
    min-height: 200px;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

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

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

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

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

.page-register__step-number {
    counter-increment: step-counter;
    font-size: 1.8em;
    font-weight: bold;
    color: #FCBC45;
    margin-right: 20px;
    background-color: #000000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    color: #FFFFFF;
}

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

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

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

.page-register__register-now-button {
    display: inline-block;
    padding: 18px 40px;
    background-color: #FCBC45;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid #FCBC45;
}

.page-register__register-now-button:hover {
    background-color: #e0a030;
    transform: translateY(-3px);
}

.page-register__conditions-list {
    list-style: disc;
    padding-left: 20px;
    margin-top: 40px;
}

.page-register__condition-item {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #444444;
}

.page-register__condition-item strong {
    color: #000000;
}

.page-register__read-terms-button,
.page-register__read-privacy-button {
    display: inline-block;
    padding: 12px 25px;
    margin: 10px;
    background-color: #000000;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: 1px solid #000000;
}

.page-register__read-terms-button:hover,
.page-register__read-privacy-button:hover {
    background-color: #333333;
}

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

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

.page-register__faq-question {
    display: block;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #000000;
    cursor: pointer;
    position: relative;
    background-color: #e8e8e8;
    transition: background-color 0.3s ease;
}

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

.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);
}

.page-register__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #555555;
    border-top: 1px solid #e0e0e0;
}

.page-register__faq-answer p {
    margin-top: 15px;
}

.page-register__call-to-action-section {
    background-color: #000000;
    color: #FFFFFF;
    text-align: center;
    padding: 80px 20px;
}

.page-register__cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
}

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

.page-register__final-register-button,
.page-register__final-login-button {
    display: inline-block;
    padding: 18px 40px;
    margin: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    min-width: 250px;
}

.page-register__final-register-button {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-register__final-register-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
}

.page-register__final-login-button {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-register__final-login-button:hover {
    background-color: #e0a030;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 2.2em;
    }
    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__value-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-register__value-image {
        max-width: 300px;
    }
    .page-register__hero-image,
    .page-register__value-image,
    .page-register__cta-image {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .page-register {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }
    .page-register__hero-content {
        padding: 20px;
    }
    .page-register__hero-title {
        font-size: 1.8em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__register-button,
    .page-register__login-button,
    .page-register__register-now-button,
    .page-register__final-register-button,
    .page-register__final-login-button {
        font-size: 1em;
        padding: 12px 25px;
        min-width: unset;
        width: 100%;
        box-sizing: border-box;
        margin: 5px 0;
    }
    .page-register__value-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;
    }
    .page-register__faq-question {
        font-size: 1.1em;
        padding-right: 60px; /* Make space for toggle */
    }
    .page-register__faq-toggle {
        right: 20px;
    }
    .page-register__cta-title {
        font-size: 2em;
    }

    /* Ensure all images within .page-register are responsive */
    .page-register img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Maintain minimum size */
        min-height: 200px;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 1.5em;
    }
    .page-register__hero-description {
        font-size: 0.9em;
    }
    .page-register__section-title {
        font-size: 1.5em;
    }
    .page-register__step-heading {
        font-size: 1.3em;
    }
    .page-register__faq-question {
        font-size: 1em;
    }
    .page-register__cta-title {
        font-size: 1.8em;
    }
}