html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}


:root {
    --letshego-primary: #FFFFFF;
    --letshego-secondary: #FCD316;
    --letshego-tertiary: #000000;
    --letshego-yellow-dark: #E6BE14;
    --letshego-yellow-light: #FDE047;
}

body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--letshego-tertiary) !important;
}

.navbar-logo {
    height: 50px;
    width: auto;
    margin-right: 12px;
}

.btn-sign-in {
    background-color: var(--letshego-secondary);
    border-color: var(--letshego-secondary);
    color: var(--letshego-tertiary);
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 6px;
}

    .btn-sign-in:hover {
        background-color: var(--letshego-yellow-dark);
        border-color: var(--letshego-yellow-dark);
        color: var(--letshego-tertiary);
    }

.login-container {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: var(--letshego-primary);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 500px;
    border: 1px solid #e5e7eb;
}

.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-circle {
    width: 150px;
    height: 150px;
    background-color: var(--letshego-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 2px solid var(--letshego-secondary);
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

    .logo-circle img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.app-title {
    font-size: 1.50rem;
    font-weight: 600;
    color: var(--letshego-tertiary);
    margin-bottom: 0;
}

.form-label {
    font-weight: 500;
    color: var(--letshego-tertiary);
    margin-bottom: 0.5rem;
}

.form-control {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--letshego-tertiary);
}

    .form-control:focus {
        border-color: var(--letshego-secondary);
        box-shadow: 0 0 0 0.2rem rgba(252, 211, 22, 0.25);
    }



.form-links {
    text-align: center;
}

    .form-links a {
        color: #6b7280;
        text-decoration: none;
        font-size: 0.9rem;
        display: block;
        margin-bottom: 0.5rem;
    }

        .form-links a:hover {
            color: var(--letshego-tertiary);
            text-decoration: underline;
        }

.navbar {
    background-color: var(--letshego-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 80px);
}

.hamburger-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--letshego-tertiary);
    margin-right: 1rem;
}

    .hamburger-menu:hover {
        color: var(--letshego-secondary);
    }

.user-dropdown .dropdown-toggle {
    background-color: var(--letshego-secondary);
    border-color: var(--letshego-secondary);
    color: var(--letshego-tertiary);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
}

    .user-dropdown .dropdown-toggle:hover,
    .user-dropdown .dropdown-toggle:focus {
        background-color: var(--letshego-yellow-dark);
        border-color: var(--letshego-yellow-dark);
        color: var(--letshego-tertiary);
    }

.user-dropdown .dropdown-menu {
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
}

.user-dropdown .dropdown-item {
    color: var(--letshego-tertiary);
    padding: 10px 16px;
}

    .user-dropdown .dropdown-item:hover {
        background-color: #f8f9fa;
        color: var(--letshego-tertiary);
    }

.welcome-section {
    background: var(--letshego-primary);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    margin-bottom: 2rem;
    border: 1px solid #e5e7eb;
}

.nav-controls {
    display: flex;
    align-items: center;
}

