/* style/register.css */
.page-register {
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    background-color: #f5f5f5; /* Light background for the page */
    color: #333333; /* Dark text for readability on light background */
    font-family: 'Arial', sans-serif;
}

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

.page-register__hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 40px; /* Adjusted padding to accommodate the hero image below */
    background-color: #0A192F; /* Main brand color */
    color: #ffffff;
}

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

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

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

.page-register__hero-button,
.page-register__call-to-action-button,
.page-register__cta-bottom-button {
    display: inline-block;
    background-color: #FFD700; /* Accent color for buttons */
    color: #0A192F; /* Dark text on gold button */
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-register__hero-button:hover,
.page-register__call-to-action-button:hover,
.page-register__cta-bottom-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-register__hero-image {
    margin-top: 40px;
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

.page-register__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Ensure min-width for all images */
    min-height: 200px;
}

.page-register__value-section {
    background-color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.page-register__value-title,
.page-register__steps-title,
.page-register__conditions-title,
.page-register__faq-title,
.page-register__cta-bottom-title {
    font-size: 2.5em;
    color: #0A192F; /* Main brand color for headings */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-register__value-text,
.page-register__steps-description,
.page-register__conditions-description,
.page-register__cta-bottom-description {
    font-size: 1.1em;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 40px;
}

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

.page-register__feature-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    min-width: 200px;
    min-height: 200px;
}

.page-register__feature-item img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

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

.page-register__feature-description {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
}

.page-register__steps-section {
    padding: 60px 0;
    background-color: #f0f0f0;
    text-align: center;
}

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

.page-register__step-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-register__step-item:nth-child(even) {
    flex-direction: column-reverse; /* Alternate image and text */
}

.page-register__step-item h3 {
    font-size: 1.8em;
    color: #0A192F;
    margin-bottom: 15px;
    position: relative;
    /* No padding-left and ::before for step number, as that would be a small icon. Removed to adhere to image size rules. */
}

.page-register__step-item p {
    font-size: 1.1em;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 20px;
    max-width: 800px;
}

.page-register__step-item img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

.page-register__conditions-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-register__rules-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
}

.page-register__rule-item {
    background-color: #f9f9f9;
    border-left: 5px solid #FFD700;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1.1em;
    line-height: 1.6;
    color: #333333;
}

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

.page-register__conditions-footer {
    margin-top: 30px;
    font-size: 1em;
    color: #555555;
}

.page-register__conditions-footer a {
    color: #0A192F;
    text-decoration: none;
    font-weight: bold;
}

.page-register__conditions-footer a:hover {
    text-decoration: underline;
}

.page-register__faq-section {
    padding: 60px 0;
    background-color: #f0f0f0;
}

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

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

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

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

.page-register__faq-toggle {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    line-height: 1;
    color: #FFD700;
    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: 1.1em;
    line-height: 1.6;
    color: #555555;
}

.page-register__cta-bottom-section {
    background-color: #0A192F; /* Main brand color */
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.page-register__cta-bottom-content {
    max-width: 900px;
}

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

.page-register__cta-bottom-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 2.8em;
    }
    .page-register__value-title,
    .page-register__steps-title,
    .page-register__conditions-title,
    .page-register__faq-title,
    .page-register__cta-bottom-title {
        font-size: 2.2em;
    }
    .page-register__hero-description {
        font-size: 1.2em;
    }
    .page-register__feature-item,
    .page-register__step-item {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-register {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }
    .page-register__hero-section {
        padding: 60px 15px 30px;
    }
    .page-register__hero-title {
        font-size: 2.2em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__hero-button,
    .page-register__call-to-action-button,
    .page-register__cta-bottom-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-register__content-area {
        padding: 30px 15px;
    }
    .page-register__value-title,
    .page-register__steps-title,
    .page-register__conditions-title,
    .page-register__faq-title,
    .page-register__cta-bottom-title {
        font-size: 1.8em;
    }
    .page-register__value-text,
    .page-register__steps-description,
    .page-register__conditions-description,
    .page-register__cta-bottom-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-register__features {
        grid-template-columns: 1fr;
    }
    .page-register__feature-item {
        padding: 20px;
    }
    .page-register__feature-heading {
        font-size: 1.3em;
    }
    .page-register__step-item {
        padding: 30px 20px;
    }
    .page-register__step-item h3 {
        font-size: 1.5em;
        /* Removed specific padding-left and ::before for step number due to small icon rule */
    }
    .page-register__step-item p {
        font-size: 0.95em;
    }
    .page-register__rule-item {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-register__faq-question {
        font-size: 1.1em;
        padding: 18px 20px;
    }
    .page-register__faq-toggle {
        right: 20px;
    }
    .page-register__faq-answer {
        padding: 0 20px 15px;
        font-size: 1em;
    }
    /* Mobile image overflow prevention */
    .page-register img {
        max-width: 100%;
        height: auto;
    }
}