/* style/register.css */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f9f9f9;
    --bg-dark: #26A9E0; /* Using primary color for dark sections */
    --btn-login-color: #EA7C07; /* Custom color for login button */
}

/* Base styles for the register page content */
.page-register {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light background */
    background: var(--secondary-color); /* Default body background is white */
}

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

.page-register__section-title {
    font-size: 36px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-register__section-intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 18px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

/* HERO Section */
.page-register__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background: linear-gradient(135deg, var(--primary-color) 0%, #30baf2 100%); /* Gradient background */
    color: var(--text-light);
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-register__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-register__hero-image {
    width: 100%;
    height: auto; /* Ensure responsive scaling */
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
}

.page-register__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-register__hero-title {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color); /* White text on dark background */
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
}

.page-register__hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-register__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--btn-login-color); /* Use custom login color for CTA */
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 22px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    border: none;
    cursor: pointer;
}

.page-register__cta-button:hover {
    background: #FF9933; /* Slightly lighter orange on hover */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Benefits Section */
.page-register__benefits-section {
    padding: 80px 0;
    background: var(--bg-light); /* Light background */
}

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

.page-register__benefit-item {
    background: var(--secondary-color); /* White card background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 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;
}

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

.page-register__benefit-icon {
    width: 200px; /* Min size 200x200 */
    height: 150px; /* Min size 200x200 */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-register__benefit-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-register__benefit-text {
    font-size: 16px;
    color: #555555;
}

/* Process Section */
.page-register__process-section {
    padding: 80px 0;
    background: var(--bg-dark); /* Primary color background */
    color: var(--text-light); /* White text on dark background */
}

.page-register__process-section .page-register__section-title {
    color: var(--secondary-color); /* White title */
}

.page-register__process-section .page-register__section-intro {
    color: rgba(255, 255, 255, 0.9);
}

.page-register__process-steps {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-register__step-item {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    text-align: center;
    padding: 25px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1); /* Slightly transparent white background */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-register__step-number {
    width: 60px;
    height: 60px;
    background: var(--btn-login-color); /* Orange for numbers */
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__step-title {
    font-size: 26px;
    color: var(--secondary-color); /* White text */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-register__step-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.page-register__step-description a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-register__step-description a:hover {
    color: var(--btn-login-color);
}

.page-register__process-cta {
    text-align: center;
    margin-top: 60px;
}

.page-register__cta-button--dark {
    background: var(--btn-login-color);
    color: var(--text-light);
}

.page-register__cta-button--dark:hover {
    background: #FF9933;
}

/* Security Section */
.page-register__security-section {
    padding: 80px 0;
    background: var(--secondary-color); /* White background */
}

.page-register__security-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.page-register__security-text {
    flex: 1;
    min-width: 300px;
    color: var(--text-dark);
}

.page-register__security-text h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-register__security-text p {
    margin-bottom: 20px;
    font-size: 17px;
    color: #555555;
}

.page-register__security-text p a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-register__security-text p a:hover {
    color: #007bff; /* A slightly different blue for hover */
}

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

.page-register__security-image {
    width: 100%;
    height: auto;
    max-width: 600px; /* Example max width */
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}


/* FAQ Section */
.page-register__faq-section {
    padding: 80px 0;
}

.page-register__faq-section.page-register__dark-bg {
    background: var(--bg-dark);
    color: var(--text-light);
}

.page-register__faq-section.page-register__dark-bg .page-register__section-title {
    color: var(--secondary-color);
}

.page-register__faq-section.page-register__dark-bg .page-register__section-intro {
    color: rgba(255, 255, 255, 0.9);
}

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

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