/* register.css */
.page-register {
    background-color: #140C0C;
    color: #FFF1E8;
    padding-bottom: 40px; /* Consistent bottom padding */
    padding-top: 10px; /* Small padding-top for the first section, relying on body padding-top for header offset */
}

.page-register__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 15px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-register__hero-image-container {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.page-register__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 16 / 9; /* Consistent aspect ratio for hero image */
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}

.page-register__hero-content {
    max-width: 800px;
    width: 100%;
}

.page-register__main-title {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem); /* Adjusted for better H1 size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #F3C54D; /* Gold accent for H1 */
    letter-spacing: 0.02em;
}

.page-register__description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-register__cta-button,
.page-register__secondary-cta-button,
.page-register__final-cta-button {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #140C0C; /* Dark text on bright button */
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-register__cta-button:hover,
.page-register__secondary-cta-button:hover,
.page-register__final-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 176, 74, 0.6);
}

.page-register__section-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
    color: #FFF1E8;
    position: relative;
}

.page-register__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #F3C54D;
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-register__steps-section,
.page-register__benefits-section,
.page-register__faq-section,
.page-register__cta-bottom-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
}

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

.page-register__step-card {
    background-color: #2A1212;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #6A1E1E;
}

.page-register__step-image {
    width: 100%;
    max-width: 400px; /* Ensure images don't stretch too wide in a card */
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}

.page-register__step-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #F3C54D;
}

.page-register__step-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #FFF1E8;
}

.page-register__secondary-cta-button {
    margin-top: 20px;
    display: block; /* Make it a block for centering */
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.page-register__benefits-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.page-register__benefit-item {
    background-color: #2A1212;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #6A1E1E;
}

.page-register__benefit-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #F3C54D;
}

.page-register__benefit-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #FFF1E8;
}

.page-register__faq-item {
    background-color: #2A1212;
    border: 1px solid #6A1E1E;
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-register__faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: #F3C54D;
    margin-bottom: 10px;
    cursor: pointer; /* Indicate it might be collapsible, though no JS here */
}

.page-register__faq-answer {
    font-size: 1rem;
    line-height: 1.6;
    color: #FFF1E8;
}

.page-register__cta-bottom-section {
    text-align: center;
    padding: 40px 15px;
    background-color: #2A1212;
    border-radius: 15px;
    max-width: 1000px;
    margin: 60px auto 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #7E0D0D;
}

.page-register__cta-bottom-section .page-register__description {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.page-register__final-cta-button {
    margin-bottom: 20px;
}

.page-register__login-link {
    display: block;
    font-size: 1rem;
    color: #FFB04A; /* Gold color for login link */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.page-register__login-link:hover {
    color: #F3C54D; /* Slightly lighter gold on hover */
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-register__hero-section {
        padding: 15px 10px 30px;
    }

    .page-register__main-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }

    .page-register__description {
        font-size: 0.95rem;
    }

    .page-register__cta-button,
    .page-register__secondary-cta-button,
    .page-register__final-cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .page-register__section-title {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .page-register__steps-section,
    .page-register__benefits-section,
    .page-register__faq-section,
    .page-register__cta-bottom-section {
        margin: 30px auto;
        padding: 0 10px;
    }

    .page-register__steps-grid,
    .page-register__benefits-list {
        grid-template-columns: 1fr; /* Single column for small screens */
        gap: 20px;
    }

    .page-register__step-card,
    .page-register__benefit-item,
    .page-register__faq-item {
        padding: 20px;
    }

    .page-register__step-title,
    .page-register__benefit-title,
    .page-register__faq-question {
        font-size: 1.2rem;
    }

    .page-register__step-text,
    .page-register__benefit-text,
    .page-register__faq-answer {
        font-size: 0.9rem;
    }

    /* Ensure all content images are responsive and not smaller than 200px */
    .page-register img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Still enforce min size for content images */
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-register__main-title {
        font-size: clamp(1.2rem, 7vw, 1.8rem);
    }
    .page-register__cta-bottom-section {
        padding: 30px 10px;
    }
}