.page-login {
    color: #333333; /* Dark text for light body background */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-login__hero-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    min-height: 500px;
    text-align: center;
}

.page-login__hero-container {
    position: relative;
    width: 100%;
    max-width: 1400px; /* Limit max width for content */
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-login__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.page-login__hero-content {
    position: relative;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
    padding: 40px;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
    color: #ffffff; /* Light text for dark overlay */
}

.page-login__hero-content h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FF6B00; /* Primary color for H1 */
    line-height: 1.2;
}

.page-login__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #f0f0f0;
}

.page-login__button {
    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.2s ease;
    margin: 0 10px;
    min-width: 200px; /* Ensure buttons are not too small */
    text-align: center;
    color: #ffffff; /* White text for all buttons */
}

.page-login__button--primary {
    background-color: #FF6B00; /* Primary color */
    border: 2px solid #FF6B00;
}

.page-login__button--primary:hover {
    background-color: #e65c00;
    transform: translateY(-2px);
}

.page-login__button--secondary {
    background-color: #00A86B; /* Secondary color */
    border: 2px solid #00A86B;
}

.page-login__button--secondary:hover {
    background-color: #008f5a;
    transform: translateY(-2px);
}

.page-login__content-section {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.page-login__content-section h2 {
    font-size: 2.5em;
    color: #FF6B00; /* Primary color for H2 */
    text-align: center;
    margin-bottom: 30px;
}

.page-login__content-section p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

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

.page-login__process-list li {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    text-align: left;
    min-height: 200px; /* Ensure minimum size for cards */
}

.page-login__process-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: #00A86B;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
    border: 3px solid #f4f4f4;
}

.page-login__process-list h3 {
    font-size: 1.3em;
    color: #333333;
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-login__process-list p {
    font-size: 0.95em;
    line-height: 1.6;
    color: #555555;
    text-align: left;
}

.page-login__image--process {
    display: block;
    margin: 40px auto 0;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    min-height: 200px;
}

.page-login__security-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-login__security-list li {
    background-color: #ffffff;
    border-left: 5px solid #FF6B00;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1.05em;
    line-height: 1.6;
}

.page-login__security-list strong {
    color: #FF6B00;
}

.page-login__faq-container {
    margin-top: 30px;
}

.page-login__faq-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.page-login__faq-question {
    background-color: #f9f9f9;
    color: #333333;
    padding: 15px 20px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1em;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
    background-color: #e0e0e0;
}

.page-login__faq-question h3 {
    margin: 0;
    font-size: 1.1em;
    color: inherit;
}

.page-login__faq-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease;
}

.page-login__faq-icon::before,
.page-login__faq-icon::after {
    content: '';
    position: absolute;
    background-color: #FF6B00;
    transition: transform 0.3s ease;
}

.page-login__faq-icon::before {
    width: 12px;
    height: 2px;
}

.page-login__faq-icon::after {
    width: 2px;
    height: 12px;
}

.page-login__faq-question.active .page-login__faq-icon::after {
    transform: rotate(90deg); /* Rotate to form a minus sign when active */
}

.page-login__faq-answer {
    padding: 0 20px;
    background-color: #ffffff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-login__faq-answer p {
    padding-bottom: 15px;
    margin: 0;
    line-height: 1.6;
    color: #555555;
}

.page-login__faq-question.active + .page-login__faq-answer {
    max-height: 200px; /* Adjust as needed for content */
    padding-top: 10px;
    padding-bottom: 15px;
}

.page-login__cta-section {
    background-color: #00A86B; /* Auxiliary color for CTA background */
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
    margin-top: 60px;
}

.page-login__cta-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 20px;
}

.page-login__cta-content h2 {
    color: #ffffff;
    font-size: 2.8em;
    margin-bottom: 20px;
}

.page-login__cta-content p {
    font-size: 1.2em;
    line-height: 1.7;
    margin-bottom: 40px;
}

.page-login__image--cta {
    display: block;
    margin: 40px auto 0;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-login__hero-content h1 {
        font-size: 2.8em;
    }
    .page-login__hero-description {
        font-size: 1.1em;
    }
    .page-login__button {
        padding: 12px 25px;
        font-size: 1em;
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .page-login__hero-section {
        min-height: 400px;
        padding: 40px 15px;
    }
    .page-login__hero-content {
        padding: 25px;
    }
    .page-login__hero-content h1 {
        font-size: 2.2em;
    }
    .page-login__hero-description {
        font-size: 1em;
    }
    .page-login__button {
        display: block;
        margin: 15px auto;
        width: 90%;
    }
    .page-login__content-section {
        margin: 40px auto;
        padding: 0 15px;
    }
    .page-login__content-section h2 {
        font-size: 1.8em;
    }
    .page-login__content-section p {
        font-size: 0.95em;
    }
    .page-login__process-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-login__process-list li {
        min-height: auto; /* Allow height to adjust on mobile */
    }
    .page-login__process-list li::before {
        top: -10px;
        left: 15px;
        width: 35px;
        height: 35px;
        font-size: 1.3em;
    }
    .page-login__security-list li {
        font-size: 1em;
    }
    .page-login__faq-question {
        font-size: 1em;
        padding: 12px 15px;
    }
    .page-login__faq-question h3 {
        font-size: 1em;
    }
    .page-login__faq-answer p {
        font-size: 0.9em;
    }
    .page-login__cta-content h2 {
        font-size: 2em;
    }
    .page-login__cta-content p {
        font-size: 1em;
    }

    /* Ensure content images do not overflow */
    .page-login img {
        max-width: 100%;
        height: auto;
        display: block; /* Ensure it behaves as a block element */
    }
}

@media (max-width: 480px) {
    .page-login__hero-content h1 {
        font-size: 1.8em;
    }
    .page-login__hero-content {
        padding: 20px;
    }
    .page-login__hero-description {
        font-size: 0.9em;
    }
    .page-login__button {
        font-size: 0.9em;
        padding: 10px 20px;
    }
    .page-login__content-section h2 {
        font-size: 1.5em;
    }
    .page-login__content-section p {
        font-size: 0.9em;
    }
    .page-login__process-list li {
        padding: 20px;
    }
    .page-login__process-list h3 {
        font-size: 1.2em;
    }
    .page-login__cta-content h2 {
        font-size: 1.8em;
    }
    .page-login__cta-content p {
        font-size: 0.9em;
    }
}