.page-register {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #f4f4f4; /* Ensure consistency with body background */
}

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

/* Hero Section */
.page-register__hero-section {
    position: relative;
    background: linear-gradient(135deg, #FFD700, #8B0000); /* Gold to Dark Red gradient */
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
    overflow: hidden; /* To contain the image */
}

.page-register__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    z-index: 1;
}

.page-register__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.7); /* Darken image slightly to improve text contrast */
}

.page-register__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 2;
}

.page-register__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    position: relative;
    z-index: 2;
}

.page-register__hero-button {
    display: inline-block;
    background-color: #8B0000; /* Dark Red button */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-register__hero-button:hover {
    background-color: #b30000; /* Lighter red on hover */
    transform: translateY(-3px);
}

/* General Section Styling */
.page-register__why-join-section,
.page-register__steps-section,
.page-register__terms-section,
.page-register__faq-section,
.page-register__cta-section {
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-register__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #8B0000; /* Dark Red title */
    font-weight: bold;
    text-align: center;
}

.page-register__section-description {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #555555;
}

/* Why Join Section */
.page-register__why-join-section {
    background-color: #ffffff;
}

.page-register__why-join-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px; /* Example size */
    height: auto;
    opacity: 0.1;
    z-index: 0;
    filter: grayscale(100%); /* Make it subtle */
}

.page-register__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.page-register__feature-item {
    background-color: #f9f9f9;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-register__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-register__feature-title {
    font-size: 1.5em;
    color: #FFD700; /* Gold title for features */
    margin-bottom: 15px;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
}

.page-register__feature-description {
    color: #666666;
    font-size: 1em;
}

.page-register__action-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #333333;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__action-button:hover {
    background-color: #e6c200; /* Darker gold on hover */
    transform: translateY(-3px);
}

.page-register__action-button--bottom {
    margin-top: 60px;
}

/* Steps Section */
.page-register__steps-section {
    background-color: #f4f4f4;
}

.page-register__steps-image {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 300px; /* Example size */
    height: auto;
    opacity: 0.1;
    z-index: 0;
    filter: grayscale(100%); /* Make it subtle */
}

.page-register__steps-list {
    list-style: none;
    padding: 0;
    text-align: left;
    position: relative;
    z-index: 1;
    counter-reset: step-counter; /* Initialize counter */
}

.page-register__step-item {
    background-color: #ffffff;
    border-left: 5px solid #FFD700; /* Gold border */
    padding: 25px 30px 25px 60px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    position: relative;
}

.page-register__step-item::before {
    counter-increment: step-counter; /* Increment counter */
    content: "Bước " counter(step-counter); /* Display "Bước X" */
    position: absolute;
    left: 20px;
    top: 25px;
    background-color: #8B0000; /* Dark Red step number background */
    color: #ffffff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}

.page-register__step-title {
    font-size: 1.4em;
    color: #8B0000; /* Dark Red title */
    margin-bottom: 10px;
}

.page-register__step-description {
    color: #666666;
}

/* Terms Section */
.page-register__terms-section {
    background-color: #ffffff;
}

.page-register__terms-list {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

.page-register__term-item {
    background-color: #f9f9f9;
    border-left: 4px solid #8B0000; /* Dark Red border */
    padding: 20px 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-register__term-title {
    font-size: 1.3em;
    color: #333333;
    margin-bottom: 10px;
}

.page-register__term-description {
    color: #777777;
}

/* FAQ Section */
.page-register__faq-section {
    background-color: #f4f4f4;
}

.page-register__faq-image {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 300px; /* Example size */
    height: auto;
    opacity: 0.1;
    z-index: 0;
    filter: grayscale(100%); /* Make it subtle */
}

.page-register__faq-list {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    position: relative;
    z-index: 1;
}

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

.page-register__faq-question {
    width: 100%;
    background-color: #FFD700; /* Gold background for question */
    color: #333333;
    padding: 18px 25px;
    border: none;
    text-align: left;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
    background-color: #e6c200; /* Darker gold on hover */
}

.page-register__faq-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333333'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); /* Down arrow */
    background-size: cover;
    transition: transform 0.3s ease;
}

.page-register__faq-question.page-register__faq-question--active .page-register__faq-icon {
    transform: rotate(180deg); /* Up arrow when active */
}

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

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

.page-register__faq-answer.page-register__faq-answer--open {
    max-height: 200px; /* Adjust as needed for content */
    padding: 15px 25px;
}

/* CTA Section */
.page-register__cta-section {
    background: linear-gradient(90deg, #8B0000, #FFD700); /* Dark Red to Gold gradient */
    color: #ffffff;
    padding: 80px 0;
}

.page-register__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-register__action-button--large {
    padding: 18px 40px;
    font-size: 1.4em;
    background-color: #FFD700;
    color: #333333;
    border-radius: 8px;
}

.page-register__action-button--large:hover {
    background-color: #e6c200;
}

.page-register__cta-subtext {
    margin-top: 30px;
    font-size: 1.1em;
}

.page-register__cta-login-link {
    color: #FFD700; /* Gold link */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-register__cta-login-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-register__hero-title {
        font-size: 2.8em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
    .page-register__cta-title {
        font-size: 2.5em;
    }
    .page-register__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-register__hero-section,
    .page-register__why-join-section,
    .page-register__steps-section,
    .page-register__terms-section,
    .page-register__faq-section,
    .page-register__cta-section {
        padding: 60px 0;
    }
    .page-register__hero-title {
        font-size: 2.2em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__section-description {
        font-size: 0.95em;
    }
    .page-register__why-join-image,
    .page-register__steps-image,
    .page-register__faq-image {
        display: none; /* Hide decorative images on smaller screens */
    }
    .page-register__feature-item,
    .page-register__step-item,
    .page-register__term-item,
    .page-register__faq-item {
        margin: 0 10px 20px 10px;
    }
    .page-register__cta-title {
        font-size: 2em;
    }
    .page-register__cta-description {
        font-size: 1.1em;
    }
    .page-register__action-button--large {
        padding: 15px 30px;
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 1.8em;
    }
    .page-register__section-title {
        font-size: 1.5em;
    }
    .page-register__hero-description {
        font-size: 0.9em;
    }
    .page-register__hero-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-register__feature-title {
        font-size: 1.3em;
    }
    .page-register__step-title {
        font-size: 1.2em;
    }
    .page-register__term-title {
        font-size: 1.1em;
    }
    .page-register__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-register__cta-title {
        font-size: 1.8em;
    }
    .page-register__cta-description {
        font-size: 1em;
    }
    .page-register__action-button--large {
        padding: 12px 25px;
        font-size: 1em;
    }
}