/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

:root {
    --primary-color: #007bff;
    --secondary-color: #222;
    --background-light: #f4f4f4;
    --background-dark: #1a1a1a;
    --text-light: #fff;
    --text-dark: #222;
    --box-shadow-light: 0px 4px 10px rgba(0, 0, 0, 0.1);
    --box-shadow-heavy: 0px 8px 20px rgba(0, 0, 0, 0.2);
}


.progress-header {
    border: 2px solid black;
    border-radius: 12.5px;
    margin-left: 10px;
    margin-right: 10px;
    box-shadow: 0px 8px 20px rgba(4, 7, 0, 0.2);
}

.progress-p {
    font-size: 18px;
    color: yellow;
    margin-left: 40px;
}


h1 {
    font-size: 27px;
    color: #fff;
    margin-left: 40px;
}




/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    background: var(--background-light);
    margin: 0;
    padding: 0;
    display: flex;
}

/* Dashboard Container */
.dashboard-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 20px;
    box-shadow: var(--box-shadow-light);
    position: fixed;
    height: 100vh;
    display: flex;
    flex-direction: column;
}
.sidebar .logo {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}
.sidebar .nav-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sidebar .nav-links li {
    margin: 0;
}
.sidebar .nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: 0.3s;
    box-shadow: var(--box-shadow-light);
}
.sidebar .nav-links a:hover, .sidebar .nav-links .active {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: var(--box-shadow-heavy);
}

/* Main Content */
.main-content {
    margin-left: 260px;
    padding: 30px;
    flex: 1;
}

/* Header */
.main-content header {
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Progress Section */
.progress-section {
    margin-bottom: 40px;
    margin-left: 40px;
}
.progress-section h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 700;
}
.progress-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.progress-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--box-shadow-light);
    width: 100%;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.progress-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-heavy);
}
.progress-item h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}
.progress-item p {
    color: var(--primary-color);
    font-weight: bold;
}
progress {
    width: 100%;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    background: #ddd;
}
progress::-webkit-progress-bar {
    background: #ddd;
}
progress::-webkit-progress-value {
    background: var(--primary-color);
}

/* Achievements Section */
.achievements-section {
    margin-bottom: 40px;
    margin-left: 40px;
}
.achievements-section h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 700;
}
.achievement-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.achievement-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: var(--box-shadow-light);
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.achievement-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-heavy);
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        width: 200px;
    }
    .main-content {
        margin-left: 210px;
        padding: 20px;
    }
    .progress-list, .achievement-list {
        flex-direction: column;
    }
}