
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
    }

    body {
      background: #f4f5fb;
      color: #111827;
      transition: margin-left 0.28s ease;
    }

    /* CONTAINER */
    .container {
      max-width: 1200px;
      margin: auto;
      padding: 30px;
    }

    /* Buttons & interactive elements – all clickable */
    button, 
    .clickable,
    .menu-btn,
    .close-btn,
    .icon,
    .chips span,
    .assessment-btn,
    .join-btn,
    .sprint-card button,
    .community-card a,
    .sidebar a {
      cursor: pointer;
      transition: all 0.2s ease;
    }

    button:hover,
    .clickable:hover,
    .icon:hover,
    .chips span:hover,
    .assessment-btn:hover,
    .join-btn:hover,
    .sprint-card button:hover,
    .community-card a:hover,
    .sidebar a:hover {
      transform: scale(0.97);
      opacity: 0.9;
    }

    /* Leaderboard Card */
    .leaderboard-card {
      margin-top: 20px;
      background: white;
      padding: 20px;
      border-radius: 15px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .leaderboard-card h3 {
      margin-bottom: 15px;
      color: #3127c8;
    }

    .leaderboard-user {
      display: flex;
      justify-content: space-between;
      padding: 10px 0;
      border-bottom: 1px solid #eee;
    }

    .leaderboard-user:last-child {
      border-bottom: none;
    }

    .leaderboard-user.you {
      font-weight: bold;
      color: #3127c8;
    }

    /* Navbar */
    .navbar {
      height: 70px;
      background: white;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 25px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
      position: sticky;
      top: 0;
      z-index: 500;
      transition: margin-left 0.28s ease;
    }

    .logo-section h1 {
      margin-left: 50px;
      color: #3127c8;
    }

    .menu-btn {
      position: fixed;
      top: 15px;
      left: 15px;
      font-size: 26px;
      cursor: pointer;
      z-index: 1100;
      color: #3127c8;
      background: white;
      padding: 8px 12px;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
      transition: left 0.28s ease;
    }

    .right-actions {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .icon {
      width: 38px;
      height: 38px;
      background: #f0f2ff;
      border-radius: 10px;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      border: none;
      font-size: 18px;
      color: #1f1f2e;
    }

    .profile-icon img {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      border: 2px solid #3127c8;
      object-fit: cover;
    }

    .notification {
      position: relative;
    }

    .dot {
      position: absolute;
      top: 5px;
      right: 5px;
      width: 8px;
      height: 8px;
      background: #e11d48;
      border-radius: 50%;
    }

    /* SIDEBAR */
    .sidebar {
      position: fixed;
      top: 0;
      left: -280px;
      width: 280px;
      height: 100%;
      background: #0b2b3b;
      background: linear-gradient(145deg, #0b2b3b 0%, #1a4b5e 100%);
      padding: 24px 18px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      transition: 0.3s ease;
      z-index: 1200;
      overflow-y: auto;
      box-shadow: 4px 0 20px rgba(0,0,0,0.2);
    }

    .sidebar.active {
      left: 0;
    }

    .sidebar a {
      color: rgba(255, 255, 255, 0.85);
      text-decoration: none;
      font-size: 16px;
      padding: 12px 16px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      gap: 12px;
      transition: 0.2s;
      font-weight: 500;
      letter-spacing: 0.3px;
    }

    .sidebar a i {
      width: 22px;
      font-size: 1.1rem;
    }

    .sidebar a:hover {
      background: rgba(255, 255, 255, 0.18);
      color: white;
      transform: translateX(4px);
    }

    .close-btn {
      color: white;
      font-size: 22px;
      cursor: pointer;
      align-self: flex-end;
      background: rgba(255,255,255,0.08);
      padding: 4px 14px;
      border-radius: 30px;
      margin-bottom: 10px;
      transition: 0.2s;
    }

    .close-btn:hover {
      background: rgba(255,255,255,0.2);
    }

    .profile {
      text-align: center;
      margin-bottom: 20px;
      border-bottom: 1px solid rgba(255,255,255,0.1);
      padding-bottom: 20px;
    }

    .profile img {
      width: 90px;
      height: 90px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid #54c6d9;
      margin-bottom: 10px;
    }

    .profile h3 {
      color: white;
      font-weight: 400;
      font-size: 1.2rem;
      letter-spacing: 0.5px;
    }

    /* HERO */
    .hero h2 {
      font-size: 40px;
      color: #2d28bf;
      margin-bottom: 15px;
    }

    .chips {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .chips span {
      background: #e8eefb;
      padding: 8px 18px;
      border-radius: 30px;
      cursor: pointer;
      font-weight: 500;
      transition: 0.2s;
      border: 1px solid transparent;
    }

    .chips span:hover {
      background: #4f46e5;
      color: white;
      border-color: #4f46e5;
      transform: translateY(-2px);
    }

    /* GRID */
    .dashboard-grid {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 20px;
      margin-top: 20px;
    }

    .learning-cards {
      display: flex;
      gap: 15px;
      margin-top: 15px;
    }

    .course-card {
      background: white;
      padding: 18px;
      border-radius: 15px;
      display: flex;
      gap: 12px;
      align-items: center;
      flex: 1;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .course-icon {
      width: 55px;
      height: 55px;
      background: #4f46e5;
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 12px;
      font-size: 22px;
    }

    .course-icon.brown {
      background: #8b5a2b;
    }

    .course-info {
      flex: 1;
    }

    .progress {
      height: 6px;
      background: #d9e3f5;
      border-radius: 10px;
      margin: 6px 0;
    }

    .progress-fill {
      height: 100%;
      background: #0f766e;
      border-radius: 10px;
    }

    /* Hero banner */
    .hero-banner {
      margin-top: 20px;
      height: 220px;
      border-radius: 24px;
      padding: 30px;
      color: white;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      background-blend-mode: multiply; 
      background-image: linear-gradient(rgba(36, 30, 161, 0.7), rgba(36, 30, 161, 0.7)), 
                      url('/static/images/photo-1516321318423-f06f85e504b3.jpg');
      width: 100%;
      min-height: 500px; 
    }
    .badge {
      background: #facc15;
      color: #1e1b4b;
      display: inline-block;
      padding: 6px 16px;
      border-radius: 40px;
      font-weight: 600;
      font-size: 0.8rem;
      letter-spacing: 0.5px;
      width: fit-content;
      margin-bottom: 12px;
    }

    .hero-banner h2 {
      font-size: 1.6rem;
      font-weight: 700;
      margin-bottom: 6px;
    }

    .hero-banner p {
      opacity: 0.9;
      font-size: 0.95rem;
    }

    .bottom-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 15px;
      margin-top: 20px;
    }

    .info-card, .sprint-card {
      padding: 22px 20px;
      border-radius: 18px;
      background: white;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    }

    .info-card small, .sprint-card small {
      color: #6b7280;
      font-weight: 600;
      letter-spacing: 0.6px;
      font-size: 0.7rem;
    }

    .info-card h3, .sprint-card h3 {
      margin: 8px 0 6px;
      font-size: 1.2rem;
    }

    .join-btn, .sprint-card button {
      width: 100%;
      padding: 12px;
      border: none;
      border-radius: 40px;
      margin-top: 18px;
      cursor: pointer;
      font-weight: 700;
      background: #0b2b3b;
      color: white;
      transition: 0.2s;
    }

    .join-btn:hover, .sprint-card button:hover {
      background: #1a4b5e;
      transform: scale(0.97);
    }

    .sprint-card button {
      background: #8b4513;
    }

    .sprint-card button:hover {
      background: #a0522d;
    }

    /* right panel */
    .panel {
      background: white;
      padding: 22px 20px;
      border-radius: 18px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    }

    .skill {
      display: flex;
      justify-content: space-between;
      margin-top: 16px;
      font-weight: 500;
    }

    .assessment-btn {
      width: 100%;
      margin-top: 24px;
      padding: 12px;
      border: 2px solid #3127c8;
      background: white;
      color: #3127c8;
      border-radius: 40px;
      font-weight: 700;
      transition: 0.2s;
      cursor: pointer;
    }

    .assessment-btn:hover {
      background: #3127c8;
      color: white;
    }

    .community-card {
      margin-top: 20px;
      background: #c9f4ef;
      padding: 20px;
      border-radius: 18px;
    }

    .community-info {
      display: flex;
      gap: 12px;
      margin-top: 12px;
      align-items: center;
    }

    .community-info img {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      object-fit: cover;
    }

    .leaderboard {
      background: white;
      padding: 12px 16px;
      margin: 16px 0;
      border-radius: 40px;
      font-weight: 600;
      font-size: 0.9rem;
      display: inline-block;
    }

    .community-card a {
      display: inline-block;
      margin-top: 6px;
      font-weight: 600;
      color: #0b2b3b;
      text-decoration: none;
      border-bottom: 2px solid transparent;
      transition: 0.2s;
    }

    .community-card a:hover {
      border-bottom-color: #0b2b3b;
    }

    .streak-card {
      margin-top: 20px;
      background: #ffe2d2;
      padding: 20px;
      border-radius: 18px;
    }
    .mentor-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 20px;
      margin-top: 30px;
    }
    .mentor-card {
      background: #1e1e1e; /* Adjust background matching your dash.css theme */
      border: 1px solid #333;
      border-radius: 8px;
      padding: 20px;
      text-align: center;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    .mentor-card i {
      font-size: 3rem;
      color: #00adb5; /* Adjust icon accent color */
      margin-bottom: 15px;
    }
    .mentor-card h4 {
      margin: 10px 0 5px 0;
      font-size: 1.25rem;
      color: #fff;
    }
    .mentor-card p {
      color: #aaa;
      font-size: 0.9rem;
      margin: 5px 0;
    }
    .mentor-card .expertise {
      display: inline-block;
      background: #00adb5;
      color: #fff;
      padding: 3px 10px;
      border-radius: 12px;
      font-size: 0.8rem;
      margin-top: 10px;
    }
    @media (max-width: 992px) {
      .dashboard-grid {
        grid-template-columns: 1fr;
      }
      .learning-cards {
        flex-direction: column;
      }
      .bottom-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 768px) {
      .hero h2 {
        font-size: 28px;
      }
      .menu-btn {
        font-size: 22px;
        padding: 6px 12px;
      }
      .logo-section h1 {
        margin-left: 10px;
        font-size: 1.4rem;
      }
      .sidebar {
        width: 260px;
        left: -280px;
      }
      body.sidebar-open .container {
        margin-left: 0;
      }
      body.sidebar-open .navbar {
        margin-left: 0;
      }
      body.sidebar-open .menu-btn {
        left: 15px;
      }
    }

    /* body shift when sidebar open */
    body.sidebar-open .container {
      margin-left: 260px;
    }
    body.sidebar-open .navbar {
      margin-left: 260px;
    }
    body.sidebar-open .menu-btn {
      left: 275px;
    }

    @media (max-width: 768px) {
      body.sidebar-open .container {
        margin-left: 0;
      }
      body.sidebar-open .navbar {
        margin-left: 0;
      }
      body.sidebar-open .menu-btn {
        left: 15px;
      }
    }