:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg-color: #FFFFFF;
    --page-bg-color: #F4F7FB;
    --text-main-color: #1F2D3D;
    --custom-color-1776249996415: #000000; /* Black for main headings/text */
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
}

/* Scoped to .page-register */
.page-register {
    padding-top: 10px; /* Small top padding as per rules, body handles main offset */
    background-color: var(--page-bg-color);
    color: var(--text-main-color);
    font-family: Arial, sans-serif;
}

.page-register__container {
    max-width: 1200px; /* Aligned with boxed layout */
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-register__hero-section {
    background-color: var(--card-bg-color);
    margin-bottom: 40px;
    padding-bottom: 40px; /* Add padding below content */
    border-radius: 8px;
    overflow: hidden; /* Ensure image corners are rounded */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-register__hero-image-wrapper {
    position: relative;
    width: 100%;
    /* Aspect ratio for the image, e.g., 16:9 */
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.page-register__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
}

.page-register__hero-content {
    text-align: center;
    padding: 40px 20px 0;
    max-width: 800px;
    margin: 0 auto;
}

.page-register__hero-title {
    color: var(--custom-color-1776249996415);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
}

.page-register__hero-description {
    color: var(--text-main-color);
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.page-register__hero-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    background: var(--button-gradient);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(47, 107, 255, 0.3);
    min-width: 200px;
}

.page-register__hero-button:hover {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: translateY(-2px);
}

/* Registration Steps Section */
.page-register__steps-section {
    padding: 60px 0;
    background-color: #FFFFFF;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-register__steps-title {
    text-align: center;
    color: var(--custom-color-1776249996415);
    font-size: 2.5em;
    margin-bottom: 50px;
    font-weight: bold;
}

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

.page-register__step-card {
    background-color: var(--card-bg-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    padding-bottom: 20px;
    border: 1px solid var(--border-color);
}

.page-register__step-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-register__step-heading {
    color: var(--custom-color-1776249996415);
    font-size: 1.4em;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-register__step-description {
    color: var(--text-main-color);
    font-size: 1em;
    line-height: 1.5;
    padding: 0 15px;
}

/* Benefits Section */
.page-register__benefits-section {
    padding: 60px 0;
    background-color: var(--page-bg-color);
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-register__benefits-text {
    flex: 1;
    min-width: 300px;
}

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

.page-register__benefits-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

.page-register__benefits-title {
    color: var(--custom-color-1776249996415);
    font-size: 2.2em;
    margin-bottom: 30px;
    font-weight: bold;
}

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

.page-register__benefits-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.page-register__benefits-icon {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-right: 15px;
    flex-shrink: 0;
}

.page-register__benefits-description {
    color: var(--text-main-color);
    font-size: 1.05em;
    line-height: 1.6;
}

.page-register__benefits-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    background: var(--button-gradient);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(47, 107, 255, 0.3);
    min-width: 200px;
}

.page-register__benefits-button:hover {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: translateY(-2px);
}

/* FAQ Section */
.page-register__faq-section {
    padding: 60px 0;
    background-color: #FFFFFF;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-register__faq-title {
    text-align: center;
    color: var(--custom-color-1776249996415);
    font-size: 2.5em;
    margin-bottom: 50px;
    font-weight: bold;
}

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

.page-register__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-register__faq-question {
    color: var(--custom-color-1776249996415);
    font-size: 1.25em;
    font-weight: bold;
    margin-bottom: 10px;
}

.page-register__faq-answer {
    color: var(--text-main-color);
    font-size: 1em;
    line-height: 1.6;
}

/* Final Call to Action Section */
.page-register__cta-section {
    text-align: center;
    padding: 60px 0;
    background-color: var(--primary-color);
    color: #FFFFFF;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(47, 107, 255, 0.4);
}

.page-register__cta-title {
    color: #FFFFFF;
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-register__cta-description {
    font-size: 1.2em;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 40px;
}

.page-register__cta-button {
    display: inline-block;
    padding: 18px 35px;
    border-radius: 50px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, #4A8BFF 100%); /* Slightly different gradient for contrast */
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px;
}

.page-register__cta-button:hover {
    background: linear-gradient(180deg, #4A8BFF 0%, var(--secondary-color) 100%);
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-register__container {
        padding: 0 15px;
    }
    .page-register__hero-title {
        font-size: 2.5em;
    }
    .page-register__steps-title,
    .page-register__benefits-title,
    .page-register__faq-title,
    .page-register__cta-title {
        font-size: 2em;
    }
    .page-register__benefits-content {
        flex-direction: column;
    }
    .page-register__benefits-image-wrapper {
        order: -1; /* Image appears above text on smaller screens */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-register__hero-title {
        font-size: 2em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-register__steps-title,
    .page-register__benefits-title,
    .page-register__faq-title,
    .page-register__cta-title {
        font-size: 1.8em;
    }
    .page-register__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-register__benefits-item {
        margin-bottom: 10px;
    }
    .page-register__benefits-icon {
        font-size: 1.2em;
        margin-right: 10px;
    }
    .page-register__faq-question {
        font-size: 1.1em;
    }
    .page-register__cta-title {
        font-size: 2.2em;
    }
    .page-register__cta-description {
        font-size: 1.1em;
    }
    .page-register__cta-button {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    /* Mobile content image constraint */
    .page-register img {
        max-width: 100%;
        height: auto;
    }
    .page-register__steps-section .page-register__step-image,
    .page-register__benefits-section .page-register__benefits-image {
        min-width: 200px; /* Ensure minimum size is still met */
        min-height: 200px;
    }
    .page-register__steps-section .page-register__step-image,
    .page-register__benefits-section .page-register__benefits-image {
        width: 100%; /* Ensure they take full width in their container */
        height: auto;
        max-width: 100%; /* Important for preventing overflow */
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 1.8em;
    }
    .page-register__steps-title,
    .page-register__benefits-title,
    .page-register__faq-title,
    .page-register__cta-title {
        font-size: 1.6em;
    }
    .page-register__hero-button {
        min-width: unset; /* Allow button to shrink a bit more */
    }
    .page-register__benefits-button,
    .page-register__cta-button {
        min-width: unset;
        padding: 12px 20px;
        font-size: 1em;
    }
}

/* Ensure no filter is used on images */
.page-register img {
    filter: none !important;
}

/* Ensure content images are not smaller than 200px */
.page-register__steps-section .page-register__step-image,
.page-register__benefits-section .page-register__benefits-image {
    min-width: 200px;
    min-height: 200px;
    max-width: 100%;
    height: auto;
}