/* --- ROOT & CORE BRANDING --- */
:root {
    --cobalt: #002B5B;
    --gold: #FFC107;
    --gold-glow: rgba(255, 193, 7, 0.3);
    --slate-50: #F8FAFC;
    --slate-100: #F1F5F9;
    --slate-200: #E2E8F0;
    --slate-600: #475569;
    --slate-800: #1E293B;
    --white: #ffffff;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--slate-50);
    color: var(--slate-800);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

/* --- MODERN NAVBAR --- */
.navbar {
    padding: 20px 60px;
    background: rgba(248, 250, 252, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--slate-200);
}

.logo-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--cobalt) !important;
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-link {
    font-weight: 600;
    color: var(--slate-800) !important;
    margin-left: 30px;
    font-size: 15px;
    transition: 0.3s;
}

    .nav-link:hover {
        color: var(--gold) !important;
    }

/* --- HERO SECTION --- */
.hero-container {
    padding: 120px 60px 80px;
    flex: 1;
}

.hero-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(1.8rem, 5vw, 3.8rem);
    color: var(--cobalt);
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--slate-600);
    margin-bottom: 40px;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 43, 91, 0.15);
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* --- MODULE CARDS (RE-ENGINEERED FOR EXACT ALIGNMENT) --- */
.contents-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--slate-800);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
    margin-bottom: 30px;
    font-weight: 800;
}

.module-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    padding: 35px;
    border-radius: 24px;
    text-decoration: none !important;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

    .module-card:hover {
        transform: translateY(-8px);
        border-color: var(--gold);
        box-shadow: 0 20px 40px rgba(0, 43, 91, 0.1);
    }

/* Track 1: Icon | Track 2: Title and Tag Stack */
.card-header-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.module-icon {
    font-size: 2.2rem;
    color: var(--gold);
    flex-shrink: 0;
    line-height: 1;
    margin-top: 4px;
    transition: transform 0.3s ease;
}

.module-card:hover .module-icon {
    transform: scale(1.1);
}

.title-tag-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-title-bold {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--cobalt);
    margin: 0;
    line-height: 1.2;
}

.sector-tag {
    background: var(--cobalt);
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    border-radius: 4px;
    padding: 5px 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: fit-content;
}

.card-intro {
    font-size: 0.95rem;
    color: var(--slate-600);
    line-height: 1.6;
    margin-bottom: 0;
}

.card-divider {
    border: 0;
    border-top: 1px solid var(--slate-100);
    margin: 25px 0;
    opacity: 1;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .feature-list li {
        font-size: 0.88rem;
        font-weight: 700;
        color: var(--slate-800);
        margin-bottom: 14px;
        display: flex;
        align-items: flex-start;
    }

        .feature-list li i {
            color: var(--cobalt);
            margin-right: 15px;
            font-size: 1rem;
            margin-top: 3px;
        }

/* --- BUTTONS --- */
.btn-enter {
    background: var(--cobalt);
    color: white !important;
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    border: none;
    transition: 0.3s;
    display: inline-block;
    cursor: pointer;
}

    .btn-enter:hover {
        background: var(--slate-800);
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(0, 43, 91, 0.2);
    }

/* --- FOOTER --- */
.main-footer {
    background-color: var(--cobalt);
    padding: 40px 20px;
    margin-top: 80px;
    width: 100%;
    border-top: 4px solid var(--gold);
}

.footer-copyright {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 0;
    line-height: 1.5;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 992px) {
    .navbar {
        padding: 15px 30px;
    }

    .hero-container {
        padding: 100px 30px 60px;
    }

    .hero-img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding-top: 80px;
        text-align: center;
    }

    .hero-img {
        height: 300px;
        margin-top: 40px;
    }

    .card-header-grid {
        gap: 15px;
    }

    .module-card {
        padding: 25px;
    }

    .module-icon {
        font-size: 1.8rem;
    }

    .card-title-bold {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 15px 20px;
    }

    .hero-container {
        padding: 80px 20px 40px;
    }

    .btn-enter {
        width: 100%;
        text-align: center;
    }

    .card-header-grid {
        grid-template-columns: 35px 1fr;
        gap: 12px;
    }
}
/* --- AUTHENTICATION LAYOUT STYLES --- */
.login-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.login-side-panel {
    flex: 1;
    background: var(--cobalt);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

    .login-side-panel::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
        background-size: 30px 30px;
        opacity: 0.3;
    }