/* Enhanced smooth sliding animation for sidebar */
.offcanvas {
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

    .offcanvas.show {
        transform: translateX(0);
    }

    .offcanvas.hiding {
        transition: transform 0.3s cubic-bezier(0.55, 0.06, 0.68, 0.19);
        transform: translateX(-100%);
    }

.offcanvas-backdrop {
    transition: opacity 0.3s ease-in-out;
}

    .offcanvas-backdrop.show {
        opacity: 0.5;
    }

    .offcanvas-backdrop.fade {
        opacity: 0;
    }

/* Smooth hover effects for nav items */
.offcanvas-body .nav-link {
    transition: all 0.2s ease-in-out;
    border-radius: 6px;
    margin-bottom: 4px;
}

    .offcanvas-body .nav-link:hover {
        background-color: rgba(252, 211, 22, 0.1);
        color: var(--letshego-tertiary);
        transform: translateX(5px);
    }

    .offcanvas-body .nav-link.active {
        background-color: var(--letshego-secondary);
        color: var(--letshego-tertiary);
    }

/* Hamburger menu animation */
.hamburger-menu {
    transition: all 0.2s ease-in-out;
}

    .hamburger-menu:hover {
        transform: scale(1.1);
    }

.nav-link {
    color: black;
    font-size: 20px;
}

    /* Remove blue highlight/focus outline on nav links */
    .nav-link:focus,
    .nav-link:active,
    .nav-link:focus-visible {
        outline: none !important;
        box-shadow: none !important;
        border: none !important;
    }

/* Remove focus outline on buttons */
.nav-collapse:focus,
.nav-collapse:active,
.nav-collapse:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Ensure clean focus states for all navigation elements */
.offcanvas-body .nav-link:focus,
.offcanvas-body .nav-link:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Footer Styles */
.footer {
    background-color: var(--letshego-primary) !important;
    border-top: 1px solid #e5e7eb !important;
    margin-top: auto;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer a:hover {
    color: var(--letshego-secondary) !important;
    text-decoration: underline !important;
}

.footer .text-muted {
    color: #6b7280 !important;
}

/* Ensure footer stays at bottom */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
}

/* Collapsible menu styles */
.nav-collapse {
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    color: black;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    border-radius: 6px;
    margin-bottom: 4px;
    padding: 8px 16px;
}

    .nav-collapse:focus {
        box-shadow: none;
        outline: none !important;
    }

    .nav-collapse:hover {
        background-color: rgba(252, 211, 22, 0.1);
        color: var(--letshego-tertiary);
        transform: translateX(5px);
    }

.submenu {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 0 0 6px 6px;
    margin-bottom: 4px;
}

    .submenu .nav-link {
        padding: 8px 16px 8px 50px;
        font-size: 0.9rem;
        border-radius: 4px;
        margin: 2px 8px;
    }

        .submenu .nav-link:hover {
            background-color: rgba(252, 211, 22, 0.15);
            transform: translateX(3px);
        }

        .submenu .nav-link.active {
            background-color: var(--letshego-secondary);
            color: var(--letshego-tertiary);
        }

.collapse-icon {
    transition: transform 0.2s ease-in-out;
}

.nav-collapse[aria-expanded="true"] .collapse-icon {
    transform: rotate(90deg);
}

/* Stage content styling */
.stage-content {
    background: var(--letshego-primary);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e5e7eb;
}

.stage-header {
    border-bottom: 2px solid var(--letshego-secondary);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.feature-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--letshego-secondary);
}

.feature-list {
    columns: 2;
    column-gap: 2rem;
}

    .feature-list li {
        break-inside: avoid;
        margin-bottom: 0.5rem;
    }

