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

.page-register__hero-section {
    background: linear-gradient(135deg, #FFD700, #8B0000); /* Gold to Red gradient */
    color: #ffffff; /* White text on dark/gradient background */
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-register__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-register__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-register__hero-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto 0;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-register__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Primary gold */
    color: #8B0000; /* Auxiliary red for text */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.page-register__cta-button:hover {
    background-color: #e6c200; /* Darker gold on hover */
    transform: translateY(-2px);
}

.page-register__cta-button--secondary {
    background-color: #8B0000; /* Auxiliary red */
    color: #FFD700; /* Gold text */
    margin-top: 30px;
}

.page-register__cta-button--secondary:hover {
    background-color: #7a0000; /* Darker red on hover */
}

.page-register__cta-button--large {
    padding: 18px 40px;
    font-size: 1.3em;
    margin-top: 40px;
}

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

.page-register__section-title {
    font-size: 2.5em;
    color: #8B0000; /* Auxiliary red for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

/* Value Section */
.page-register__value-section {
    padding: 60px 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;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-register__value-icon {
    width: 250px; /* Minimum 200px, example for 400x300 source */
    height: 187px; /* Maintain aspect ratio */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-register__value-heading {
    font-size: 1.5em;
    color: #8B0000;
    margin-bottom: 10px;
}

.page-register__value-text {
    color: #666666;
    font-size: 0.95em;
}

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

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

.page-register__step-item {
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
}

.page-register__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #FFD700;
    color: #8B0000;
    border-radius: 50%;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-register__step-heading {
    font-size: 1.4em;
    color: #8B0000;
    margin-bottom: 15px;
}

.page-register__step-text {
    color: #666666;
    font-size: 0.9em;
}

.page-register__steps-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 50px auto 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Terms Section */
.page-register__terms-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-register__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-register__terms-item {
    background-color: #ffffff;
    border-left: 5px solid #FFD700;
    padding: 20px 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-register__terms-heading {
    font-size: 1.3em;
    color: #8B0000;
    margin-bottom: 10px;
}

.page-register__terms-text {
    color: #666666;
    font-size: 0.95em;
}

.page-register__link {
    display: block;
    text-align: center;
    margin-top: 30px;
    color: #8B0000;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-register__link:hover {
    color: #FFD700;
}

.page-register__link--download {
    color: #FFD700;
    background-color: #8B0000;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-register__link--download:hover {
    background-color: #6e0000;
    color: #ffd700;
}

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

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

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

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

.page-register__faq-question:hover {
    background-color: #e6c200; /* Darker gold on hover */
}

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

.page-register__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-register__faq-answer {
    padding: 0 25px;
    background-color: #fefefe;
    color: #555555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-register__faq-answer.open {
    max-height: 500px; /* Increased max-height to accommodate longer answers */
    padding: 20px 25px;
}

.page-register__faq-answer p {
    margin: 0;
    font-size: 0.95em;
}

.page-register__faq-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 50px auto 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Bottom CTA Section */
.page-register__cta-bottom-section {
    background-color: #8B0000; /* Auxiliary red background */
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.page-register__cta-bottom-section .page-register__section-title {
    color: #FFD700; /* Gold title on red background */
}

.page-register__cta-bottom-section .page-register__section-description {
    color: #f0f0f0;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 2.8em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
    .page-register__value-icon {
        width: 200px; /* Min size */
        height: 150px; /* Maintain aspect ratio for 400x300 example */
    }
}

@media (max-width: 768px) {
    .page-register__hero-section {
        padding: 60px 15px;
    }
    .page-register__hero-title {
        font-size: 2.2em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-register__cta-button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-register__content-container {
        padding: 30px 15px;
    }
    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__section-description {
        font-size: 0.95em;
    }
    .page-register__value-grid,
    .page-register__steps-list {
        grid-template-columns: 1fr;
    }
    .page-register__value-icon {
        width: 200px; /* Ensure minimum size */
        height: 150px; /* Maintain aspect ratio */
    }
    .page-register__steps-image,
    .page-register__faq-image,
    .page-register__hero-image {
        max-width: 100%;
        height: auto;
    }

    /* Ensure content area images are responsive and do not overflow */
    .page-register img {
        max-width: 100%;
        height: auto;
    }
}

@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__terms-item,
    .page-register__faq-item {
        padding: 20px;
    }
    .page-register__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-register__faq-answer.open {
        padding: 15px 20px;
    }
    .page-register__value-icon {
        width: 200px; /* Ensure minimum size */
        height: 150px; /* Maintain aspect ratio */
    }
}