.page-login {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.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: 2;
    color: #FFFFFF;
    padding: 20px;
    max-width: 900px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

.page-login__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    color: #FFFFFF;
}

.page-login__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #F0F0F0;
}

.page-login__hero-button, .page-login__register-button {
    display: inline-block;
    background-color: #FCBC45;
    color: #000000;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-login__hero-button:hover, .page-login__register-button:hover {
    background-color: #e0a53c;
    transform: translateY(-2px);
}

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

.page-login__section-title {
    font-size: 2.5em;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

.page-login__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FCBC45;
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-login__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

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

.page-login__process-item {
    background-color: #F8F8F8;
    border-left: 5px solid #FCBC45;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-login__process-step-title {
    font-size: 1.5em;
    color: #000000;
    margin-top: 0;
    margin-bottom: 10px;
}

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

.page-login__call-to-action {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background-color: #F0F0F0;
    border-radius: 10px;
}

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

.page-login__security-item {
    background-color: #F8F8F8;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-login__security-image {
    width: 100%; /* Ensures image fits within its container */
    height: auto;
    max-width: 400px; /* Ensure images are not too small */
    min-width: 200px;
    min-height: 200px;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
}

.page-login__security-subtitle {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
}

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

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

.page-login__faq-question {
    display: block;
    padding: 20px;
    font-size: 1.2em;
    color: #000000;
    cursor: pointer;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E0E0E0;
    position: relative;
    user-select: none;
    transition: background-color 0.3s ease;
}

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

.page-login__faq-question::-webkit-details-marker {
    display: none;
}

.page-login__faq-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    line-height: 1;
    color: #FCBC45;
    transition: transform 0.3s ease;
}

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

.page-login__faq-answer {
    padding: 20px;
    border-top: 1px solid #E0E0E0;
    background-color: #FDFDFD;
    color: #333333;
    font-size: 1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-login__main-title {
        font-size: 3em;
    }
    .page-login__hero-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-login {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }
    .page-login__hero-section {
        min-height: 300px;
    }
    .page-login__main-title {
        font-size: 2.2em;
        line-height: 1.2;
    }
    .page-login__hero-description {
        font-size: 1em;
    }
    .page-login__hero-content {
        padding: 15px;
    }
    .page-login__hero-button, .page-login__register-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-login__content-area {
        padding: 0 15px;
        margin: 30px auto;
    }
    .page-login__section-title {
        font-size: 2em;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-login__paragraph, .page-login__step-description, .page-login__faq-answer {
        font-size: 0.95em;
    }
    .page-login__process-item {
        padding: 15px;
    }
    .page-login__process-step-title {
        font-size: 1.3em;
    }
    .page-login__security-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-login__security-image {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
    .page-login__security-subtitle {
        font-size: 1.2em;
    }
    .page-login__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-login__faq-toggle {
        font-size: 1.3em;
        right: 15px;
    }

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

@media (max-width: 480px) {
    .page-login__main-title {
        font-size: 1.8em;
    }
    .page-login__hero-description {
        font-size: 0.9em;
    }
    .page-login__hero-button, .page-login__register-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-login__section-title {
        font-size: 1.8em;
    }
    .page-login__faq-question {
        font-size: 1em;
    }
}