            /* Base Line*/
            * {
                margin: 0;
                padding: 0;
                box-sizing: border-box;
                font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            }

            :root {
                --primary: #4361ee;
                --secondary: #3f37c9;
                --accent: #4895ef;
                --success: #2b2d42;
                --warning: #f72585;
                --dark: #2b2d42;
                --light: #f8f9fa;
                --gray: #8d99ae;
                --sidebar: #1e1f3a;
                --sidebar-width: 280px;
                --sidebar-minimized-width: 80px;
                --header-height: 80px;

                /* Light theme variables */
                --body-bg: Linear-gradient(135deg, #f0f2f5, #e4e7f0);
                --text-color: #2b2d42;
                --card-bg: white;
                --header-bg: white;
                --progress-bar-bg: #e2e8f0;
                --time-bg: #f0f2f5;
                --border-color: #e2e8f0;
                --shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
                --hover-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
                --view-all-color: #4361ee;
                --grid-line: #e9ecef;
                --footer-bg: #2b2d42;
                --footer-text: white;
                --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            }


            /*Dark theme variables*/
            body.dark-mode {
                --body-bg: linear-gradient(135deg, #121212, #1a1a1a);
                --text-color: #f8f9fa;
                --card-bg: #1e1f3a;
                --header-bg: #1e1f3a;
                --progress-bar-bg: #2b2d42;
                --time-bg: #2b2d42;
                --border-color: #3a3c5a;
                --shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
                --hover-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
                --view-all-color: #70e4ff;
                --grid-line: #3a3c5a;
                --footer-bg: #121212;
                --footer-text: #e407f0;
                --card-shadow: 0 4px 12px rgba(0, 0, 0 , 0.15 );
            }


            body {
                background: var(--body-bg);
                color: var(--text-color);
                min-height: 100vh;
                transition: background 0.3s ease, color 0.3s ease;
            }

            /* Main Grid Layout*/
            .dashboard {
                display: grid;
                grid-template-columns: var(--sidebar-width) 1fr;
                grid-template-rows: var(--header-height) 1fr auto;
                grid-template-areas:
                    "sidebar header"
                    "sidebar content"
                    "sidebar footer";
                min-height: 100vh;
                transition: all 0.3s ease;
            }

            /* Mobile Overlay  */

            .mobile-overlay {
                display: none;
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(0, 0, 0, 0.5);
                z-index: 150;
                opacity: 0;
                transition: opacity 0.3s ease;
            }

            /* We will target each of the grid template areas above  */
            /* Header Area*/
            .header {
                grid-area: header;
                background: var(--header-bg);
                padding: 0 2rem;
                display: flex;
                justify-content: space-between;
                align-items: center;
                box-shadow: var(--shadow);
                z-index: 100;
                transition: background 0.3 ease;
            }

            .header-left {
                display: flex;
                align-items: center;
                gap: 1.5rem;
            }

            .mobile-toggle {
                display: none;
                background: none;
                border: none;
                font-size: 1.5rem;
                cursor: pointer;
                color: var(--text-color);
            }

            .search-bar {
                display: flex;
                align-items: center;
                background: var(--time-bg);
                border-radius: 30px;
                padding: 0.5rem 1rem;
                width: 300px;
            }

            .search-bar i {
                color: var(--gray);
            }

            .search-bar input {
                border: none;
                background: transparent;
                padding: 0.5rem;
                width: 100%;
                font-size: 0.9rem;
                color: var(--text-color);
            }

            .header-right {
                display: flex;
                align-items: center;
                gap: 1.5rem;
            }

            /* theme toggle*/
            .theme-toggle {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 40px;
                height: 40px;
                border-radius: 40px;
                background: var(--card-bg);
                color: var(--text-color);
                border: none;
                cursor: pointer;
                transition: all 0.3s ease;
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            }

            .theme-toggle:hover {
                transform: translateY(-3px);
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
            }

            .notification,
            .user-profile {
                position: relative;
                cursor: pointer;
            }

            .notification-badge {
                position: absolute;
                top: -5px;
                right: -5px;
                background: var(--warning);
                color: white;
                font-size: 0.7rem;
                width: 18px;
                height: 18px;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;

            }

            .user-profile img {
                width: 40px;
                height: 40px;
                border-radius: 50%;
                object-fit: cover;
            }






            /* Sidebar Area*/
            .sidebar {
                grid-area: sidebar;
                background: var(--sidebar);
                color: white;
                padding: 1.5rem 0;
                z-index: 200;
                overflow-y: auto;
                height: 100vh;
                position: sticky;
                top: 0;
                transition: all 0.3s ease;

            }

            .logo {
                padding: 0 1.5rem 1.5rem;
                display: flex;
                align-items: center;
                gap: 0.75rem;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
                margin-bottom: 1rem;
                transition: all 0.3s ease;
            }

            .logo i {
                color: var(--primary);
                font-size: 1.8rem;
                min-width: 24px;
                text-align: center;
            }


            .logo h1 {
                font-size: 1.5rem;
                color: white;
                transition: all 0.3s ease;
                overflow: hidden;
                white-space: nowrap;
            }


            .nav-title {
                text-transform: uppercase;
                font-size: 0.75rem;
                font-weight: 600;
                color: var(--gray);
                padding: 1.5rem 1.5rem 0.5rem;
            }

            .nav-links {
                display: flex;
                flex-direction: column;
                padding: 0 1rem;
            }

            .nav-item {
                display: flex;
                align-items: center;
                padding: 0.9rem 1.5rem;
                border-radius: 8px;
                margin-bottom: 0.5rem;
                color: #bbb;
                text-decoration: none;
                transition: all 0.3s ease;
                font-weight: 500;
                overflow: hidden;
            }

            .nav-item:hover,
            .nav-item.active {

                background: rgba(67, 97, 238, 0.2);
                color: white;
            }

            .nav-item i {
                margin-right: 1rem;
                font-size: 1.2rem;
                min-width: 24px;
                text-align: center;
                transition: margin 0.3s ease;
            }

            .team-members {
                display: flex;
                align-items: center;
                padding: 0.5rem 1.5rem;
                margin-bottom: 0.5rem;
                color: #bbb;
                transition: all 0.3s ease;
                overflow: hidden;

            }

            .team-members .member-avatar {
                width: 32px;
                height: 32px;
                border-radius: 50%;
                background: linear-gradient(135deg, var(--primary), var(--secondary));
                display: flex;
                align-items: center;
                justify-content: center;
                color: white;
                font-weight: bold;
                font-size: 0.8rem;
                margin-right: 1rem;
            }

            .team-members span {
                transition: all 0.3s ease;
                overflow: hidden;
                white-space: nowrap;
            }


            /* Content Area*/
            .content {
                grid-area: content;
                padding: 2rem;
                display: grid;
                grid-template-columns: 2fr 1fr;
                grid-template-rows: auto auto auto auto;
                gap: 2rem;
                grid-template-areas:
                    "welcome  profile"
                    "project stats"
                    "timeline timeline"
                    "users users";
            }


            .welcome-banner {
                grid-area: welcome;
                background: linear-gradient(135deg, var(--primary), var(--secondary));
                border-radius: 16px;
                padding: 2rem;
                color: white;
                box-shadow: 0 10px 30px rgba(67, 97, 238, 0.3);
                display: flex;
                flex-direction: column;
                justify-content: center;
            }

            .welcome-banner h1 {
                font-size: 1.8rem;
                margin-bottom: 1rem;
            }

            .welcome-banner p {
                opacity: 0.9;
                margin-bottom: 1.5rem;
                max-width: 600px;
            }

            .btn {
                padding: 0.8rem 1.5rem;
                border-radius: 50px;
                font-weight: 600;
                cursor: pointer;
                transition: all 0.3s ease;
                border: none;
                font-size: 1rem;
            }

            .btn-light {
                background: rgba(255, 255, 255, 0.2);
                color: white;
                backdrop-filter: blur(10px);
            }

            .btn-light:hover {
                background: rgba(255, 255, 255, 0.3);
                transform: translateY(-3px);
            }

            .profile-card {
                grid-area: profile;
                background: var(--card-bg);
                border-radius: 16px;
                padding: 1.5rem;
                display: flex;
                flex-direction: column;
                align-items: center;
                text-align: center;
                box-shadow: var(--card-shadow);
                transition: all 0.3s ease;
            }

            .profile-card:hover {
                transform: translateY(-5px);
                box-shadow: var(--hover-shadow);
            }

            .profile-image {
                width: 100px;
                height: 100px;
                border-radius: 50%;
                object-fit: cover;
                border: 4px solid white;
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
                margin-bottom: 1.5rem;

            }

            .profile-info {
                margin-bottom: 1.5rem;
                width: 100%;
            }

            .profile-info h2 {
                font-size: 1.4rem;
                margin-bottom: 0.5rem;
                color: var(--text-color);

            }

            .profile-info p {
                color: var(--gray);
                margin-bottom: 1rem;


            }

            .progress-ring {
                position: relative;
                height: 100px;
                width: 100px;
                margin: 0 auto 1rem;
            }

            .progress-circle {
                transform: rotate(-90deg);
                transform-origin: 50% 50%;
            }

            .progress-bg {
                fill: none;
                stroke: var(--progress-bar-bg);
                stroke-width: 8;
            }

            .progress-fill {
                fill: none;
                stroke: var(--primary);
                stroke-width: 8;
                stroke-dasharray: 283;
                stroke-linecap: round;
                stroke-dashoffset: 70;
                ;
                transition: stroke-dashoffset 0.5s ease;
            }

            .progress-text {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                font-size: 1.2rem;
                font-weight: 700;
                color: var(--text-color);
            }

            .profile-stats {
                display: flex;
                justify-content: space-around;
                width: 100%;
                margin-top: 1rem;
            }

            .stats-item {
                display: flex;
                flex-direction: column;
            }

            .stats-value {
                font-size: 1.4rem;
                font-weight: 700;
                color: var(--primary);
            }

            .stats-label {
                font-size: 0.85rem;
                color: var(--gray);
                margin-top: 0.25rem;
            }

            /* Cards */
            .card {
                background: var(--card-bg);
                border-radius: 12px;
                box-shadow: var(--card-shadow);
                overflow: hidden;
                transition: all 0.3s ease;

            }

            .card:hover {
                transform: translateY(-3px);
            }

            /* Project Section  */

            .project-section {
                grid-area: project;
            }

            .section-title {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 1.5rem;
            }

            .section-title h1 {
                font-size: 1.5rem;
                color: var(--text-color);
            }

            .view-all {
                color: var(--view-all-color);
                text-decoration: none;
                display: flex;
                align-items: center;
                gap: 0.5rem;

            }

            .project-grid {
                display: grid;
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .project-card {
                border-radius: 12px;
                padding: 1.5rem;
                transition: all 0.3s ease;
                display: flex;
                flex-direction: column;
                height: 100%;
            }

            .project-card:hover {
                transform: translateY(-5px);
            }

            .project-header {
                display: flex;
                align-items: flex-start;
                justify-content: space-between;
                margin-bottom: 1.2rem;
            }

            .project-title h3 {
                font-size: 1.2rem;
                margin-bottom: 0.5rem;
                color: var(--text-color);
            }

            .project-catagory {
                display: inline-block;
                padding: 0.3rem 0.8rem;
                border-radius: 30px;
                font-size: 0.8rem;
                font-weight: 600;
            }

            .design {
                background: rgba(72, 149, 239, 0.15);
                color: var(--accent);
            }

            .devlopment {
                background: rgba(247, 37, 133, 0.15);
                color: var(--warning);
            }

            .tool-website {

                background: #07c5921a;
                color: #0bd6a0;
            }



            .project-time {
                background: var(--time-bg);
                padding: 0.4rem 0.8rem;
                border-radius: 30px;
                font-size: 0.9rem;
                font-weight: 600;
                color: var(--text-color);


            }

            .project-time {
                margin-right: 10px;
            }

            .project-progress {
                margin-bottom: 1.5rem;

            }

            .progress-info {
                display: flex;
                justify-content: space-between;
                margin-bottom: 0.5rem;
                font-size: 0.9rem;
                font-weight: 600;
                color: var(--text-color);
            }

            .progress-bar {
                height: 8px;
                background: var(--progress-bar-bg);
                border-radius: 4px;
                overflow: hidden;

            }

            .progress-fill {
                height: 100%;
                border-radius: 4px;
            }

            .project-1 .progress-fill {
                width: 75%;
                background: linear-gradient(to right, var(--primary), var(--accent));
            }

            .project-2 .progress-fill {
                width: 45%;
                background: linear-gradient(to right, var(--warning), #ff6b96);
            }

            .project-3 .progress-fill {
                width: 25%;
                background: linear-gradient(to right, #56dbb8, #0bd6a0);
            }

            .project-footer {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-top: auto;
            }

            .team-avatar {
                display: flex;

            }

            .member-avatar {
                width: 32px;
                height: 32px;
                border-radius: 50%;
                background: linear-gradient(135deg, var(--primary), var(--secondary));
                display: flex;
                align-items: center;
                font-weight: bold;
                font-size: 0.8rem;
                margin-left: -8px;
            }

            .team-avatar .member-avatar:first-child {
                margin-left: 0;
            }

            .days-left {
                background: var(--time-bg);
                padding: 0.4rem 0.8rem;
                border-radius: 30px;
                font-size: 0.9rem;
                font-weight: 600;
                color: var(--text-color);
            }

            .days-left i {
                margin-right: 5px;
            }


            /* Project Priority Indicator*/

            .priority-indicator {
                width: 12px;
                height: 12px;
                border-radius: 50%;
                display: inline-block;
                margin-right: 8px;
            }

            .priority-high {
                background-color: #ff6b6b;
            }

            .priority-medium {
                background-color: #ffd166;
            }

            .priority-low {
                background-color: #0bd6a0;
            }


            /* Stats section  */
            .stats-section {
                grid-area: stats;
            }

            .stats-grid {
                display: grid;
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .stats-card {
                padding: 1.5rem;
                display: flex;
                flex-direction: column;
                align-items: center;
                text-align: center;
                transition: transform 0.3s ease;
            }

            .stats-card:hover {
                transform: scale(1.03);
            }

            .stat-icon {
                width: 60px;
                height: 60px;
                border-radius: 16px;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 1.5rem;
                margin-bottom: 1rem;
            }

            /* Stat Icon  */
            .stat-icon .design {
                background: rgba(72, 149, 239, 0.15);
                color: var(--accent);
            }

            .stat-icon .devlopment {
                background: rgba(247, 37, 133, 0.15);
                color: var(--warning);
            }


            .stat-value {
                font-size: 1.8rem;
                font-weight: 700;
                margin-bottom: 0.5rem;
                color: var(--primary);
            }

            .stat-label {
                font-size: 0.95rem;
                color: var(--gray);
            }



            /* Animation For Stats */

            @keyframes pulse {
                0% {
                    transform: scale(1);
                }

                50% {
                    transform: scale(1.05);
                }

                100% {
                    transform: scale(1);
                }

            }

            .stats-card:hover .stat-icon {
                animation: pulse 1.5s infinite;
            }


            /* Timeline Section  */
            .timeline-section {
                grid-area: timeline;
                border-radius: 12px;
                padding: 1.5rem;
                display: flex;
                flex-direction: column;
            }

            .timeline-container {
                margin-top: 1.5rem;
                height: 300px;
                display: flex;
                gap: 2rem;
                overflow-x: auto;
                flex: 1;

            }

            .user-column {
                display: flex;
                flex-direction: column;
                gap: 1.5rem;
                min-width: 120;
            }

            .user-row {
                display: flex;
                align-items: center;
                gap: 1rem;
                height: 60px;
            }

            .user-name {
                min-width: 100px;
                font-weight: 600;
                color: var(--text-color);
            }

            .timeline-area {
                position: relative;
                /* Add this line! */
                flex: 1;
                overflow-x: auto;
            }

            .timeline-grid {
                position: relative;
                height: 100%;
                min-width: 800px;
            }

            .grid-line {
                position: absolute;
                left: 0;
                right: 0;
                height: 1px;
                background: var(--grid-line);
            }

            .time-marker {
                position: absolute;
                top: 0;
                font-size: 0.8rem;
                color: var(--gray);
                margin-top: -2px;
            }

            .task-bar {
                position: absolute;
                height: 30px;
                border-radius: 15px;
                display: flex;
                align-items: center;
                padding: 0 10px;
                color: white;
                font-size: 0.9rem;
                font-weight: 500;
                box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
                cursor: pointer;
                transition: all 0.2s ease;
            }

            .task-bar:hover {
                transform: scale(1.03);
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            }


            /* Users Section  */
            .users-section {
                grid-area: users;
            }

            .users-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
                gap: 1.5rem;
            }

            .user-card {
                border-radius: 12px;
                padding: 1.5rem;
                display: flex;
                align-items: center;
                gap: 1.2rem;
                transition: all 0.3s ease;

            }

            .user-avatar-lg {
                width: 60px;
                height: 60px;
                border-radius: 16px;
                background: linear-gradient(135deg, var(--primary), var(--secondary));
                display: flex;
                align-items: center;
                justify-content: center;
                color: white;
                font-weight: bold;
                font-size: 1.5rem;
                overflow: hidden;
            }

            .user-avatar-lg img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

            .user-info h3 {
                font-size: 1.1rem;
                margin-bottom: 0.3rem;
                color: var(--text-color);
            }

            .user-info p {
                color: var(--gray);
                font-size: 0.9rem;
            }

            /* Footer Area*/
            .footer {
                grid-area: footer;
                background: var(--footer-bg);
                color: var(--footer-text);
                padding: 1.5rem 2rem;
                text-align: center;
                font-size: 0.9rem;
                transition: background 0.3s ease, color 0.3s ease;
            }


            /* RESPONSIVE DESIGNS ( MEDIA QUERIES ) */

            /* Tablet view : sidebar minimized to icons only*/
            @media (min-width:769px) and (max-width:1200px) {
                -root {
                    --sidebar-width: var(--sidebar-minimized-width)
                }

                .dashboard {
                    grid-template-columns: var(--sidebar-minimized-width) 1fr;
                }

                .sidebar {
                    overflow-x: hidden;
                }

                .logo {
                    padding: 0 0.5rem 1.5rem;
                    justify-content: center;
                }

                .logo h1,
                .nav-title,
                .nav-item span,
                .team-members span {
                    display: none;
                }

                .nav-links {
                    padding: 0;
                }

                .nav-item {
                    padding: 0.9rem 0;
                    justify-content: center;
                    margin-left: 0.5rem;
                    margin-right: 0.5rem;
                }

                .nav-item i {
                    margin-right: 0;
                }

                .team-members {
                    justify-content: center;
                    padding: 0.5rem 0;
                }

                .team-members .member-avatar {
                    margin-right: 0;
                }

                .mobile-toggle i {
                    transform: rotate(180deg);
                }
            }

            /* Resposive Design  */

            @media (min-width:1200px) {
                .content {
                    grid-template-columns: 2fr 1fr;
                    grid-template-areas:
                        "welcome  profile"
                        "project stats"
                        "timeline timeline"
                        "users users";
                }
            }

            @media (max-width: 992px) {
                .content {
                    grid-template-columns: 1fr;

                    grid-template-areas:
                        "welcome"
                        "profile"
                        "project"
                        "stats"
                        "timeline"
                        "users";
                }


                .project-grid,
                .stats-grid,
                .users-grid {
                    grid-template-columns: 1fr;
                }
            }

            @media (max-width:768px) {
                .dashboard {
                    grid-template-columns: 1fr;
                    grid-template-rows: auto 1fr auto;
                    grid-template-areas: 
                    "header"
                    "content"
                    "footer";
                }

                .sidebar {
                    position: fixed;
                    left: -100%;
                    top: 0;
                    height: 100vh;
                    width: var(--sidebar-width);
                    z-index: 200;
                    transition:  left 0.3s ease;
                }
                .sidebar.active {
                    left: 0;
                }

                .mobile-toggle {
                    display: block;
                }
                
                .mobile-overlay.active {
                    display: block;
                    opacity: 1;
                }

                .search-bar {
                    width: 200px;
                }
                .header {
                    padding: 0 1rem;
                }





            }
            @media (max-width:576px) {
                .content {
                    padding: 1.5rem 1rem;
                }
                .search-bar {
                    display: none;
                }

                .timeline-grid {
                    min-width: 500px;
                }


            }