.page-login-portal {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* White text for better contrast on dark backgrounds */
    background-color: #001a33; /* Darker shade of main color for overall background */
}

.page-login-portal__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-login-portal__hero {
    background: linear-gradient(135deg, #003366, #1a4d80); /* Deeper blue gradient */
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-login-portal__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,geometric,lines_pattern]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-login-portal__hero-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.page-login-portal__hero-subtitle {
    font-size: 1.3em;
    color: #e0e0e0; /* Lighter white for subtitle */
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.page-login-portal__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.page-login-portal__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.page-login-portal__btn--primary {
    background-color: #FFD700; /* Gold button */
    color: #003366; /* Deep blue text */
    border: 2px solid #FFD700;
}

.page-login-portal__btn--primary:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    border-color: #e6c200;
    transform: translateY(-2px);
}

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

.page-login-portal__btn--secondary:hover {
    background-color: #FFD700;
    color: #003366;
    transform: translateY(-2px);
}

.page-login-portal__section {
    padding: 60px 0;
    background-color: #002244; /* Slightly lighter blue for sections */
    margin-bottom: 20px;
}

.page-login-portal__section:nth-of-type(even) {
    background-color: #001a33; /* Alternating background for visual separation */
}

.page-login-portal__section-title {
    font-size: 2.2em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.page-login-portal__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 15px auto 0;
    border-radius: 2px;
}

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

.page-login-portal__card {
    background-color: #003366; /* Main blue for cards */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login-portal__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.page-login-portal__card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: brightness(1.2) drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-login-portal__card-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-login-portal__card-text {
    font-size: 1em;
    color: #c0c0c0;
    line-height: 1.6;
}

.page-login-portal__text-center {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    color: #e0e0e0;
}

.page-login-portal__link-inline {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-login-portal__link-inline:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-login-portal__guide-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.page-login-portal__guide-step {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: #003366;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-login-portal__guide-step:nth-child(even) {
    flex-direction: row-reverse;
    background-color: #002d5c;
}

.page-login-portal__guide-image {
    width: 150px;
    height: auto;
    border-radius: 8px;
    flex-shrink: 0;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-login-portal__guide-text-block h3 {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-login-portal__guide-text-block p {
    font-size: 1em;
    color: #c0c0c0;
    line-height: 1.6;
}

.page-login-portal__faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-login-portal__faq-item {
    background-color: #003366;
    border-radius: 8px;
    padding: 20px 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-login-portal__faq-question {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-login-portal__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-login-portal__faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-login-portal__faq-answer {
    font-size: 1em;
    color: #c0c0c0;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding-top: 0;
}

.page-login-portal__faq-answer.open {
    max-height: 200px; /* Adjust as needed for content */
    padding-top: 15px;
}

.page-login-portal__cta {
    background: linear-gradient(135deg, #FFD700, #e6c200); /* Gold gradient for CTA */
    padding: 70px 0;
    text-align: center;
}

.page-login-portal__cta .page-login-portal__section-title {
    color: #003366; /* Deep blue title on gold background */
}

.page-login-portal__cta .page-login-portal__section-title::after {
    background-color: #003366;
}

.page-login-portal__cta p {
    color: #001a33;
    font-size: 1.2em;
    margin-bottom: 40px;
}

.page-login-portal__cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-login-portal__cta-actions .page-login-portal__btn--primary {
    background-color: #003366;
    color: #FFD700;
    border-color: #003366;
}

.page-login-portal__cta-actions .page-login-portal__btn--primary:hover {
    background-color: #002244;
    border-color: #002244;
}

.page-login-portal__cta-actions .page-login-portal__btn--secondary {
    background-color: transparent;
    color: #003366;
    border-color: #003366;
}

.page-login-portal__cta-actions .page-login-portal__btn--secondary:hover {
    background-color: #003366;
    color: #FFD700;
}

/* Floating Promo */
.page-login-portal__floating-promo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 280px;
    background-color: #FFD700; /* Gold background */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    transform: translateX(calc(100% + 20px)); /* Initially hidden */
}

.page-login-portal__floating-promo.show {
    transform: translateX(0); /* Show when active */
}

.page-login-portal__floating-promo a {
    display: block;
    text-decoration: none;
    color: #003366;
    position: relative;
}

.page-login-portal__floating-promo-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.page-login-portal__floating-promo-text {
    display: block;
    padding: 10px 15px;
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
}

.page-login-portal__floating-promo-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.5); /* Dark semi-transparent */
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 1.2em;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.page-login-portal__floating-promo-close:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-login-portal__hero-title {
        font-size: 2.2em;
    }
    .page-login-portal__hero-subtitle {
        font-size: 1.1em;
    }
    .page-login-portal__section-title {
        font-size: 1.8em;
    }
    .page-login-portal__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-login-portal__guide-step {
        flex-direction: column;
        text-align: center;
    }
    .page-login-portal__guide-step:nth-child(even) {
        flex-direction: column;
    }
    .page-login-portal__guide-image {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .page-login-portal__hero {
        padding: 60px 0;
    }
    .page-login-portal__hero-title {
        font-size: 1.8em;
    }
    .page-login-portal__hero-subtitle {
        font-size: 1em;
    }
    .page-login-portal__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-login-portal__btn {
        width: 80%;
        margin: 0 auto;
    }
    .page-login-portal__section {
        padding: 40px 0;
    }
    .page-login-portal__section-title {
        font-size: 1.6em;
        margin-bottom: 30px;
    }
    .page-login-portal__card {
        padding: 25px;
    }
    .page-login-portal__card-title {
        font-size: 1.3em;
    }
    .page-login-portal__faq-question {
        font-size: 1.2em;
    }
    .page-login-portal__floating-promo {
        width: 90%;
        right: 5%;
        bottom: 15px;
    }
}

@media (max-width: 480px) {
    .page-login-portal__hero-title {
        font-size: 1.5em;
    }
    .page-login-portal__hero-subtitle {
        font-size: 0.9em;
    }
    .page-login-portal__btn {
        padding: 12px 20px;
        font-size: 1em;
        width: 90%;
    }
    .page-login-portal__section-title {
        font-size: 1.4em;
    }
    .page-login-portal__card-icon {
        width: 60px;
        height: 60px;
    }
    .page-login-portal__card-title {
        font-size: 1.2em;
    }
    .page-login-portal__guide-image {
        width: 120px;
    }
    .page-login-portal__floating-promo-img {
        height: 100px;
    }
    .page-login-portal__floating-promo-text {
        font-size: 1em;
    }
}