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

/* Hero Section */
.page-register__hero-section {
    position: relative;
    overflow: hidden;
    background-color: #1A1A1A; /* Dark background for hero to make gold pop */
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Ensure hero section has a decent height */
}

.page-register__hero-container {
    position: relative;
    z-index: 2; /* Ensure text is above image */
    max-width: 900px;
    margin: 0 auto;
}

.page-register__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-register__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-register__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-register__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Slightly dim the background image */
    display: block;
}

/* Call to Action Button */
.page-register__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #1A1A1A; /* Dark text on gold button */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-register__cta-button:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-2px);
}

.page-register__cta-button--bottom {
    margin-top: 50px;
}

.page-register__cta-button--final {
    margin-top: 40px;
    font-size: 1.3em;
    padding: 18px 35px;
}

/* General Section Styling */
.page-register__section-title {
    font-size: 2.5em;
    color: #1A1A1A; /* Dark title for light background */
    text-align: center;
    margin-top: 60px;
    margin-bottom: 20px;
    font-weight: bold;
}

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

/* Value Section */
.page-register__value-section {
    background-color: #ffffff; /* White background for this section */
    padding: 60px 20px;
}

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

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

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

.page-register__value-item img {
    width: 100%; /* Ensure images fill card width */
    max-width: 400px; /* Max width for images in cards */
    height: auto;
    border-radius: 8px;
    margin-bottom: 25px;
    object-fit: cover;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

.page-register__value-heading {
    font-size: 1.6em;
    color: #FFD700; /* Gold for subheadings */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-register__value-text {
    font-size: 1em;
    color: #555555;
    text-align: left;
}

/* Steps Section */
.page-register__steps-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.page-register__registration-steps {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
}

.page-register__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #FFD700;
}

.page-register__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #FFD700;
    margin-right: 25px;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1A1A1A;
    border-radius: 50%;
    color: #FFD700;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-register__step-title {
    font-size: 1.8em;
    color: #1A1A1A;
    margin-top: 0;
    margin-bottom: 10px;
}

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

/* Conditions Section */
.page-register__conditions-section {
    padding: 60px 20px;
    background-color: #ffffff;
}

.page-register__conditions-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
}

.page-register__condition-item {
    background-color: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.page-register__condition-heading {
    font-size: 1.5em;
    color: #1A1A1A;
    margin-top: 0;
    margin-bottom: 10px;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 5px;
    display: inline-block;
}

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

/* FAQ Section */
.page-register__faq-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.page-register__faq-container {
    max-width: 900px;
    margin: 0 auto;
}

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

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #1A1A1A;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
    background-color: #fffaf0; /* Light hover for gold theme */
}

.page-register__faq-item[open] .page-register__faq-question {
    border-bottom: 1px solid #FFD700;
    background-color: #fffaf0;
}

.page-register__faq-toggle {
    font-size: 1.5em;
    color: #FFD700;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
    color: #e6c200;
}

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

.page-register__faq-item[open] .page-register__faq-answer {
    max-height: fit-content; /* Allow content to dictate height */
    padding-top: 15px;
}

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

/* CTA Section (final) */
.page-register__cta-section {
    background-color: #1A1A1A; /* Dark background */
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.page-register__cta-section .page-register__section-title {
    color: #FFD700; /* Gold title */
    margin-top: 0;
}

.page-register__cta-section .page-register__section-description {
    color: #f0f0f0;
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 3em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
    .page-register__value-heading {
        font-size: 1.4em;
    }
    .page-register__step-title {
        font-size: 1.5em;
    }
    .page-register__condition-heading {
        font-size: 1.3em;
    }
    .page-register__faq-question {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-register__hero-section {
        padding: 60px 15px;
        min-height: 400px;
    }
    .page-register__hero-title {
        font-size: 2.5em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-register__cta-button--final {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-register__section-title {
        font-size: 1.8em;
        margin-top: 40px;
        margin-bottom: 15px;
    }
    .page-register__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-register__value-section,
    .page-register__steps-section,
    .page-register__conditions-section,
    .page-register__faq-section,
    .page-register__cta-section {
        padding: 40px 15px;
    }
    .page-register__value-grid {
        grid-template-columns: 1fr;
    }
    .page-register__value-item img {
        max-width: 100%; /* Ensure images are fully responsive in mobile */
        width: 100%;
        height: auto;
        min-width: 200px; /* Still enforce min size */
        min-height: 200px;
    }
    .page-register__step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px;
    }
    .page-register__step-number {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .page-register__condition-heading {
        text-align: center;
        width: 100%;
    }
    .page-register__condition-text {
        text-align: center;
    }
    /* Mobile image overflow prevention */
    .page-register img {
        max-width: 100%;
        height: auto;
    }
    .page-register {
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 2em;
    }
    .page-register__section-title {
        font-size: 1.5em;
    }
    .page-register__value-heading {
        font-size: 1.2em;
    }
    .page-register__step-title {
        font-size: 1.3em;
    }
    .page-register__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-register__faq-toggle {
        font-size: 1.2em;
    }
    .page-register__faq-answer {
        padding: 0 20px 15px 20px;
    }
}