.page-login__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px);
    padding-bottom: 60px;
}

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

.page-login__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.page-login__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

.page-login__hero-content {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.page-login__main-title {
    font-size: 3.2em;
    margin-bottom: 15px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-login__intro-text {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    line-height: 1.5;
}

.page-login__login-card {
    background: #ffffff;
    color: #333333;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 450px;
    width: 100%;
    box-sizing: border-box;
}

.page-login__card-title {
    font-size: 2em;
    margin-bottom: 25px;
    color: var(--primary-color);
}

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

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

.page-login__form-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box;
}

.page-login__form-input::placeholder {
    color: #aaa;
}

.page-login__form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.page-login__forgot-password,
.page-login__register-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95em;
}

.page-login__forgot-password:hover,
.page-login__register-link:hover {
    text-decoration: underline;
}

.page-login__btn-login {
    background: #C30808;
    color: #FFFF00;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.page-login__btn-login:hover {
    background-color: #a00606;
}

.page-login__no-account-text {
    margin-top: 25px;
    font-size: 0.95em;
    color: #555555;
}

.page-login__register-now {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-login__register-now:hover {
    text-decoration: underline;
}

.page-login__why-choose-section,
.page-login__how-to-login-section,
.page-login__security-section,
.page-login__faq-section,
.page-login__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-login__dark-bg {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.page-login__light-bg {
    background: var(--secondary-color);
    color: #333333;
}

.page-login__section-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-login__dark-bg .page-login__section-title {
    color: var(--secondary-color);
}

.page-login__light-bg .page-login__section-title {
    color: var(--primary-color);
}

.page-login__section-description {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.page-login__dark-bg .page-login__section-description {
    color: rgba(255, 255, 255, 0.8);
}

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

.page-login__feature-item,
.page-login__step-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-login__light-bg .page-login__feature-item,
.page-login__light-bg .page-login__step-item {
    background: #f9f9f9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-login__feature-item:hover,
.page-login__step-item:hover {
    transform: translateY(-5px);
}

.page-login__feature-title,
.page-login__step-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-login__light-bg .page-login__feature-title,
.page-login__light-bg .page-login__step-title {
    color: var(--primary-color);
}

.page-login__feature-text,
.page-login__step-text {
    font-size: 1em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.page-login__light-bg .page-login__feature-text,
.page-login__light-bg .page-login__step-text {
    color: #555555;
}

.page-login__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
    text-align: center;
    background: var(--secondary-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    line-height: 60px;
    margin: 0 auto 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-login__light-bg .page-login__step-number {
    color: var(--secondary-color);
    background: var(--primary-color);
}

.page-login__troubleshooting {
    margin-top: 60px;
    padding: 40px;
    background: #f0f0f0;
    border-radius: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.page-login__troubleshooting-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-login__troubleshooting-text {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 30px;
}

.page-login__btn-support {
    display: inline-block;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-login__btn-support:hover {
    background-color: #005f2c;
}

.page-login__security-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: left;
    gap: 40px;
}

.page-login__security-content {
    flex: 1;
    min-width: 300px;
}

.page-login__security-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

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

.page-login__security-item {
    margin-bottom: 25px;
    position: relative;
    padding-left: 40px;
}

.page-login__security-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #FFFF00;
    font-size: 1.5em;
    font-weight: bold;
}

.page-login__security-item-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.page-login__security-item-text {
    font-size: 1em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.page-login__faq-list {
    margin-top: 40px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-login__faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--primary-color);
    transition: background-color 0.3s ease;
}

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

.page-login__faq-question h3 {
    margin: 0;
    color: var(--primary-color);
}

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

.page-login__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
    line-height: 1.6;
}

.page-login__faq-item.active .page-login__faq-answer {
    max-height: 1000px !important; /* Sufficient height for content */
    padding: 15px 25px 25px;
}

.page-login__faq-item.active .page-login__faq-toggle {
    transform: rotate(45deg);
}

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

.page-login__btn-primary,
.page-login__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-login__btn-primary {
    background: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}

.page-login__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-login__btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-login__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005f2c;
    border-color: #005f2c;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-login__main-title {
        font-size: 2.8em;
    }

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

    .page-login__security-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-login__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
    }

    .page-login__main-title {
        font-size: 2.2em;
        margin-bottom: 10px;
    }

    .page-login__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-login__login-card {
        padding: 30px 20px;
    }

    .page-login__card-title {
        font-size: 1.8em;
    }

    .page-login__btn-login {
        font-size: 1.1em;
        padding: 12px 25px;
    }

    .page-login__why-choose-section,
    .page-login__how-to-login-section,
    .page-login__security-section,
    .page-login__faq-section,
    .page-login__cta-section {
        padding: 50px 0;
    }

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

    .page-login__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-login__features-grid,
    .page-login__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-login__feature-item,
    .page-login__step-item {
        padding: 25px;
    }

    .page-login__feature-title,
    .page-login__step-title {
        font-size: 1.3em;
    }

    .page-login__step-number {
        font-size: 2em;
        width: 50px;
        height: 50px;
        line-height: 50px;
        margin-bottom: 15px;
    }

    .page-login__troubleshooting {
        padding: 30px 20px;
    }

    .page-login__troubleshooting-title {
        font-size: 1.5em;
    }

    .page-login__btn-support {
        padding: 10px 20px;
        font-size: 1em;
    }

    .page-login__security-item {
        padding-left: 30px;
    }

    .page-login__security-item::before {
        font-size: 1.3em;
    }

    .page-login__security-item-title {
        font-size: 1.2em;
    }

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

    .page-login__faq-toggle {
        font-size: 1.5em;
    }

    .page-login__faq-answer {
        padding: 0 20px;
    }

    .page-login__faq-item.active .page-login__faq-answer {
        padding: 15px 20px 20px;
    }

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

    .page-login__btn-primary,
    .page-login__btn-secondary {
        font-size: 1em;
        padding: 12px 25px;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Ensure images, videos, and containers are responsive */
    .page-login img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-login__section,
    .page-login__card,
    .page-login__container,
    .page-login__cta-buttons,
    .page-login__video-section,
    .page-login__video-container,
    .page-login__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }
    .page-login__security-container {
      padding-left: 15px;
      padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-login__main-title {
        font-size: 1.8em;
    }

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

    .page-login__login-card {
        padding: 25px 15px;
    }

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