.page-login {
    color: #333333; /* Dark text for default light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-login__hero-section {
    background-color: #0A2463; /* Main brand color */
    padding-top: var(--header-offset, 120px);
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 600px; /* Ensure sufficient height for hero */
}

.page-login__hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px 20px;
}

.page-login__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #E3B505; /* Accent color for title */
    line-height: 1.2;
}

.page-login__hero-description {
    font-size: 1.4em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-login__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-login__hero-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.page-login__hero-button--login {
    background-color: #E3B505; /* Accent color */
    color: #0A2463;
    border: 2px solid #E3B505;
}

.page-login__hero-button--login:hover {
    background-color: #f0c74f;
    transform: translateY(-3px);
}

.page-login__hero-button--register {
    background-color: transparent;
    color: #E3B505;
    border: 2px solid #E3B505;
}

.page-login__hero-button--register:hover {
    background-color: #E3B505;
    color: #0A2463;
    transform: translateY(-3px);
}

.page-login__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Overlay with dark background */
    z-index: 1;
}

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

.page-login__section-title {
    font-size: 2.5em;
    color: #0A2463;
    text-align: center;
    margin-bottom: 20px;
}

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

.page-login__login-guide-section,
.page-login__security-section,
.page-login__faq-section,
.page-login__promo-cta-section {
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.page-login__login-guide-section {
    background-color: #f9f9f9;
}

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

.page-login__step-item {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.page-login__step-title {
    font-size: 1.5em;
    color: #0A2463;
    margin-bottom: 15px;
    position: relative;
    padding-left: 40px;
}

.page-login__step-title::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #E3B505;
    color: #0A2463;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1em;
    font-weight: bold;
}

.page-login__step-description {
    font-size: 1em;
    color: #666666;
}

.page-login__process-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-login__security-section {
    background-color: #0A2463;
    color: #ffffff;
}

.page-login__security-section .page-login__section-title {
    color: #E3B505;
}

.page-login__security-section .page-login__section-description {
    color: #f0f0f0;
}

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

.page-login__security-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-login__security-heading {
    font-size: 1.4em;
    color: #E3B505;
    margin-bottom: 10px;
}

.page-login__security-text {
    font-size: 1em;
    color: #f0f0f0;
}

.page-login__security-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-login__faq-section {
    background-color: #f9f9f9;
}

.page-login__faq-items {
    max-width: 900px;
    margin: 0 auto;
}

.page-login__faq-item {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

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

.page-login__faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #E3B505;
    transition: transform 0.3s ease;
}

.page-login__faq-item[open] .page-login__faq-question::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-login__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #555555;
    line-height: 1.7;
}

.page-login__faq-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-login__promo-cta-section {
    background-color: #E3B505;
    color: #0A2463;
    text-align: center;
    padding: 80px 20px;
}

.page-login__promo-cta-section .page-login__section-title {
    color: #0A2463;
}

.page-login__promo-cta-section .page-login__section-description {
    color: #333333;
    margin-bottom: 30px;
}

.page-login__call-to-action {
    margin-top: 30px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-login__hero-title {
        font-size: 2.8em;
    }
    .page-login__hero-description {
        font-size: 1.2em;
    }
    .page-login__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-login__hero-section {
        min-height: 500px;
        padding: 40px 15px;
    }
    .page-login__hero-title {
        font-size: 2.2em;
    }
    .page-login__hero-description {
        font-size: 1em;
    }
    .page-login__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-login__hero-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-login__container {
        padding: 30px 15px;
    }
    .page-login__section-title {
        font-size: 1.8em;
    }
    .page-login__login-steps {
        grid-template-columns: 1fr;
    }
    .page-login__security-list {
        grid-template-columns: 1fr;
    }
    /* Ensure content images do not overflow on mobile */
    .page-login__process-image,
    .page-login__security-image,
    .page-login__faq-image {
        max-width: 100%;
        height: auto;
    }
    /* Global content image rule for mobile */
    .page-login img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-login__hero-title {
        font-size: 1.8em;
    }
    .page-login__hero-description {
        font-size: 0.9em;
    }
    .page-login__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-login__faq-question::after {
        right: 20px;
    }
    .page-login__faq-answer {
        padding: 0 20px 15px 20px;
    }
}

/* Ensure all content area images are at least 200px and responsive */
.page-login__hero-image, 
.page-login__process-image, 
.page-login__security-image, 
.page-login__faq-image {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover; /* Ensures images fill their space without distortion */
}