/* style/register.css */
.page-register {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

/* Hero Section */
.page-register__hero-section {
    position: relative;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background-color: #1A202C; /* Dark background for hero */
    overflow: hidden; /* Prevent image overflow */
}

.page-register__hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
}

.page-register__hero-title {
    font-size: 3.2em;
    color: #FFD700; /* Gold for title */
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

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

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

.page-register__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    display: block; /* Ensure it's a block element */
}

.page-register__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #1A202C; /* Dark text on gold */
    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;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    min-width: 200px; /* Ensure buttons are not too small */
}

.page-register__cta-button:hover {
    background-color: #e5c100;
    transform: translateY(-3px);
}

/* General Section Styling */
.page-register__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.page-register__section-subtitle {
    font-size: 1.1em;
    color: #cccccc;
    text-align: center;
    max-width: 800px;
    margin: -20px auto 60px auto;
}

/* Value Section */
.page-register__value-section {
    padding: 60px 20px;
    background-color: #0d121c; /* Body background color */
}

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

.page-register__value-item {
    background-color: #1A202C; /* Dark card background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-register__value-item img {
    width: 100%;
    height: 250px; /* Enforce min 200px */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure block for proper width/height */
}

.page-register__value-item-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-register__value-item-description {
    color: #cccccc;
    font-size: 0.95em;
}

.page-register__cta-bottom {
    text-align: center;
    margin-top: 60px;
}

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

.page-register__steps-list {
    list-style: none;
    counter-reset: step-counter;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

.page-register__step-item {
    position: relative;
    padding: 30px 0 30px 70px;
    border-left: 3px solid #FFD700;
    margin-bottom: 40px;
}

.page-register__step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: -25px;
    top: 25px;
    width: 50px;
    height: 50px;
    background-color: #FFD700;
    color: #1A202C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

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

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

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

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

.page-register__condition-item {
    background-color: #1A202C;
    border-left: 5px solid #FFD700;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-register__condition-description {
    color: #cccccc;
    font-size: 0.95em;
}

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

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

.page-register__faq-item {
    background-color: #2a3340; /* Slightly lighter dark for FAQ item */
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-register__faq-question {
    display: block;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD700;
    cursor: pointer;
    position: relative;
    user-select: none;
    transition: background-color 0.3s ease;
}

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

.page-register__faq-toggle {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    line-height: 1;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-toggle {
    transform: translateY(-50%) rotate(45deg); /* Rotate to form an 'X' or '-' */
}

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

/* Final CTA Section */
.page-register__cta-final {
    padding: 80px 20px;
    text-align: center;
    background-color: #0d121c; /* Body background color */
}

.page-register__cta-final-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.7);
}

.page-register__cta-final-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-register__cta-button--large {
    padding: 20px 40px;
    font-size: 1.3em;
    border-radius: 10px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 2.8em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-register__hero-section {
        padding: 60px 20px;
    }
    .page-register__hero-title {
        font-size: 2.2em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        min-width: unset;
    }
    .page-register__value-grid {
        grid-template-columns: 1fr;
    }
    .page-register__value-item img,
    .page-register__hero-image img {
        max-width: 100%;
        height: auto; /* Ensure images scale down */
        min-height: 200px; /* Enforce min height for content images */
        object-fit: cover;
    }
    .page-register__step-item {
        padding-left: 50px;
    }
    .page-register__step-item::before {
        left: -20px;
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }
    .page-register__step-title {
        font-size: 1.5em;
    }
    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__cta-final-title {
        font-size: 2em;
    }
    .page-register__cta-button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    /* Ensure no horizontal scroll for content area */
    .page-register {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 1.8em;
    }
    .page-register__section-title {
        font-size: 1.5em;
    }
    .page-register__cta-final-title {
        font-size: 1.8em;
    }
}