body {
    background-color: #f0f2f5;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
.main-content {
    min-height: 100vh;
}

.card {
    border-radius: 1.25rem;
    overflow: hidden;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
}

.text-primary {
    color: #0056b3 !important;
}

.underline-gradient {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #007bff, #00c6ff);
    border-radius: 2px;
}

.form-control-lg {
    border-radius: 0.75rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid #ced4da;
    transition: all 0.3s ease-in-out;
}

.form-control-lg:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.input-group-text {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-right: none;
    border-radius: 0.75rem 0 0 0.75rem;
    padding: 0.75rem 1.25rem;
    color: #495057;
}

.input-group .form-control {
    border-left: none;
    border-radius: 0 0.75rem 0.75rem 0;
}

.btn-success {
    background: linear-gradient(45deg, #28a745, #218838);
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}

.btn-secondary {
    background: linear-gradient(45deg, #6c757d, #5a6268);
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(108, 117, 125, 0.3);
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
}

.alert-danger ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.alert-danger li {
    margin-bottom: 0.5rem;
}

.alert-danger .btn-close {
    font-size: 1rem;
    padding: 0.75rem;
    background: none;
    border: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.alert-danger .btn-close:hover {
    opacity: 1;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-card {
    animation: fadeIn 0.8s ease-out;
}

.animated-button {
    animation: fadeIn 1s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .form-control-lg,
    .input-group-text {
        padding: 0.6rem 1rem;
    }

    .btn-lg {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    h1 {
        font-size: 1.8rem;
    }
}

/* Custom Card Styles */
.custom-card {
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
    overflow: hidden;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.custom-card .card-header {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    font-weight: bold;
    padding: 15px 20px;
    border-bottom: none;
    /* border-top-left-radius: 15px; */
    /* border-top-right-radius: 15px; */
    font-size: 1.25rem;
}

.custom-card .card-body {
    padding: 25px;
}

/* Gradient Header */
.gradient-header {
    background: linear-gradient(45deg, #007bff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 3px solid rgba(0, 123, 255, 0.3);
    display: inline-block;
}

/* Button Styles */
.btn-gradient-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.btn-gradient-primary:hover {
    background: linear-gradient(45deg, #0056b3, #007bff);
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

.btn-gradient-success {
    background: linear-gradient(45deg, #28a745, #218838);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.2);
}

.btn-gradient-success:hover {
    background: linear-gradient(45deg, #218838, #28a745);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.3);
    transform: translateY(-2px);
    color: white;
}

.btn-gradient-info {
    background: linear-gradient(45deg, #17a2b8, #138496);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(23, 162, 184, 0.2);
}

.btn-gradient-info:hover {
    background: linear-gradient(45deg, #138496, #17a2b8);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.3);
    transform: translateY(-2px);
    color: white;
}

.btn-gradient-danger {
    background: linear-gradient(45deg, #dc3545, #c82333);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.2);
}

.btn-gradient-danger:hover {
    background: linear-gradient(45deg, #c82333, #dc3545);
    box-shadow: 0 6px 12px rgba(220, 53, 69, 0.3);
    transform: translateY(-2px);
    color: white;
}

.btn-gradient-secondary {
    background: linear-gradient(45deg, #6c757d, #5a6268);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.2);
}

.btn-gradient-secondary:hover {
    background: linear-gradient(45deg, #5a6268, #6c757d);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.3);
    transform: translateY(-2px);
    color: white;
}

/* Alert Styles */
.alert-custom {
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-custom.alert-info {
    background-color: #e0f7fa;
    color: #007bff;
    border-left: 5px solid #007bff;
}

.alert-custom.alert-success {
    background-color: #e6ffe6;
    color: #28a745;
    border-left: 5px solid #28a745;
}

/* Course Card Specific Styles */
.course-card .card-img-top {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.course-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-card .card-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #343a40;
}

.course-card .card-text {
    color: #6c757d;
    flex-grow: 1;
    margin-bottom: 15px;
}

.course-card .btn {
    width: 100%;
    margin-top: 5px;
}

.quick-start-card .card-body ul {
    list-style: none;
    padding: 0;
}

.quick-start-card .card-body ul li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #495057;
}

.quick-start-card .card-body ul li i {
    margin-right: 10px;
    color: #007bff;
}

/* Custom Card Styles */
.custom-card {
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
    overflow: hidden;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}




.custom-card .card-body {
    padding: 25px;
}

/* Gradient Header */
.gradient-header {
    background: linear-gradient(45deg, #007bff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 3px solid rgba(0, 123, 255, 0.3);
    display: inline-block;
}

/* Button Styles */
.btn-gradient-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.btn-gradient-primary:hover {
    background: linear-gradient(45deg, #0056b3, #007bff);
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

.btn-gradient-success {
    background: linear-gradient(45deg, #28a745, #218838);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.2);
}

.btn-gradient-success:hover {
    background: linear-gradient(45deg, #218838, #28a745);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.3);
    transform: translateY(-2px);
    color: white;
}

.btn-gradient-info {
    background: linear-gradient(45deg, #17a2b8, #138496);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(23, 162, 184, 0.2);
}

.btn-gradient-info:hover {
    background: linear-gradient(45deg, #138496, #17a2b8);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.3);
    transform: translateY(-2px);
    color: white;
}

/* Alert Styles */
.alert-custom {
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-custom.alert-info {
    background-color: #e0f7fa;
    color: #007bff;
    border-left: 5px solid #007bff;
}

.alert-custom.alert-success {
    background-color: #e6ffe6;
    color: #28a745;
    border-left: 5px solid #28a745;
}

/* Course Card Specific Styles */
.course-card .card-img-top {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.course-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-card .card-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #343a40;
}

.course-card .card-text {
    color: #6c757d;
    flex-grow: 1;
    margin-bottom: 15px;
}

.course-card .btn {
    width: 100%;
    margin-top: 5px;
}

/* Custom Card Styles */
.custom-card {
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
    overflow: hidden;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}



.custom-card .card-body {
    padding: 25px;
}

/* Gradient Header */
.gradient-header {
    background: linear-gradient(45deg, #007bff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 3px solid rgba(0, 123, 255, 0.3);
    display: inline-block;
}

/* Button Styles */
.btn-gradient-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.btn-gradient-primary:hover {
    background: linear-gradient(45deg, #0056b3, #007bff);
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

.btn-gradient-success {
    background: linear-gradient(45deg, #28a745, #218838);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.2);
}

.btn-gradient-success:hover {
    background: linear-gradient(45deg, #218838, #28a745);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.3);
    transform: translateY(-2px);
    color: white;
}

.btn-gradient-info {
    background: linear-gradient(45deg, #17a2b8, #138496);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(23, 162, 184, 0.2);
}

.btn-gradient-info:hover {
    background: linear-gradient(45deg, #138496, #17a2b8);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.3);
    transform: translateY(-2px);
    color: white;
}

.btn-gradient-danger {
    background: linear-gradient(45deg, #dc3545, #c82333);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.2);
}

.btn-gradient-danger:hover {
    background: linear-gradient(45deg, #c82333, #dc3545);
    box-shadow: 0 6px 12px rgba(220, 53, 69, 0.3);
    transform: translateY(-2px);
    color: white;
}

/* Alert Styles */
.alert-custom {
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-custom.alert-info {
    background-color: #e0f7fa;
    color: #007bff;
    border-left: 5px solid #007bff;
}

.alert-custom.alert-success {
    background-color: #e6ffe6;
    color: #28a745;
    border-left: 5px solid #28a745;
}

.alert-custom.alert-danger {
    background-color: #ffe6e6;
    color: #dc3545;
    border-left: 5px solid #dc3545;
}

/* Course Image */
.course-image {
    max-height: 300px;
    object-fit: cover;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    width: 100%;
}

/* Suggested Courses */
.suggested-course-card {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.suggested-course-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.suggested-course-card .card-img-top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 150px;
    object-fit: cover;
}

.suggested-course-card .card-body {
    padding: 15px;
}

.suggested-course-card .card-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
}

footer {
    width: 100% !important;
    z-index: 3 !important;
}

.right-menu {
    margin-top: 40px;
    z-index: 1 !important;
    position: absolute;
    right: 0;
    top: 0;
    width: 240px;
    height: 100%;
    background: #0a6472;
    color: #f5f6fa;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    padding: 2rem 1rem;
}

.right-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.right-menu li {
    margin-bottom: 1.2rem;
}

.right-menu a {
    color: #f5f6fa;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 10px 18px;
    border-radius: 6px;
    display: block;
    transition: background 0.3s, color 0.3s;
}

.right-menu a:hover,
.right-menu a.active {
    background: #007bff;
    color: #fff;
}

.current-image-preview {
    max-width: 200px;
    height: auto;
    border: 1px solid #ddd;
    padding: 5px;
    background-color: #fff;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-card {
    animation: fadeIn 0.8s ease-out;
}

.animated-button {
    animation: fadeIn 1s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .form-control-lg,
    .input-group-text {
        padding: 0.6rem 1rem;
    }

    .btn-lg {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    h1 {
        font-size: 1.8rem;
    }
}

/* Custom Card Styles */
.custom-card {
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(126, 126, 126, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
    overflow: hidden;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(221, 221, 221, 0.15);
}





.custom-card .card-body {
    padding: 25px;
}

/* Gradient Header */
.gradient-header {
    background: linear-gradient(45deg, #007bff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 3px solid rgba(0, 123, 255, 0.3);
    display: inline-block;
}

/* Button Styles */
.btn-gradient-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.btn-gradient-primary:hover {
    background: linear-gradient(45deg, #0056b3, #007bff);
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

.btn-gradient-success {
    background: linear-gradient(45deg, #28a745, #218838);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.2);
}

.btn-gradient-success:hover {
    background: linear-gradient(45deg, #218838, #28a745);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.3);
    transform: translateY(-2px);
    color: white;
}

.btn-gradient-info {
    background: linear-gradient(45deg, #17a2b8, #138496);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(23, 162, 184, 0.2);
}

.btn-gradient-info:hover {
    background: linear-gradient(45deg, #138496, #17a2b8);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.3);
    transform: translateY(-2px);
    color: white;
}

/* Alert Styles */
.alert-custom {
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-custom.alert-info {
    background-color: #e0f7fa;
    color: #007bff;
    border-left: 5px solid #007bff;
}

.alert-custom.alert-success {
    background-color: #e6ffe6;
    color: #28a745;
    border-left: 5px solid #28a745;
}

/* Course Card Specific Styles */
.course-card .card-img-top {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.course-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-card .card-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #343a40;
}

.course-card .card-text {
    color: #6c757d;
    flex-grow: 1;
    margin-bottom: 15px;
}

.course-card .btn {
    width: 100%;
    margin-top: 5px;
}

/* Custom Card Styles */
.custom-card {
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
    overflow: hidden;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}




.custom-card .card-body {
    padding: 25px;
}

/* Gradient Header */
.gradient-header {
    background: linear-gradient(45deg, #007bff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 3px solid rgba(0, 123, 255, 0.3);
    display: inline-block;
}

/* Button Styles */
.btn-gradient-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.btn-gradient-primary:hover {
    background: linear-gradient(45deg, #0056b3, #007bff);
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

.btn-gradient-success {
    background: linear-gradient(45deg, #28a745, #218838);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.2);
}

.btn-gradient-success:hover {
    background: linear-gradient(45deg, #218838, #28a745);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.3);
    transform: translateY(-2px);
    color: white;
}

.btn-gradient-info {
    background: linear-gradient(45deg, #17a2b8, #138496);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(23, 162, 184, 0.2);
}

.btn-gradient-info:hover {
    background: linear-gradient(45deg, #138496, #17a2b8);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.3);
    transform: translateY(-2px);
    color: white;
}

/* Alert Styles */
.alert-custom {
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-custom.alert-info {
    background-color: #e0f7fa;
    color: #007bff;
    border-left: 5px solid #007bff;
}

.alert-custom.alert-success {
    background-color: #e6ffe6;
    color: #28a745;
    border-left: 5px solid #28a745;
}

/* Course Card Specific Styles */
.course-card .card-img-top {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.course-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-card .card-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #343a40;
}

.course-card .card-text {
    color: #6c757d;
    flex-grow: 1;
    margin-bottom: 15px;
}

.course-card .btn {
    width: 100%;
    margin-top: 5px;
}

/* Custom Card Styles */
.custom-card {
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
    overflow: hidden;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}




.custom-card .card-body {
    padding: 25px;
}

/* Gradient Header */
.gradient-header {
    background: linear-gradient(45deg, #007bff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 3px solid rgba(0, 123, 255, 0.3);
    display: inline-block;
}

/* Button Styles */
.btn-gradient-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.btn-gradient-primary:hover {
    background: linear-gradient(45deg, #0056b3, #007bff);
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

.btn-gradient-success {
    background: linear-gradient(45deg, #28a745, #218838);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.2);
}

.btn-gradient-success:hover {
    background: linear-gradient(45deg, #218838, #28a745);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.3);
    transform: translateY(-2px);
    color: white;
}

.btn-gradient-info {
    background: linear-gradient(45deg, #17a2b8, #138496);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(23, 162, 184, 0.2);
}

.btn-gradient-info:hover {
    background: linear-gradient(45deg, #138496, #17a2b8);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.3);
    transform: translateY(-2px);
    color: white;
}

.btn-gradient-danger {
    background: linear-gradient(45deg, #dc3545, #c82333);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.2);
}

.btn-gradient-danger:hover {
    background: linear-gradient(45deg, #c82333, #dc3545);
    box-shadow: 0 6px 12px rgba(220, 53, 69, 0.3);
    transform: translateY(-2px);
    color: white;
}

/* Alert Styles */
.alert-custom {
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-custom.alert-info {
    background-color: #e0f7fa;
    color: #007bff;
    border-left: 5px solid #007bff;
}

.alert-custom.alert-success {
    background-color: #e6ffe6;
    color: #28a745;
    border-left: 5px solid #28a745;
}

.alert-custom.alert-danger {
    background-color: #ffe6e6;
    color: #dc3545;
    border-left: 5px solid #dc3545;
}

/* Course Image */
.course-image {
    max-height: 300px;
    object-fit: cover;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    width: 100%;
}

/* Suggested Courses */
.suggested-course-card {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.suggested-course-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.suggested-course-card .card-img-top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 150px;
    object-fit: cover;
}

.suggested-course-card .card-body {
    padding: 15px;
}

.suggested-course-card .card-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
}

footer {
    width: 100% !important;
}

/* Custom Card Styles */
.custom-card {
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
    overflow: hidden;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.custom-card .card-header {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    font-weight: bold;
    padding: 15px 20px;
    border-bottom: none;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    font-size: 1.25rem;
}

.custom-card .card-body {
    padding: 25px;
}

/* Gradient Header */
.gradient-header {
    background: linear-gradient(45deg, #007bff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 3px solid rgba(0, 123, 255, 0.3);
    display: inline-block;
}

/* Button Styles */
.btn-gradient-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.btn-gradient-primary:hover {
    background: linear-gradient(45deg, #0056b3, #007bff);
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

.btn-gradient-success {
    background: linear-gradient(45deg, #28a745, #218838);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.2);
}

.btn-gradient-success:hover {
    background: linear-gradient(45deg, #218838, #28a745);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.3);
    transform: translateY(-2px);
    color: white;
}

.btn-gradient-info {
    background: linear-gradient(45deg, #17a2b8, #138496);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(23, 162, 184, 0.2);
}

.btn-gradient-info:hover {
    background: linear-gradient(45deg, #138496, #17a2b8);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.3);
    transform: translateY(-2px);
    color: white;
}

.btn-gradient-danger {
    background: linear-gradient(45deg, #dc3545, #c82333);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.2);
}

.btn-gradient-danger:hover {
    background: linear-gradient(45deg, #c82333, #dc3545);
    box-shadow: 0 6px 12px rgba(220, 53, 69, 0.3);
    transform: translateY(-2px);
    color: white;
}

/* Alert Styles */
.alert-custom {
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-custom.alert-info {
    background-color: #e0f7fa;
    color: #007bff;
    border-left: 5px solid #007bff;
}

.alert-custom.alert-success {
    background-color: #e6ffe6;
    color: #28a745;
    border-left: 5px solid #28a745;
}

.alert-custom.alert-danger {
    background-color: #ffe6e6;
    color: #dc3545;
    border-left: 5px solid #dc3545;
}

/* Table Styles */
.table-custom {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.table-custom thead th {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    font-weight: bold;
    vertical-align: middle;
    border-bottom: none;
    padding: 12px 15px;
}

.table-custom tbody tr {
    transition: background-color 0.2s ease;
}

.table-custom tbody tr:hover {
    background-color: #f8f9fa;
}

.table-custom tbody td {
    vertical-align: middle;
    padding: 10px 15px;
}

.table-responsive {
    margin-top: 20px;
}

/* Custom Card Styles */
.custom-card {
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
    overflow: hidden;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.custom-card .card-header {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    font-weight: bold;
    padding: 15px 20px;
    border-bottom: none;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    font-size: 1.25rem;
}

.custom-card .card-body {
    padding: 25px;
}

/* Gradient Header */
.gradient-header {
    background: linear-gradient(45deg, #007bff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 3px solid rgba(0, 123, 255, 0.3);
    display: inline-block;
}

/* Button Styles */
.btn-gradient-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.btn-gradient-primary:hover {
    background: linear-gradient(45deg, #0056b3, #007bff);
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

.btn-gradient-success {
    background: linear-gradient(45deg, #28a745, #218838);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.2);
}

.btn-gradient-success:hover {
    background: linear-gradient(45deg, #218838, #28a745);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.3);
    transform: translateY(-2px);
    color: white;
}

.btn-gradient-info {
    background: linear-gradient(45deg, #17a2b8, #138496);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(23, 162, 184, 0.2);
}

.btn-gradient-info:hover {
    background: linear-gradient(45deg, #138496, #17a2b8);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.3);
    transform: translateY(-2px);
    color: white;
}

.btn-gradient-danger {
    background: linear-gradient(45deg, #dc3545, #c82333);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.2);
}

.btn-gradient-danger:hover {
    background: linear-gradient(45deg, #c82333, #dc3545);
    box-shadow: 0 6px 12px rgba(220, 53, 69, 0.3);
    transform: translateY(-2px);
    color: white;
}

/* Alert Styles */
.alert-custom {
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-custom.alert-info {
    background-color: #e0f7fa;
    color: #007bff;
    border-left: 5px solid #007bff;
}

.alert-custom.alert-success {
    background-color: #e6ffe6;
    color: #28a745;
    border-left: 5px solid #28a745;
}

.alert-custom.alert-danger {
    background-color: #ffe6e6;
    color: #dc3545;
    border-left: 5px solid #dc3545;
}

.course-image {
    border-radius: 10px;
    object-fit: cover;
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.course-details p {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 10px;
}

.course-details strong {
    color: #343a40;
}

.enrollment-status {
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 20px;
    padding: 10px 15px;
    border-radius: 8px;
}

.enrollment-status.enrolled {
    background-color: #d4edda;
    color: #155724;
}

.enrollment-status.not-enrolled {
    background-color: #f8d7da;
    color: #721c24;
}



/* sidebar */
@media (max-width: 767.98px) {
    .right-menu {
        display: none !important;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1050;
        height: 100vh;
        width: 70vw;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s;
    }

    .right-menu.active {
        display: block !important;
        transform: translateX(0);
    }

    .sidebar-toggle {
        display: block !important;
        position: fixed;
        top: 60px;
        left: 20px;
        z-index: 1100;
        border: none;
        border-radius: 50%;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        padding: 3px 12px;
    }
}

@media (min-width: 768px) {
    .sidebar-toggle {
        display: none !important;
    }
}

/* topbar */
.navbar-toggler {
    display: none;
    position: absolute;
    background: none;
    font-size: inherit;
    cursor: pointer;
    width: 40px;
    height: 40px;
    left: 12px;
    padding: 0;
}

.navbar-toggler span {
    display: block;
    width: 30px;
    height: 3px;
    padding: 0px;
    background: #222;
    margin: 5px;
}

@media (max-width: 991px) {
    .navbar-toggler {
        display: block !important;
    }

    #mainNavList {
        display: none !important;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 70px;
        right: 20px;
        width: 200px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
        border-radius: 8px;
        z-index: 100;
    }

    #mainNavList.active {
        display: flex !important;
        width: 90%;
    }
}

.footer-copyright {
    background: black;
    padding: 10px 0;
    margin: 19px 0;
}