.page-login {
    color: #333333; /* Dark text for light body background */
}

.page-login__hero-section {
    position: relative;
    width: 100%;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    padding-bottom: 60px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #1E90FF; /* Auxiliary blue background for the section */
}

.page-login__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.6); /* Slightly darken image to ensure text readability */
    z-index: 1;
}

.page-login__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    color: #ffffff; /* White text on darkened image/blue background */
}

.page-login__main-title {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-login__hero-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #1E90FF; /* Blue text on gold */
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-login__hero-button:hover {
    background-color: #e6c200;
    color: #1565b3;
}

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

.page-login__section-title {
    font-size: 2.5em;
    color: #1E90FF; /* Blue for section titles */
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-login__entry-section, .page-login__process-section, .page-login__security-section, .page-login__faq-section, .page-login__support-cta {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-login__entry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.page-login__entry-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    min-height: 500px; /* Ensure cards have sufficient height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.page-login__entry-card:hover {
    transform: translateY(-10px);
}

.page-login__entry-image {
    width: 100%; /* Ensure image fills card width */
    max-width: 400px; /* Max width for images in cards */
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 25px;
    min-height: 200px; /* Minimum height for card images */
}

.page-login__card-title {
    font-size: 1.8em;
    color: #FFD700; /* Gold for card titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-login__card-text {
    font-size: 1.1em;
    line-height: 1.7;
    color: #555555;
    text-align: left;
}

.page-login__process-intro {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 50px;
    color: #666666;
}

.page-login__process-list {
    list-style: none;
    counter-reset: process-counter;
    padding: 0;
}

.page-login__process-item {
    background-color: #e0f2f7; /* Light blue background for process steps */
    border-left: 5px solid #1E90FF; /* Blue border */
    margin-bottom: 30px;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding-left: 80px; /* Space for counter */
}

.page-login__process-item::before {
    counter-increment: process-counter;
    content: counter(process-counter);
    position: absolute;
    left: 20px;
    top: 25px;
    background-color: #FFD700; /* Gold counter */
    color: #1E90FF; /* Blue text */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.4em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-login__process-step-title {
    font-size: 1.6em;
    color: #1E90FF; /* Blue for step titles */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-login__process-description {
    font-size: 1.1em;
    line-height: 1.7;
    color: #555555;
}

.page-login__button-wrapper {
    text-align: center;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-login__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #1E90FF; /* Blue text */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-login__cta-button:hover {
    background-color: #e6c200;
    color: #1565b3;
}

.page-login__cta-button--secondary {
    background-color: #1E90FF; /* Blue button */
    color: #FFD700; /* Gold text */
}

.page-login__cta-button--secondary:hover {
    background-color: #1565b3;
    color: #e6c200;
}

.page-login__security-intro {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 50px;
    color: #666666;
}

.page-login__security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.page-login__security-item {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    min-height: 450px; /* Ensure consistent card height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.page-login__security-item:hover {
    transform: translateY(-10px);
}

.page-login__security-image {
    width: 100%;
    max-width: 400px; /* Max width for images in cards */
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 25px;
    min-height: 200px; /* Minimum height for card images */
}

.page-login__security-heading {
    font-size: 1.8em;
    color: #1E90FF; /* Blue for security headings */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-login__security-text {
    font-size: 1.1em;
    line-height: 1.7;
    color: #555555;
    text-align: left;
}

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

.page-login__faq-item {
    background-color: #f0f8ff; /* Very light blue for FAQ items */
    border: 1px solid #cceeff;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-login__faq-question {
    display: block;
    padding: 20px 25px;
    font-size: 1.3em;
    font-weight: bold;
    color: #1E90FF; /* Blue for FAQ questions */
    cursor: pointer;
    position: relative;
    user-select: none;
    background-color: #e6f7ff; /* Slightly darker light blue for summary */
    transition: background-color 0.3s ease;
}

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

.page-login__faq-toggle {
    position: absolute;
    right: 25px;
    font-size: 1.5em;
    line-height: 1;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: #FFD700; /* Gold for toggle icon */
}

.page-login__faq-item[open] .page-login__faq-toggle {
    transform: translateY(-50%) rotate(45deg);
}

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

.page-login__support-cta {
    text-align: center;
    padding: 80px 0;
    background-color: #1E90FF; /* Blue background for CTA */
    color: #ffffff;
}

.page-login__support-cta .page-login__section-title {
    color: #FFD700; /* Gold for CTA title */
}

.page-login__support-text {
    font-size: 1.3em;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-login__support-cta .page-login__cta-button {
    background-color: #FFD700; /* Gold button */
    color: #1E90FF; /* Blue text */
}

.page-login__support-cta .page-login__cta-button:hover {
    background-color: #e6c200;
    color: #1565b3;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-login__main-title {
        font-size: 2.5em;
    }

    .page-login__hero-description {
        font-size: 1.1em;
    }

    .page-login__section-title {
        font-size: 2em;
    }

    .page-login__entry-grid {
        grid-template-columns: 1fr;
    }

    .page-login__entry-card, .page-login__security-item {
        min-height: auto;
    }

    .page-login__security-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-login__hero-section {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
        padding-bottom: 40px;
    }

    .page-login__hero-content {
        padding: 15px;
    }

    .page-login__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-login__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-login__hero-button {
        padding: 12px 30px;
        font-size: 1em;
    }

    .page-login__section-title {
        font-size: 1.8em;
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .page-login__entry-section, .page-login__process-section, .page-login__security-section, .page-login__faq-section, .page-login__support-cta {
        padding: 40px 0;
    }

    .page-login__entry-card, .page-login__security-item {
        padding: 20px;
    }

    .page-login__card-title, .page-login__security-heading {
        font-size: 1.5em;
    }

    .page-login__card-text, .page-login__security-text, .page-login__process-description, .page-login__process-intro {
        font-size: 0.95em;
    }

    .page-login__process-item {
        padding: 25px 20px 25px 70px;
        margin-bottom: 20px;
    }

    .page-login__process-item::before {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
        left: 15px;
        top: 20px;
    }

    .page-login__process-step-title {
        font-size: 1.4em;
    }

    .page-login__button-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .page-login__cta-button {
        width: 100%;
        max-width: 300px; /* Constrain button width */
    }

    .page-login__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-login__faq-toggle {
        right: 20px;
        font-size: 1.3em;
    }

    .page-login__faq-answer {
        font-size: 1em;
        padding: 0 20px 15px 20px;
    }

    .page-login__support-text {
        font-size: 1.1em;
    }

    /* Ensure content images do not overflow */
    .page-login img {
        max-width: 100%;
        height: auto;
    }
}