 

.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    border-radius: 0 0 20px 20px;
    margin-bottom: 2rem;
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Form Styles */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Progress Bar */
.progress {
    height: 10px;
    border-radius: 5px;
}

.progress-bar {
    background-color: #0d6efd;
}

/* Video Player */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Certificate Styles */
.certificate-preview {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    background-color: #f9f9f9;
}


.main-content {
    margin-left: 280px; /* same width as sidebar */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer.footer {
    margin-left: 280px; /* push footer beside sidebar */
}

@media (max-width: 992px) {
    .main-content,
    footer.footer {
        margin-left: 0; /* full width on small screens */
    }
}



/* Responsive Adjustments */
@media (max-width: 768px) {
    .sidebar {
        position: static;
        height: auto;
    }
    
    .sidebar-sticky {
        height: auto;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
}
:root {
    --lto-blue: #0d6efd;
    --lto-light-blue: #e7f1ff;
    --lto-dark-blue: #0b5ed7;
}

/* Professional Data Tables */
.table-professional {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
}

.table-professional thead th {
    background-color: var(--lto-blue);
    color: white;
    border: none;
    padding: 12px 15px;
}

.table-professional tbody tr:hover {
    background-color: var(--lto-light-blue);
}

/* Cards */
.card-professional {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}

.card-professional:hover {
    transform: translateY(-3px);
}

/* Buttons */
.btn-lto {
    background-color: var(--lto-blue);
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
}

.btn-lto:hover {
    background-color: var(--lto-dark-blue);
    color: white;
}
/* Add to your main CSS file */
body {
    background-color: #f1f5f9;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    background-color: white;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.table-responsive {
    border-radius: 12px;
    overflow: hidden;
}

.table thead {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
}
/* Header Styles */
.navbar {
    padding: 0.75rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    font-weight: 600;
    color: #1a237e;
}

.avatar {
    width: 36px;
    height: 36px;
    font-size: 0.875rem;
    display: inline-flex;
}

/* Dropdown Positioning */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    margin: 0 0.5rem;
    width: auto;
}

.dropdown-item:hover {
    background-color: #f0f4ff;
}

.dropdown-divider {
    border-color: #e9ecef;
}


html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    position: relative;
}

.wrapper {
    display: flex;
    flex: 1 0 auto;
    position: relative;
}

.main-content {
    flex: 1;
    margin-left: 280px; /* Same as sidebar width */
    min-height: calc(100vh - 56px); /* Adjust if header height differs */
    padding-bottom: 60px; /* Space for footer */
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .wrapper {
        flex-direction: column;
    }
    
    .main-content {
        margin-left: 0;
        min-height: auto;
    }
}
 

main {
    flex: 1 0 auto;
    padding-bottom: 2rem; /* Space before footer */
}

.footer {
    flex-shrink: 0;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

/* Footer specific styles */
.footer h5 {
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
    position: relative;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: #3d5afe;
}

.footer a {
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #bbdefb !important;
    text-decoration: none;
}

.footer address {
    font-style: normal;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .footer {
        text-align: center;
    }
    
    .footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer .col-md-6 {
        text-align: center !important;
    }
}
/* Ensure content doesn't hide behind sidebar */
.main-content {
    position: relative;
    z-index: 10;
}

/* Smooth transitions for responsive changes */
.sidebar-wrapper, .main-content {
    transition: all 0.3s ease;
}

/* Footer bottom spacing insurance */
body {
    padding-bottom: 60px;
    margin-bottom: -60px;
}