.step-header {
    background: linear-gradient(160deg, #FCD316 0%, #d7b004 100%);
    color: black;
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.kyc-container {
    background: var(--letshego-primary);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.verification-step {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #FCD316;
    transition: all 0.3s ease;
}

    .verification-step.active {
        border-left-color: #28a745;
        background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e8 100%);
    }

    .verification-step.completed {
        border-left-color: #0f5132;
        background: #d1e7dd;
    }

    .verification-step.failed {
        border-left-color: #dc3545;
        background: #f8d7da;
    }

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(160deg, #FCD316 0%, #d7b004 100%);
    color: black;
}

.camera-preview {
    width: 100%;
    max-width: 400px;
    height: 300px;
    border-radius: 12px;
    background: #f8f9fa;
    border: 3px dashed #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    overflow: hidden;
}

    .camera-preview.active {
        border-color: #FCD316;
        background: #fffbf0;
    }

.document-scanner {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .document-scanner:hover {
        border-color: #FCD316;
        background: #fffbf0;
    }

.progress-sidebar {
    background: var(--letshego-primary);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 2rem;
}

.step-indicator {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .step-indicator.active {
        background: linear-gradient(135deg, #FCD316 0%, #d7b004 100%);
        color: black;
        font-weight: 600;
    }

    .step-indicator.completed {
        background: #d1e7dd;
        color: #0f5132;
    }

.step-number-small {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: white;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    margin-right: 0.8rem;
}

.verification-result {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
}

.result-success {
    background: #d1e7dd;
    color: #0f5132;
    border: 1px solid #a3cfbb;
}

.result-failed {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f1aeb5;
}

.capture-button {
    background: linear-gradient(160deg, #FCD316 0%, #d7b004 100%);
    border: none;
    color: black;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .capture-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(252, 211, 22, 0.3);
        color: black;
    }

.jumio-widget {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #FCD316;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.decision-point {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #FCD316;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
    text-align: center;
}


.step-header {
    background: linear-gradient(160deg, #FCD316 0%, #d7b004 100%);
    color: black;
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.upload-container {
    background: var(--letshego-primary);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.document-category {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #FCD316;
}

.upload-zone {
    border: 3px dashed #dee2e6;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .upload-zone.drag-over {
        border-color: #FCD316;
        background: #fffbf0;
        transform: scale(1.02);
    }

    .upload-zone.has-files {
        border-color: #28a745;
        background: #f8fff8;
    }

.upload-icon {
    font-size: 3rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-item {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

    .file-item:hover {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

.file-info {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.file-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
}

    .file-icon.pdf {
        background: #dc3545;
        color: white;
    }

    .file-icon.image {
        background: #17a2b8;
        color: white;
    }

    .file-icon.doc {
        background: #007bff;
        color: white;
    }

.progress-sidebar {
    background: var(--letshego-primary);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 2rem;
}

.step-indicator {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .step-indicator.active {
        background: linear-gradient(135deg, #FCD316 0%, #d7b004 100%);
        color: black;
        font-weight: 600;
    }

    .step-indicator.completed {
        background: #d1e7dd;
        color: #0f5132;
    }

.step-number-small {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: white;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    margin-right: 0.8rem;
}

.upload-progress {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-bar-upload {
    height: 100%;
    background: linear-gradient(90deg, #FCD316 0%, #d7b004 100%);
    transition: width 0.3s ease;
}

.document-requirements {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.upload-button {
    background: linear-gradient(160deg, #FCD316 0%, #d7b004 100%);
    border: none;
    color: black;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .upload-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(252, 211, 22, 0.3);
        color: black;
    }

.file-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .action-btn.view {
        background: #e3f2fd;
        color: #1976d2;
    }

    .action-btn.delete {
        background: #ffebee;
        color: #d32f2f;
    }

.upload-summary {
    background: linear-gradient(135deg, #e8f5e8 0%, #d1e7dd 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.step-header {
    background: linear-gradient(160deg, #FCD316 0%, #d7b004 100%);
    color: black;
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.account-container {
    background: var(--letshego-primary);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.progress-sidebar {
    background: var(--letshego-primary);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 2rem;
}

.step-indicator {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .step-indicator.active {
        background: linear-gradient(135deg, #FCD316 0%, #d7b004 100%);
        color: black;
        font-weight: 600;
    }

    .step-indicator.completed {
        background: #d1e7dd;
        color: #0f5132;
    }

.step-number-small {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: white;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    margin-right: 0.8rem;
}

.success-animation {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e8 100%);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #28a745;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    animation: checkmarkPulse 2s infinite;
}

@keyframes checkmarkPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.account-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
    border-left: 4px solid #FCD316;
}

.continue-button {
    background: linear-gradient(160deg, #FCD316 0%, #d7b004 100%);
    border: none;
    color: black;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .continue-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(252, 211, 22, 0.3);
        color: black;
    }


/* Hero Carousel Styles */
.hero-carousel {
    height: 70vh;
    min-height: 500px;
    margin-top: 0;
    z-index: 1;
    position: relative;
    overflow: hidden;
    /* Smooth transitions */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carousel-item {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Fix for carousel items not displaying */
.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    /* Professional approach for portrait images */
    background-attachment: fixed;
}

    /* Create a professional overlay for portrait images */
    .carousel-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0.3) 70%, rgba(0, 0, 0, 0.7) 100%);
        z-index: 1;
    }

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.4) 0%, rgba(252, 211, 22, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.carousel-content {
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 2rem;
    z-index: 4;
    position: relative;
    /* Better positioning for portrait images */
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-apply-now {
    background-color: var(--letshego-secondary);
    border: none;
    color: var(--letshego-tertiary);
    font-weight: 700;
    font-size: 1.25rem;
    padding: 15px 40px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(252, 211, 22, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .btn-apply-now:hover {
        background-color: var(--letshego-yellow-dark);
        color: var(--letshego-tertiary);
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(252, 211, 22, 0.6);
    }

/* Features Section */
.features-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
        border-color: var(--letshego-secondary);
    }

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--letshego-secondary) 0%, var(--letshego-yellow-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--letshego-tertiary);
}

/* Loan Products Section */
.loan-products {
    padding: 4rem 0;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid var(--letshego-secondary);
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

.product-header {
    background: linear-gradient(135deg, var(--letshego-secondary) 0%, var(--letshego-yellow-dark) 100%);
    color: var(--letshego-tertiary);
    padding: 1.5rem;
    text-align: center;
}

.quick-apply {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.btn-quick-apply {
    background: linear-gradient(135deg, var(--letshego-secondary) 0%, var(--letshego-yellow-dark) 100%);
    border: none;
    color: var(--letshego-tertiary);
    font-weight: 600;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(252, 211, 22, 0.4);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 6px 20px rgba(252, 211, 22, 0.4);
    }

    50% {
        box-shadow: 0 8px 25px rgba(252, 211, 22, 0.7);
    }

    100% {
        box-shadow: 0 6px 20px rgba(252, 211, 22, 0.4);
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--letshego-tertiary) 0%, #495057 100%);
    color: white;
    padding: 4rem 0;
}

/* Mobile optimizations for portrait images */
@media (max-width: 768px) {
    .hero-carousel {
        height: 60vh;
        min-height: 400px;
    }

    .carousel-item {
        height: 60vh;
        min-height: 400px;
        background-attachment: scroll; /* Better mobile performance */
        background-color: #000; /* Prevent white flash on mobile */
    }

    .carousel-content {
        max-width: 90%;
        padding: 1.5rem;
        margin: 0 auto;
    }

    .carousel-title {
        font-size: 2.5rem;
    }

    .carousel-subtitle {
        font-size: 1.2rem;
    }
}

/* Prevent white flashing during transitions */
.hero-carousel {
    background-color: #000;
}

.carousel-inner {
    background-color: #000;
}

.carousel-item {
    background-color: #000;
}

/* Enhanced fade transition with smooth fade-out and fade-in */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 2s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

    .carousel-fade .carousel-item.active {
        opacity: 1;
        position: relative;
    }

        /* Fade out effect for exiting slide */
        .carousel-fade .carousel-item.active.carousel-item-start,
        .carousel-fade .carousel-item.active.carousel-item-end {
            opacity: 0;
            transition: opacity 2s ease-in-out;
        }

/* Fade in effect for entering slide */
.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev {
    opacity: 0;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

    .carousel-fade .carousel-item-next.carousel-item-start,
    .carousel-fade .carousel-item-prev.carousel-item-end {
        opacity: 1;
        transition: opacity 2s ease-in-out;
    }

/* Remove transform effects to ensure pure fade */
.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active {
    transform: none;
}

/* Ensure smooth overlay transitions too */
.carousel-fade .carousel-overlay {
    transition: opacity 2s ease-in-out;
}


/* Additional styles for Applicant Loan System page */
.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 80px);
}

/* Stage content styling */
.stage-content {
    background: var(--letshego-primary);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e5e7eb;
}

.stage-header {
    border-bottom: 2px solid var(--letshego-secondary);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.feature-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--letshego-secondary);
}

.feature-list {
    columns: 2;
    column-gap: 2rem;
}

    .feature-list li {
        break-inside: avoid;
        margin-bottom: 0.5rem;
    }

.nav-collapse {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    border-radius: 6px;
    margin-bottom: 4px;
    padding: 8px 16px;
}

    .nav-collapse:hover {
        background-color: rgba(252, 211, 22, 0.1);
        color: var(--letshego-tertiary);
        transform: translateX(5px);
    }

/* Enhanced Stage Form Styles */
.stage-form {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 1.5rem;
    border: 1px solid #dee2e6;
}

.form-section {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--letshego-secondary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.progress-indicator {
    background: linear-gradient(160deg, #FCD316 0%, #d7b004 100%);
    height: 4px;
    border-radius: 2px;
    margin-bottom: 1rem;
    transition: width 0.3s ease;
}

.eligibility-badge {
    background: linear-gradient(160deg, #FCD316 0%, #d7b004 100%);
    color: black;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin: 0.5rem 0;
}

.loan-option {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .loan-option:hover {
        border-color: var(--letshego-secondary);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .loan-option.selected {
        border-color: var(--letshego-secondary);
        background: linear-gradient(135deg, #fffdf7 0%, #fefbf1 100%);
    }

.loan-details {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.document-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: between;
}

/* Finance Officer Dashboard Styles */
.dashboard-header {
    background: linear-gradient(135deg, var(--letshego-secondary) 0%, var(--letshego-yellow-dark) 100%);
    color: var(--letshego-tertiary);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.stage-management-card {
    background: var(--letshego-primary);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .stage-management-card:hover {
        border-color: var(--letshego-secondary);
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

.stage-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--letshego-secondary) 0%, var(--letshego-yellow-dark) 100%);
    color: var(--letshego-tertiary);
}

.metric-card {
    background: var(--letshego-primary);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--letshego-secondary);
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--letshego-tertiary);
}

.metric-label {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.quick-action-btn {
    background: var(--letshego-primary);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--letshego-tertiary);
    transition: all 0.3s ease;
    text-align: center;
}

    .quick-action-btn:hover {
        border-color: var(--letshego-secondary);
        color: var(--letshego-tertiary);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

/* Admin Analytics Styles - Consistent with yellow theme */
.analytics-header {
    background: linear-gradient(160deg, #FCD316 0%, #d7b004 100%);
    color: black;
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.metric-card {
    background: var(--letshego-primary);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    border-left: 4px solid #FCD316;
}

    .metric-card:hover {
        border-color: var(--letshego-secondary);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FCD316;
}

.metric-label {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.analytics-section {
    background: var(--letshego-primary);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.chart-container {
    position: relative;
    height: 400px;
    margin-bottom: 1rem;
}

.admin-performance-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8ecf0 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid #FCD316;
}

.filter-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.download-btn {
    background: linear-gradient(160deg, #FCD316 0%, #d7b004 100%);
    border: none;
    color: black;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .download-btn:hover {
        background: linear-gradient(160deg, #FCD316 0%, #d7b004 100%);
        color: black;
        transform: translateY(-1px);
    }

.section-title-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(160deg, #FCD316 0%, #d7b004 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.system-health-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.health-excellent {
    background-color: #198754;
}

.health-good {
    background-color: #20c997;
}

.health-warning {
    background-color: #ffc107;
}

.health-critical {
    background-color: #dc3545;
}

.activity-timeline {
    max-height: 400px;
    overflow-y: auto;
}

.timeline-item {
    padding: 1rem;
    border-left: 3px solid #FCD316;
    margin-left: 1rem;
    margin-bottom: 1rem;
    background: var(--letshego-primary);
    border-radius: 0 8px 8px 0;
    position: relative;
}

    .timeline-item::before {
        content: '';
        position: absolute;
        left: -8px;
        top: 20px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #FCD316;
    }

