* {
    box-sizing: border-box;
}
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
}

/* navbar */

.bg-nav-blue {
    background: #1E3D9F;
    padding: 10px 20px;
    border-bottom: 0.63px solid #FFFFFF33;
    z-index: 10;
}
.bg-nav-blue .nav-link {
    color: white;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 12px;
}
.bg-nav-blue .nav-link.active,
.bg-nav-blue .nav-link:hover,
.bg-nav-blue .nav-link.show {
    color: #F6EA3D;
}
.bg-nav-blue .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}
.bg-nav-blue .navbar-toggler:focus {
    box-shadow: none;
}
.bg-nav-blue .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 66px;
        padding: 20px;
        left: 0;
        width: 100%;
        height: calc(100vh - 66px);
        background: #1E3D9F;
        color: white;
        overflow-y: auto;
        padding-top: 2rem;
        z-index: 1000;
    }
    .bg-nav-blue .nav-link {
        font-size: 16px;
    }
}

/* hero */
.hero-section {
    position: relative;
    height: calc(100vh - 66px);
    min-height: 600px;
    background-image: url('/portal_static_files/images/bgportal.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(30, 58, 138, 0.8) 0%, rgba(30, 58, 138, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.95;
}

.btn-login {
    background-color: #F6EA3D;
    color: #1a365e;
    font-weight: 500;
    padding: 8px 32px;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: #FFD700;
    color: #1a365e;
}

.btn-back {
    background-color: transparent;
    color: white;
    font-weight: 600;
    padding: 8px 32px;
    border-radius: 8px;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background-color: white;
    color: #1a365e;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 17.6px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 32px;
    }

    .btn-login, .btn-back {
        width: 100%;
        margin-bottom: 16px;
        padding: 12px 32px;
    }
}

/* About Section Styles */
.about-section {
    background-color: white;
}

.about-title {
    font-size: 40px;
    font-weight: 700;
    color: #101828;
}

.about-description {
    font-size: 17.6px;
    color: #4A5565;
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #1C398E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #101828;
}

.feature-description {
    font-size: 15.2px;
    color: #4A5565;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .about-title {
        font-size: 32px;
    }
    .about-description {
        font-size: 15.6px;
    }
    .feature-title {
        font-size: 18px;
    }
    .feature-description {
        font-size: 13.2px;
    }
}

/* Access Section Styles */
.access-section {
    background-color: #F9FAFB;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: #101828;
}

.section-description {
    font-size: 16px;
    color: #4A5565;
    line-height: 1.6;
}

.access-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 40px 32px;
    transition: all 0.3s ease;
    border: 1px solid #DFE2E7;
}

.step-number {
    width: 32px;
    height: 32px;
    background-color: #1C398E;
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15.2px;
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1C398E;
    background: #EFF6FF;
    font-size: 24px;
}

.step-title {
    font-size: 17.6px;
    font-weight: 600;
    color: #101828;
}

.step-description {
    font-size: 14.4px;
    color: #4A5565;
    margin-bottom: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }
}

/* Comparison Section Styles */
.comparison-section {
    background-color: #ffffff;
    padding: 64px 0;
}

.comparison-title {
    font-size: 40px;
    font-weight: 700;
    color: #101828;
}

.comparison-description {
    font-size: 16px;
    color: #4A5565;
    line-height: 1.6;
}

.comparison-card {    
    border-radius: 14px;
    padding: 40px;
    transition: all 0.3s ease;
}

.website-card {
    border: 2px solid #e5e7eb;
    background-color: #ffffff;
}

.portal-card {
    border: 2px solid #BAAF0F;
    background: #FFF7ED4D;
}

.comparison-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-align: center;
}

.website-icon-bg {
    background-color: #EFF6FF;
    color: #1C398E;
}

.portal-icon-bg {
    background-color: #FFFBD4;
    color: #BAAF0F;
}

.comparison-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #101828;
    text-align: center;
}

.comparison-link {
    font-size: 15.2px;
    color: #2962ff;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
}

.portal-link {
    color: #d4af37;
}

.comparison-link:hover {
    text-decoration: underline;
}

.comparison-intro {
    font-size: 15.2px;
    color: #4A5565;
    line-height: 1.6;
    text-align: center;
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    font-size: 13.2px;
    color: #364153;
}

.comparison-list li:last-child {
    margin-bottom: 0;
}

.comparison-list li i {
    color: #2962ff;
    margin-right: 12px;
    margin-top: 4px;
    font-size: 16px;
    flex-shrink: 0;
}

.portal-list li i {
    color: #d4af37;
}

@media (max-width: 768px) {
    .comparison-title {
        font-size: 32px;
    }
}

/* Help Section Styles */
.help-section {
    background-color: #F9FAFB;
    padding: 64px 0;
}

.help-icon-circle {
    width: 64px;
    height: 64px;
    background-color: #1C398E;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.help-title {
    font-size: 40px;
    font-weight: 700;
    color: #101828;
}

.help-description {
    font-size: 16px;
    color: #4A5565;
    line-height: 1.6;
}

