/* style/register.css */

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

/* Fixed Header Offset for main content */
.page-register__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply header offset */
    background-color: #000000; /* Main color for hero section background */
    color: #FFFFFF; /* Light text for dark background */
    text-align: center;
    position: relative;
    padding-bottom: 60px; /* Add some padding at the bottom of hero */
}

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

.page-register__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login button color for emphasis */
}

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

.page-register__register-button {
    display: inline-block;
    background-color: #FCBC45; /* Login button color for CTA */
    color: #000000; /* Dark text for bright button */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.page-register__register-button:hover {
    background-color: #e0a53b; /* Slightly darker on hover */
}

.page-register__hero-image {
    width: 100%;
    height: auto;
    max-width: 1200px; /* Constrain image width */
    margin-top: 40px;
    border-radius: 10px;
    display: block;
    object-fit: cover;
}

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

.page-register__section-title {
    font-size: 2.5em;
    color: #000000; /* Dark text for section titles */
    text-align: center;
    margin-bottom: 50px;
    margin-top: 60px;
}

/* Value Section */
.page-register__value-section {
    background-color: #FFFFFF; /* Light background */
    padding: 60px 0;
}

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

.page-register__value-item {
    background-color: #F8F8F8; /* Slightly off-white background for cards */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.page-register__value-image {
    width: 100%; /* Ensure image fills card width */
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-register__value-heading {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 15px;
}

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

.page-register__cta-bottom {
    text-align: center;
    margin-top: 40px;
}

.page-register__register-button--bottom {
    background-color: #000000; /* Darker button for bottom CTA */
    color: #FFFFFF;
}

.page-register__register-button--bottom:hover {
    background-color: #333333;
}

/* Steps Section */
.page-register__steps-section {
    background-color: #F0F0F0; /* Light grey background */
    padding: 60px 0;
}

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

.page-register__step-item {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.page-register__step-item:nth-child(even) {
    flex-direction: row-reverse; /* Alternate layout for even steps */
}

.page-register__step-number {
    font-size: 3em;
    font-weight: bold;
    color: #FCBC45;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid #FCBC45;
    border-radius: 50%;
}

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

.page-register__step-heading {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 10px;
}

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

.page-register__step-image {
    width: 40%; /* Adjust image width within step item */
    height: auto;
    max-height: 300px; /* Max height for step images */
    object-fit: cover;
    border-radius: 8px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

/* Conditions Section */
.page-register__conditions-section {
    background-color: #FFFFFF;
    padding: 60px 0;
}

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

.page-register__conditions-item {
    background-color: #F8F8F8;
    padding: 25px;
    border-left: 5px solid #FCBC45;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-register__conditions-heading {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 10px;
}

.page-register__conditions-text {
    font-size: 1em;
    color: #555555;
}

/* FAQ Section */
.page-register__faq-section {
    background-color: #F0F0F0;
    padding: 60px 0;
}

.page-register__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-register__faq-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden; /* Hide overflow for smooth expand/collapse */
}

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

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

.page-register__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-register__faq-question.active::after {
    content: '-';
    transform: rotate(0deg); /* No rotation needed for +/- */
}

.page-register__faq-answer {
    padding: 0 30px;
    max-height: 0; /* Initial hidden state */
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: #FFFFFF; /* Light background for answer */
    color: #333333; /* Dark text for answer */
}

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

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


/* Responsive Design */
@media (max-width: 992px) {
    .page-register__hero-title {
        font-size: 2.5em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
    .page-register__step-item {
        flex-direction: column;
        text-align: center;
    }
    .page-register__step-item:nth-child(even) {
        flex-direction: column; /* Reset alternation for smaller screens */
    }
    .page-register__step-image {
        width: 80%;
        max-height: 250px;
    }
}

@media (max-width: 768px) {
    /* Mobile content area image constraint */
    .page-register img {
        max-width: 100%;
        height: auto;
    }

    .page-register__hero-title {
        font-size: 2em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__register-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__value-grid {
        grid-template-columns: 1fr;
    }
    .page-register__step-item {
        gap: 20px;
        padding: 20px;
    }
    .page-register__step-number {
        font-size: 2.5em;
        width: 70px;
        height: 70px;
    }
    .page-register__step-heading {
        font-size: 1.5em;
    }
    .page-register__step-image {
        width: 100%;
        max-height: 200px;
    }
    .page-register__conditions-list {
        grid-template-columns: 1fr;
    }
    .page-register__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-register__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 1.8em;
    }
    .page-register__section-title {
        font-size: 1.5em;
    }
    .page-register__value-item,
    .page-register__step-item,
    .page-register__conditions-item {
        padding: 20px;
    }
    .page-register__faq-question {
        font-size: 1em;
    }
}