/* style/index-registration-process.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-btn-bg: #C30808;
    --login-btn-bg: #C30808;
    --register-login-font-color: #FFFFFF; /* Overridden to ensure WCAG AA contrast */
    --text-on-dark-bg: #FFFFFF;
    --text-on-light-bg: #333333;
    --light-bg: #FFFFFF;
    --dark-bg-section: #017439;
    --card-bg-dark-mode: rgba(255, 255, 255, 0.1);
    --border-color: #e0e0e0;
}

.page-index-registration-process {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-on-dark-bg); /* Default text color for the main content area, assuming dark body bg */
    background-color: transparent; /* Inherit from body or shared.css */
}

.page-index-registration-process__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-index-registration-process__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    padding-bottom: 60px;
    background-color: var(--primary-color); /* Using brand primary for hero background */
    color: var(--text-on-dark-bg);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-index-registration-process__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3; /* Slightly dim the image to ensure text readability */
}

.page-index-registration-process__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--text-on-dark-bg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-registration-process__description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--text-on-dark-bg);
}

.page-index-registration-process__cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-index-registration-process__btn-register,
.page-index-registration-process__btn-login {
    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.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-index-registration-process__btn-register {
    background-color: var(--register-btn-bg);
    color: var(--register-login-font-color); /* White text for contrast */
    border: 2px solid var(--register-btn-bg);
}

.page-index-registration-process__btn-register:hover {
    background-color: #e02a2a;
    transform: translateY(-3px);
}

.page-index-registration-process__btn-login {
    background-color: var(--login-btn-bg);
    color: var(--register-login-font-color); /* White text for contrast */
    border: 2px solid var(--login-btn-bg);
}

.page-index-registration-process__btn-login:hover {
    background-color: #e02a2a;
    transform: translateY(-3px);
}

.page-index-registration-process__section {
    padding: 80px 0;
}

.page-index-registration-process__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-on-dark-bg);
}

.page-index-registration-process__light-bg {
    background-color: var(--light-bg);
    color: var(--text-on-light-bg);
}

.page-index-registration-process__section-title {
    font-size: 2.5em;
    color: inherit;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-index-registration-process__paragraph {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: center;
    color: inherit;
}

.page-index-registration-process__features-grid,
.page-index-registration-process__steps-grid,
.page-index-registration-process__app-features {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.page-index-registration-process__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-index-registration-process__feature-item {
    background-color: var(--card-bg-dark-mode); /* Semi-transparent for dark bg, white for light bg */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: inherit;
    height: 100%;
    box-sizing: border-box;
}

.page-index-registration-process__light-bg .page-index-registration-process__feature-item {
    background-color: var(--secondary-color);
    color: var(--text-on-light-bg);
    border: 1px solid var(--border-color);
}

.page-index-registration-process__feature-item:hover {
    transform: translateY(-5px);
}

.page-index-registration-process__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
    filter: none; /* Ensure no CSS filter */
}

.page-index-registration-process__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color: inherit;
}

.page-index-registration-process__feature-description {
    font-size: 1em;
    color: inherit;
}

.page-index-registration-process__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-index-registration-process__step-item {
    background-color: var(--card-bg-dark-mode);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: inherit;
    height: 100%;
    box-sizing: border-box;
}

.page-index-registration-process__light-bg .page-index-registration-process__step-item {
    background-color: var(--secondary-color);
    color: var(--text-on-light-bg);
    border: 1px solid var(--border-color);
}

.page-index-registration-process__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: block;
}

.page-index-registration-process__dark-bg .page-index-registration-process__step-number {
    color: var(--secondary-color);
}

.page-index-registration-process__light-bg .page-index-registration-process__step-number {
    color: var(--primary-color);
}

.page-index-registration-process__step-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: bold;
    color: inherit;
}

.page-index-registration-process__step-description {
    font-size: 1em;
    color: inherit;
    margin-bottom: 20px;
}

.page-index-registration-process__step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    filter: none; /* Ensure no CSS filter */
}

.page-index-registration-process__cta-area {
    text-align: center;
    margin-top: 50px;
}

.page-index-registration-process__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-index-registration-process__btn-primary:hover {
    background-color: #005a2e;
    transform: translateY(-3px);
}

.page-index-registration-process__cta-area--center {
    display: flex;
    justify-content: center;
}

.page-index-registration-process__app-features {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-index-registration-process__app-feature-item {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: var(--text-on-light-bg);
    border: 1px solid var(--border-color);
    height: 100%;
    box-sizing: border-box;
}

.page-index-registration-process__app-feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
    filter: none; /* Ensure no CSS filter */
}

.page-index-registration-process__app-feature-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--primary-color);
}

/* FAQ Section */
.page-index-registration-process__faq-section {
    padding: 80px 0;
}

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

.page-index-registration-process__faq-item {
    background-color: var(--card-bg-dark-mode);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: var(--text-on-dark-bg);
}

.page-index-registration-process__light-bg .page-index-registration-process__faq-item {
    background-color: var(--secondary-color);
    color: var(--text-on-light-bg);
    border: 1px solid var(--border-color);
}

.page-index-registration-process__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-index-registration-process__light-bg .page-index-registration-process__faq-question {
    background-color: #f9f9f9;
    border-bottom: 1px solid var(--border-color);
}

.page-index-registration-process__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-index-registration-process__light-bg .page-index-registration-process__faq-question:hover {
    background-color: #efefef;
}

.page-index-registration-process__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-index-registration-process__faq-item.active .page-index-registration-process__faq-toggle {
    transform: rotate(45deg);
}

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

.page-index-registration-process__faq-item.active .page-index-registration-process__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 20px 25px;
}

.page-index-registration-process__faq-answer p {
    font-size: 1em;
    line-height: 1.6;
    color: inherit;
}

.page-index-registration-process__cta-final {
    text-align: center;
}

.page-index-registration-process__btn-primary--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-registration-process__main-title {
        font-size: 3em;
    }

    .page-index-registration-process__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-index-registration-process {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-index-registration-process__container {
        padding: 0 15px;
    }

    .page-index-registration-process__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
    }

    .page-index-registration-process__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-index-registration-process__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-index-registration-process__cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-index-registration-process__btn-register,
    .page-index-registration-process__btn-login,
    .page-index-registration-process__btn-primary,
    .page-index-registration-process__btn-primary--large {
        padding: 12px 20px !important;
        font-size: 1em !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-index-registration-process__section {
        padding: 50px 0;
    }

    .page-index-registration-process__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-index-registration-process__paragraph {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    .page-index-registration-process__features-grid,
    .page-index-registration-process__steps-grid,
    .page-index-registration-process__app-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-index-registration-process__feature-item,
    .page-index-registration-process__step-item,
    .page-index-registration-process__app-feature-item {
        padding: 20px;
    }

    .page-index-registration-process__feature-icon,
    .page-index-registration-process__app-feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .page-index-registration-process__feature-title,
    .page-index-registration-process__step-title,
    .page-index-registration-process__app-feature-title {
        font-size: 1.2em;
    }

    .page-index-registration-process__step-number {
        font-size: 2em;
    }

    .page-index-registration-process img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-index-registration-process__section,
    .page-index-registration-process__card,
    .page-index-registration-process__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-index-registration-process__faq-answer {
        padding: 0 20px;
    }

    .page-index-registration-process__faq-item.active .page-index-registration-process__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-index-registration-process__main-title {
        font-size: 1.8em;
    }

    .page-index-registration-process__section-title {
        font-size: 1.5em;
    }
}