/* Main Styles for SkillIQ Platform */

:root {
    --primary-color: #4e73df;
    --secondary-color: #1cc88a;
    --tertiary-color: #36b9cc;
    --warning-color: #f6c23e;
    --danger-color: #e74a3b;
    --dark-color: #5a5c69;
    --light-color: #f8f9fc;
    --gray-color: #858796;
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fc;
    color: #444;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    flex: 1;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: #2e59d9;
    text-decoration: underline;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.badge-success {
    background-color: var(--secondary-color);
    color: white;
}

.badge-info {
    background-color: var(--tertiary-color);
    color: white;
}

.badge-warning {
    background-color: var(--warning-color);
    color: white;
}

.badge-danger {
    background-color: var(--danger-color);
    color: white;
}

.badge-secondary {
    background-color: var(--dark-color);
    color: white;
}

.badge-primary {
    background-color: var(--primary-color);
    color: white;
}

/* Header & Navigation */
.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-link {
    font-weight: 500;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    margin-bottom: 1.5rem;
    border-radius: 0.35rem;
}

.card-header {
    background-color: #f8f9fc;
    border-bottom: 1px solid #e3e6f0;
    font-weight: 700;
    color: #4e73df;
}

/* Dashboard */
.dashboard-header {
    padding: 1.5rem 0;
    background-color: white;
    border-bottom: 1px solid #e3e6f0;
    margin-bottom: 1.5rem;
}

.stats-card {
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.stats-icon {
    font-size: 2rem;
    opacity: 0.3;
    color: var(--primary-color);
}

.stats-card .stats-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.stats-card .stats-label {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--gray-color);
}

/* SkillIQ Score */
.skilliq-score {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.skilliq-badge {
    display: inline-block;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    border-radius: 10rem;
    font-weight: 600;
}

.skilliq-novice {
    background-color: #e74a3b;
    color: white;
}

.skilliq-beginner {
    background-color: #f6c23e;
    color: white;
}

.skilliq-intermediate {
    background-color: #36b9cc;
    color: white;
}

.skilliq-advanced {
    background-color: #1cc88a;
    color: white;
}

.skilliq-expert {
    background-color: #4e73df;
    color: white;
}

/* Career Paths */
.career-path-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.career-path-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.15);
}

.career-path-card .card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fc;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.career-path-card .card-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Labs */
.lab-card {
    transition: transform 0.3s ease;
}

.lab-card:hover {
    transform: translateY(-5px);
}

.lab-difficulty {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.lab-time {
    display: inline-flex;
    align-items: center;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.lab-time i {
    margin-right: 0.3rem;
}

/* Forms */
.form-control:focus {
    border-color: #bac8f3;
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #2e59d9;
    border-color: #2653d4;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Home page */
.hero-section {
    background: linear-gradient(to right, #4e73df, #36b9cc);
    color: white;
    padding: 5rem 0;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background-color: white;
    border-top: 1px solid #e3e6f0;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer .social-links a {
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.footer .social-links a:hover {
    color: var(--primary-color);
}

/* Lab Environment */
.lab-environment {
    border: 1px solid #e3e6f0;
    border-radius: 0.35rem;
    margin-bottom: 1.5rem;
}

.lab-header {
    padding: 1rem 1.5rem;
    background-color: #f8f9fc;
    border-bottom: 1px solid #e3e6f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lab-content {
    padding: 1.5rem;
    background-color: white;
}

.lab-question {
    margin-bottom: 1.5rem;
}

.lab-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .dashboard-header {
        padding: 1rem 0;
    }
    
    .skilliq-score {
        font-size: 2.5rem;
    }
}