.side-logo-box {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
    font-size: 4rem;
    color: var(--gold);
}

.login-form-container {
    width: 550px;
    background: white;
    display: flex;
    flex-direction: column;
    padding: 80px;
    justify-content: center;
    box-shadow: -10px 0 30px rgba(0,0,0,0.02);
}

.mobile-brand {
    display: none;
    text-align: center;
    margin-bottom: 40px;
}

.login-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    color: var(--cobalt);
    font-size: 2rem;
    letter-spacing: -0.5px;
}

.status-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    background: var(--gold-glow);
    color: var(--cobalt);
    border: 1px solid var(--gold);
    display: inline-block;
    margin-bottom: 20px;
}

/* Custom Auth Inputs */
.auth-input-group {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    overflow: hidden;
}

    .auth-input-group:focus-within {
        border-color: var(--gold);
        box-shadow: 0 0 0 4px var(--gold-glow);
    }

    .auth-input-group .input-group-text {
        background: transparent;
        border: none;
        color: var(--slate-600);
        padding-left: 20px;
    }

.auth-form-control {
    background: transparent;
    border: none;
    padding: 16px;
    width: 100%;
    font-weight: 500;
}

    .auth-form-control:focus {
        outline: none;
    }

.footer-legal {
    margin-top: 60px;
    font-size: 0.75rem;
    color: var(--slate-600);
    text-align: center;
}

@media (max-width: 850px) {
    .login-side-panel {
        display: none;
    }

    .login-wrapper {
        background: white;
        justify-content: center;
    }

    .login-form-container {
        width: 550px;
        background: white;
        display: flex;
        flex-direction: column;
        padding: 60px 80px; /* Reduced top/bottom padding to fit more fields */
        justify-content: flex-start; /* Align to top so it scrolls naturally */
        overflow-y: auto; /* Enable vertical scrolling for long forms */
        height: 100vh;
    }

        /* Hide scrollbar for a cleaner look while still allowing scroll */
        .login-form-container::-webkit-scrollbar {
            width: 5px;
        }

        .login-form-container::-webkit-scrollbar-thumb {
            background: var(--slate-200);
            border-radius: 10px;
        }
}

/* --- CUSTOM BLUE SCROLLBAR FOR FORM CONTAINER --- */
.login-form-container {
    width: 550px;
    background: white;
    display: flex;
    flex-direction: column;
    padding: 60px 80px;
    justify-content: flex-start;
    overflow-y: auto; 
    height: 100vh;
    /* Custom Scrollbar for Firefox */
    scrollbar-width: thin;
    scrollbar-color: var(--cobalt) var(--slate-100);
}

/* Custom Scrollbar for Chrome, Edge, and Safari */
.login-form-container::-webkit-scrollbar {
    width: 6px; /* Slimmer, more modern profile */
}

.login-form-container::-webkit-scrollbar-track {
    background: var(--slate-100); /* The "path" of the scrollbar */
    border-radius: 10px;
}

.login-form-container::-webkit-scrollbar-thumb {
    background-color: var(--cobalt); /* The actual moving handle (Blue) */
    border-radius: 10px;
    border: 1px solid var(--slate-100); /* Adds a tiny bit of padding */
}

.login-form-container::-webkit-scrollbar-thumb:hover {
    background-color: #003a7a; /* Slightly lighter blue on hover */
}
