/* style/register.css */

/* Base styles for page-register content */
.page-register {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is #121212 (dark), so text should be light */
    background-color: transparent; /* Main content background will be transparent to show body background */
}

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

.page-register__section-title {
    font-size: 2.5em;
    color: #ffffff; /* Light text for titles */
    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: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    background: linear-gradient(135deg, #017439, #005a2d); /* Brand color gradient */
    overflow: hidden;
    color: #ffffff;
    text-align: center;
}

.page-register__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

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

.page-register__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

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

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

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary,
.page-register__btn-submit {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-register__btn-primary,
.page-register__btn-submit {
    background-color: #C30808; /* Register button color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
    font-size: 1.2em;
}

.page-register__btn-primary:hover,
.page-register__btn-submit:hover {
    background-color: #e02f2f;
    border-color: #e02f2f;
}

.page-register__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-size: 1.1em;
}

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

/* Form Section */
.page-register__form-section {
    padding: 60px 20px;
    background-color: #1a1a1a; /* Dark background for form */
}

.page-register__registration-form {
    max-width: 600px;
    margin: 40px auto 20px auto;
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for card effect */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-register__form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #017439;
    border-radius: 5px;
    background-color: #2a2a2a;
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
}

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

.page-register__form-input:focus {
    outline: none;
    border-color: #C30808;
    box-shadow: 0 0 0 3px rgba(195, 8, 8, 0.3);
}

.page-register__terms-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.page-register__form-checkbox {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    accent-color: #017439; /* Checkbox color */
}

.page-register__terms-link {
    color: #017439;
    text-decoration: none;
    font-weight: bold;
}

.page-register__terms-link:hover {
    text-decoration: underline;
    color: #C30808;
}

.page-register__login-prompt {
    text-align: center;
    margin-top: 20px;
    color: #f0f0f0;
}

.page-register__login-link {
    color: #C30808; /* Login link color */
    text-decoration: none;
    font-weight: bold;
}

.page-register__login-link:hover {
    text-decoration: underline;
}

/* Benefits Section */
.page-register__benefits-section {
    padding: 60px 20px;
    background-color: #0d0d0d; /* Darker background */
}

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

.page-register__benefit-card {
    background-color: rgba(1, 116, 57, 0.1); /* Semi-transparent brand color */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
    border: 1px solid #017439;
}

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

.page-register__benefit-icon {
    width: 100%; /* Ensure images are large and responsive */
    max-width: 250px; /* Example max-width, adjust as needed */
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 5px;
    min-width: 200px; /* Min size requirement */
    min-height: 200px;
}

.page-register__benefit-title {
    font-size: 1.5em;
    color: #FFFF00; /* Yellow for titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-register__benefit-text {
    color: #f0f0f0;
}

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

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

.page-register__step-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: #017439;
    color: #ffffff;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

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

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

.page-register__cta-download {
    text-align: center;
    margin-top: 50px;
    background-color: rgba(195, 8, 8, 0.1); /* Semi-transparent red */
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #C30808;
}

.page-register__cta-download-text {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 20px;
}

/* Security Section */
.page-register__security-section {
    padding: 60px 20px;
    background-color: #0d0d0d;
}

.page-register__security-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-register__security-text {
    flex: 1;
    min-width: 300px;
    color: #ffffff;
}

.page-register__security-text .page-register__section-title,
.page-register__security-text .page-register__section-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-register__security-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-register__security-list-item {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23017439'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-register__security-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-register__security-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    min-width: 200px; /* Min size requirement */
    min-height: 200px;
}

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

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

.page-register__promotion-card {
    background-color: rgba(1, 116, 57, 0.1);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #ffffff;
    border: 1px solid #017439;
}

.page-register__promotion-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
    min-width: 200px; /* Min size requirement */
    min-height: 200px;
}

.page-register__promotion-title {
    font-size: 1.6em;
    color: #FFFF00;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-register__promotion-text {
    color: #f0f0f0;
    margin-bottom: 20px;
}

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

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

.page-register__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #017439; /* Brand color for question background */
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
    background-color: #005a2d;
}

.page-register__faq-title {
    margin: 0;
    color: #FFFF00; /* Yellow for FAQ titles */
    font-size: 1em; /* Adjust to fit parent font size */
}

.page-register__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-register__faq-item.active .page-register__faq-toggle {
    transform: rotate(45deg); /* Plus to Minus visual effect */
}

.page-register__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
    color: #f0f0f0;
}

.page-register__faq-item.active .page-register__faq-answer {
    max-height: 1000px !important; /* Sufficient height to show content */
    padding: 20px 25px;
}

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

/* Final CTA Section */
.page-register__cta-final {
    padding: 60px 20px;
    text-align: center;
    background-color: #017439; /* Brand color background */
    color: #ffffff;
}