/* style/register.css */
.page-register {
    color: #333333;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
}

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

.page-register__hero-section {
    background-color: #0A2463;
    color: #ffffff;
    padding: calc(var(--header-offset, 120px) + 60px) 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-register__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

.page-register__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-register__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #E0B14B;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-register__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-register__hero-button {
    display: inline-block;
    background-color: #E0B14B;
    color: #0A2463;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__hero-button:hover {
    background-color: #f5db9c; /* Lighter shade of auxiliary color */
    transform: translateY(-3px);
}

.page-register__section-title {
    font-size: 2.5em;
    color: #0A2463;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.page-register__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #E0B14B;
    border-radius: 2px;
}

.page-register__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    color: #555555;
}

.page-register__form-section {
    padding: 80px 0;
    background-color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.page-register__registration-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 10px;
    background-color: #fdfdfd;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

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

.page-register__form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #0A2463;
    font-size: 1.1em;
}

.page-register__form-input {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-register__form-input:focus {
    border-color: #E0B14B;
    box-shadow: 0 0 0 3px rgba(224, 177, 75, 0.3);
    outline: none;
}

.page-register__form-group--checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.page-register__form-checkbox {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    accent-color: #E0B14B;
}

.page-register__form-label--inline {
    margin-bottom: 0;
    font-weight: normal;
    color: #555555;
}

.page-register__link {
    color: #0A2463;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

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

.page-register__submit-button {
    width: 100%;
    padding: 15px;
    background-color: #0A2463;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-register__submit-button:hover {
    background-color: #1f4eb4; /* Darker shade of primary color */
    transform: translateY(-2px);
}

.page-register__login-prompt {
    text-align: center;
    margin-top: 30px;
    font-size: 1em;
    color: #555555;
}

.page-register__value-section {
    padding: 80px 0;
    background-color: #f2f2f2;
}

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

.page-register__feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-register__feature-icon {
    width: 200px; /* Minimum size requirement */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-register__feature-title {
    font-size: 1.5em;
    color: #0A2463;
    margin-bottom: 15px;
}

.page-register__feature-description {
    color: #666666;
    font-size: 0.95em;
}

.page-register__steps-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.page-register__registration-steps {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    margin-top: 50px;
}

.page-register__step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding: 40px;
    background-color: #fdfdfd;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.page-register__step-item::before {
    counter-increment: step-counter;
    content: "Step " counter(step-counter);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #E0B14B;
    color: #0A2463;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__step-title {
    font-size: 1.8em;
    color: #0A2463;
    margin-top: 20px;
    margin-bottom: 15px;
}

.page-register__step-description {
    color: #555555;
    font-size: 1em;
    max-width: 800px;
    margin-bottom: 25px;
}

.page-register__step-image {
    width: 600px; /* Minimum size requirement */
    height: auto;
    margin-top: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.page-register__step-button {
    display: inline-block;
    background-color: #0A2463;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.page-register__step-button:hover {
    background-color: #1f4eb4;
}

.page-register__conditions-section {
    padding: 80px 0;
    background-color: #f2f2f2;
}

.page-register__conditions-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
}

.page-register__condition-item {
    background-color: #ffffff;
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    font-size: 1.05em;
    color: #444444;
    border-left: 5px solid #E0B14B;
}

.page-register__condition-item strong {
    color: #0A2463;
}

.page-register__additional-info {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    color: #555555;
}

.page-register__faq-section {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.page-register__faq-item {
    background-color: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-register__faq-question {
    display: block;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #0A2463;
    position: relative;
    transition: background-color 0.3s ease;
}

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

.page-register__faq-toggle {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #E0B14B;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-toggle {
    transform: translateY(-50%) rotate(45deg);
}

.page-register__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #555555;
    line-height: 1.8;
}

.page-register__faq-answer p {
    margin-bottom: 15px;
}

.page-register__link--button {
    display: inline-block;
    background-color: #E0B14B;
    color: #0A2463;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-register__link--button:hover {
    background-color: #f5db9c;
    transform: translateY(-2px);
}

.page-register__cta-section {
    background-color: #0A2463;
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.page-register__cta-title {
    font-size: 2.8em;
    color: #E0B14B;
    margin-bottom: 25px;
}

.page-register__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #f0f0f0;
}

.page-register__cta-button {
    display: inline-block;
    background-color: #E0B14B;
    color: #0A2463;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.4em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-register__cta-button:hover {
    background-color: #f5db9c;
    transform: translateY(-4px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 2.8em;
    }
    .page-register__hero-description {
        font-size: 1.1em;
    }
    .page-register__section-title {
        font-size: 2.2em;
    }
    .page-register__step-image {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .page-register__hero-section {
        padding-top: calc(var(--header-offset, 120px) + 40px);
        padding-bottom: 40px;
    }
    .page-register__hero-title {
        font-size: 2.2em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__hero-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }

    .page-register__form-section {
        padding: 60px 0;
        margin-top: -40px;
    }
    .page-register__registration-form {
        padding: 25px;
    }
    .page-register__form-input {
        width: calc(100% - 20px);
        padding: 10px;
    }
    .page-register__submit-button {
        font-size: 1.1em;
    }

    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__section-intro {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-register__features-grid {
        grid-template-columns: 1fr;
    }
    .page-register__feature-icon {
        width: 100%;
        max-width: 250px;
    }

    .page-register__steps-section {
        padding: 60px 0;
    }
    .page-register__step-item {
        padding: 30px;
        margin-bottom: 40px;
    }
    .page-register__step-item::before {
        top: -15px;
        padding: 6px 15px;
        font-size: 1em;
    }
    .page-register__step-title {
        font-size: 1.5em;
    }
    .page-register__step-description {
        font-size: 0.9em;
    }
    .page-register__step-image {
        width: 100%;
        max-width: 400px;
    }
    .page-register__step-button {
        padding: 10px 20px;
        font-size: 0.95em;
    }

    .page-register__conditions-section {
        padding: 60px 0;
    }
    .page-register__condition-item {
        padding: 20px;
        font-size: 1em;
    }

    .page-register__faq-section {
        padding: 60px 0;
    }
    .page-register__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-register__faq-toggle {
        right: 20px;
        font-size: 1.3em;
    }
    .page-register__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95em;
    }

    .page-register__cta-section {
        padding: 60px 20px;
    }
    .page-register__cta-title {
        font-size: 2.2em;
    }
    .page-register__cta-description {
        font-size: 1em;
    }
    .page-register__cta-button {
        padding: 15px 30px;
        font-size: 1.2em;
    }
    /* Ensure all images within content area are responsive and not smaller than 200px */
    .page-register img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum width for content images */
        min-height: 200px; /* Enforce minimum height for content images */
        object-fit: cover;
    }
    .page-register__feature-icon, .page-register__step-image {
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 1.8em;
    }
    .page-register__hero-description {
        font-size: 0.9em;
    }
    .page-register__registration-form {
        padding: 20px;
    }
    .page-register__form-label {
        font-size: 1em;
    }
    .page-register__form-input {
        font-size: 0.9em;
    }
    .page-register__section-title {
        font-size: 1.6em;
    }
    .page-register__step-title {
        font-size: 1.3em;
    }
    .page-register__cta-title {
        font-size: 1.8em;
    }
    .page-register__cta-button {
        font-size: 1.1em;
        padding: 12px 25px;
    }
}