.page-login {
    background-color: #FFFFFF; /* Custom background color */
    padding: 10px 0 40px; /* Small top padding, general bottom padding */
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.page-login__hero-section {
    display: flex;
    flex-direction: column; /* Image above text for desktop */
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
    padding: 0 15px;
}

.page-login__hero-image {
    width: 100%;
    height: auto;
    max-width: 1200px; /* Max width for hero image */
    aspect-ratio: 16/5; /* 1920:600 */
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    margin-bottom: 20px; /* Space between image and text */
}

.page-login__hero-content {
    max-width: 800px;
    margin-bottom: 30px; /* Space between hero content and next section */
}

.page-login__main-title {
    font-family: Arial, sans-serif;
    color: #017439;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
    font-size: clamp(1.8rem, 4.5vw, 2.8rem); /* Adjusted for larger desktop, smaller mobile */
}

.page-login__description {
    font-family: Arial, sans-serif;
    color: #333333;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-login__section-title {
    font-family: Arial, sans-serif;
    color: #017439;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-login__form-section {
    max-width: 500px;
    margin: 0 auto 60px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-login__form-group {
    margin-bottom: 20px;
}

.page-login__form-label {
    display: block;
    margin-bottom: 8px;
    color: #333333;
    font-weight: bold;
    font-size: 1rem;
}

.page-login__form-input {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    color: #333;
}

.page-login__submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #C30808; /* Custom login button color */
    color: #FFFF00; /* Custom login button font color */
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.page-login__submit-button:hover {
    background-color: #a70707;
}

.page-login__links {
    text-align: center;
    margin-top: 20px;
}

.page-login__link {
    color: #017439;
    text-decoration: none;
    font-size: 0.95rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.page-login__link:hover {
    color: #005f2e;
    text-decoration: underline;
}

.page-login__benefits-section {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 15px;
}

.page-login__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-login__benefit-card {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-login__benefit-card:hover {
    transform: translateY(-5px);
}

.page-login__benefit-icon {
    width: 100%;
    height: auto;
    max-width: 400px; /* Max width for benefit icons */
    aspect-ratio: 3/2; /* 600:400 */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-login__benefit-title {
    font-family: Arial, sans-serif;
    color: #017439;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-login__benefit-text {
    font-family: Arial, sans-serif;
    color: #555555;
    font-size: 1rem;
    line-height: 1.5;
}

.page-login__faq-section {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 0 15px;
}

.page-login__faq-list {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 20px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-login__faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.page-login__faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.page-login__faq-question {
    font-family: Arial, sans-serif;
    color: #017439;
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-weight: bold;
    cursor: pointer;
}

.page-login__faq-answer {
    font-family: Arial, sans-serif;
    color: #555555;
    font-size: 1rem;
    line-height: 1.6;
    padding-left: 15px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-login {
        padding: 10px 0 20px;
    }

    .page-login__hero-section {
        margin-bottom: 30px;
    }

    .page-login__main-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }

    .page-login__description {
        font-size: 1rem;
    }

    .page-login__section-title {
        font-size: clamp(1.3rem, 5vw, 2rem);
    }

    .page-login__form-section {
        margin-bottom: 40px;
        padding: 20px;
    }

    .page-login__benefits-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }

    .page-login__benefit-card {
        padding: 20px;
    }

    .page-login__faq-list {
        padding: 15px 20px;
    }

    .page-login__faq-question {
        font-size: 1.05rem;
    }

    .page-login__faq-answer {
        font-size: 0.95rem;
    }

    /* Ensure images are responsive and don't overflow */
    .page-login img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 549px) {
    .page-login__main-title {
        font-size: clamp(1.3rem, 7vw, 2.2rem);
    }
    .page-login__description {
        font-size: 0.95rem;
    }
    .page-login__section-title {
        font-size: clamp(1.2rem, 6vw, 1.8rem);
    }
    .page-login__link {
        display: block;
        margin: 10px 0;
    }
}