/* style/register.css */

.page-register {
    color: #333333; /* Dark text for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

/* Hero Section */
.page-register__hero-section {
    background-color: #f8f8f8; /* Light background for hero */
    padding: 80px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-register__hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-register__main-title {
    font-size: 3em;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-register__intro-text {
    font-size: 1.2em;
    color: #555555;
    margin-bottom: 30px;
}

.page-register__register-button {
    display: inline-block;
    background-color: #FCBC45; /* Login button color for main CTA */
    color: #000000; /* Dark text for the button */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    min-width: 200px;
    text-align: center;
    border: none;
    cursor: pointer;
}

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

.page-register__hero-image-container {
    width: 100%;
    max-width: 1000px; /* Max width for hero image */
    margin-top: 40px;
}

.page-register__hero-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

/* General Section Styling */
.page-register__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 60px;
}

.page-register__section-description {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

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

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

.page-register__feature-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

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

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

.page-register__secondary-button {
    display: inline-block;
    background-color: #000000; /* Black button */
    color: #FFFFFF; /* White text */
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
    margin-top: 40px;
    border: none;
    cursor: pointer;
}

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

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

.page-register__steps-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-register__steps-list-container {
    flex: 1;
    min-width: 300px;
}

.page-register__steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-register__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

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

.page-register__step-title {
    font-size: 1.4em;
    color: #000000;
    margin-top: 0;
    margin-bottom: 5px;
}

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

.page-register__register-button--steps {
    margin-top: 30px;
}

.page-register__steps-image-container {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-register__steps-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

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

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

.page-register__condition-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-register__condition-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 10px;
}

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

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

.page-register__faq-image-container {
    text-align: center;
    margin-bottom: 40px;
}

.page-register__faq-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

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

.page-register__faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    overflow: hidden; /* For smooth transition */
}

.page-register__faq-question {
    display: block;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #000000;
    cursor: pointer;
    position: relative;
    user-select: none;
    transition: background-color 0.3s ease;
}

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

.page-register__faq-question::-webkit-details-marker {
    display: none;
}

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

.page-register__faq-item[open] .page-register__faq-toggle {
    transform: translateY(-50%) rotate(45deg); /* Change + to X or - */
}

.page-register__faq-answer {
    padding: 0 25px 20px 25px;
    color: #666666;
    font-size: 1em;
}

/* CTA Section */
.page-register__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #000000; /* Dark background for CTA */
    color: #ffffff;
}

.page-register__cta-section .page-register__section-title {
    color: #ffffff;
}

.page-register__cta-section .page-register__section-description {
    color: #f0f0f0;
}

.page-register__register-button--cta {
    margin-top: 40px;
    background-color: #FCBC45;
    color: #000000;
}

.page-register__register-button--cta:hover {
    background-color: #e0a53b;
}

.page-register__cta-image {
    max-width: 100%;
    height: auto;
    margin-top: 50px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-register__main-title {
        font-size: 2.5em;
    }
    .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 0;
    }

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

    .page-register__intro-text {
        font-size: 1em;
    }

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

    .page-register__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-register__features-grid,
    .page-register__conditions-grid {
        grid-template-columns: 1fr;
    }

    .page-register__steps-content {
        flex-direction: column;
    }

    .page-register__hero-image,
    .page-register__steps-image,
    .page-register__faq-image,
    .page-register__cta-image {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce min image size */
        min-height: 200px; /* Enforce min image size */
    }

    /* CRITICAL: Ensure content images are responsive on mobile */
    .page-register__hero-image-container img,
    .page-register__steps-image-container img,
    .page-register__faq-image-container img,
    .page-register__cta-section img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-register__main-title {
        font-size: 1.8em;
    }
    .page-register__section-title {
        font-size: 1.5em;
    }
    .page-register__register-button,
    .page-register__secondary-button {
        padding: 12px 20px;
        font-size: 1em;
        min-width: unset;
    }
    .page-register__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-register__faq-toggle {
        right: 20px;
    }
}