/* --- 1. General Page Setup --- */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* --- 2. Header & Navigation --- */
.top-utility-bar {
    display: flex;
    justify-content: space-between;
    padding: 10px 40px;
    background-color: #f8f8f8;
    font-size: 13px;
    border-bottom: 1px solid #eee;
}

.right-links span {
    margin-left: 20px;
    cursor: pointer;
}

.logo-area {
    padding: 25px 40px;
}

.logo-area h1 {
    margin: 0;
    font-size: 24px;
    color: #005eb8;
    letter-spacing: 1px;
}

nav {
    border-bottom: 1px solid #ddd;
    background-color: white;
}

nav ul {
    list-style-type: none;
    padding: 0 40px;
    margin: 0;
    display: flex;
    gap: 30px;
    height: 50px;
    align-items: center;
}

nav li a {
    font-weight: 600;
    text-decoration: none;
    color: #333;
    font-size: 15px;
    transition: 0.2s;
}

nav li a:hover {
    color: #005eb8;
}

/* --- 3. Hero Blue Box & Promo --- */
.hero-blue-box {
    background-color: #005eb8;
    color: white;
    padding: 60px 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.promo-text h2 {
    font-size: 32px;
    max-width: 500px;
}

.promo-text p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 25px;
    max-width: 450px;
}

.promo-text button {
    background-color: #2c8e10; 
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.promo-text button:hover {
    background-color: #24750d;
    transform: scale(1.05);
}

/* --- 4. Login Box --- */
.login-box {
    background-color: white;
    color: #333;
    padding: 30px;
    border-radius: 8px;
    width: 340px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.login-box h3 {
    margin-top: 0;
    font-size: 22px;
}

.login-box input[type="text"] {
    display: block;
    width: 100%;
    margin: 15px 0;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.password-container {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.password-container input {
    width: 100%;
    padding: 12px;
    padding-right: 60px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.show-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #005eb8;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
}

.login-box button {
    width: 100%;
    background-color: #005eb8;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}

/* --- 5. Info Cards --- */
.info-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px;
    background-color: #f4f4f4;
}

.card {
    background-color: white;
    padding: 25px;
    width: 300px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card h3 { color: #005eb8; margin-top: 0; }
.card a { color: #005eb8; text-decoration: none; font-weight: bold; display: block; margin-top: 10px; }

/* --- 6. Icon Section & Dots --- */
.icon-section {
    text-align: center;
    padding: 60px 20px;
    background-color: white;
}

.icon-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
}

.icon-box {
    font-size: 45px;
    margin-bottom: 10px;
}

.icon-item p { color: #005eb8; font-weight: 500; margin: 0; }

.carousel-dots { margin-top: 25px; }

.dot {
    height: 8px; width: 8px; margin: 0 5px;
    background-color: #bbb; border-radius: 50%;
    display: inline-block;
}

.dot.active { background-color: #005eb8; width: 10px; height: 10px; }

/* --- 7. Footer --- */
footer {
    margin-top: auto;
    background-color: #f8f8f8;
    padding: 30px;
    text-align: center;
    border-top: 1px solid #ddd;
}

/* --- 8. DASHBOARD SHOWCASE STYLES (Restored) --- */
.dashboard-showcase {
    background-color: #fff;
    padding: 100px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.dashboard-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 40px;
    position: relative;
}

.dashboard-text {
    flex: 0 0 45%;
}

.dashboard-text h2 {
    font-size: 36px;
    color: #005eb8;
    margin-bottom: 24px;
    font-weight: 800;
}

.dashboard-text p {
    font-size: 18px;
    line-height: 1.7;
    color: #444;
}

.dashboard-arrow {
    flex: 0 0 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    opacity: 0.7;
    animation: arrowFloat 2.5s ease-in-out infinite;
}

@keyframes arrowFloat {
    0%, 100% { transform: translateX(0) scale(1); }
    50% { transform: translateX(15px) scale(1.1); }
}

.dashboard-video-wrapper {
    margin-left: auto;
    flex: 0 0 280px;
    height: 580px;
    position: relative;
    z-index: 100;
    margin-top: -100px; /* Adjusted for better fit */
    margin-bottom: -100px;
    border: 12px solid #1a1a1a;
    border-radius: 40px;
    background: #000;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.dashboard-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
}

/* --- 9. GLOBAL ACCESSIBILITY & DESKTOP-FIT --- */
@media only screen and (max-device-width: 1024px) {
    body {
        min-width: 1280px !important;
        overflow-x: visible !important;
        text-rendering: optimizeLegibility;
    }
    .dashboard-arrow { transform: scale(0.8) !important; animation: none !important; }
    nav a { font-weight: 800 !important; }
    .login-box input, .login-box button { font-weight: 700 !important; }
}

/* Transaction status badge: subtle pulse for PENDING AUDIT REVIEW */
@keyframes status-pending-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}
.status-pending-pulse {
    animation: status-pending-pulse 2s ease-in-out infinite;
}

/* Student loan application: loading state spinner */
.application-loader-spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    border: 4px solid #e8e8e8;
    border-top-color: #002e5d;
    border-radius: 50%;
    animation: application-loader-spin 0.9s linear infinite;
}
@keyframes application-loader-spin {
    to { transform: rotate(360deg); }
}