/* style/register.css */

.page-register {
    color: #333333; /* Dark text for default light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-register__hero-section {
    background-color: #0A2342; /* Main brand color */
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

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

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

.page-register__register-button {
    display: inline-block;
    background-color: #E5B80B; /* Accent color for button */
    color: #0A2342;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-register__content-area {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-register__section-title {
    font-size: 2.5em;
    color: #0A2342;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

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

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

.page-register__benefit-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: transform 0.3s ease;
}

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

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

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

.page-register__content-image {
    display: block;
    width: 100%;
    max-width: 1000px; /* Example max-width, adjust as needed */
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-register__step-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 30px;
}

.page-register__step-item::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #E5B80B; /* Accent color */
    color: #0A2342;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-register__step-title {
    font-size: 1.6em;
    color: #0A2342;
    margin-bottom: 10px;
}

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

.page-register__action-button {
    display: block;
    width: fit-content;
    margin: 40px auto 20px auto;
    background-color: #0A2342;
    color: #ffffff;
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__action-button:hover {
    background-color: #1a3a5e;
    transform: translateY(-2px);
}

.page-register__rules-list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 30px;
}

.page-register__rule-item {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #444444;
}

.page-register__rule-item strong {
    color: #0A2342;
}

.page-register__text-link {
    color: #0A2342;
    text-decoration: underline;
    font-weight: bold;
}

.page-register__text-link:hover {
    color: #E5B80B;
}

.page-register__faq-list {
    margin-top: 30px;
}

.page-register__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-register__faq-item[open] {
    background-color: #E5B80B1A; /* Light tint of accent color */
    border-color: #E5B80B;
}

.page-register__faq-question {
    display: block;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #0A2342;
    cursor: pointer;
    position: relative;
    user-select: none;
}

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

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

.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__call-to-action {
    background-color: #0A2342;
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
    margin-top: 60px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-register__cta-button,
.page-register__cta-login-button {
    display: inline-block;
    background-color: #E5B80B;
    color: #0A2342;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 10px;
}

.page-register__cta-button:hover,
.page-register__cta-login-button:hover {
    background-color: #f5d15a;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 3em;
    }
    .page-register__hero-description {
        font-size: 1.2em;
    }
    .page-register__section-title {
        font-size: 2.2em;
    }
    .page-register__cta-title {
        font-size: 2.4em;
    }
}

@media (max-width: 768px) {
    .page-register {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
    }
    .page-register__hero-section {
        padding: 60px 15px;
    }
    .page-register__hero-title {
        font-size: 2.5em;
    }
    .page-register__hero-description {
        font-size: 1.1em;
    }
    .page-register__register-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }
    .page-register__content-area {
        padding: 15px;
        margin: 30px auto;
    }
    .page-register__section-title {
        font-size: 2em;
    }
    .page-register__section-description {
        font-size: 1em;
    }
    .page-register__benefits-grid {
        grid-template-columns: 1fr;
    }
    .page-register__step-item {
        padding-left: 60px;
    }
    .page-register__step-item::before {
        width: 45px;
        height: 45px;
        font-size: 1.5em;
    }
    .page-register__step-title {
        font-size: 1.4em;
    }
    .page-register__step-text {
        font-size: 0.95em;
    }
    .page-register__action-button {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-register__rule-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;
    }
    .page-register__call-to-action {
        padding: 40px 15px;
    }
    .page-register__cta-title {
        font-size: 2em;
    }
    .page-register__cta-description {
        font-size: 1.1em;
    }
    .page-register__cta-button,
    .page-register__cta-login-button {
        padding: 12px 25px;
        font-size: 1.1em;
        display: block;
        margin: 15px auto;
        width: 90%;
        max-width: 300px;
    }
    /* Mobile specific image sizing for content area to prevent overflow */
    .page-register__content-area img {
        max-width: 100%;
        height: auto;
    }
    .page-register__hero-section img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 2em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__cta-title {
        font-size: 1.8em;
    }
}