/* style/register.css */
.page-register {
    color: #333333; /* Dark text for default 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-color: #0A2463; /* Primary color background */
    color: #ffffff; /* Light text on dark background */
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
}

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

.page-register__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Auxiliary color for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-register__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-register__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-register__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
}

.page-register__button--primary {
    background-color: #FFD700; /* Auxiliary color */
    color: #0A2463; /* Primary color text */
}

.page-register__button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-register__button--secondary {
    background-color: transparent;
    color: #FFD700; /* Auxiliary color */
    border: 2px solid #FFD700;
}

.page-register__button--secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.page-register__button--center {
    margin-top: 30px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-register__section-title {
    font-size: 2.5em;
    color: #0A2463; /* Primary color */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

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

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

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

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

.page-register__value-icon {
    width: 200px; /* Min size 200px */
    height: 150px; /* Min size 200px */
    object-fit: contain;
    margin-bottom: 20px;
}

.page-register__value-heading {
    font-size: 1.5em;
    color: #0A2463; /* Primary color */
    margin-bottom: 15px;
}

.page-register__value-text {
    color: #666666;
}

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

.page-register__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-register__step-item {
    background-color: #f0f8ff;
    border-left: 5px solid #0A2463; /* Primary color accent */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-register__step-number {
    display: inline-block;
    background-color: #FFD700; /* Auxiliary color */
    color: #0A2463;
    font-size: 1.5em;
    font-weight: bold;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    text-align: center;
    margin-bottom: 15px;
}

.page-register__step-heading {
    font-size: 1.4em;
    color: #0A2463; /* Primary color */
    margin-bottom: 10px;
}

.page-register__step-text {
    color: #666666;
}

.page-register__conditions-section {
    padding: 80px 0;
    background-color: #0A2463; /* Primary color background */
    color: #ffffff; /* Light text on dark background */
}

.page-register__conditions-section .page-register__section-title {
    color: #FFD700; /* Auxiliary color */
}

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

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

.page-register__conditions-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.page-register__conditions-item::before {
    content: '✓';
    color: #FFD700; /* Auxiliary color */
    font-weight: bold;
    font-size: 1.2em;
    flex-shrink: 0;
}

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

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

.page-register__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-register__faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #ffffff;
    border: none;
    text-align: left;
    font-size: 1.2em;
    font-weight: bold;
    color: #0A2463; /* Primary color */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.page-register__faq-question.active {
    background-color: #e0e0e0;
}

.page-register__faq-icon {
    font-size: 1.5em;
    color: #FFD700; /* Auxiliary color */
    transition: transform 0.3s ease;
}

.page-register__faq-question.active .page-register__faq-icon {
    transform: rotate(45deg);
}

.page-register__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-register__faq-answer.active {
    max-height: 200px; /* Adjust as needed for content length */
    padding: 15px 25px 25px 25px;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-register__hero-title {
        font-size: 2.5em;
    }

    .page-register__hero-description {
        font-size: 1em;
    }

    .page-register__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-register__button {
        width: 100%;
        padding: 12px 20px;
    }

    .page-register__section-title {
        font-size: 2em;
    }

    .page-register__section-intro {
        font-size: 0.95em;
    }

    .page-register__value-grid {
        grid-template-columns: 1fr;
    }

    .page-register__steps-list {
        grid-template-columns: 1fr;
    }

    .page-register__value-icon, .page-register__hero-image {
        max-width: 100%;
        height: auto;
    }

    /* Ensure content images are responsive and not too small */
    .page-register img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce min-width */
        min- /* Enforce min-height */
    }

    /* Specific override for hero image if needed, ensuring it covers the area */
    .page-register__hero-image {
        min-width: unset; /* Allow hero image to scale fully */
        min-height: unset;
    }
}

@media (max-width: 480px) {
    .page-register__hero-section {
        min-height: 500px;
    }

    .page-register__hero-title {
        font-size: 2em;
    }

    .page-register__button {
        font-size: 1em;
    }

    .page-register__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-register__faq-answer {
        padding: 0 20px;
    }

    .page-register__faq-answer.active {
        padding: 10px 20px 20px 20px;
    }
}