.page-register {
    font-family: 'Arial', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #FFFFFF;
}

.page-register__hero-section {
    padding-top: 10px; /* Adhering to the 10px top padding if body handles header offset */
    background-color: #FFFFFF;
    position: relative;
    overflow: hidden;
    text-align: center;
    padding-bottom: 40px;
}

.page-register__hero-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 20px 15px;
}

.page-register__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
}

.page-register__hero-text-block {
    max-width: 800px;
    text-align: center;
}

.page-register__main-title {
    font-size: 2.8em;
    font-weight: 700;
    color: #017439;
    margin-bottom: 15px;
    line-height: 1.2;
    max-width: 100%; /* Ensure H1 does not cause overflow */
}

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

.page-register__btn-primary,
.page-register__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-register__btn-primary {
    background-color: #C30808; /* Custom color for Register button */
    color: #FFFF00; /* Custom color for Register button text */
    border: 2px solid #C30808;
    box-shadow: 0 4px 10px rgba(195, 8, 8, 0.3);
}

.page-register__btn-primary:hover {
    background-color: #e02020;
    border-color: #e02020;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(195, 8, 8, 0.4);
}

.page-register__btn-secondary {
    background-color: #FFFFFF;
    color: #017439;
    border: 2px solid #017439;
    box-shadow: 0 4px 10px rgba(1, 116, 57, 0.1);
}

.page-register__btn-secondary:hover {
    background-color: #017439;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(1, 116, 57, 0.2);
}

.page-register__why-register-section,
.page-register__steps-section,
.page-register__registration-form-section,
.page-register__faq-section,
.page-register__cta-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-register__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-register__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

.page-register__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #017439;
    text-align: center;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-register__section-title--white {
    color: #ffffff;
}

.page-register__section-description {
    font-size: 1.05em;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-register__section-description--white {
    color: #f0f0f0;
}

/* Benefits Grid */
.page-register__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-register__benefit-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.page-register__benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-register__benefit-icon {
    width: 100%;
    height: auto;
    max-width: 250px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px;
    min-height: 200px;
}

.page-register__benefit-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #017439;
    margin-bottom: 15px;
}

.page-register__benefit-text {
    font-size: 0.95em;
    color: #666666;
}

/* Steps Section */
.page-register__steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-register__step-card {
    background-color: #005a2d; /* Darker green for contrast */
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    border: 1px solid #004d26;
    color: #ffffff;
}

.page-register__step-title {
    font-size: 1.6em;
    font-weight: 700;
    color: #FFFF00;
    margin-bottom: 20px;
}

.page-register__step-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px;
    min-height: 200px;
}

.page-register__step-text {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 25px;
}

.page-register__step-cta-button {
    background-color: #FFFF00; /* Yellow for visibility */
    color: #017439;
    border: 2px solid #FFFF00;
}

.page-register__step-cta-button:hover {
    background-color: #e0e000;
    border-color: #e0e000;
    color: #004d26;
}

/* Registration Form Section */
.page-register__form-container {
    max-width: 600px;
    margin: 40px auto 0;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.page-register__form-field {
    margin-bottom: 20px;
}

.page-register__form-label {
    display: block;
    font-size: 1em;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.page-register__form-input {
    width: calc(100% - 24px); /* Account for padding */
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-register__form-input:focus {
    border-color: #017439;
    box-shadow: 0 0 0 3px rgba(1, 116, 57, 0.2);
    outline: none;
}

.page-register__verification-input-group {
    display: flex;
    gap: 10px;
}

.page-register__form-input--code {
    flex-grow: 1;
    width: auto;
}

.page-register__send-code-button {
    flex-shrink: 0;
    padding: 12px 20px;
    font-size: 0.95em;
}

.page-register__form-checkbox {
    margin-top: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.page-register__checkbox-input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #017439;
}

.page-register__checkbox-label {
    font-size: 0.95em;
    color: #555555;
}

.page-register__terms-link {
    color: #017439;
    text-decoration: underline;
}

.page-register__terms-link:hover {
    color: #005a2d;
}

.page-register__submit-button {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    margin-top: 20px;
}

/* FAQ Section */
.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;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-register__faq-question {
    font-size: 1.2em;
    font-weight: 600;
    color: #017439;
    padding: 18px 25px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
    margin: 0;
}

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

/* CTA Section */
.page-register__cta-section {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
    .page-register__main-title {
        font-size: 2.4em;
    }

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

    .page-register__hero-content-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .page-register__hero-image {
        max-width: 90%;
    }

    .page-register__benefits-grid,
    .page-register__steps-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .page-register__form-container {
        padding: 30px;
    }

    .page-register__faq-question {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    /* General mobile adaptations */
    .page-register {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-register__hero-section,
    .page-register__why-register-section,
    .page-register__steps-section,
    .page-register__registration-form-section,
    .page-register__faq-section,
    .page-register__cta-section {
        padding: 40px 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-register img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Hero Section */
    .page-register__hero-section {
        padding-top: 10px !important; /* Specific mobile padding-top */
    }

    .page-register__main-title {
        font-size: 2em;
        line-height: 1.3;
    }

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

    .page-register__hero-cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    /* Buttons general */
    .page-register__btn-primary,
    .page-register__btn-secondary,
    .page-register a[class*="button"],
    .page-register a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Button containers */
    .page-register__cta-buttons,
    .page-register__button-group,
    .page-register__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        flex-wrap: wrap !important;
        gap: 15px !important;
        flex-direction: column; /* Stack buttons vertically */
    }

    /* Benefits Grid */
    .page-register__benefits-grid,
    .page-register__steps-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-register__benefit-card {
        padding: 25px;
    }

    .page-register__benefit-title {
        font-size: 1.4em;
    }

    /* Form Section */
    .page-register__form-container {
        padding: 25px;
        margin-top: 20px;
    }

    .page-register__form-input {
        width: 100%;
    }

    .page-register__verification-input-group {
        flex-direction: column;
        gap: 10px;
    }

    .page-register__send-code-button {
        width: 100%;
    }

    .page-register__submit-button {
        font-size: 1em;
    }

    /* FAQ Section */
    .page-register__faq-question {
        font-size: 1.05em;
        padding: 15px 20px;
    }

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

    /* CTA Section */
    .page-register__cta-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .page-register__section-title {
        font-size: 1.8em;
    }
}