/* style/register.css */

.page-register {
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

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

.page-register__hero-section {
    background: linear-gradient(135deg, #007bff, #0056b3); /* Blue gradient background */
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
    padding-bottom: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-register__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    color: #ffc107; /* Accent gold for title */
}

.page-register__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-register__hero-button {
    display: inline-block;
    background-color: #ffc107; /* Accent gold button */
    color: #000000; /* Dark text for gold button */
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-register__hero-button:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
}

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

.page-register__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-register__section-title {
    font-size: 2.5em;
    color: #007bff; /* Primary blue for section titles */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

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

.page-register__value-section,
.page-register__steps-section,
.page-register__conditions-section,
.page-register__faq-section,
.page-register__cta-bottom-section {
    padding: 60px 0;
    background-color: #f8f9fa; /* Light grey background for sections */
    border-bottom: 1px solid #e9ecef;
}

.page-register__value-section {
    background-color: #ffffff;
}

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

.page-register__value-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-register__value-image {
    width: 100%;
    max-width: 400px; /* Ensure images are not too small */
    height: auto;
    min-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
}

.page-register__card-title {
    font-size: 1.8em;
    color: #007bff;
    margin-bottom: 15px;
}

.page-register__card-text {
    font-size: 1em;
    color: #666666;
}

.page-register__steps-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.page-register__step-item {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    position: relative;
    gap: 30px;
}

.page-register__step-number {
    counter-increment: step-counter;
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    background-color: #007bff;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-register__step-content {
    flex-grow: 1;
}

.page-register__step-title {
    font-size: 2em;
    color: #007bff;
    margin-bottom: 10px;
}

.page-register__step-text {
    font-size: 1.1em;
    color: #555555;
}

.page-register__step-image {
    width: 100%;
    max-width: 400px; /* Max width for image in step */
    height: auto;
    min-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-register__cta-wrapper {
    text-align: center;
    margin-top: 60px;
}

.page-register__primary-button {
    display: inline-block;
    background-color: #007bff; /* Primary blue button */
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-register__primary-button:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

.page-register__conditions-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
}

.page-register__condition-item {
    background-color: #ffffff;
    border-left: 5px solid #ffc107; /* Accent border */
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    color: #444444;
}

.page-register__condition-item strong {
    color: #007bff;
}

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

.page-register__section-conclusion a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.page-register__section-conclusion a:hover {
    text-decoration: underline;
}

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

.page-register__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

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

.page-register__faq-toggle {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #ffc107; /* Accent color for toggle */
    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 25px;
    font-size: 1.1em;
    color: #555555;
}

.page-register__faq-answer p {
    margin-top: 0;
    margin-bottom: 10px;
}

.page-register__cta-bottom-section {
    text-align: center;
    padding-bottom: 80px;
    background-color: #007bff; /* Primary blue background */
    color: #ffffff;
}

.page-register__cta-bottom-section .page-register__section-title {
    color: #ffc107; /* Accent gold for title */
}

.page-register__cta-bottom-section .page-register__section-intro {
    color: #e0e0e0;
}

.page-register__login-prompt {
    margin-top: 30px;
    font-size: 1.1em;
    color: #e0e0e0;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 2.8em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
    .page-register__step-title {
        font-size: 1.8em;
    }
    .page-register__step-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .page-register__step-image {
        max-width: 100%;
    }
    .page-register__step-number {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .page-register__hero-section {
        padding-top: var(--header-offset, 120px); /* Account for fixed header */
        padding-bottom: 60px;
    }
    .page-register__hero-title {
        font-size: 2.2em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__hero-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__section-intro {
        font-size: 0.9em;
        margin-bottom: 30px;
    }
    .page-register__value-section,
    .page-register__steps-section,
    .page-register__conditions-section,
    .page-register__faq-section,
    .page-register__cta-bottom-section {
        padding: 40px 0;
    }
    .page-register__value-card,
    .page-register__step-item {
        padding: 20px;
    }
    .page-register__card-title {
        font-size: 1.5em;
    }
    .page-register__step-number {
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
        font-size: 1.8em;
    }
    .page-register__step-title {
        font-size: 1.5em;
    }
    .page-register__step-text {
        font-size: 0.95em;
    }
    .page-register__primary-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-register__condition-item {
        font-size: 1em;
    }
    .page-register__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-register__faq-toggle {
        right: 20px;
    }
    .page-register__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 1em;
    }
    /* Mobile image constraint */
    .page-register img {
        max-width: 100%;
        height: auto;
    }
    .page-register__hero-image {
        max-width: 100%;
        height: auto;
    }
    .page-register__value-image {
        max-width: 100%;
        height: auto;
    }
    .page-register__step-image {
        max-width: 100%;
        height: auto;
    }
    .page-register__container {
        padding: 0 15px;
    }
    .page-register__hero-content {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 1.8em;
    }
    .page-register__section-title {
        font-size: 1.6em;
    }
    .page-register__hero-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-register__card-title {
        font-size: 1.3em;
    }
    .page-register__step-title {
        font-size: 1.3em;
    }
}