/* style/register.css */

/* Common styles for the page-register scope */
.page-register {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
}

.page-register__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-register__dark-bg {
    background-color: #017439; /* Brand primary color for dark sections */
    color: #ffffff;
}

.page-register__light-bg {
    background-color: #ffffff; /* Auxiliary color for light sections */
    color: #333333;
}

.page-register__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    color: inherit;
}

.page-register__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: inherit;
}

.page-register__btn-primary,
.page-register__btn-secondary {
    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, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
}

.page-register__btn-primary {
    background-color: #C30808; /* Custom color for register/login buttons */
    color: #FFFF00; /* Custom font color for register/login buttons */
    border: 2px solid transparent;
}

.page-register__btn-primary:hover {
    background-color: #a00606;
    color: #ffcc00;
}

.page-register__btn-secondary {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
    border: 2px solid #017439;
}

.page-register__btn-secondary:hover {
    background-color: #005a2d;
    border-color: #005a2d;
}

.page-register__btn-text-link {
    color: #017439;
    text-decoration: underline;
    font-weight: bold;
}

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

/* Hero Section */
.page-register__hero-section {
    position: relative;
    padding: 120px 0 60px; /* Adjust padding-top to account for fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 600px;
}

.page-register__hero-section .page-register__container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-register__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-register__intro-text {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

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

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

/* Why Join Section */
.page-register__why-join-section {
    padding: 80px 0;
}

.page-register__why-join-section .page-register__section-title {
    color: #017439;
}

.page-register__why-join-section .page-register__section-description {
    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: #f8f8f8;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
}

.page-register__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-register__feature-icon {
    width: 100%; /* Ensure image fills card */
    max-width: 300px; /* Adjust as needed, but >= 200px */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

.page-register__card-text {
    font-size: 1em;
    color: #555555;
}

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

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

.page-register__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-register__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #FFFF00; /* Custom color for emphasis */
    margin-bottom: 15px;
}

.page-register__step-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #ffffff;
}

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

/* Verification Section */
.page-register__verification-section {
    padding: 80px 0;
}

.page-register__verification-section .page-register__section-title {
    color: #017439;
}

.page-register__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-register__text-block {
    flex: 1;
    min-width: 300px;
    color: #333333;
}

.page-register__text-block p {
    margin-bottom: 20px;
    color: #555555;
}

.page-register__verification-image {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Bonuses Section */
.page-register__bonuses-section {
    padding: 80px 0;
}

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

.page-register__bonus-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-register__bonus-card .page-register__card-title {
    color: #FFFF00; /* Custom font color for emphasis */
}

.page-register__bonus-card .page-register__card-text {
    color: #f0f0f0;
    margin-bottom: 20px;
}

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

.page-register__faq-section .page-register__section-title {
    color: #017439;
}

.page-register__faq-section .page-register__section-description {
    color: #555555;
}

.page-register__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    background-color: #ffffff;
    color: #017439;
    border-bottom: 1px solid #e0e0e0;
}

.page-register__faq-question:hover {
    background-color: #e6ffe6; /* Lighter green hover */
}

.page-register__faq-toggle {
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-register__faq-item.active .page-register__faq-toggle {
    transform: rotate(45deg);
}

.page-register__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #ffffff;
    color: #555555;
}

.page-register__faq-item.active .page-register__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__main-title {
        font-size: 3em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
    .page-register__intro-text {
        font-size: 1.1em;
    }
    .page-register__content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .page-register__verification-image {
        max-width: 100%;
    }
}

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

    .page-register__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        min-height: 400px;
    }

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

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

    .page-register__intro-text,
    .page-register__section-description,
    .page-register__card-text,
    .page-register__step-text,
    .page-register__text-block p,
    .page-register__faq-answer p {
        font-size: 0.95em;
    }

    .page-register__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-register__btn-primary,
    .page-register__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-register__container,
    .page-register__hero-section,
    .page-register__why-join-section,
    .page-register__steps-section,
    .page-register__verification-section,
    .page-register__bonuses-section,
    .page-register__faq-section,
    .page-register__cta-bottom-section {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

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

    .page-register__feature-card,
    .page-register__step-item,
    .page-register__bonus-card {
        padding: 20px;
    }

    .page-register__feature-icon {
        max-width: 250px;
    }

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

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

@media (max-width: 480px) {
    .page-register__main-title {
        font-size: 1.8em;
    }
    .page-register__section-title {
        font-size: 1.5em;
    }
    .page-register__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        padding-bottom: 40px;
    }
}