/* style/login.css */
.page-login {
    padding-top: var(--header-offset, 120px); /* Apply header offset to the main content area */
    background-color: #f5f5f5; /* Light background for the page content */
    color: #333333; /* Dark text for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-login__hero-section {
    position: relative;
    padding: 80px 20px; /* Adjusted padding, header offset handled by .page-login */
    text-align: center;
    overflow: hidden; /* Ensure hero content doesn't overflow */
    background-color: #2C3E50; /* Dark background for hero for contrast */
    color: #ffffff;
}

.page-login__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

.page-login__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.page-login__intro-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-login__cta-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-login__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    text-align: center;
    min-width: 180px;
}

.page-login__button--primary {
    background-color: #FFD700; /* Gold button */
    color: #2C3E50; /* Dark blue text */
    border: 2px solid #FFD700;
}

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

.page-login__button--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-login__button--secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.page-login__button--accent {
    background-color: #E74C3C; /* Red accent button */
    color: #ffffff;
    border: 2px solid #E74C3C;
}

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

.page-login__content-section {
    padding: 60px 20px;
    background-color: #ffffff; /* White background for content sections */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-top: 40px;
    border-radius: 10px;
}

.page-login__container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-login__section-title {
    font-size: 2em;
    color: #2C3E50; /* Dark blue for section titles */
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.page-login__section-text {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 20px;
    text-align: justify;
}

.page-login__ordered-list,
.page-login__unordered-list {
    list-style-position: inside;
    margin-left: 20px;
    margin-bottom: 30px;
    color: #555555;
}

.page-login__list-item {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-login__list-item strong {
    color: #2C3E50;
}

.page-login__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

/* FAQ Section */
.page-login__faq-section {
    margin-top: 30px;
}

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

.page-login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: #2C3E50;
    cursor: pointer;
    background-color: #ededed;
    transition: background-color 0.3s ease;
}

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

.page-login__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-login__faq-item[open] .page-login__faq-toggle {
    transform: rotate(45deg);
    color: #E74C3C;
}

.page-login__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1.05em;
    color: #555555;
    background-color: #ffffff;
}

.page-login__faq-answer p {
    margin: 0;
}

.page-login__cta-buttons--bottom {
    margin-top: 50px;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-login {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller mobile header */
    }

    .page-login__hero-section {
        padding: 60px 15px;
    }

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

    .page-login__intro-description {
        font-size: 1em;
    }

    .page-login__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-login__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-login__content-section {
        padding: 40px 15px;
        margin-top: 20px;
    }

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

    .page-login__section-text {
        font-size: 0.95em;
    }

    .page-login__list-item {
        font-size: 0.9em;
    }

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

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

    /* Ensure images are responsive and not too small */
    .page-login__hero-image,
    .page-login__image {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum size even on mobile */
        min-height: 200px; /* Enforce minimum size even on mobile */
    }
}