.help-card {
    background-color: #ffffff;
    border: 1px solid #00000014;
    border-radius: 14px;
    padding: 32px 24px;
    transition: all 0.3s ease;
}

.help-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.help-card-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #EFF6FF;
    border-radius: 50%;
    color: #1C398E;
    font-size: 20px;
}

.help-card-title {
    font-size: 17.6px;
    font-weight: 600;
    color: #101828;
}

.help-card-text {
    font-size: 14.4px;
    color: #4A5565;
}

.btn-help-primary {
    background-color: #1E3A8A;
    color: white;
    border: none;
    padding: 9.6px 24px;
    border-radius: 6px;
    font-size: 14.4px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-help-primary:hover {
    background-color: #1C398E;
    color: white;
}

.btn-help-outline {
    background-color: transparent;
    color: #1E3A8A;
    border: 2px solid #1E3A8A;
    padding: 9.6px 24px;
    border-radius: 6px;
    font-size: 14.4px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-help-outline:hover {
    background-color: #1C398E;
    color: white;
}

.faq-box {
    background-color: #ffffff;
    border-top: 0.63px solid #F3F4F6;
    border-radius: 14px;
    padding: 40px;
    margin-top: 32px;
}

.faq-title {
    font-size: 24px;
    font-weight: 700;
    color: #101828;
}

.faq-item {
    padding-left: 0;
}

.faq-question {
    font-size: 15.2px;
    font-weight: 600;
    color: #101828;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

.faq-bullet {
    color: #1C398E;
    font-size: 6.4px;
    margin-right: 12px;
    margin-top: 8px;
    flex-shrink: 0;
}

.faq-answer {
    font-size: 14.4px;
    color: #4A5565;
    margin-bottom: 0;
    margin-left: 20px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .help-title {
        font-size: 32px;
    }
    
    .faq-box {
        padding: 24px;
    }
}


/* Footer Styles */
.footer-section {
    background-color: #1e3a8a;
    color: rgba(255, 255, 255, 0.9);
}

.footer-description {
    font-size: 14.4px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact {
    font-size: 14.4px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: white;
}

.btn-footer-login {
    background-color: #F6EA3D;
    color: #1e3a8a;
    border: none;
    padding: 9.6px 28px;
    border-radius: 6px;
    font-size: 14.4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-footer-login:hover {
    background-color: #FFC700;
    color: #1e3a8a;
    transform: translateY(-1px);
}

.footer-heading {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10.4px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14.4px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-accreditation {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accreditation-text {
    font-size: 14.4px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.accreditation-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.accreditation-badge {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14.4px;
    font-weight: 600;
    color: white;
}

.footer-bottom {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    font-size: 13.6px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-follow {
    font-size: 14.4px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-social {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15.2px;
}

.footer-social:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.footer-legal {
    font-size: 13.6px;
}

.footer-legal-links {
    gap: 16px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13.6px;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: white;
}

.footer-powered {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13.6px;
}

.footer-powered i {
    font-size: 16px;
}

/* Fade-up keyframes */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reusable fade-up class */
.fade-up {
  opacity: 0; /* start hidden */
  animation: fadeUp 1s ease-out forwards;
}

/* Optional: delay for a smoother stagger */
.fade-up-delay {
  animation-delay: 0.4s;
}

/* auth pages */
.auth-page {
    min-height: 100vh;
    background-image: url('/bgportal.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
}

.auth-content {
    position: relative;
    z-index: 2;
}

.auth-box {
    background-color: white;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 440px;
    margin: 0 auto;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .auth-box {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .auth-title {
        font-size: 1.5rem;
    }
}

.auth-subtitle {
    font-size: 1rem;
    color: #666;
    text-align: center;
    margin-bottom: 2rem;
}

.auth-form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.auth-form-control {
    padding: 0.75rem 1rem;
    padding-left: 2.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.auth-form-control:focus {
    border-color: #2962ff;
    box-shadow: 0 0 0 3px rgba(41, 98, 255, 0.1);
}

.input-icon-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1rem;
}

.auth-link {
    color: #2962ff;
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    text-decoration: underline;
}

.auth-support-text {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 2rem;
    margin-bottom: 0;
}

.btn-auth {
    background-color: #F6EA3D;
    color: #1a1a1a;
    border: none;
    padding: 0.85rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.btn-auth:hover {
    background-color: #FFD700;
    transform: translateY(-2px);
}

.auth-password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 1rem;
}

.auth-password-toggle:hover {
    color: #6b7280;
}

.security-badge {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #9ca3af;
}

.security-badge i {
    margin-right: 0.5rem;
    color: #10b981;
}

.form-check-custom {
    margin: 1.25rem 0;
}

.form-check-custom .form-check-input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.15rem;
    border-color: #d1d5db;
}

.form-check-custom .form-check-input:checked {
    background-color: #2962ff;
    border-color: #2962ff;
}

.form-check-custom label {
    font-size: 0.9rem;
    color: #666;
}

.what-next-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.what-next-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.steps-list li {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}
