/* Enhanced Card Styles */
.card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.card-header {
    background: linear-gradient(135deg, #6a3093, #a044ff);
    color: white;
    border-radius: 15px 15px 0 0 !important;
    font-weight: 600;
    border: none;
}

/* Custom Purple Color Scheme */
.btn-purple {
    background-color: #6a3093;
    border-color: #6a3093;
    color: white;
}

.btn-purple:hover {
    background-color: #5a2a7a;
    border-color: #5a2a7a;
    color: white;
}

.btn-outline-purple {
    color: #6a3093;
    border-color: #6a3093;
}

.btn-outline-purple:hover {
    background-color: #6a3093;
    color: white;
}

/* Enhanced Alert Styles */
.alert-primary {
    background: linear-gradient(135deg, #e9d5ff, #d8b4fe);
    border: none;
    border-left: 4px solid #6a309375;
    border-radius: 10px;
    color: #4e425a;
}

/* Custom Form Controls */
.form-control:focus {
    border-color: #6a3093;
    box-shadow: 0 0 0 0.2rem rgba(106, 48, 147, 0.25);
}

.form-label {
    font-weight: 600;
    color: #6a3093;
    margin-bottom: 8px;
}

/* Enhanced Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #ffffff, #f8f9fa) !important;
}

.navbar-brand {
    font-weight: 700;
    color: #6a3093 !important;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: #5a4a6a !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #6a3093 !important;
}

/* Enhanced Footer */
footer {
    background: linear-gradient(135deg, #6a3093, #a044ff) !important;
    color: white;
    margin-top: 3rem !important;
}

/* Progress Bar Styles */
.progress {
    height: 8px;
    border-radius: 10px;
    background-color: #e9ecef;
}

.progress-bar {
    background: linear-gradient(135deg, #6a3093, #a044ff);
    border-radius: 10px;
    transition: width 0.6s ease;
}

/* Animation Classes */
.animate__animated {
    animation-duration: 0.6s;
}

.module-completed {
    background-color: #d1fae5 !important;
    text-decoration: line-through;
    color: #065f46;
}

/* Responsive Image Styles */
.img-thumbnail {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

/* Custom Shadow Utilities */
.shadow-custom {
    box-shadow: 0 10px 30px rgba(106, 48, 147, 0.1) !important;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #6a3093, #a044ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}