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

.page-register__hero-section {
    position: relative;
    overflow: hidden;
    padding: 0;
    background-color: #000000; /* Dark background for hero section */
    color: #FFFFFF;
}

.page-register__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.4;
}

.page-register__hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.page-register__hero-content {
    max-width: 800px;
}

.page-register__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.page-register__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #F0F0F0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

.page-register__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-register__button--primary {
    background-color: #FCBC45;
    color: #000000;
}

.page-register__button--primary:hover {
    background-color: #E0A83A;
    transform: translateY(-2px);
}

.page-register__button--secondary {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #FCBC45;
}

.page-register__button--secondary:hover {
    background-color: #FCBC45;
    color: #000000;
    transform: translateY(-2px);
}

.page-register__button--link {
    background: none;
    color: #FCBC45;
    padding: 0;
    border-bottom: 2px solid #FCBC45;
    border-radius: 0;
    font-size: 1em;
}

.page-register__button--link:hover {
    color: #E0A83A;
    border-color: #E0A83A;
    transform: none;
}

.page-register__section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-register__section:nth-of-type(even) {
    background-color: #F8F8F8;
}

.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: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

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

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

.page-register__grid-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, box-shadow 0.3s ease;
}

.page-register__grid-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-register__grid-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-register__grid-text {
    color: #555555;
    font-size: 0.95em;
}

.page-register__call-to-action {
    text-align: center;
    margin-top: 60px;
}

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

.page-register__step-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 25px;
    position: relative;
    padding-left: 80px;
}

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

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

.page-register__step-description {
    color: #555555;
    margin-bottom: 15px;
}

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

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

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

.page-register__condition-text {
    color: #555555;
    font-size: 0.95em;
}

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

.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.2em;
    color: #000000;
    font-weight: bold;
    cursor: pointer;
    background-color: #FDFDFD;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-question {
    background-color: #FCBC45;
    color: #000000;
    border-color: #FCBC45;
}

.page-register__faq-item[open] .page-register__faq-toggle {
    content: '-';
}

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

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

.page-register__faq-answer {
    padding: 0 25px 20px 25px;
    color: #555555;
    font-size: 1em;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.page-register__faq-item[open] .page-register__faq-answer {
    max-height: 500px; /* Adjust as needed for content length */
    transition: max-height 0.5s ease-in;
}

.page-register__final-cta {
    background-color: #000000;
    color: #FFFFFF;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-register__final-cta-content {
    position: relative;
    z-index: 2;
}

.page-register__final-cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 1;
}

.page-register__final-cta-title {
    font-size: 3em;
    color: #FCBC45;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

/* Responsive Design */
@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-container {
        padding: 80px 15px;
        min-height: 400px;
    }

    .page-register__hero-title {
        font-size: 2.5em;
    }

    .page-register__hero-description {
        font-size: 1em;
    }

    .page-register__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-register__button {
        width: 100%;
        max-width: 300px;
    }

    .page-register__section {
        padding: 40px 0;
    }

    .page-register__section-title {
        font-size: 1.8em;
    }

    .page-register__section-intro {
        font-size: 0.95em;
    }

    .page-register__grid-item {
        padding: 20px;
    }

    .page-register__grid-title {
        font-size: 1.3em;
    }

    .page-register__step-item {
        padding-left: 60px;
    }

    .page-register__step-item::before {
        left: 15px;
        top: 20px;
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }

    .page-register__step-title {
        font-size: 1.5em;
    }

    .page-register__conditions-list {
        grid-template-columns: 1fr;
    }

    .page-register__condition-item {
        padding: 20px;
    }

    .page-register__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-register__faq-answer {
        padding: 0 20px 15px 20px;
    }

    .page-register__final-cta-title {
        font-size: 2.2em;
    }

    .page-register__final-cta-description {
        font-size: 1em;
    }
    
    /* Ensure all images within .page-register are responsive and don't overflow */
    .page-register img {
        max-width: 100%;
        height: auto;
    }

    /* Specific override for grid images if needed */
    .page-register__grid-image {
        height: 200px;
    }

    /* Ensure content area does not cause horizontal scroll */
    .page-register {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 2em;
    }

    .page-register__hero-description {
        font-size: 0.9em;
    }

    .page-register__section-title {
        font-size: 1.5em;
    }

    .page-register__step-title {
        font-size: 1.3em;
    }

    .page-register__final-cta-title {
        font-size: 1.8em;
    }
}