/* style/register.css */

/* Base styles for the register page */
.page-register {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-register__section-title {
    font-size: 2.5em;
    color: #ffffff; /* White text for titles on dark backgrounds */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

/* Hero Section */
.page-register__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    background-color: #0d0d0d; /* Slightly darker than body for contrast */
    overflow: hidden;
}

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

.page-register__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Make image subtle */
}

.page-register__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    color: #ffffff;
}

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

.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-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary,
.page-register__btn-submit,
.page-register__btn-tertiary {
    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;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

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

.page-register__btn-primary:hover {
    background-color: #e02020;
    border-color: #e02020;
}

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

.page-register__btn-secondary:hover {
    background-color: #C30808;
    color: #ffffff;
}

.page-register__btn-submit {
    background-color: #C30808; /* Custom color for register/login */
    color: #FFFF00; /* Custom font color for register/login */
    border: none;
    width: 100%;
    margin-top: 20px;
}

.page-register__btn-submit:hover {
    background-color: #e02020;
}

.page-register__btn-tertiary {
    background-color: #017439; /* Main brand color */
    color: #ffffff;
    border: 2px solid #017439;
    font-size: 1em;
    padding: 10px 20px;
    margin-top: 15px;
}

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

/* Form Section */
.page-register__form-section {
    padding: 80px 20px;
    background-color: #1a1a1a; /* Dark background */
    color: #ffffff; /* Light text */
}

.page-register__form-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.page-register__step-item {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-register__step-item:hover {
    transform: translateY(-5px);
}

.page-register__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #017439; /* Brand color */
    color: #ffffff;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 0 0 5px rgba(1, 116, 57, 0.3);
}

.page-register__step-title {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-register__step-text {
    color: #e0e0e0;
}

.page-register__registration-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.page-register__form-heading {
    font-size: 2em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-register__form-group {
    margin-bottom: 20px;
}

.page-register__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #ffffff;
}

.page-register__form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.page-register__form-input::placeholder {
    color: #aaaaaa;
}

.page-register__form-input:focus {
    border-color: #017439;
    background-color: rgba(255, 255, 255, 0.1);
    outline: none;
}

.page-register__form-checkbox {
    margin-top: 25px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.page-register__form-checkbox input[type="checkbox"] {
    margin-top: 4px; /* Align checkbox with text */
    min-width: 18px; /* Ensure checkbox is visible */
    min-height: 18px;
    accent-color: #017439; /* Custom checkbox color */
}

.page-register__checkbox-label {
    font-size: 0.95em;
    color: #e0e0e0;
}

.page-register__link {
    color: #C30808; /* Custom link color for terms/privacy */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-register__link:hover {
    text-decoration: underline;
    color: #e02020;
}

/* Benefits Section */
.page-register__benefits-section {
    padding: 80px 20px;
    background-color: #0d0d0d; /* Slightly darker than body for contrast */
    color: #ffffff;
}

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

.page-register__benefit-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-register__benefit-icon {
    width: 250px; /* Large image size */
    height: 180px; /* Large image size */
    object-fit: cover;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-register__card-title {
    font-size: 1.6em;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-register__card-text {
    color: #e0e0e0;
    font-size: 1em;
    flex-grow: 1; /* Ensure text takes up available space */
}

/* Promotions Section */
.page-register__promotions-section {
    padding: 80px 20px;
    background-color: #1a1a1a; /* Dark background */
    color: #ffffff;
}

.page-register__promotion-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.page-register__promo-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-register__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for promo images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-register__promo-title {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-register__promo-text {
    color: #e0e0e0;
    font-size: 0.95em;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-register__faq-section {
    padding: 80px 20px;
    background-color: #0d0d0d; /* Slightly darker than body for contrast */
    color: #ffffff;
}

.page-register__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-register__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}