/* style/register.css */
.page-register {
    font-family: Arial, sans-serif;
    color: #333333; /* Dark text for default white body background */
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow-x: hidden; /* Prevent horizontal scroll on main content */
}

.page-register__hero-section {
    background-color: #0A2463; /* Dark blue background for hero */
    color: #ffffff; /* Light text for dark background */
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: relative;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-register__hero-content {
    max-width: 900px;
    z-index: 1; /* Ensure content is above image if layered */
    position: relative; /* Ensure content is positioned relative to hero section */
}

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

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

.page-register__hero-button,
.page-register__action-button {
    display: inline-block;
    background-color: #E5A000; /* Gold accent button */
    color: #0A2463; /* Dark blue text on gold button */
    padding: 15px 35px;
    border-radius: 8px;
    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__action-button:hover {
    background-color: #ffb800; /* Lighter gold on hover */
    transform: translateY(-3px);
}

.page-register__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.2; /* Subtly blend background image */
}

.page-register__hero-image img {
    min-width: 100%; /* Ensure image covers the area */
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-register__section-title {
    font-size: 2.5em;
    color: #0A2463; /* Dark blue for section titles */
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
    position: relative;
}

.page-register__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #E5A000; /* Gold accent line */
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-register__value-section,
.page-register__steps-section,
.page-register__conditions-section,
.page-register__faq-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

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

.page-register__value-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-register__value-item:hover {
    transform: translateY(-10px);
}

.page-register__value-item img {
    width: 100%;
    max-width: 400px; /* Ensure images are not too small */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
    object-fit: cover;
}

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

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

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

.page-register__step-item {
    background-color: #f9f9f9;
    border-left: 5px solid #E5A000;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    position: relative;
    padding-left: 80px;
}

.page-register__step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #0A2463;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
    font-weight: bold;
}

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

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

.page-register__conditions-content {
    background-color: #0A2463; /* Dark blue background */
    color: #ffffff; /* Light text */
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 30px;
}

.page-register__conditions-text {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.page-register__conditions-link {
    color: #E5A000; /* Gold accent for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-register__conditions-link:hover {
    color: #ffb800;
}

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

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

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #0A2463;
    cursor: pointer;
    position: relative;
}

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

.page-register__faq-toggle {
    font-size: 1.5em;
    color: #E5A000;
    transition: transform 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or just rotate for '-' */
}

.page-register__faq-answer {
    padding: 0 25px;
    font-size: 1.05em;
    color: #555555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-register__faq-item[open] .page-register__faq-answer {
    max-height: 200px; /* Adjust as needed for content */
    padding: 0 25px 20px;
}

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

/* Responsive design */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 2.8em;
    }
    .page-register__hero-description {
        font-size: 1.15em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
}

@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;
    }
    .page-register__hero-title {
        font-size: 2.2em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__hero-button,
    .page-register__action-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }
    .page-register__section-title {
        font-size: 1.8em;
        margin-top: 40px;
        margin-bottom: 30px;
    }
    .page-register__value-grid {
        grid-template-columns: 1fr;
    }
    .page-register__step-item {
        padding-left: 65px;
    }
    .page-register__step-item::before {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
        left: 15px;
    }
    .page-register__step-title {
        font-size: 1.4em;
    }
    .page-register__faq-question {
        font-size: 1.1em;
        padding: 18px 20px;
    }
    .page-register__faq-answer {
        padding: 0 20px 18px;
    }
    /* Ensure images in content sections are responsive and don't overflow */
    .page-register__value-item img,
    .page-register img { /* Generic rule for all images in content area */
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure minimum size is still enforced */
        min-height: 200px;
    }
}