/* style/login.css */

/* Base styles for the page-login scope */
.page-login {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

/* Header offset for the first content section */
.page-login__hero-section {
    position: relative;
    width: 100%;
    min-height: 700px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    overflow: hidden;
    box-sizing: border-box;
}

.page-login__hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-login__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
    z-index: 2;
}

.page-login__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 3;
    width: 100%;
    box-sizing: border-box;
}

.page-login__login-card {
    background: rgba(1, 116, 57, 0.9); /* Brand color with transparency */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 450px;
    width: 100%;
    margin: 40px auto;
    box-sizing: border-box;
    color: #ffffff;
}

.page-login__main-title {
    font-size: 2.8em;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-login__intro-text {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

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

.page-login__form-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #017439;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
}

.page-login__form-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.page-login__form-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.page-login__btn-login {
    display: block;
    width: 100%;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
    background-color: #C30808;
    color: #FFFF00;
}

.page-login__btn-login:hover {
    background-color: #a00606;
    transform: translateY(-2px);
}

.page-login__forgot-password {
    color: #f0f0f0;
    font-size: 0.95em;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-login__forgot-password:hover {
    color: #FFFF00;
}

.page-login__register-prompt {
    margin-top: 25px;
    color: #f0f0f0;
    font-size: 1em;
}

.page-login__btn-register {
    font-weight: bold;
    text-decoration: none;
    margin-left: 5px;
    transition: color 0.3s ease;
    color: #FFFF00;
}

.page-login__btn-register:hover {
    color: #ffffff;
}

/* Video Section */
.page-login__video-section {
    background-color: #0a0a0a; /* Dark background */
    padding: 80px 20px;
    text-align: center;
    box-sizing: border-box;
}

.page-login__section-title {
    font-size: 2.5em;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.page-login__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}

.page-login__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.page-login__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Benefits Section */
.page-login__benefits-section {
    background-color: #ffffff; /* Light background */
    padding: 80px 20px;
    text-align: center;
    color: #333333; /* Dark text for light background */
    box-sizing: border-box;
}

.page-login__benefits-section .page-login__section-title,
.page-login__benefits-section .page-login__section-description {
    color: #333333; /* Ensure dark text on light background */
}

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

.page-login__benefit-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
}

.page-login__benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-login__benefit-title {
    font-size: 1.5em;
    color: #017439; /* Brand color for titles */
    margin-bottom: 15px;
}

.page-login__benefit-text {
    font-size: 1em;
    color: #555555;
}

.page-login__benefits-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    margin-top: 40px;
    display: block; /* Ensure no extra space below image */
}

/* CTA Section */
.page-login__cta-section {
    background-color: #017439; /* Brand color background */
    padding: 80px 20px;
    text-align: center;
    color: #ffffff;
    box-sizing: border-box;
}

.page-login__cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-login__cta-content {
    max-width: 800px;
    text-align: center;
}

.page-login__cta-section .page-login__section-title {
    color: #ffffff;
}

.page-login__cta-section .page-login__section-description {
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-login__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    width: 100%; /* Ensure container takes full width for wrapping */
}

.page-login__btn-download {
    display: inline-block;
    padding: 15px 30px;
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button responsiveness */
}

.page-login__btn-download:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.page-login__cta-image-wrapper {
    max-width: 800px;
    width: 100%;
    margin-top: 40px;
}

.page-login__cta-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: block;
}

/* FAQ Section */
.page-login__faq-section {
    background-color: #f9f9f9; /* Light background */
    padding: 80px 20px;
    color: #333333;
    box-sizing: border-box;
}

.page-login__faq-section .page-login__section-title {
    color: #333333;
    margin-bottom: 40px;
}

.page-login__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

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

.page-login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #ffffff;
    color: #333333;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

.page-login__faq-question h3 {
    margin: 0;
    font-size: 1.15em;
    color: #017439; /* Brand color for question titles */
}

.page-login__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #017439;
    transition: transform 0.3s ease;
}

.page-login__faq-item.active .page-login__faq-toggle {
    transform: rotate(45deg); /* Change to 'x' or rotate for '−' */
}

.page-login__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px; /* Adjust padding to match question */
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
}

.page-login__faq-item.active .page-login__faq-answer {
    max-height: 1000px !important; /* Sufficiently large for content */
    padding: 15px 20px 20px; /* Adjust padding when open */
}

.page-login__faq-answer p {
    margin: 0;
    padding-bottom: 10px; /* Space for multiple paragraphs */
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-login__main-title {
        font-size: 2.2em;
    }
    .page-login__section-title {
        font-size: 2em;
    }
    .page-login__login-card {
        padding: 30px;
    }
    .page-login__benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-login__hero-section {
        min-height: 600px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-login__login-card {
        margin: 20px auto;
        padding: 25px;
    }
    .page-login__main-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-login__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }
}