/* style/resources-mcw87-registration-process.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-resources-mcw87-registration-process {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Light text for dark body background */
    line-height: 1.6;
    background-color: #0a0a0a; /* Matches body background for consistency */
}

/* Container for main content areas */
.page-resources-mcw87-registration-process__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-resources-mcw87-registration-process__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background-color: #017439; /* Brand color as background */
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-resources-mcw87-registration-process__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-right: 40px;
    text-align: left;
}

.page-resources-mcw87-registration-process__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFF00; /* Register/Login font color */
}

.page-resources-mcw87-registration-process__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #ffffff;
}

.page-resources-mcw87-registration-process__hero-image-wrapper {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 50%;
    max-width: 700px;
}

.page-resources-mcw87-registration-process__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Section Titles */
.page-resources-mcw87-registration-process__section-title {
    font-size: 2.5em;
    color: #FFFF00; /* Use yellow for titles for contrast and brand */
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
}

.page-resources-mcw87-registration-process__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #f0f0f0;
}

/* Buttons */
.page-resources-mcw87-registration-process__btn-primary,
.page-resources-mcw87-registration-process__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1em;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-mcw87-registration-process__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
    margin-top: 20px;
}

.page-resources-mcw87-registration-process__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
    transform: translateY(-2px);
}

.page-resources-mcw87-registration-process__btn-secondary {
    background-color: transparent;
    color: #017439; /* Primary brand color for text */
    border: 2px solid #017439;
    margin-top: 20px;
}

.page-resources-mcw87-registration-process__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
    transform: translateY(-2px);
}

.page-resources-mcw87-registration-process__btn-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 300px; /* Limit width for centered buttons */
}

/* Inline Links */
.page-resources-mcw87-registration-process__inline-link {
    color: #FFFF00; /* Use yellow for inline links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-resources-mcw87-registration-process__inline-link:hover {
    color: #f0f0f0;
}

/* Why Register Section */
.page-resources-mcw87-registration-process__why-register-section {
    padding: 80px 0;
    background-color: #0d0d0d; /* Slightly lighter dark background */
}

.page-resources-mcw87-registration-process__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-resources-mcw87-registration-process__feature-item {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent dark card */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.page-resources-mcw87-registration-process__feature-icon {
    width: 100%;
    max-width: 150px; /* Ensure icons are not tiny */
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}

.page-resources-mcw87-registration-process__feature-title {
    font-size: 1.5em;
    color: #FFFF00; /* Yellow for feature titles */
    margin-bottom: 15px;
}

.page-resources-mcw87-registration-process__feature-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* Step-by-Step Section */
.page-resources-mcw87-registration-process__steps-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Another shade of dark */
}

.page-resources-mcw87-registration-process__step-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: center;
}

.page-resources-mcw87-registration-process__step-number {
    width: 60px;
    height: 60px;
    background-color: #017439; /* Primary brand color */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    margin: -70px auto 30px auto; /* Position above the card */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-mcw87-registration-process__step-title {
    font-size: 1.8em;
    color: #FFFF00; /* Yellow for step titles */
    margin-bottom: 20px;
}

.page-resources-mcw87-registration-process__step-description {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-resources-mcw87-registration-process__step-list {
    list-style-type: disc;
    text-align: left;
    max-width: 600px;
    margin: 0 auto 30px auto;
    padding-left: 20px;
    color: #f0f0f0;
}

.page-resources-mcw87-registration-process__step-list li {
    margin-bottom: 10px;
}

.page-resources-mcw87-registration-process__step-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Tips Section */
.page-resources-mcw87-registration-process__tips-section {
    padding: 80px 0;
    background-color: #0d0d0d;
}

.page-resources-mcw87-registration-process__tips-list {
    list-style-type: decimal;
    max-width: 900px;
    margin: 50px auto 0 auto;
    padding-left: 40px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-resources-mcw87-registration-process__tips-list li {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* FAQ Section */
.page-resources-mcw87-registration-process__faq-section {
    padding: 80px 0;
    background-color: #017439; /* Brand color as background */
    color: #ffffff; /* White text for brand color background */
}

.page-resources-mcw87-registration-process__faq-list {
    max-width: 900px;
    margin: 50px auto 0 auto;
}

.page-resources-mcw87-registration-process__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-mcw87-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);
    color: #FFFF00; /* Yellow for FAQ questions */
    transition: background-color 0.3s ease;
}

.page-resources-mcw87-registration-process__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

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

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

.page-resources-mcw87-registration-process__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(0, 0, 0, 0.3); /* Darker background for answer */
    color: #f0f0f0;
}

.page-resources-mcw87-registration-process__faq-item.active .page-resources-mcw87-registration-process__faq-answer {
    max-height: 1000px !important; /* Important for JS toggle */
    padding: 20px 25px;
}

.page-resources-mcw87-registration-process__faq-answer p {
    margin: 0;
    padding-bottom: 10px; /* Add padding to last paragraph */
}

/* Call to Action Section */
.page-resources-mcw87-registration-process__cta-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-resources-mcw87-registration-process__hero-section {
        flex-direction: column;
        padding-top: var(--header-offset, 120px);
        min-height: auto;
    }

    .page-resources-mcw87-registration-process__hero-content {
        margin-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }

    .page-resources-mcw87-registration-process__hero-image-wrapper {
        width: 80%;
        max-width: 600px;
    }

    .page-resources-mcw87-registration-process__hero-title {
        font-size: 2.8em;
    }

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

@media (max-width: 768px) {
    .page-resources-mcw87-registration-process__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Mobile image responsiveness */
    .page-resources-mcw87-registration-process img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-resources-mcw87-registration-process__hero-image-wrapper,
    .page-resources-mcw87-registration-process__feature-item,
    .page-resources-mcw87-registration-process__step-card,
    .page-resources-mcw87-registration-process__faq-item,
    .page-resources-mcw87-registration-process__cta-section,
    .page-resources-mcw87-registration-process__why-register-section,
    .page-resources-mcw87-registration-process__steps-section,
    .page-resources-mcw87-registration-process__tips-section,
    .page-resources-mcw87-registration-process__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-mcw87-registration-process__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-mcw87-registration-process__hero-title {
        font-size: 2em;
    }

    .page-resources-mcw87-registration-process__hero-description {
        font-size: 1em;
    }

    .page-resources-mcw87-registration-process__section-title {
        font-size: 1.8em;
    }

    .page-resources-mcw87-registration-process__section-intro {
        font-size: 0.95em;
    }

    .page-resources-mcw87-registration-process__btn-primary,
    .page-resources-mcw87-registration-process__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        margin-left: 0;
        margin-right: 0;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-mcw87-registration-process__btn-center {
        max-width: 100% !important;
        width: 100% !important;
    }

    .page-resources-mcw87-registration-process__feature-grid {
        grid-template-columns: 1fr;
    }

    .page-resources-mcw87-registration-process__step-number {
        margin: -60px auto 20px auto;
        width: 50px;
        height: 50px;
        font-size: 1.8em;
    }

    .page-resources-mcw87-registration-process__step-card {
        padding: 30px 15px;
    }

    .page-resources-mcw87-registration-process__step-title {
        font-size: 1.5em;
    }

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

    .page-resources-mcw87-registration-process__faq-answer {
        padding: 15px 20px;
    }
    .page-resources-mcw87-registration-process p,
    .page-resources-mcw87-registration-process li {
      font-size: 16px;
      line-height: 1.6;
    }
}