/* Custom Bootstrap Overrides and Additional Styles */

/* Custom gradient background for navbar */
.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* Main Content */
.main-content {
    margin-top: 76px; /* Adjust for Bootstrap navbar height */
    min-height: calc(100vh - 76px);
    padding: 40px 0;
}

/* Custom card hover effects */
.card {
    transition: all 0.3s ease;
    border: none !important;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* Custom button styles */
.btn {
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Custom form styles */
.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Custom navbar brand */
.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Custom dropdown styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 10px;
}

.dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #667eea;
}

/* Custom alert styles */
.alert {
    border: none;
    border-radius: 10px;
    font-weight: 500;
}

/* Custom badge styles */
.badge {
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 20px;
}

/* Custom text colors */
.text-primary {
    color: #667eea !important;
}

/* Custom background colors */
.bg-primary {
    background-color: #667eea !important;
}

/* Custom spacing */
.py-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

/* Custom shadow utilities */
.shadow-custom {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

/* Custom border radius */
.rounded-custom {
    border-radius: 15px !important;
}

/* Custom icon backgrounds */
.icon-bg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Custom list styles */
.list-custom {
    list-style: none;
    padding: 0;
}

.list-custom li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.list-custom li:last-child {
    border-bottom: none;
}

/* Custom animation classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom gradient text */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom card hover effects for course cards */
.course-card {
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.course-card .card-body {
    position: relative;
    z-index: 2;
}

/* Custom pricing styles */
.pricing {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Custom feature icons */
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Custom responsive adjustments */
@media (max-width: 768px) {
    .main-content {
        margin-top: 70px;
        padding: 20px 0;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a6fd8;
}
